usb_ss_read_phycreg(9)
β¨ usb_ss_read_phycreg β¨
okay so bestie, welcome to the Kernel API Manual π this one's a tiny little function from the kernel's USB world, and honestly? it's giving "small but mighty." let's get into it π«Ά
πΈ NAME πΈ
usb_ss_read_phycreg β Read SSPHY register.
like, literally just: go read a register. that's the whole vibe check π
π¦ SYNOPSIS π¦
int usb_ss_read_phycreg (struct usb_phy *phy_dwc3 , u32 addr , u32 *val
);
it returns an int (iykyk π), and it takes three things. keep reading, bestie π
β ARGUMENTS β
phy_dwc3β QCOM DWC3 phy context. this is your main character right here π it's the phy context you're working with.addrβ SSPHY address to read. yes bestie, the actual address. the one you want to peek at π₯valβ pointer in which read is store. that's where the read value ends up getting stored β so make sure it's a real pointer, no cap π«Ά
π SEE ALSO π
- Kernel file
./drivers/phy/qualcomm/phy-qcom-ipq806x-usb.c usb_phy_write_readback(9)usb_ss_write_phycreg(9)
lowkey obsessed with how the write version is right there next to it β sibling energy fr fr π§π
β¨ sign-off β¨
this page lives under ./drivers/phy/qualcomm and the date on it is October 2026. that's it, that's the page β go read that register, bestie, you got this ππΈπ
π¦ 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