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

Data Fields

struct mtx sc_mtx
 
struct usb_callout sc_callout
 
struct g_keyboard_data sc_data [2]
 
struct usb_xfersc_xfer [G_KEYBOARD_N_TRANSFER]
 
int sc_mode
 
int sc_state
 
int sc_pattern_len
 
char sc_pattern [G_KEYBOARD_MAX_STRLEN]
 
uint8_t sc_led_state [4]
 

Detailed Description

Definition at line 115 of file g_keyboard.c.

Field Documentation

◆ sc_callout

struct usb_callout g_keyboard_softc::sc_callout

Definition at line 117 of file g_keyboard.c.

Referenced by g_keyboard_attach(), g_keyboard_detach(), and g_keyboard_timeout_reset().

◆ sc_data

struct g_keyboard_data g_keyboard_softc::sc_data[2]

Definition at line 118 of file g_keyboard.c.

Referenced by g_keyboard_intr_callback().

◆ sc_led_state

uint8_t g_keyboard_softc::sc_led_state[4]

Definition at line 127 of file g_keyboard.c.

Referenced by g_keyboard_handle_request().

◆ sc_mode

int g_keyboard_softc::sc_mode

Definition at line 121 of file g_keyboard.c.

Referenced by g_keyboard_attach(), g_keyboard_intr_callback(), and g_keyboard_timeout().

◆ sc_mtx

struct mtx g_keyboard_softc::sc_mtx

Definition at line 116 of file g_keyboard.c.

Referenced by g_keyboard_attach(), and g_keyboard_detach().

◆ sc_pattern

char g_keyboard_softc::sc_pattern[G_KEYBOARD_MAX_STRLEN]

Definition at line 125 of file g_keyboard.c.

Referenced by g_keyboard_get_keycode(), and g_keyboard_timeout().

◆ sc_pattern_len

int g_keyboard_softc::sc_pattern_len

Definition at line 123 of file g_keyboard.c.

Referenced by g_keyboard_get_keycode(), and g_keyboard_timeout().

◆ sc_state

int g_keyboard_softc::sc_state

Definition at line 122 of file g_keyboard.c.

Referenced by g_keyboard_intr_callback().

◆ sc_xfer

struct usb_xfer* g_keyboard_softc::sc_xfer[G_KEYBOARD_N_TRANSFER]

Definition at line 119 of file g_keyboard.c.

Referenced by g_keyboard_attach(), g_keyboard_detach(), and g_keyboard_timeout().


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