FreeBSD kernel usb device Code
xhci_softc Struct Reference

#include <xhci.h>

Collaboration diagram for xhci_softc:

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_tsc_port_route
 
union xhci_hub_desc sc_hub_desc
 
struct cv sc_cmd_cv
 
struct sx sc_cmd_sx
 
struct usb_devicesc_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]
 

Detailed Description

Definition at line 490 of file xhci.h.

Field Documentation

◆ sc_bus

◆ sc_callout

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().

◆ sc_capa_off

uint32_t xhci_softc::sc_capa_off

Definition at line 527 of file xhci.h.

Referenced by xhci_halt_controller(), and xhci_init().

◆ sc_cmd

uint32_t xhci_softc::sc_cmd

Definition at line 520 of file xhci.h.

◆ sc_cmd_addr

uint64_t xhci_softc::sc_cmd_addr

Definition at line 516 of file xhci.h.

Referenced by xhci_check_command(), and xhci_do_command().

◆ sc_cmd_cv

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().

◆ sc_cmd_result

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().

◆ sc_cmd_sx

struct sx xhci_softc::sc_cmd_sx

Definition at line 504 of file xhci.h.

Referenced by xhci_init(), and xhci_uninit().

◆ sc_command_ccs

uint8_t xhci_softc::sc_command_ccs

◆ sc_command_idx

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().

◆ sc_conf

uint8_t xhci_softc::sc_conf

Definition at line 549 of file xhci.h.

Referenced by xhci_roothub_exec().

◆ sc_config_msg

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().

◆ sc_ctlstep

uint8_t xhci_softc::sc_ctlstep

Definition at line 551 of file xhci.h.

Referenced by xhci_pci_attach(), and xhci_setup_generic_chain().

◆ sc_ctx_is_64_byte

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().

◆ sc_devices

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().

◆ sc_door_off

uint32_t xhci_softc::sc_door_off

Definition at line 531 of file xhci.h.

Referenced by xhci_halt_controller(), and xhci_init().

◆ sc_erst_max

uint16_t xhci_softc::sc_erst_max

Definition at line 534 of file xhci.h.

Referenced by xhci_init(), and xhci_start_controller().

◆ sc_event_ccs

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().

◆ sc_event_idx

uint16_t xhci_softc::sc_event_idx

Definition at line 535 of file xhci.h.

Referenced by xhci_interrupt_poll(), and xhci_start_controller().

◆ sc_exit_lat_max

uint32_t xhci_softc::sc_exit_lat_max

Definition at line 522 of file xhci.h.

Referenced by xhci_init().

◆ sc_hub_desc

union xhci_hub_desc xhci_softc::sc_hub_desc

Definition at line 501 of file xhci.h.

Referenced by xhci_roothub_exec().

◆ sc_hub_idata

uint8_t xhci_softc::sc_hub_idata[32]

Definition at line 553 of file xhci.h.

Referenced by xhci_root_intr().

◆ sc_hw

◆ sc_imod_default

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().

◆ sc_intr_hdl

void* xhci_softc::sc_intr_hdl

◆ sc_io_hdl

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().

◆ sc_io_res

struct resource* xhci_softc::sc_io_res

◆ sc_io_size

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().

◆ sc_io_tag

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().

◆ sc_irq_res

struct resource* xhci_softc::sc_irq_res

◆ sc_ist

uint8_t xhci_softc::sc_ist

Definition at line 562 of file xhci.h.

Referenced by xhci_init(), and xhci_setup_generic_chain().

◆ sc_msix_res

struct resource* xhci_softc::sc_msix_res

Definition at line 509 of file xhci.h.

Referenced by xhci_pci_attach(), and xhci_pci_detach().

◆ sc_no_deconfigure

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().

◆ sc_noport

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().

◆ sc_noscratch

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().

◆ sc_noslot

uint8_t xhci_softc::sc_noslot

◆ sc_oper_off

uint32_t xhci_softc::sc_oper_off

Definition at line 525 of file xhci.h.

Referenced by xhci_halt_controller(), and xhci_init().

◆ sc_port_route

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().

◆ sc_runt_off

uint32_t xhci_softc::sc_runt_off

Definition at line 529 of file xhci.h.

Referenced by xhci_halt_controller(), and xhci_init().

◆ sc_vendor

char xhci_softc::sc_vendor[16]

The documentation for this struct was generated from the following file: