hw_port_test_get(9)
π hw_port_test_get(9) β like, the Kernel API Manual edition, bestie π
okay so real talk, this little function is from the Kernel API Manual and she's a whole vibe β tiny, focused, and literally just here to tell you one thing. no cap. let's get into it β¨
β¨ NAME β¨
hw_port_test_get β reads the port test mode value π«Ά
like... it gets the port test mode value. that's the whole job. icon behaviour honestly π
πΈ SYNOPSIS πΈ
u8 hw_port_test_get (struct ci_hdrc *ci );
that's it. one argument, one u8 coming back at you. short and slay π
π¦ ARGUMENTS π¦
ciβ the controller π like, thestruct ci_hdrc *itself. you hand her the controller, she does the rest. no notes.
π DESCRIPTION π
so, what does she do? this function returns the port test mode value. periodt. that's the entire description, bestie, and honestly we respect the minimalism πβ¨
she's giving "i know exactly what i'm about" main character energy. no side quests, no extra params, no surprises. just the port test mode value, freshly read, handed back to you as a u8 π
fr fr, that's all there is β don't go looking for hidden behaviour, because the page does not give you any and i'm not about to invent some π
π SEE ALSO π
go check out the kernel file ./drivers/usb/chipidea/core.c β that's where the magic lives, iykyk π
and then the whole squad, who all clearly hang out together in the same group chat:
hw_read_intr_enable(9)hw_read_intr_status(9)hw_port_test_set(9)β the setter to her getter, the other half of the ship π_ci_usb_phy_init(9)ci_usb_phy_exit(9)ci_usb_phy_init(9)ci_platform_configure(9)hw_controller_reset(9)hw_device_reset(9)ci_hdrc_query_available_role(9)
like, that's the friend group. go say hi π«Άπ₯
π§ sign-off π§
that's the whole page, bestie! sourced straight from ./drivers/usb/chipidea, dated October 2026 β so yes she's fresh, she's current, she's got that new-manpage smell πΈβ¨
now go read your port test mode value. slay. π π
π¦ 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