usb_get_dr_mode(9)
π usb_get_dr_mode(9) β Kernel API Manual π
okay bestie, welcome to the usb_get_dr_mode(9) page from the Kernel API Manual β¨ this one is short and sweet, and weβre keeping every detail, no cap.
πΈ NAME πΈ
usb_get_dr_mode β get dual role mode for given device π
β¨ SYNOPSIS β¨
enum usb_dr_mode usb_get_dr_mode (struct device *dev );
π ARGUMENTS π
devβ pointer to the given device π«Ά
π DESCRIPTION π
The function gets the phy interface string from the property 'dr_mode', and returns the corresponding enum usb_dr_mode π
π SEE ALSO π
- Kernel file
./include/linux/usb/otg.h, andstruct usb_otg_caps(9)π¦
source/version check, bestie: ./include/linux/usb, dated October 2026 π thatβs the whole page β 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