FreeBSD kernel usb device Code
usb_bus Struct Reference

#include <usb_bus.h>

Collaboration diagram for usb_bus:

Data Fields

struct usb_bus_msg explore_msg [2]
 
struct usb_bus_msg detach_msg [2]
 
struct usb_bus_msg attach_msg [2]
 
struct usb_bus_msg suspend_msg [2]
 
struct usb_bus_msg resume_msg [2]
 
struct usb_bus_msg reset_msg [2]
 
struct usb_bus_msg shutdown_msg [2]
 
struct mtx bus_mtx
 
struct mtx bus_spin_lock
 
struct usb_xfer_queue intr_q
 
struct usb_callout power_wdog
 
device_t parent
 
device_t bdev
 
const struct usb_bus_methodsmethods
 
struct usb_device ** devices
 
struct ifnet * ifp
 
usb_power_mask_t hw_power_state
 
usb_size_t uframe_usage [USB_HS_MICRO_FRAMES_MAX]
 
uint16_t isoc_time_last
 
uint8_t alloc_failed
 
uint8_t driver_added_refcount
 
enum usb_revision usbrev
 
uint8_t devices_max
 
uint8_t do_probe
 
uint8_t no_explore
 
uint8_t dma_bits
 
uint8_t control_ep_quirk
 

Detailed Description

Definition at line 48 of file usb_bus.h.

Field Documentation

◆ alloc_failed

uint8_t usb_bus::alloc_failed

Definition at line 117 of file usb_bus.h.

Referenced by usb_bus_mem_alloc_all().

◆ attach_msg

struct usb_bus_msg usb_bus::attach_msg[2]

Definition at line 83 of file usb_bus.h.

Referenced by usb_attach_sub().

◆ bdev

◆ bus_mtx

◆ bus_spin_lock

struct mtx usb_bus::bus_spin_lock

Definition at line 96 of file usb_bus.h.

Referenced by usb_bus_mem_alloc_all(), and usb_bus_mem_free_all().

◆ control_ep_quirk

uint8_t usb_bus::control_ep_quirk

Definition at line 125 of file usb_bus.h.

Referenced by usbd_ctrl_transfer_setup(), and xhci_init().

◆ detach_msg

struct usb_bus_msg usb_bus::detach_msg[2]

Definition at line 82 of file usb_bus.h.

Referenced by usb_attach_sub().

◆ devices

◆ devices_max

◆ dma_bits

◆ do_probe

uint8_t usb_bus::do_probe

Definition at line 122 of file usb_bus.h.

Referenced by usb_bus_explore(), and usb_needs_explore().

◆ driver_added_refcount

uint8_t usb_bus::driver_added_refcount

Definition at line 118 of file usb_bus.h.

Referenced by uhub_explore_sub(), usb_bus_explore(), and usb_peer_should_wakeup().

◆ explore_msg

struct usb_bus_msg usb_bus::explore_msg[2]

Definition at line 81 of file usb_bus.h.

Referenced by usb_attach_sub(), and usb_needs_explore().

◆ hw_power_state

usb_power_mask_t usb_bus::hw_power_state

Definition at line 112 of file usb_bus.h.

Referenced by usb_bus_attach(), usb_bus_resume(), usb_bus_shutdown(), and usb_bus_suspend().

◆ ifp

struct ifnet* usb_bus::ifp

◆ intr_q

◆ isoc_time_last

uint16_t usb_bus::isoc_time_last

Definition at line 115 of file usb_bus.h.

Referenced by usb_isoc_time_expand().

◆ methods

◆ no_explore

uint8_t usb_bus::no_explore

◆ parent

◆ power_wdog

struct usb_callout usb_bus::power_wdog

Definition at line 98 of file usb_bus.h.

Referenced by usb_bus_mem_alloc_all().

◆ reset_msg

struct usb_bus_msg usb_bus::reset_msg[2]

Definition at line 86 of file usb_bus.h.

Referenced by usb_attach_sub().

◆ resume_msg

struct usb_bus_msg usb_bus::resume_msg[2]

Definition at line 85 of file usb_bus.h.

Referenced by usb_attach_sub().

◆ shutdown_msg

struct usb_bus_msg usb_bus::shutdown_msg[2]

Definition at line 87 of file usb_bus.h.

Referenced by usb_attach_sub().

◆ suspend_msg

struct usb_bus_msg usb_bus::suspend_msg[2]

Definition at line 84 of file usb_bus.h.

Referenced by usb_attach_sub().

◆ uframe_usage

usb_size_t usb_bus::uframe_usage[USB_HS_MICRO_FRAMES_MAX]

Definition at line 113 of file usb_bus.h.

◆ usbrev


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