STRUCT AIROHA_PCIE_PHY(9)
π struct airoha_pcie_phy(9)
okay bestie, welcome to the kernel API manual β this one's about struct airoha_pcie_phy, the main character of the PCIe phy driver. no cap, it's literally just the driver's main structure, and once you see the fields you'll be obsessed. πΈ
β¨ NAME β¨
struct airoha_pcie_phy β the PCIe phy driver main structure. that's it, that's the vibe. π
π¦ SYNOPSIS π¦
here's the whole thing, copied exactly, don't @ me:
struct airoha_pcie_phy {
struct device *dev;
struct phy *phy;
void __iomem *csr_2l;
void __iomem *pma0;
void __iomem *pma1;
void __iomem *p0_xr_dtime;
void __iomem *p1_xr_dtime;
void __iomem *rx_aeq;
};
π Members π
every field, lovingly listed, no skips:
devβ pointer to device. the whole personality of this struct starts here. πphyβ pointer to generic phy. iconic little handle. β¨csr_2lβ Analogic lane IO mapped register base address. yes, "Analogic" with a capital A, that's how the original rolls, keep it.pma0β IO mapped register base address of PMA0-PCIe.pma1β IO mapped register base address of PMA1-PCIe. sibling energy fr fr.p0_xr_dtimeβ IO mapped register base address of port0 Tx-Rx detection time. port zero said main character moment. π«Άp1_xr_dtimeβ IO mapped register base address of port1 Tx-Rx detection time. port one right behind, equally slay.rx_aeqβ IO mapped register base address of Rx AEQ training. the training arc we all needed. π₯
ngl, lots of void __iomem * in here β every single one of those is an IO mapped register base address, so treat them with the respect they deserve. π
π SEE ALSO π
go look at these, iykyk:
- Kernel file
./drivers/phy/phy-airoha-pcie.c airoha_pcie_phy_init(9)
that's the whole page, bestie β no crumbs left behind, every field accounted for πβ¨
source: ./drivers/phy Β· dated October 2026 Β· struct airoha_pcie_phy(9) β mwah, go forth and read your registers responsibly π§π
π¦ 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