of_usb_update_otg_caps(9)
okay bestie, this is the of_usb_update_otg_caps(9) page from the Kernel API Manual β OTG caps edition. it's lowkey niche but highkey useful, and we're gonna get through it together. πβ¨
πΈ NAME πΈ
of_usb_update_otg_caps β to update usb otg capabilities according to the passed properties in DT. that's the whole assignment, and it ate. π
π SYNOPSIS π
int of_usb_update_otg_caps (struct device_node *np , struct usb_otg_caps
*otg_caps );
π¦ ARGUMENTS π¦
npβ Pointer to the givendevice_node. yes bestie, that's the node.otg_capsβ Pointer to the targetusb_otg_capsto be set. this is the one getting updated, no cap.
π DESCRIPTION π
The function updates the otg capabilities. that's the tea β β short, sweet, and straight to the point. it's giving "kernel function with main character energy," and honestly? obsessed. π«Ά
π SEE ALSO π
Kernel file ./drivers/usb/common/common.c β the source location, slay.
usb_ep_type_string(9)usb_otg_state_string(9)usb_speed_string(9)usb_get_maximum_speed(9)usb_get_maximum_ssp_rate(9)usb_state_string(9)usb_get_dr_mode_from_string(9)usb_get_role_switch_default_mode(9)usb_decode_interval(9)of_usb_get_dr_mode_by_phy(9)of_usb_host_tpl_support(9)usb_of_get_companion_dev(9)
okay that's the page, bestie π source/version: ./drivers/usb/common Β· date: October 2026 Β· page: of_usb_update_otg_caps(9). go off, kernel queen πβ¨
π¦ 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