usbd_port
struct usbd_port *p;
hub = kmem_alloc(sizeof(*hub) + (nports-1) * sizeof(struct usbd_port),
struct usbd_port *up = &hub->uh_ports[p - 1];
sizeof(*hub) + (nports-1) * sizeof(struct usbd_port));
struct usbd_port *up;
struct usbd_port *rup;
sizeof(*hub) + (nports-1) * sizeof(struct usbd_port));
struct usbd_port sc_port; /* dummy port for root hub */
int port, struct usbd_port *up)
usbd_remove_device(struct usbd_device *dev, struct usbd_port *up)
struct usbd_port *p;
usb_disconnect_port(struct usbd_port *up, device_t parent, int flags)
int, int, struct usbd_port *);
struct usbd_port uh_ports[1];
struct usbd_port *ud_powersrc; /* upstream hub port, or 0 */
struct usbd_port *ud_myhsport; /* closest high speed port */
struct usbd_port *);
void usbd_remove_device(struct usbd_device *, struct usbd_port *);
int usb_disconnect_port(struct usbd_port *, device_t, int);
struct usbd_port;
struct usbd_port *);
int speed, int port, struct usbd_port *up)
struct usbd_port *up = dev->ud_powersrc;
struct usbd_port *myhsport = dev->ud_myhsport;