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

Data Fields

ustorage_fs_bbb_cbw_t * sc_cbw
 
ustorage_fs_bbb_csw_t * sc_csw
 
void * sc_dma_ptr
 
struct mtx sc_mtx
 
struct ustorage_fs_lun sc_lun [USTORAGE_FS_MAX_LUN]
 
struct {
   uint8_t *   data_ptr
 
   struct ustorage_fs_lun *   currlun
 
   uint32_t   data_rem
 
   uint32_t   offset
 
   uint8_t   cbw_dir
 
   uint8_t   cmd_dir
 
   uint8_t   lun
 
   uint8_t   cmd_len
 
   uint8_t   data_short:1
 
   uint8_t   data_error:1
 
sc_transfer
 
device_t sc_dev
 
struct usb_devicesc_udev
 
struct usb_xfersc_xfer [USTORAGE_FS_T_BBB_MAX]
 
uint8_t sc_iface_no
 
uint8_t sc_last_lun
 
uint8_t sc_last_xfer_index
 
uint8_t sc_qdata [USTORAGE_QDATA_MAX]
 

Detailed Description

Definition at line 181 of file ustorage_fs.c.

Field Documentation

◆ cbw_dir

uint8_t ustorage_fs_softc::cbw_dir

Definition at line 198 of file ustorage_fs.c.

Referenced by ustorage_fs_min_len(), and ustorage_fs_t_bbb_command_callback().

◆ cmd_dir

uint8_t ustorage_fs_softc::cmd_dir

Definition at line 199 of file ustorage_fs.c.

Referenced by ustorage_fs_do_cmd(), and ustorage_fs_t_bbb_command_callback().

◆ cmd_len

uint8_t ustorage_fs_softc::cmd_len

◆ currlun

◆ data_error

◆ data_ptr

◆ data_rem

◆ data_short

uint8_t ustorage_fs_softc::data_short

◆ lun

uint8_t ustorage_fs_softc::lun

Definition at line 200 of file ustorage_fs.c.

Referenced by ustorage_fs_check_cmd(), and ustorage_fs_t_bbb_command_callback().

◆ offset

◆ sc_cbw

◆ sc_csw

◆ sc_dev

device_t ustorage_fs_softc::sc_dev

Definition at line 206 of file ustorage_fs.c.

Referenced by ustorage_fs_attach().

◆ sc_dma_ptr

void* ustorage_fs_softc::sc_dma_ptr

◆ sc_iface_no

uint8_t ustorage_fs_softc::sc_iface_no

Definition at line 210 of file ustorage_fs.c.

Referenced by ustorage_fs_attach().

◆ sc_last_lun

uint8_t ustorage_fs_softc::sc_last_lun

Definition at line 211 of file ustorage_fs.c.

Referenced by ustorage_fs_check_cmd(), and ustorage_fs_handle_request().

◆ sc_last_xfer_index

uint8_t ustorage_fs_softc::sc_last_xfer_index

Definition at line 212 of file ustorage_fs.c.

Referenced by ustorage_fs_transfer_start(), and ustorage_fs_transfer_stop().

◆ sc_lun

struct ustorage_fs_lun ustorage_fs_softc::sc_lun[USTORAGE_FS_MAX_LUN]

Definition at line 188 of file ustorage_fs.c.

Referenced by ustorage_fs_attach(), and ustorage_fs_check_cmd().

◆ sc_mtx

struct mtx ustorage_fs_softc::sc_mtx

◆ sc_qdata

uint8_t ustorage_fs_softc::sc_qdata[USTORAGE_QDATA_MAX]

Definition at line 213 of file ustorage_fs.c.

Referenced by ustorage_fs_do_cmd().

◆ 

◆ sc_udev

struct usb_device* ustorage_fs_softc::sc_udev

Definition at line 207 of file ustorage_fs.c.

Referenced by ustorage_fs_attach().

◆ sc_xfer

struct usb_xfer* ustorage_fs_softc::sc_xfer[USTORAGE_FS_T_BBB_MAX]

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