usb_hub_for_each_child(9)
π NAME π
okay so welcome to the Kernel API Manual page for usb_hub_for_each_child(9). the NAME tea is: usb_hub_for_each_child β iterate over all child devices on the hub. that's the assignment, and it ate. π«Άβ¨
β¨ SYNOPSIS β¨
usb_hub_for_each_child (hdev , port1 , child );
π ARGUMENTS π
hdevβ USB device belonging to the usb hub. that's the hub in question, okay? π¦port1β portnum associated with child device. yes, the portnum linked to the child. πchildβ child device pointer. it's the child pointer you're handling in the loop. π
π SEE ALSO π
the Kernel file ./include/linux/usb.h is right here, and the whole ref crew is giving full friend-group energy β every single one, no skipping:
struct usb_host_endpoint(9)struct usb_interface(9)usb_set_intfdata(9)struct usb_interface_cache(9)struct usb_host_config(9)struct usb_device(9)usb_interface_claimed(9)usb_make_path(9)USB_DEVICE(9)USB_DEVICE_VER(9)USB_DEVICE_INTERFACE_CLASS(9)USB_DEVICE_INTERFACE_PROTOCOL(9)USB_DEVICE_INTERFACE_NUMBER(9)USB_DEVICE_INFO(9)USB_INTERFACE_INFO(9)USB_DEVICE_AND_INTERFACE_INFO(9)USB_VENDOR_AND_INTERFACE_INFO(9)struct usb_driver(9)struct usb_device_driver(9)struct usb_class_driver(9)module_usb_driver(9)struct urb(9)usb_fill_control_urb(9)usb_fill_bulk_urb(9)usb_fill_int_urb(9)usb_urb_dir_in(9)usb_urb_dir_out(9)struct usb_sg_request(9)
mwah π β source/version: ./include/linux; date: October 2026. slay and read the refs, bestie πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms