coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
console.c File Reference
#include <console/usb.h>
#include "ehci_debug.h"
Include dependency graph for console.c:

Go to the source code of this file.

Functions

static void usbdebug_tx_byte (struct dbgp_pipe *pipe, unsigned char data)
 
static void usbdebug_tx_flush (struct dbgp_pipe *pipe)
 
static unsigned char usbdebug_rx_byte (struct dbgp_pipe *pipe)
 
void usb_tx_byte (int idx, unsigned char data)
 
void usb_tx_flush (int idx)
 
unsigned char usb_rx_byte (int idx)
 
int usb_can_rx_byte (int idx)
 

Function Documentation

◆ usb_can_rx_byte()

int usb_can_rx_byte ( int  idx)

Definition at line 61 of file console.c.

References dbgp_console_input(), and dbgp_ep_is_active().

Here is the call graph for this function:

◆ usb_rx_byte()

unsigned char usb_rx_byte ( int  idx)

Definition at line 56 of file console.c.

References dbgp_console_input(), and usbdebug_rx_byte().

Here is the call graph for this function:

◆ usb_tx_byte()

void usb_tx_byte ( int  idx,
unsigned char  data 
)

Definition at line 46 of file console.c.

References dbgp_console_output(), and usbdebug_tx_byte().

Here is the call graph for this function:

◆ usb_tx_flush()

void usb_tx_flush ( int  idx)

Definition at line 51 of file console.c.

References dbgp_console_output(), and usbdebug_tx_flush().

Here is the call graph for this function:

◆ usbdebug_rx_byte()

static unsigned char usbdebug_rx_byte ( struct dbgp_pipe pipe)
static

Definition at line 29 of file console.c.

References count, dbgp_bulk_read_x(), dbgp_put(), and dbgp_try_get().

Referenced by usb_rx_byte().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ usbdebug_tx_byte()

static void usbdebug_tx_byte ( struct dbgp_pipe pipe,
unsigned char  data 
)
static

Definition at line 6 of file console.c.

References dbgp_bulk_write_x(), dbgp_put(), and dbgp_try_get().

Referenced by usb_tx_byte().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ usbdebug_tx_flush()

static void usbdebug_tx_flush ( struct dbgp_pipe pipe)
static

Definition at line 18 of file console.c.

References dbgp_bulk_write_x(), dbgp_put(), and dbgp_try_get().

Referenced by usb_tx_flush().

Here is the call graph for this function:
Here is the caller graph for this function: