FreeBSD kernel usb device Code
|
Go to the source code of this file.
Data Structures | |
struct | uhub_current_state |
struct | uhub_softc |
struct | hub_result |
Macros | |
#define | UHUB_INTR_INTERVAL 250 /* ms */ |
#define | UHUB_USB_PORT_ERRORS_MAX 4 |
#define | UHUB_FLAG_DID_EXPLORE 0x01 |
Enumerations | |
enum | { UHUB_INTR_TRANSFER , UHUB_N_TRANSFER } |
Functions | |
void | uhub_find_iface_index (struct usb_hub *hub, device_t child, struct hub_result *res) |
Variables | |
device_probe_t | uhub_probe |
device_attach_t | uhub_attach |
device_detach_t | uhub_detach |
bus_child_location_t | uhub_child_location |
bus_get_device_path_t | uhub_get_device_path |
#define UHUB_FLAG_DID_EXPLORE 0x01 |
Definition at line 68 of file usb_hub_private.h.
#define UHUB_INTR_INTERVAL 250 /* ms */ |
Definition at line 37 of file usb_hub_private.h.
#define UHUB_USB_PORT_ERRORS_MAX 4 |
Definition at line 66 of file usb_hub_private.h.
anonymous enum |
Enumerator | |
---|---|
UHUB_INTR_TRANSFER | |
UHUB_N_TRANSFER |
Definition at line 39 of file usb_hub_private.h.
void uhub_find_iface_index | ( | struct usb_hub * | hub, |
device_t | child, | ||
struct hub_result * | res | ||
) |
Definition at line 1605 of file usb_hub.c.
References usb_device::bus, child, usb_device::hub, usb_hub::hubudev, hub_result::iface_index, usb_hub::nports, hub_result::portno, usb_hub::ports, usb_interface::subdev, hub_result::udev, usb_bus_port_get_device(), USB_IFACE_MAX, and usbd_get_iface().
Referenced by acpi_uhub_read_ivar(), uhub_child_location(), uhub_child_pnpinfo(), and uhub_get_device_path().
device_attach_t uhub_attach |
Definition at line 81 of file usb_hub_private.h.
Referenced by acpi_uhub_attach(), and acpi_uhub_root_attach().
bus_child_location_t uhub_child_location |
Definition at line 83 of file usb_hub_private.h.
Referenced by acpi_uhub_child_location().
device_detach_t uhub_detach |
Definition at line 82 of file usb_hub_private.h.
Referenced by acpi_uhub_detach().
bus_get_device_path_t uhub_get_device_path |
Definition at line 84 of file usb_hub_private.h.
Referenced by acpi_uhub_get_device_path().
device_probe_t uhub_probe |
Definition at line 80 of file usb_hub_private.h.
Referenced by acpi_uhub_probe(), and acpi_uhub_root_probe().