STRUCT MVEBU_CP110_UTMI_PORT(9)
πΈ NAME πΈ
struct mvebu_cp110_utmi_port β it's giving PHY port data, bestie π
this is the little struct that holds the deets for one UTMI port, and it lives in the Kernel API Manual (yes that's the manual name, we're fancy like that β¨).
π¦ SYNOPSIS π¦
ok so picture this, the whole struct, no cap, exactly like this:
struct mvebu_cp110_utmi_port {
struct mvebu_cp110_utmi *priv;
u32 id;
enum usb_dr_mode dr_mode;
bool swap_dx;
};
that's it, that's the vibe π four fields, zero drama.
π MEMBERS π
privβ the PHY driver data π«Ά literally the hookup to the driver's own stuff, main character energy.idβ the PHY port ID β¨ which port are we even talking about, bestie, this is how you know.dr_modeβ the PHY connection, and it's one of exactly two moods:USB_DR_MODE_HOSTorUSB_DR_MODE_PERIPHERALπ pick your fighter.swap_dxβ aboolthat says whether to swap d+/d- signals π like, are we flipping the wires or not, that's the whole question.
lowkey important: that'sd+andd-, the actual signal lines, not a typo, not a vibe, fr fr π
π₯ SEE ALSO π₯
- Kernel file
./drivers/phy/marvell/phy-mvebu-cp110-utmi.cπ like, go read the source, it ate. struct mvebu_cp110_utmi(9)β the sibling struct, iconic, they come as a set π
ok that's the whole page, you're officially educated π
this was brought to you by the fine people over at ./drivers/phy/marvell π, dated October 2026 β, and yes the manual is the Kernel API Manual in case you forgot already π go forth and configure ports, 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