FreeBSD kernel usb device Code
usb_debug.h File Reference

Go to the source code of this file.

Macros

#define usb_port_reset_delay   USB_PORT_RESET_DELAY
 
#define usb_port_root_reset_delay   USB_PORT_ROOT_RESET_DELAY
 
#define usb_port_reset_recovery   USB_PORT_RESET_RECOVERY
 
#define usb_port_powerup_delay   USB_PORT_POWERUP_DELAY
 
#define usb_port_resume_delay   USB_PORT_RESUME_DELAY
 
#define usb_set_address_settle   USB_SET_ADDRESS_SETTLE
 
#define usb_resume_delay   USB_RESUME_DELAY
 
#define usb_resume_wait   USB_RESUME_WAIT
 
#define usb_resume_recovery   USB_RESUME_RECOVERY
 
#define usb_extra_power_up_time   USB_EXTRA_POWER_UP_TIME
 

Functions

void usb_dump_iface (struct usb_interface *iface)
 
void usb_dump_device (struct usb_device *udev)
 
void usb_dump_queue (struct usb_endpoint *ep)
 
void usb_dump_endpoint (struct usb_endpoint *ep)
 
void usb_dump_xfer (struct usb_xfer *xfer)
 

Variables

int usb_debug
 

Macro Definition Documentation

◆ usb_extra_power_up_time

#define usb_extra_power_up_time   USB_EXTRA_POWER_UP_TIME

Definition at line 85 of file usb_debug.h.

◆ usb_port_powerup_delay

#define usb_port_powerup_delay   USB_PORT_POWERUP_DELAY

Definition at line 79 of file usb_debug.h.

◆ usb_port_reset_delay

#define usb_port_reset_delay   USB_PORT_RESET_DELAY

Definition at line 76 of file usb_debug.h.

◆ usb_port_reset_recovery

#define usb_port_reset_recovery   USB_PORT_RESET_RECOVERY

Definition at line 78 of file usb_debug.h.

◆ usb_port_resume_delay

#define usb_port_resume_delay   USB_PORT_RESUME_DELAY

Definition at line 80 of file usb_debug.h.

◆ usb_port_root_reset_delay

#define usb_port_root_reset_delay   USB_PORT_ROOT_RESET_DELAY

Definition at line 77 of file usb_debug.h.

◆ usb_resume_delay

#define usb_resume_delay   USB_RESUME_DELAY

Definition at line 82 of file usb_debug.h.

◆ usb_resume_recovery

#define usb_resume_recovery   USB_RESUME_RECOVERY

Definition at line 84 of file usb_debug.h.

◆ usb_resume_wait

#define usb_resume_wait   USB_RESUME_WAIT

Definition at line 83 of file usb_debug.h.

◆ usb_set_address_settle

#define usb_set_address_settle   USB_SET_ADDRESS_SETTLE

Definition at line 81 of file usb_debug.h.

Function Documentation

◆ usb_dump_device()

◆ usb_dump_endpoint()

void usb_dump_endpoint ( struct usb_endpoint ep)

Definition at line 189 of file usb_debug.c.

References usb_endpoint_descriptor::bEndpointAddress, usb_endpoint::edesc, usb_endpoint::isoc_next, usb_endpoint::toggle_next, and usb_dump_queue().

Referenced by usbd_transfer_submit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ usb_dump_iface()

void usb_dump_iface ( struct usb_interface iface)

Definition at line 134 of file usb_debug.c.

References usb_interface::alt_index, and usb_interface::idesc.

◆ usb_dump_queue()

void usb_dump_queue ( struct usb_endpoint ep)

Definition at line 170 of file usb_debug.c.

References usb_endpoint::endpoint_q, and USB_MAX_EP_STREAMS.

Referenced by usb_dump_endpoint().

Here is the caller graph for this function:

◆ usb_dump_xfer()

Variable Documentation

◆ usb_debug

int usb_debug
extern

Definition at line 69 of file usb_debug.c.

Referenced by acpi_uhub_parse_pld(), and acpi_uhub_parse_upc().