FreeBSD kernel usb device Code
|
#include <xhci.h>
Data Fields | |
struct xhci_hw_softc | sc_hw |
struct usb_bus | sc_bus |
struct usb_bus_msg | sc_config_msg [2] |
struct usb_callout | sc_callout |
xhci_port_route_t * | sc_port_route |
union xhci_hub_desc | sc_hub_desc |
struct cv | sc_cmd_cv |
struct sx | sc_cmd_sx |
struct usb_device * | sc_devices [XHCI_MAX_DEVICES] |
struct resource * | sc_io_res |
struct resource * | sc_irq_res |
struct resource * | sc_msix_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 |
uint64_t | sc_cmd_addr |
uint32_t | sc_cmd_result [2] |
uint32_t | sc_cmd |
uint32_t | sc_exit_lat_max |
uint32_t | sc_oper_off |
uint32_t | sc_capa_off |
uint32_t | sc_runt_off |
uint32_t | sc_door_off |
uint16_t | sc_erst_max |
uint16_t | sc_event_idx |
uint16_t | sc_command_idx |
uint16_t | sc_imod_default |
uint16_t | sc_noscratch |
uint8_t | sc_event_ccs |
uint8_t | sc_command_ccs |
uint8_t | sc_noslot |
uint8_t | sc_noport |
uint8_t | sc_conf |
uint8_t | sc_ctlstep |
uint8_t | sc_hub_idata [32] |
uint8_t | sc_ctx_is_64_byte |
uint8_t | sc_no_deconfigure |
uint8_t | sc_ist |
char | sc_vendor [16] |
struct usb_bus xhci_softc::sc_bus |
Definition at line 493 of file xhci.h.
Referenced by generic_xhci_attach(), snps_dwc3_attach_xhci(), xhci_alloc_device_ext(), xhci_configure_msg(), xhci_do_command(), xhci_do_poll(), xhci_halt_controller(), xhci_init(), xhci_interrupt(), xhci_interrupt_poll(), xhci_pci_attach(), xhci_pci_take_controller(), xhci_reset_command_queue_locked(), xhci_reset_controller(), xhci_root_intr(), xhci_roothub_exec(), xhci_set_address(), xhci_start_controller(), xhci_start_dma_delay(), xhci_transfer_insert(), and xhci_uninit().
struct usb_callout xhci_softc::sc_callout |
Definition at line 497 of file xhci.h.
Referenced by xhci_interrupt_poll(), xhci_pci_attach(), and xhci_pci_detach().
uint32_t xhci_softc::sc_capa_off |
Definition at line 527 of file xhci.h.
Referenced by xhci_halt_controller(), and xhci_init().
uint64_t xhci_softc::sc_cmd_addr |
Definition at line 516 of file xhci.h.
Referenced by xhci_check_command(), and xhci_do_command().
struct cv xhci_softc::sc_cmd_cv |
Definition at line 503 of file xhci.h.
Referenced by xhci_check_command(), xhci_do_command(), xhci_init(), and xhci_uninit().
uint32_t xhci_softc::sc_cmd_result[2] |
Definition at line 518 of file xhci.h.
Referenced by xhci_check_command(), xhci_do_command(), and xhci_set_address().
struct sx xhci_softc::sc_cmd_sx |
Definition at line 504 of file xhci.h.
Referenced by xhci_init(), and xhci_uninit().
uint8_t xhci_softc::sc_command_ccs |
Definition at line 543 of file xhci.h.
Referenced by xhci_do_command(), xhci_init(), xhci_reset_command_queue_locked(), and xhci_start_controller().
uint16_t xhci_softc::sc_command_idx |
Definition at line 536 of file xhci.h.
Referenced by xhci_do_command(), xhci_reset_command_queue_locked(), and xhci_start_controller().
uint8_t xhci_softc::sc_conf |
Definition at line 549 of file xhci.h.
Referenced by xhci_roothub_exec().
struct usb_bus_msg xhci_softc::sc_config_msg[2] |
Definition at line 495 of file xhci.h.
Referenced by xhci_init(), xhci_start_dma_delay(), and xhci_transfer_insert().
uint8_t xhci_softc::sc_ctlstep |
Definition at line 551 of file xhci.h.
Referenced by xhci_pci_attach(), and xhci_setup_generic_chain().
uint8_t xhci_softc::sc_ctx_is_64_byte |
Definition at line 556 of file xhci.h.
Referenced by xhci_alloc_device_ext(), and xhci_init().
struct usb_device* xhci_softc::sc_devices[XHCI_MAX_DEVICES] |
Definition at line 506 of file xhci.h.
Referenced by generic_xhci_attach(), and xhci_init().
uint32_t xhci_softc::sc_door_off |
Definition at line 531 of file xhci.h.
Referenced by xhci_halt_controller(), and xhci_init().
uint16_t xhci_softc::sc_erst_max |
Definition at line 534 of file xhci.h.
Referenced by xhci_init(), and xhci_start_controller().
uint8_t xhci_softc::sc_event_ccs |
Definition at line 542 of file xhci.h.
Referenced by xhci_init(), xhci_interrupt_poll(), and xhci_start_controller().
uint16_t xhci_softc::sc_event_idx |
Definition at line 535 of file xhci.h.
Referenced by xhci_interrupt_poll(), and xhci_start_controller().
uint32_t xhci_softc::sc_exit_lat_max |
Definition at line 522 of file xhci.h.
Referenced by xhci_init().
union xhci_hub_desc xhci_softc::sc_hub_desc |
Definition at line 501 of file xhci.h.
Referenced by xhci_roothub_exec().
uint8_t xhci_softc::sc_hub_idata[32] |
Definition at line 553 of file xhci.h.
Referenced by xhci_root_intr().
struct xhci_hw_softc xhci_softc::sc_hw |
Definition at line 491 of file xhci.h.
Referenced by xhci_alloc_device_ext(), xhci_check_transfer(), xhci_configure_device(), xhci_configure_endpoint(), xhci_configure_mask(), xhci_configure_reset_endpoint(), xhci_device_init(), xhci_device_state_change(), xhci_device_uninit(), xhci_do_command(), xhci_ep_init(), xhci_free_device_ext(), xhci_get_endpoint_ext(), xhci_get_endpoint_state(), xhci_interrupt_poll(), xhci_iterate_hw_softc(), xhci_reset_command_queue_locked(), xhci_set_address(), xhci_set_slot_pointer(), and xhci_start_controller().
uint16_t xhci_softc::sc_imod_default |
Definition at line 537 of file xhci.h.
Referenced by xhci_init(), xhci_pci_attach(), and xhci_start_controller().
void* xhci_softc::sc_intr_hdl |
Definition at line 511 of file xhci.h.
Referenced by generic_xhci_attach(), generic_xhci_detach(), snps_dwc3_attach_xhci(), xhci_pci_attach(), and xhci_pci_detach().
bus_space_handle_t xhci_softc::sc_io_hdl |
Definition at line 514 of file xhci.h.
Referenced by generic_xhci_attach(), snps_dwc3_attach_xhci(), and xhci_pci_attach().
struct resource* xhci_softc::sc_io_res |
Definition at line 507 of file xhci.h.
Referenced by generic_xhci_attach(), generic_xhci_detach(), snps_dwc3_attach_xhci(), xhci_pci_attach(), and xhci_pci_detach().
bus_size_t xhci_softc::sc_io_size |
Definition at line 512 of file xhci.h.
Referenced by generic_xhci_attach(), snps_dwc3_attach_xhci(), and xhci_pci_attach().
bus_space_tag_t xhci_softc::sc_io_tag |
Definition at line 513 of file xhci.h.
Referenced by generic_xhci_attach(), snps_dwc3_attach_xhci(), and xhci_pci_attach().
struct resource* xhci_softc::sc_irq_res |
Definition at line 508 of file xhci.h.
Referenced by generic_xhci_attach(), generic_xhci_detach(), snps_dwc3_attach_xhci(), xhci_pci_attach(), and xhci_pci_detach().
uint8_t xhci_softc::sc_ist |
Definition at line 562 of file xhci.h.
Referenced by xhci_init(), and xhci_setup_generic_chain().
struct resource* xhci_softc::sc_msix_res |
Definition at line 509 of file xhci.h.
Referenced by xhci_pci_attach(), and xhci_pci_detach().
uint8_t xhci_softc::sc_no_deconfigure |
Definition at line 559 of file xhci.h.
Referenced by xhci_cmd_configure_ep(), and xhci_pci_attach().
uint8_t xhci_softc::sc_noport |
Definition at line 547 of file xhci.h.
Referenced by xhci_init(), xhci_root_intr(), and xhci_roothub_exec().
uint16_t xhci_softc::sc_noscratch |
Definition at line 540 of file xhci.h.
Referenced by xhci_init(), xhci_iterate_hw_softc(), and xhci_start_controller().
uint8_t xhci_softc::sc_noslot |
Definition at line 545 of file xhci.h.
Referenced by xhci_check_transfer(), xhci_device_init(), xhci_device_uninit(), xhci_init(), and xhci_start_controller().
uint32_t xhci_softc::sc_oper_off |
Definition at line 525 of file xhci.h.
Referenced by xhci_halt_controller(), and xhci_init().
xhci_port_route_t* xhci_softc::sc_port_route |
Definition at line 499 of file xhci.h.
Referenced by xhci_pci_attach(), xhci_set_address(), and xhci_start_controller().
uint32_t xhci_softc::sc_runt_off |
Definition at line 529 of file xhci.h.
Referenced by xhci_halt_controller(), and xhci_init().
char xhci_softc::sc_vendor[16] |
Definition at line 565 of file xhci.h.
Referenced by generic_xhci_attach(), snps_dwc3_attach_xhci(), xhci_pci_attach(), and xhci_roothub_exec().