function_descriptors(9)
β¨ function_descriptors(9) β¨
Okay bestie, this is the Kernel API Manual page for function_descriptors(9) β and the whole mission is literally to get function descriptors for speed. π
π¦ SYNOPSIS π¦
struct usb_descriptor_header ** function_descriptors (struct usb_function *f , enum usb_device_speed speed );
π ARGUMENTS π
fβ the function π«Άspeedβ the speed β‘
πΈ DESCRIPTION πΈ
It returns the descriptors β or NULL if not set. That's the whole vibe, no cap. β¨
π₯ SEE ALSO π₯
The kernel file is ./drivers/usb/gadget/composite.c, and here's the whole SEE ALSO squad, bestie:
struct usb_os_string(9)next_desc(9)config_ep_by_speed_and_alt(9)config_ep_by_speed(9)usb_add_function(9)usb_function_deactivate(9)usb_function_activate(9)usb_interface_id(9)usb_func_wakeup(9)bos_desc(9)usb_add_config(9)usb_string_id(9)usb_string_ids_tab(9)usb_gstrings_attach(9)usb_string_ids_n(9)usb_composite_probe(9)usb_composite_unregister(9)usb_composite_setup_continue(9)
π«Ά signed off from ./drivers/usb/gadget Β· October 2026 β mwah π
π¦ 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