FreeBSD kernel usb device Code
|
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 |
#define usb_extra_power_up_time USB_EXTRA_POWER_UP_TIME |
Definition at line 85 of file usb_debug.h.
#define usb_port_powerup_delay USB_PORT_POWERUP_DELAY |
Definition at line 79 of file usb_debug.h.
#define usb_port_reset_delay USB_PORT_RESET_DELAY |
Definition at line 76 of file usb_debug.h.
#define usb_port_reset_recovery USB_PORT_RESET_RECOVERY |
Definition at line 78 of file usb_debug.h.
#define usb_port_resume_delay USB_PORT_RESUME_DELAY |
Definition at line 80 of file usb_debug.h.
#define usb_port_root_reset_delay USB_PORT_ROOT_RESET_DELAY |
Definition at line 77 of file usb_debug.h.
#define usb_resume_delay USB_RESUME_DELAY |
Definition at line 82 of file usb_debug.h.
#define usb_resume_recovery USB_RESUME_RECOVERY |
Definition at line 84 of file usb_debug.h.
#define usb_resume_wait USB_RESUME_WAIT |
Definition at line 83 of file usb_debug.h.
#define usb_set_address_settle USB_SET_ADDRESS_SETTLE |
Definition at line 81 of file usb_debug.h.
void usb_dump_device | ( | struct usb_device * | udev | ) |
Definition at line 150 of file usb_debug.c.
References usb_device::address, usb_device::bus, usb_device::curr_config_no, usb_device::depth, usb_device::flags, usb_device::langid, usb_device::power, usb_device_flags::self_powered, and usb_device::speed.
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().
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.
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().
void usb_dump_xfer | ( | struct usb_xfer * | xfer | ) |
Definition at line 214 of file usb_debug.c.
References usb_device::address, usb_endpoint_descriptor::bEndpointAddress, usb_endpoint_descriptor::bmAttributes, usb_device::ddesc, usb_endpoint::edesc, usb_xfer::endpoint, usb_device_descriptor::idProduct, usb_device_descriptor::idVendor, usb_xfer_root::udev, UGETW, and usb_xfer::xroot.
|
extern |
Definition at line 69 of file usb_debug.c.
Referenced by acpi_uhub_parse_pld(), and acpi_uhub_parse_upc().