FreeBSD kernel usb device Code
|
#include <dwc_otg.h>
Data Fields | |
struct dwc_otg_td * | obj_next |
dwc_otg_cmd_t * | func |
struct usb_page_cache * | pc |
uint32_t | tx_bytes |
uint32_t | offset |
uint32_t | remainder |
uint32_t | hcchar |
uint32_t | hcsplt |
uint16_t | max_packet_size |
uint16_t | npkt |
uint8_t | max_packet_count |
uint8_t | errcnt |
uint8_t | tmr_res |
uint8_t | tmr_val |
uint8_t | ep_no |
uint8_t | ep_type |
uint8_t | channel [3] |
uint8_t | tt_index |
uint8_t | tt_start_slot |
uint8_t | tt_complete_slot |
uint8_t | tt_xactpos |
uint8_t | state |
uint8_t | error_any:1 |
uint8_t | error_stall:1 |
uint8_t | alt_next:1 |
uint8_t | short_pkt:1 |
uint8_t | did_stall:1 |
uint8_t | toggle:1 |
uint8_t | set_toggle:1 |
uint8_t | got_short:1 |
uint8_t | tt_scheduled:1 |
uint8_t | did_nak:1 |
uint8_t dwc_otg_td::alt_next |
Definition at line 88 of file dwc_otg.h.
Referenced by dwc_otg_setup_standard_chain_sub(), and dwc_otg_standard_done_sub().
uint8_t dwc_otg_td::channel[3] |
Definition at line 74 of file dwc_otg.h.
Referenced by dwc_otg_host_channel_alloc(), dwc_otg_host_channel_free_sub(), dwc_otg_host_data_rx(), dwc_otg_host_data_tx(), dwc_otg_host_dump_rx(), dwc_otg_host_setup_tx(), and dwc_otg_setup_standard_chain_sub().
uint8_t dwc_otg_td::did_nak |
Definition at line 95 of file dwc_otg.h.
Referenced by dwc_otg_host_data_rx(), dwc_otg_host_data_tx(), dwc_otg_host_rate_check(), dwc_otg_host_setup_tx(), and dwc_otg_setup_standard_chain_sub().
uint8_t dwc_otg_td::did_stall |
Definition at line 90 of file dwc_otg.h.
Referenced by dwc_otg_setup_rx(), and dwc_otg_setup_standard_chain_sub().
uint8_t dwc_otg_td::ep_no |
Definition at line 72 of file dwc_otg.h.
Referenced by dwc_otg_data_rx(), dwc_otg_data_tx(), dwc_otg_data_tx_sync(), and dwc_otg_xfer_setup().
uint8_t dwc_otg_td::ep_type |
Definition at line 73 of file dwc_otg.h.
Referenced by dwc_otg_host_check_tx_fifo_empty(), dwc_otg_host_data_rx(), dwc_otg_host_data_rx_sub(), dwc_otg_host_data_tx(), dwc_otg_host_rate_check(), dwc_otg_host_setup_tx(), dwc_otg_setup_standard_chain(), dwc_otg_start_standard_chain(), dwc_otg_update_host_transfer_schedule_locked(), and dwc_otg_xfer_setup().
uint8_t dwc_otg_td::errcnt |
Definition at line 69 of file dwc_otg.h.
Referenced by dwc_otg_host_data_rx(), dwc_otg_host_data_tx(), dwc_otg_host_setup_tx(), and dwc_otg_setup_standard_chain_sub().
uint8_t dwc_otg_td::error_any |
Definition at line 86 of file dwc_otg.h.
Referenced by dwc_otg_data_rx(), dwc_otg_data_tx(), dwc_otg_host_data_rx(), dwc_otg_host_data_rx_sub(), dwc_otg_host_data_tx(), dwc_otg_host_setup_tx(), dwc_otg_setup_standard_chain_sub(), and dwc_otg_standard_done_sub().
uint8_t dwc_otg_td::error_stall |
Definition at line 87 of file dwc_otg.h.
Referenced by dwc_otg_host_data_rx(), dwc_otg_host_data_tx(), dwc_otg_host_setup_tx(), dwc_otg_setup_standard_chain_sub(), and dwc_otg_standard_done_sub().
dwc_otg_cmd_t* dwc_otg_td::func |
Definition at line 59 of file dwc_otg.h.
Referenced by dwc_otg_setup_standard_chain_sub(), and dwc_otg_xfer_do_fifo().
uint8_t dwc_otg_td::got_short |
Definition at line 93 of file dwc_otg.h.
Referenced by dwc_otg_host_data_rx(), dwc_otg_host_data_rx_sub(), and dwc_otg_setup_standard_chain_sub().
uint32_t dwc_otg_td::hcchar |
Definition at line 64 of file dwc_otg.h.
Referenced by dwc_otg_host_channel_alloc(), dwc_otg_host_data_rx(), dwc_otg_host_data_tx(), dwc_otg_host_setup_tx(), dwc_otg_setup_standard_chain(), dwc_otg_start_standard_chain(), and dwc_otg_update_host_transfer_schedule_locked().
uint32_t dwc_otg_td::hcsplt |
Definition at line 65 of file dwc_otg.h.
Referenced by dwc_otg_host_channel_alloc(), dwc_otg_host_data_rx(), dwc_otg_host_data_tx(), dwc_otg_host_setup_tx(), dwc_otg_setup_standard_chain(), and dwc_otg_update_host_transfer_schedule_locked().
uint8_t dwc_otg_td::max_packet_count |
Definition at line 68 of file dwc_otg.h.
Referenced by dwc_otg_host_channel_alloc(), dwc_otg_host_channel_free(), dwc_otg_host_data_rx(), dwc_otg_host_data_tx(), dwc_otg_host_dump_rx(), and dwc_otg_xfer_setup().
uint16_t dwc_otg_td::max_packet_size |
Definition at line 66 of file dwc_otg.h.
Referenced by dwc_otg_data_rx(), dwc_otg_data_tx(), dwc_otg_host_data_rx(), dwc_otg_host_data_rx_sub(), dwc_otg_host_data_tx(), and dwc_otg_xfer_setup().
uint16_t dwc_otg_td::npkt |
Definition at line 67 of file dwc_otg.h.
Referenced by dwc_otg_data_tx(), dwc_otg_host_data_tx(), and dwc_otg_setup_standard_chain_sub().
struct dwc_otg_td* dwc_otg_td::obj_next |
Definition at line 58 of file dwc_otg.h.
Referenced by dwc_otg_setup_standard_chain_sub(), dwc_otg_standard_done_sub(), and dwc_otg_xfer_setup().
uint32_t dwc_otg_td::offset |
Definition at line 62 of file dwc_otg.h.
Referenced by dwc_otg_data_rx(), dwc_otg_data_tx(), dwc_otg_host_data_rx_sub(), dwc_otg_host_data_tx(), dwc_otg_host_setup_tx(), dwc_otg_setup_rx(), and dwc_otg_setup_standard_chain_sub().
struct usb_page_cache* dwc_otg_td::pc |
Definition at line 60 of file dwc_otg.h.
Referenced by dwc_otg_data_rx(), dwc_otg_data_tx(), dwc_otg_host_channel_alloc(), dwc_otg_host_data_rx_sub(), dwc_otg_host_data_tx(), dwc_otg_host_setup_tx(), dwc_otg_setup_rx(), and dwc_otg_setup_standard_chain_sub().
uint32_t dwc_otg_td::remainder |
Definition at line 63 of file dwc_otg.h.
Referenced by dwc_otg_data_rx(), dwc_otg_data_tx(), dwc_otg_host_data_rx(), dwc_otg_host_data_rx_sub(), dwc_otg_host_data_tx(), dwc_otg_host_setup_tx(), dwc_otg_setup_rx(), dwc_otg_setup_standard_chain_sub(), and dwc_otg_standard_done_sub().
uint8_t dwc_otg_td::set_toggle |
Definition at line 92 of file dwc_otg.h.
Referenced by dwc_otg_host_data_rx(), dwc_otg_host_data_tx(), dwc_otg_host_rate_check(), dwc_otg_host_rate_check_interrupt(), dwc_otg_setup_standard_chain(), and dwc_otg_setup_standard_chain_sub().
uint8_t dwc_otg_td::short_pkt |
Definition at line 89 of file dwc_otg.h.
Referenced by dwc_otg_data_rx(), dwc_otg_data_tx(), dwc_otg_host_data_rx(), dwc_otg_host_data_rx_sub(), dwc_otg_host_data_tx(), and dwc_otg_setup_standard_chain_sub().
uint8_t dwc_otg_td::state |
Definition at line 79 of file dwc_otg.h.
Referenced by dwc_otg_host_data_rx(), dwc_otg_host_data_rx_sub(), dwc_otg_host_data_tx(), dwc_otg_host_setup_tx(), and dwc_otg_setup_standard_chain_sub().
uint8_t dwc_otg_td::tmr_res |
Definition at line 70 of file dwc_otg.h.
Referenced by dwc_otg_host_rate_check(), dwc_otg_host_rate_check_interrupt(), dwc_otg_setup_standard_chain(), and dwc_otg_xfer_do_fifo().
uint8_t dwc_otg_td::tmr_val |
Definition at line 71 of file dwc_otg.h.
Referenced by dwc_otg_host_rate_check(), dwc_otg_host_rate_check_interrupt(), dwc_otg_setup_standard_chain(), and dwc_otg_xfer_do_fifo().
uint8_t dwc_otg_td::toggle |
Definition at line 91 of file dwc_otg.h.
Referenced by dwc_otg_host_data_rx(), dwc_otg_host_data_rx_sub(), dwc_otg_host_data_tx(), dwc_otg_host_rate_check(), dwc_otg_host_rate_check_interrupt(), dwc_otg_host_setup_tx(), dwc_otg_setup_standard_chain(), dwc_otg_standard_done_sub(), and dwc_otg_xfer_do_fifo().
uint8_t dwc_otg_td::tt_complete_slot |
Definition at line 77 of file dwc_otg.h.
Referenced by dwc_otg_host_data_rx(), dwc_otg_host_data_tx(), and dwc_otg_host_setup_tx().
uint8_t dwc_otg_td::tt_index |
Definition at line 75 of file dwc_otg.h.
Referenced by dwc_otg_update_host_transfer_schedule_locked(), and dwc_otg_xfer_setup().
uint8_t dwc_otg_td::tt_scheduled |
Definition at line 94 of file dwc_otg.h.
Referenced by dwc_otg_host_data_rx(), dwc_otg_host_data_rx_sub(), dwc_otg_host_data_tx(), dwc_otg_host_rate_check(), dwc_otg_host_setup_tx(), dwc_otg_setup_standard_chain_sub(), and dwc_otg_update_host_transfer_schedule_locked().
uint8_t dwc_otg_td::tt_start_slot |
Definition at line 76 of file dwc_otg.h.
Referenced by dwc_otg_host_data_rx(), dwc_otg_host_data_tx(), dwc_otg_host_setup_tx(), and dwc_otg_update_host_transfer_schedule_locked().
uint8_t dwc_otg_td::tt_xactpos |
Definition at line 78 of file dwc_otg.h.
Referenced by dwc_otg_host_data_rx(), dwc_otg_host_data_rx_sub(), and dwc_otg_setup_standard_chain_sub().
uint32_t dwc_otg_td::tx_bytes |
Definition at line 61 of file dwc_otg.h.
Referenced by dwc_otg_data_tx(), dwc_otg_host_data_tx(), dwc_otg_host_setup_tx(), and dwc_otg_setup_standard_chain_sub().