usb_of_has_combined_node(9)
π NAME π
usb_of_has_combined_node β bestie, this is the function that determines whether a device has a combined node. Weβre in the Kernel API Manual, section 9, and yes, itβs iconic β¨
β¨ SYNOPSIS β¨
bool usb_of_has_combined_node (struct usb_device *udev );
π ARGUMENTS π
udevβ the USB device. Thatβs the one weβre checking, no cap π
π¦ DESCRIPTION π¦
Okay so this function determines whether a USB device has a so-called combined node, which is shared with its sole interface. Itβs giving βdevice node and interface are sharing one nodeβ energy π«Ά
This is the case if and only if the device has a node and its descriptors report all of the following:
bDeviceClassis0or9, andbNumConfigurationsis1, andbNumInterfacesis1.
π RETURN π
True iff the device has a device node and its descriptors match the criteria for a combined node. So yeah: true when the node exists and the descriptor checklist is fully slaying β
π SEE ALSO π
- Kernel file
./drivers/usb/core/of.c usb_of_get_device_node(9)usb_of_get_connect_type(9)usb_of_get_interface_node(9)
Signed off from the source at ./drivers/usb/core, dated October 2026, in the Kernel API Manual β usb_of_has_combined_node(9) out π
β¨π«Ά
π¦ 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