FreeBSD kernel usb device Code
|
#include <musb_otg.h>
Data Fields | |
struct usb_bus | sc_bus |
union musbotg_hub_temp | sc_hub_temp |
struct usb_hw_ep_profile | sc_hw_ep_profile [MUSB2_EP_MAX] |
struct usb_device * | sc_devices [MUSB2_MAX_DEVICES] |
struct resource * | sc_io_res |
struct resource * | sc_irq_res |
void * | sc_intr_hdl |
bus_size_t | sc_io_size |
bus_space_tag_t | sc_io_tag |
bus_space_handle_t | sc_io_hdl |
void(* | sc_clocks_on )(void *arg) |
void(* | sc_clocks_off )(void *arg) |
void(* | sc_ep_int_set )(struct musbotg_softc *sc, int ep, int on) |
void * | sc_clocks_arg |
uint32_t | sc_bounce_buf [(1024 *3)/4] |
uint8_t | sc_ep_max |
uint8_t | sc_rt_addr |
uint8_t | sc_dv_addr |
uint8_t | sc_conf |
uint8_t | sc_ep0_busy |
uint8_t | sc_ep0_cmd |
uint8_t | sc_conf_data |
uint8_t | sc_hub_idata [1] |
uint16_t | sc_channel_mask |
struct musbotg_flags | sc_flags |
uint8_t | sc_id |
uint8_t | sc_mode |
void * | sc_platform_data |
const struct musb_otg_ep_cfg * | sc_ep_cfg |
Definition at line 396 of file musb_otg.h.
uint32_t musbotg_softc::sc_bounce_buf[(1024 *3)/4] |
Definition at line 414 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(), and musbotg_host_data_tx().
struct usb_bus musbotg_softc::sc_bus |
Definition at line 397 of file musb_otg.h.
Referenced by awusbdrd_attach(), awusbdrd_detach(), musbotg_connect_interrupt(), musbotg_do_poll(), musbotg_init(), musbotg_interrupt(), musbotg_interrupt_poll(), musbotg_root_intr(), musbotg_roothub_exec(), musbotg_uninit(), musbotg_vbus_interrupt(), musbotg_wakeup_host(), and musbotg_wakeup_peer().
uint16_t musbotg_softc::sc_channel_mask |
Definition at line 426 of file musb_otg.h.
Referenced by musbotg_channel_alloc(), and musbotg_channel_free().
void* musbotg_softc::sc_clocks_arg |
Definition at line 412 of file musb_otg.h.
Referenced by musbotg_clocks_off(), musbotg_clocks_on(), and musbotg_init().
void(* musbotg_softc::sc_clocks_off) (void *arg) |
Definition at line 410 of file musb_otg.h.
Referenced by musbotg_clocks_off().
void(* musbotg_softc::sc_clocks_on) (void *arg) |
Definition at line 409 of file musb_otg.h.
Referenced by musbotg_clocks_on(), and musbotg_init().
uint8_t musbotg_softc::sc_conf |
Definition at line 420 of file musb_otg.h.
Referenced by musbotg_roothub_exec().
uint8_t musbotg_softc::sc_conf_data |
Definition at line 423 of file musb_otg.h.
Referenced by musbotg_init().
struct usb_device* musbotg_softc::sc_devices[MUSB2_MAX_DEVICES] |
Definition at line 401 of file musb_otg.h.
Referenced by awusbdrd_attach().
uint8_t musbotg_softc::sc_dv_addr |
Definition at line 419 of file musb_otg.h.
Referenced by musbotg_dev_ctrl_setup_rx(), and musbotg_dev_ctrl_status().
uint8_t musbotg_softc::sc_ep0_busy |
Definition at line 421 of file musb_otg.h.
Referenced by musbotg_dev_ctrl_setup_rx(), musbotg_dev_ctrl_status(), and musbotg_roothub_exec().
uint8_t musbotg_softc::sc_ep0_cmd |
Definition at line 422 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(), and musbotg_roothub_exec().
const struct musb_otg_ep_cfg* musbotg_softc::sc_ep_cfg |
Definition at line 432 of file musb_otg.h.
Referenced by awusbdrd_attach(), and musbotg_init().
void(* musbotg_softc::sc_ep_int_set) (struct musbotg_softc *sc, int ep, int on) |
Definition at line 411 of file musb_otg.h.
Referenced by musbotg_ep_int_set().
uint8_t musbotg_softc::sc_ep_max |
Definition at line 416 of file musb_otg.h.
Referenced by awusbdrd_attach(), musbotg_channel_alloc(), musbotg_get_hw_ep_profile(), and musbotg_init().
struct musbotg_flags musbotg_softc::sc_flags |
Definition at line 428 of file musb_otg.h.
Referenced by musbotg_clocks_off(), musbotg_clocks_on(), musbotg_connect_interrupt(), musbotg_interrupt(), musbotg_pull_down(), musbotg_pull_up(), musbotg_roothub_exec(), musbotg_suspend_host(), musbotg_uninit(), musbotg_vbus_interrupt(), musbotg_wakeup_host(), and musbotg_wakeup_peer().
uint8_t musbotg_softc::sc_hub_idata[1] |
Definition at line 425 of file musb_otg.h.
Referenced by musbotg_root_intr().
union musbotg_hub_temp musbotg_softc::sc_hub_temp |
Definition at line 398 of file musb_otg.h.
Referenced by musbotg_roothub_exec().
struct usb_hw_ep_profile musbotg_softc::sc_hw_ep_profile[MUSB2_EP_MAX] |
Definition at line 399 of file musb_otg.h.
Referenced by musbotg_channel_alloc(), musbotg_clear_stall_sub(), musbotg_get_hw_ep_profile(), and musbotg_init().
uint8_t musbotg_softc::sc_id |
Definition at line 429 of file musb_otg.h.
Referenced by awusbdrd_attach().
void* musbotg_softc::sc_intr_hdl |
Definition at line 404 of file musb_otg.h.
Referenced by awusbdrd_attach(), and awusbdrd_detach().
bus_space_handle_t musbotg_softc::sc_io_hdl |
Definition at line 407 of file musb_otg.h.
Referenced by awusbdrd_attach(), 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(), and musbotg_host_data_tx().
struct resource* musbotg_softc::sc_io_res |
Definition at line 402 of file musb_otg.h.
bus_size_t musbotg_softc::sc_io_size |
Definition at line 405 of file musb_otg.h.
Referenced by awusbdrd_attach().
bus_space_tag_t musbotg_softc::sc_io_tag |
Definition at line 406 of file musb_otg.h.
Referenced by awusbdrd_attach(), 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(), and musbotg_host_data_tx().
struct resource* musbotg_softc::sc_irq_res |
Definition at line 403 of file musb_otg.h.
uint8_t musbotg_softc::sc_mode |
Definition at line 430 of file musb_otg.h.
Referenced by awusbdrd_attach(), awusbdrd_detach(), musbotg_channel_alloc(), musbotg_channel_free(), musbotg_get_dma_delay(), musbotg_init(), musbotg_interrupt(), musbotg_roothub_exec(), and musbotg_setup_standard_chain().
void* musbotg_softc::sc_platform_data |
Definition at line 431 of file musb_otg.h.
Referenced by awusbdrd_attach().
uint8_t musbotg_softc::sc_rt_addr |
Definition at line 418 of file musb_otg.h.
Referenced by musbotg_ep_init(), and musbotg_roothub_exec().