Home
last modified time | relevance | path

Searched full:mdio_cfg (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/freescale/enetc/
Denetc_mdio.c62 u32 mdio_ctl, mdio_cfg; in enetc_mdio_write_c22() local
66 mdio_cfg = ENETC_EMDIO_CFG; in enetc_mdio_write_c22()
68 mdio_cfg &= ~MDIO_CFG_ENC45; in enetc_mdio_write_c22()
70 enetc_mdio_wr(mdio_priv, ENETC_MDIO_CFG, mdio_cfg); in enetc_mdio_write_c22()
95 u32 mdio_ctl, mdio_cfg; in enetc_mdio_write_c45() local
98 mdio_cfg = ENETC_EMDIO_CFG; in enetc_mdio_write_c45()
99 mdio_cfg |= MDIO_CFG_ENC45; in enetc_mdio_write_c45()
101 enetc_mdio_wr(mdio_priv, ENETC_MDIO_CFG, mdio_cfg); in enetc_mdio_write_c45()
132 u32 mdio_ctl, mdio_cfg; in enetc_mdio_read_c22() local
136 mdio_cfg = ENETC_EMDIO_CFG; in enetc_mdio_read_c22()
[all …]
/linux-6.12.1/drivers/net/ethernet/tehuti/
Dtn40_mdio.c20 int mdio_cfg; in tn40_mdio_set_speed() local
23 mdio_cfg = (0x7d << 7) | 0x08; /* 1MHz */ in tn40_mdio_set_speed()
25 mdio_cfg = 0xA08; /* 6MHz */ in tn40_mdio_set_speed()
26 mdio_cfg |= (1 << 6); in tn40_mdio_set_speed()
27 writel(mdio_cfg, regs + TN40_REG_MDIO_CMD_STAT); in tn40_mdio_set_speed()
/linux-6.12.1/Documentation/devicetree/bindings/net/
Dfsl,fman-mdio.yaml51 of MDIO_CFG[BSY] being cleared, when performing an
58 describing that the MDIO_CFG[MDIO_RD_ER] bit may be falsely
61 MDIO_CFG[MDIO_RD_ER] bit set, even when there is no error and
65 MDIO accesses should ignore the MDIO_CFG[MDIO_RD_ER] bit.
/linux-6.12.1/drivers/net/mdio/
Dmdio-bcm-unimac.c31 #define MDIO_CFG 0x04 macro
227 reg = unimac_mdio_readl(priv, MDIO_CFG); in unimac_mdio_clk_set()
230 unimac_mdio_writel(priv, reg, MDIO_CFG); in unimac_mdio_clk_set()