FreeBSD kernel usb device Code
ehci_softc Struct Reference

#include <ehci.h>

Collaboration diagram for ehci_softc:

Data Fields

struct ehci_hw_softc sc_hw
 
struct usb_bus sc_bus
 
struct usb_callout sc_tmo_pcd
 
struct usb_callout sc_tmo_poll
 
union ehci_hub_desc sc_hub_desc
 
struct usb_devicesc_devices [EHCI_MAX_DEVICES]
 
struct resource * sc_io_res
 
struct resource * sc_irq_res
 
struct ehci_qhsc_async_p_last
 
struct ehci_qhsc_intr_p_last [EHCI_VIRTUAL_FRAMELIST_COUNT]
 
struct ehci_sitdsc_isoc_fs_p_last [EHCI_VIRTUAL_FRAMELIST_COUNT]
 
struct ehci_itdsc_isoc_hs_p_last [EHCI_VIRTUAL_FRAMELIST_COUNT]
 
void * sc_intr_hdl
 
bus_size_t sc_io_size
 
bus_space_tag_t sc_io_tag
 
bus_space_handle_t sc_io_hdl
 
uint32_t sc_terminate_self
 
uint32_t sc_eintrs
 
uint16_t sc_intr_stat [EHCI_VIRTUAL_FRAMELIST_COUNT]
 
uint16_t sc_id_vendor
 
uint16_t sc_flags
 
uint8_t sc_offs
 
uint8_t sc_doorbell_disable
 
uint8_t sc_noport
 
uint8_t sc_addr
 
uint8_t sc_conf
 
uint8_t sc_isreset
 
uint8_t sc_hub_idata [8]
 
char sc_vendor [16]
 
void(* sc_vendor_post_reset )(struct ehci_softc *sc)
 
uint16_t(* sc_vendor_get_port_speed )(struct ehci_softc *sc, uint16_t index)
 

Detailed Description

Definition at line 316 of file ehci.h.

Field Documentation

◆ sc_addr

uint8_t ehci_softc::sc_addr

Definition at line 352 of file ehci.h.

Referenced by ehci_ep_init(), and ehci_roothub_exec().

◆ sc_async_p_last

struct ehci_qh* ehci_softc::sc_async_p_last

◆ sc_bus

◆ sc_conf

uint8_t ehci_softc::sc_conf

Definition at line 353 of file ehci.h.

Referenced by ehci_roothub_exec().

◆ sc_devices

struct usb_device* ehci_softc::sc_devices[EHCI_MAX_DEVICES]

◆ sc_doorbell_disable

uint8_t ehci_softc::sc_doorbell_disable

Definition at line 350 of file ehci.h.

◆ sc_eintrs

uint32_t ehci_softc::sc_eintrs

Definition at line 336 of file ehci.h.

Referenced by ehci_init(), ehci_init_sub(), ehci_interrupt(), and ehci_pcd_enable().

◆ sc_flags

◆ sc_hub_desc

union ehci_hub_desc ehci_softc::sc_hub_desc

Definition at line 321 of file ehci.h.

Referenced by ehci_roothub_exec().

◆ sc_hub_idata

uint8_t ehci_softc::sc_hub_idata[8]

Definition at line 355 of file ehci.h.

Referenced by ehci_root_intr().

◆ sc_hw

struct ehci_hw_softc ehci_softc::sc_hw

Definition at line 317 of file ehci.h.

Referenced by ehci_init(), ehci_init_sub(), and ehci_iterate_hw_softc().

◆ sc_id_vendor

uint16_t ehci_softc::sc_id_vendor

Definition at line 339 of file ehci.h.

Referenced by fsl_ehci_attach(), and imx_ehci_attach().

◆ sc_intr_hdl

◆ sc_intr_p_last

struct ehci_qh* ehci_softc::sc_intr_p_last[EHCI_VIRTUAL_FRAMELIST_COUNT]

◆ sc_intr_stat

uint16_t ehci_softc::sc_intr_stat[EHCI_VIRTUAL_FRAMELIST_COUNT]

Definition at line 338 of file ehci.h.

Referenced by ehci_device_intr_close(), and ehci_device_intr_open().

◆ sc_io_hdl

◆ sc_io_res

◆ sc_io_size

bus_size_t ehci_softc::sc_io_size

Definition at line 331 of file ehci.h.

Referenced by ehci_msm_attach(), ehci_pci_attach(), generic_ehci_attach(), and mv_ehci_attach().

◆ sc_io_tag

◆ sc_irq_res

◆ sc_isoc_fs_p_last

struct ehci_sitd* ehci_softc::sc_isoc_fs_p_last[EHCI_VIRTUAL_FRAMELIST_COUNT]

Definition at line 328 of file ehci.h.

Referenced by ehci_init(), and ehci_isoc_fs_done().

◆ sc_isoc_hs_p_last

struct ehci_itd* ehci_softc::sc_isoc_hs_p_last[EHCI_VIRTUAL_FRAMELIST_COUNT]

Definition at line 329 of file ehci.h.

Referenced by ehci_init(), and ehci_isoc_hs_done().

◆ sc_isreset

uint8_t ehci_softc::sc_isreset

Definition at line 354 of file ehci.h.

Referenced by ehci_roothub_exec().

◆ sc_noport

uint8_t ehci_softc::sc_noport

Definition at line 351 of file ehci.h.

Referenced by ehci_init(), ehci_root_intr(), and ehci_roothub_exec().

◆ sc_offs

uint8_t ehci_softc::sc_offs

Definition at line 349 of file ehci.h.

Referenced by ehci_init().

◆ sc_terminate_self

uint32_t ehci_softc::sc_terminate_self

Definition at line 335 of file ehci.h.

Referenced by ehci_init(), and ehci_setup_standard_chain_sub().

◆ sc_tmo_pcd

struct usb_callout ehci_softc::sc_tmo_pcd

Definition at line 319 of file ehci.h.

Referenced by ehci_detach(), ehci_init(), and ehci_interrupt().

◆ sc_tmo_poll

struct usb_callout ehci_softc::sc_tmo_poll

Definition at line 320 of file ehci.h.

Referenced by ehci_detach(), ehci_init(), and ehci_interrupt().

◆ sc_vendor

char ehci_softc::sc_vendor[16]

◆ sc_vendor_get_port_speed

uint16_t(* ehci_softc::sc_vendor_get_port_speed) (struct ehci_softc *sc, uint16_t index)

Definition at line 360 of file ehci.h.

Referenced by ehci_roothub_exec(), imx_ehci_attach(), and mv_ehci_attach().

◆ sc_vendor_post_reset

void(* ehci_softc::sc_vendor_post_reset) (struct ehci_softc *sc)

Definition at line 359 of file ehci.h.

Referenced by ehci_reset(), imx_ehci_attach(), and mv_ehci_attach().


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