FreeBSD kernel usb device Code
g_modem_softc Struct Reference
Collaboration diagram for g_modem_softc:

Data Fields

struct mtx sc_mtx
 
struct usb_callout sc_callout
 
struct usb_callout sc_watchdog
 
struct usb_xfersc_xfer [G_MODEM_N_TRANSFER]
 
int sc_mode
 
int sc_tx_busy
 
int sc_pattern_len
 
int sc_throughput
 
int sc_tx_interval
 
char sc_pattern [G_MODEM_MAX_STRLEN]
 
uint16_t sc_data_len
 
uint8_t sc_data_buf [G_MODEM_BUFSIZE]
 
uint8_t sc_line_coding [32]
 
uint8_t sc_abstract_state [32]
 

Detailed Description

Definition at line 74 of file g_modem.c.

Field Documentation

◆ sc_abstract_state

uint8_t g_modem_softc::sc_abstract_state[32]

Definition at line 92 of file g_modem.c.

Referenced by g_modem_handle_request().

◆ sc_callout

struct usb_callout g_modem_softc::sc_callout

Definition at line 76 of file g_modem.c.

Referenced by g_modem_attach(), g_modem_detach(), and g_modem_timeout_reset().

◆ sc_data_buf

uint8_t g_modem_softc::sc_data_buf[G_MODEM_BUFSIZE]

Definition at line 90 of file g_modem.c.

Referenced by g_modem_bulk_read_callback(), and g_modem_bulk_write_callback().

◆ sc_data_len

uint16_t g_modem_softc::sc_data_len

Definition at line 88 of file g_modem.c.

Referenced by g_modem_bulk_read_callback(), and g_modem_bulk_write_callback().

◆ sc_line_coding

uint8_t g_modem_softc::sc_line_coding[32]

Definition at line 91 of file g_modem.c.

Referenced by g_modem_handle_request().

◆ sc_mode

int g_modem_softc::sc_mode

◆ sc_mtx

struct mtx g_modem_softc::sc_mtx

Definition at line 75 of file g_modem.c.

Referenced by g_modem_attach(), and g_modem_detach().

◆ sc_pattern

char g_modem_softc::sc_pattern[G_MODEM_MAX_STRLEN]

Definition at line 86 of file g_modem.c.

Referenced by g_modem_bulk_write_callback(), and g_modem_timeout().

◆ sc_pattern_len

int g_modem_softc::sc_pattern_len

Definition at line 82 of file g_modem.c.

Referenced by g_modem_bulk_write_callback(), and g_modem_timeout().

◆ sc_throughput

int g_modem_softc::sc_throughput

◆ sc_tx_busy

int g_modem_softc::sc_tx_busy

Definition at line 81 of file g_modem.c.

Referenced by g_modem_bulk_read_callback(), and g_modem_bulk_write_callback().

◆ sc_tx_interval

int g_modem_softc::sc_tx_interval

Definition at line 84 of file g_modem.c.

Referenced by g_modem_bulk_write_callback(), and g_modem_timeout_reset().

◆ sc_watchdog

struct usb_callout g_modem_softc::sc_watchdog

Definition at line 77 of file g_modem.c.

Referenced by g_modem_attach(), g_modem_detach(), and g_modem_watchdog_reset().

◆ sc_xfer


The documentation for this struct was generated from the following file: