1USB_HUB_FIND_CHILD(9)            USB Core APIs           USB_HUB_FIND_CHILD(9)
2
3
4

NAME

6       usb_hub_find_child - Get the pointer of child device attached to the
7       port which is specified by port1.
8

SYNOPSIS

10       struct usb_device * usb_hub_find_child(struct usb_device * hdev,
11                                              int port1);
12

ARGUMENTS

14       hdev
15           USB device belonging to the usb hub
16
17       port1
18           port num to indicate which port the child device is attached to.
19

RHEL SPECIFIC NOTE

21       ff823c79a5c33194c2e5594f7c4686ea3547910c wasn´t completely backported
22       due changes on usb_device structure. This function was modified to work
23       with existing structure.
24
25       Return NULL if input param is invalid and child´s usb_device pointer if
26       non-NULL.
27
29Kernel Hackers Manual 2.6.         June 2019             USB_HUB_FIND_CHILD(9)
Impressum