Lines Matching full:mmd

10 int sja1105_pcs_mdio_read_c45(struct mii_bus *bus, int phy, int mmd, int reg)  in sja1105_pcs_mdio_read_c45()  argument
18 addr = (mmd << 16) | reg; in sja1105_pcs_mdio_read_c45()
20 if (mmd != MDIO_MMD_VEND1 && mmd != MDIO_MMD_VEND2) in sja1105_pcs_mdio_read_c45()
23 if (mmd == MDIO_MMD_VEND2 && (reg & GENMASK(15, 0)) == MII_PHYSID1) in sja1105_pcs_mdio_read_c45()
25 if (mmd == MDIO_MMD_VEND2 && (reg & GENMASK(15, 0)) == MII_PHYSID2) in sja1105_pcs_mdio_read_c45()
35 int sja1105_pcs_mdio_write_c45(struct mii_bus *bus, int phy, int mmd, in sja1105_pcs_mdio_write_c45() argument
43 addr = (mmd << 16) | reg; in sja1105_pcs_mdio_write_c45()
46 if (mmd != MDIO_MMD_VEND1 && mmd != MDIO_MMD_VEND2) in sja1105_pcs_mdio_write_c45()
52 int sja1110_pcs_mdio_read_c45(struct mii_bus *bus, int phy, int mmd, int reg) in sja1110_pcs_mdio_read_c45() argument
65 addr = (mmd << 16) | reg; in sja1110_pcs_mdio_read_c45()
67 if (mmd == MDIO_MMD_VEND2 && (reg & GENMASK(15, 0)) == MII_PHYSID1) in sja1110_pcs_mdio_read_c45()
69 if (mmd == MDIO_MMD_VEND2 && (reg & GENMASK(15, 0)) == MII_PHYSID2) in sja1110_pcs_mdio_read_c45()
97 int sja1110_pcs_mdio_write_c45(struct mii_bus *bus, int phy, int mmd, int reg, in sja1110_pcs_mdio_write_c45() argument
111 addr = (mmd << 16) | reg; in sja1110_pcs_mdio_write_c45()
170 int mmd, int reg) in sja1105_base_t1_mdio_read_c45() argument
178 addr = sja1105_base_t1_encode_addr(priv, phy, SJA1105_C45_ADDR, mmd); in sja1105_base_t1_mdio_read_c45()
184 addr = sja1105_base_t1_encode_addr(priv, phy, SJA1105_C45_DATA, mmd); in sja1105_base_t1_mdio_read_c45()
209 int mmd, int reg, u16 val) in sja1105_base_t1_mdio_write_c45() argument
217 addr = sja1105_base_t1_encode_addr(priv, phy, SJA1105_C45_ADDR, mmd); in sja1105_base_t1_mdio_write_c45()
223 addr = sja1105_base_t1_encode_addr(priv, phy, SJA1105_C45_DATA, mmd); in sja1105_base_t1_mdio_write_c45()