FreeBSD kernel usb device Code
usb_hub_private.h File Reference
This graph shows which files directly or indirectly include this file:

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
 

Macro Definition Documentation

◆ UHUB_FLAG_DID_EXPLORE

#define UHUB_FLAG_DID_EXPLORE   0x01

Definition at line 68 of file usb_hub_private.h.

◆ UHUB_INTR_INTERVAL

#define UHUB_INTR_INTERVAL   250 /* ms */

Definition at line 37 of file usb_hub_private.h.

◆ UHUB_USB_PORT_ERRORS_MAX

#define UHUB_USB_PORT_ERRORS_MAX   4

Definition at line 66 of file usb_hub_private.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
UHUB_INTR_TRANSFER 
UHUB_N_TRANSFER 

Definition at line 39 of file usb_hub_private.h.

Function Documentation

◆ uhub_find_iface_index()

void uhub_find_iface_index ( struct usb_hub hub,
device_t  child,
struct hub_result res 
)

Variable Documentation

◆ uhub_attach

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().

◆ uhub_child_location

bus_child_location_t uhub_child_location

Definition at line 83 of file usb_hub_private.h.

Referenced by acpi_uhub_child_location().

◆ uhub_detach

device_detach_t uhub_detach

Definition at line 82 of file usb_hub_private.h.

Referenced by acpi_uhub_detach().

◆ uhub_get_device_path

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().

◆ uhub_probe

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().