FreeBSD kernel usb device Code
|
#include <musb_otg.h>
Data Fields | |
struct musbotg_td * | obj_next |
musbotg_cmd_t * | func |
struct usb_page_cache * | pc |
uint32_t | offset |
uint32_t | remainder |
uint16_t | max_frame_size |
uint16_t | reg_max_packet |
uint8_t | ep_no |
uint8_t | transfer_type |
uint8_t | error:1 |
uint8_t | alt_next:1 |
uint8_t | short_pkt:1 |
uint8_t | support_multi_buffer:1 |
uint8_t | did_stall:1 |
uint8_t | dma_enabled:1 |
uint8_t | transaction_started:1 |
uint8_t | dev_addr |
uint8_t | toggle |
int8_t | channel |
uint8_t | haddr |
uint8_t | hport |
Definition at line 314 of file musb_otg.h.
uint8_t musbotg_td::alt_next |
Definition at line 325 of file musb_otg.h.
Referenced by musbotg_setup_standard_chain_sub(), and musbotg_standard_done_sub().
int8_t musbotg_td::channel |
Definition at line 333 of file musb_otg.h.
Referenced by musbotg_channel_free(), musbotg_dev_ctrl_setup_rx(), musbotg_dev_data_rx(), musbotg_dev_data_tx(), musbotg_device_done(), musbotg_host_ctrl_data_rx(), musbotg_host_ctrl_data_tx(), musbotg_host_ctrl_setup_tx(), musbotg_host_ctrl_status_rx(), musbotg_host_ctrl_status_tx(), musbotg_host_data_rx(), musbotg_host_data_tx(), and musbotg_setup_standard_chain_sub().
uint8_t musbotg_td::dev_addr |
Definition at line 331 of file musb_otg.h.
Referenced by musbotg_host_ctrl_data_rx(), musbotg_host_ctrl_data_tx(), musbotg_host_ctrl_setup_tx(), musbotg_host_ctrl_status_rx(), musbotg_host_ctrl_status_tx(), musbotg_host_data_rx(), musbotg_host_data_tx(), musbotg_setup_standard_chain(), and musbotg_setup_standard_chain_sub().
uint8_t musbotg_td::did_stall |
Definition at line 328 of file musb_otg.h.
Referenced by musbotg_dev_ctrl_setup_rx(), and musbotg_setup_standard_chain_sub().
uint8_t musbotg_td::dma_enabled |
Definition at line 329 of file musb_otg.h.
uint8_t musbotg_td::ep_no |
Definition at line 322 of file musb_otg.h.
Referenced by musbotg_channel_alloc(), musbotg_setup_standard_chain(), and musbotg_xfer_setup().
uint8_t musbotg_td::error |
Definition at line 324 of file musb_otg.h.
Referenced by musbotg_dev_ctrl_data_rx(), musbotg_dev_ctrl_data_tx(), musbotg_dev_data_rx(), musbotg_host_ctrl_data_rx(), musbotg_host_ctrl_data_tx(), musbotg_host_ctrl_setup_tx(), musbotg_host_ctrl_status_rx(), musbotg_host_ctrl_status_tx(), musbotg_host_data_rx(), musbotg_host_data_tx(), musbotg_setup_standard_chain_sub(), and musbotg_standard_done_sub().
musbotg_cmd_t* musbotg_td::func |
Definition at line 316 of file musb_otg.h.
Referenced by musbotg_setup_standard_chain_sub(), and musbotg_xfer_do_fifo().
uint8_t musbotg_td::haddr |
Definition at line 334 of file musb_otg.h.
Referenced by musbotg_host_ctrl_data_rx(), musbotg_host_ctrl_data_tx(), musbotg_host_ctrl_setup_tx(), musbotg_host_ctrl_status_rx(), musbotg_host_ctrl_status_tx(), musbotg_host_data_rx(), musbotg_host_data_tx(), and musbotg_setup_standard_chain_sub().
uint8_t musbotg_td::hport |
Definition at line 335 of file musb_otg.h.
Referenced by musbotg_host_ctrl_data_rx(), musbotg_host_ctrl_data_tx(), musbotg_host_ctrl_setup_tx(), musbotg_host_ctrl_status_rx(), musbotg_host_ctrl_status_tx(), musbotg_host_data_rx(), musbotg_host_data_tx(), and musbotg_setup_standard_chain_sub().
uint16_t musbotg_td::max_frame_size |
Definition at line 320 of file musb_otg.h.
Referenced by musbotg_channel_alloc(), musbotg_dev_ctrl_data_rx(), musbotg_dev_ctrl_data_tx(), musbotg_dev_data_rx(), musbotg_dev_data_tx(), musbotg_host_ctrl_data_rx(), musbotg_host_ctrl_data_tx(), musbotg_host_data_rx(), musbotg_host_data_tx(), and musbotg_xfer_setup().
struct musbotg_td* musbotg_td::obj_next |
Definition at line 315 of file musb_otg.h.
Referenced by musbotg_setup_standard_chain_sub(), musbotg_standard_done_sub(), and musbotg_xfer_setup().
uint32_t musbotg_td::offset |
Definition at line 318 of file musb_otg.h.
Referenced by musbotg_dev_ctrl_data_rx(), musbotg_dev_ctrl_data_tx(), musbotg_dev_ctrl_setup_rx(), musbotg_dev_data_rx(), musbotg_dev_data_tx(), musbotg_host_ctrl_data_rx(), musbotg_host_ctrl_data_tx(), musbotg_host_ctrl_setup_tx(), musbotg_host_data_rx(), musbotg_host_data_tx(), and musbotg_setup_standard_chain_sub().
struct usb_page_cache* musbotg_td::pc |
Definition at line 317 of file musb_otg.h.
Referenced by musbotg_dev_ctrl_data_rx(), musbotg_dev_ctrl_data_tx(), musbotg_dev_ctrl_setup_rx(), musbotg_dev_ctrl_status(), musbotg_dev_data_rx(), musbotg_dev_data_tx(), musbotg_host_ctrl_data_rx(), musbotg_host_ctrl_data_tx(), musbotg_host_ctrl_setup_tx(), musbotg_host_ctrl_status_rx(), musbotg_host_ctrl_status_tx(), musbotg_host_data_rx(), musbotg_host_data_tx(), and musbotg_setup_standard_chain_sub().
uint16_t musbotg_td::reg_max_packet |
Definition at line 321 of file musb_otg.h.
Referenced by musbotg_dev_data_tx(), musbotg_host_data_rx(), musbotg_host_data_tx(), and musbotg_xfer_setup().
uint32_t musbotg_td::remainder |
Definition at line 319 of file musb_otg.h.
Referenced by musbotg_dev_ctrl_data_rx(), musbotg_dev_ctrl_data_tx(), musbotg_dev_ctrl_setup_rx(), musbotg_dev_data_rx(), musbotg_dev_data_tx(), musbotg_host_ctrl_data_rx(), musbotg_host_ctrl_data_tx(), musbotg_host_ctrl_setup_tx(), musbotg_host_data_rx(), musbotg_host_data_tx(), musbotg_setup_standard_chain_sub(), and musbotg_standard_done_sub().
uint8_t musbotg_td::short_pkt |
Definition at line 326 of file musb_otg.h.
Referenced by musbotg_dev_ctrl_data_rx(), musbotg_dev_ctrl_data_tx(), musbotg_dev_data_rx(), musbotg_dev_data_tx(), musbotg_host_ctrl_data_rx(), musbotg_host_ctrl_data_tx(), musbotg_host_data_rx(), musbotg_host_data_tx(), and musbotg_setup_standard_chain_sub().
uint8_t musbotg_td::support_multi_buffer |
Definition at line 327 of file musb_otg.h.
uint8_t musbotg_td::toggle |
Definition at line 332 of file musb_otg.h.
Referenced by musbotg_host_data_rx(), musbotg_host_data_tx(), musbotg_setup_standard_chain(), and musbotg_standard_done_sub().
uint8_t musbotg_td::transaction_started |
Definition at line 330 of file musb_otg.h.
Referenced by musbotg_host_ctrl_data_rx(), musbotg_host_ctrl_data_tx(), musbotg_host_ctrl_setup_tx(), musbotg_host_ctrl_status_rx(), musbotg_host_ctrl_status_tx(), musbotg_host_data_rx(), musbotg_host_data_tx(), and musbotg_setup_standard_chain_sub().
uint8_t musbotg_td::transfer_type |
Definition at line 323 of file musb_otg.h.
Referenced by musbotg_host_ctrl_data_rx(), musbotg_host_ctrl_data_tx(), musbotg_host_ctrl_setup_tx(), musbotg_host_ctrl_status_rx(), musbotg_host_ctrl_status_tx(), musbotg_host_data_rx(), musbotg_host_data_tx(), and musbotg_setup_standard_chain_sub().