FreeBSD kernel usb device Code
|
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_device * | sc_udev |
struct usb_xfer * | sc_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] |
Definition at line 181 of file ustorage_fs.c.
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().
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().
uint8_t ustorage_fs_softc::cmd_len |
Definition at line 201 of file ustorage_fs.c.
Referenced by ustorage_fs_check_cmd(), ustorage_fs_do_cmd(), and ustorage_fs_t_bbb_command_callback().
struct ustorage_fs_lun* ustorage_fs_softc::currlun |
Definition at line 192 of file ustorage_fs.c.
Referenced by ustorage_fs_check_cmd(), ustorage_fs_do_cmd(), ustorage_fs_inquiry(), ustorage_fs_mode_select(), ustorage_fs_mode_sense(), ustorage_fs_prevent_allow(), ustorage_fs_read(), ustorage_fs_read_capacity(), ustorage_fs_read_format_capacities(), ustorage_fs_request_sense(), ustorage_fs_start_stop(), ustorage_fs_synchronize_cache(), ustorage_fs_verify(), and ustorage_fs_write().
uint8_t ustorage_fs_softc::data_error |
Definition at line 203 of file ustorage_fs.c.
Referenced by ustorage_fs_handle_request(), ustorage_fs_t_bbb_command_callback(), ustorage_fs_t_bbb_data_dump_callback(), ustorage_fs_t_bbb_data_read_callback(), ustorage_fs_t_bbb_data_write_callback(), and ustorage_fs_t_bbb_status_callback().
uint8_t* ustorage_fs_softc::data_ptr |
Definition at line 191 of file ustorage_fs.c.
Referenced by ustorage_fs_do_cmd(), ustorage_fs_inquiry(), ustorage_fs_mode_sense(), ustorage_fs_read(), ustorage_fs_read_capacity(), ustorage_fs_read_format_capacities(), ustorage_fs_request_sense(), ustorage_fs_t_bbb_data_read_callback(), ustorage_fs_t_bbb_data_write_callback(), and ustorage_fs_write().
uint32_t ustorage_fs_softc::data_rem |
Definition at line 194 of file ustorage_fs.c.
Referenced by ustorage_fs_do_cmd(), ustorage_fs_min_len(), ustorage_fs_read(), ustorage_fs_t_bbb_command_callback(), ustorage_fs_t_bbb_data_dump_callback(), ustorage_fs_t_bbb_data_read_callback(), ustorage_fs_t_bbb_data_write_callback(), ustorage_fs_t_bbb_status_callback(), and ustorage_fs_write().
uint8_t ustorage_fs_softc::data_short |
Definition at line 202 of file ustorage_fs.c.
Referenced by ustorage_fs_min_len(), ustorage_fs_t_bbb_command_callback(), and ustorage_fs_t_bbb_data_write_callback().
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().
uint32_t ustorage_fs_softc::offset |
Definition at line 196 of file ustorage_fs.c.
Referenced by ustorage_fs_t_bbb_command_callback(), ustorage_fs_t_bbb_data_dump_callback(), ustorage_fs_t_bbb_data_read_callback(), and ustorage_fs_t_bbb_data_write_callback().
ustorage_fs_bbb_cbw_t* ustorage_fs_softc::sc_cbw |
Definition at line 182 of file ustorage_fs.c.
Referenced by ustorage_fs_attach(), ustorage_fs_check_cmd(), ustorage_fs_do_cmd(), ustorage_fs_mode_sense(), ustorage_fs_prevent_allow(), ustorage_fs_read(), ustorage_fs_read_capacity(), ustorage_fs_start_stop(), ustorage_fs_t_bbb_command_callback(), ustorage_fs_verify(), and ustorage_fs_write().
ustorage_fs_bbb_csw_t* ustorage_fs_softc::sc_csw |
Definition at line 183 of file ustorage_fs.c.
Referenced by ustorage_fs_attach(), ustorage_fs_check_cmd(), ustorage_fs_do_cmd(), ustorage_fs_min_len(), ustorage_fs_t_bbb_command_callback(), and ustorage_fs_t_bbb_status_callback().
device_t ustorage_fs_softc::sc_dev |
Definition at line 206 of file ustorage_fs.c.
Referenced by ustorage_fs_attach().
void* ustorage_fs_softc::sc_dma_ptr |
Definition at line 184 of file ustorage_fs.c.
Referenced by ustorage_fs_attach(), ustorage_fs_t_bbb_data_read_callback(), and ustorage_fs_t_bbb_data_write_callback().
uint8_t ustorage_fs_softc::sc_iface_no |
Definition at line 210 of file ustorage_fs.c.
Referenced by ustorage_fs_attach().
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().
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().
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().
struct mtx ustorage_fs_softc::sc_mtx |
Definition at line 186 of file ustorage_fs.c.
Referenced by ustorage_fs_attach(), ustorage_fs_detach(), ustorage_fs_handle_request(), and ustorage_fs_transfer_stop().
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().
struct { ... } ustorage_fs_softc::sc_transfer |
Referenced by ustorage_fs_check_cmd(), ustorage_fs_do_cmd(), ustorage_fs_handle_request(), ustorage_fs_inquiry(), ustorage_fs_min_len(), ustorage_fs_mode_select(), ustorage_fs_mode_sense(), ustorage_fs_prevent_allow(), ustorage_fs_read(), ustorage_fs_read_capacity(), ustorage_fs_read_format_capacities(), ustorage_fs_request_sense(), ustorage_fs_start_stop(), ustorage_fs_synchronize_cache(), ustorage_fs_t_bbb_command_callback(), ustorage_fs_t_bbb_data_dump_callback(), ustorage_fs_t_bbb_data_read_callback(), ustorage_fs_t_bbb_data_write_callback(), ustorage_fs_t_bbb_status_callback(), ustorage_fs_verify(), and ustorage_fs_write().
struct usb_device* ustorage_fs_softc::sc_udev |
Definition at line 207 of file ustorage_fs.c.
Referenced by ustorage_fs_attach().
struct usb_xfer* ustorage_fs_softc::sc_xfer[USTORAGE_FS_T_BBB_MAX] |
Definition at line 208 of file ustorage_fs.c.
Referenced by ustorage_fs_attach(), ustorage_fs_detach(), ustorage_fs_transfer_start(), and ustorage_fs_transfer_stop().