| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | mdio_10g.h | 22 static inline int ef4_mdio_read(struct ef4_nic *efx, int devad, int addr) in ef4_mdio_read() 28 ef4_mdio_write(struct ef4_nic *efx, int devad, int addr, int value) in ef4_mdio_write() 99 ef4_mdio_set_flag(struct ef4_nic *efx, int devad, int addr, in ef4_mdio_set_flag()
|
| H A D | mdio_10g.c | 313 int devad = __ffs(efx->mdio.mmds); in ef4_mdio_test_alive() local
|
| /linux/drivers/net/mdio/ |
| H A D | mdio-cavium.c | 29 int phy_id, int devad, int regnum) in cavium_mdiobus_c45_addr() 90 int cavium_mdiobus_read_c45(struct mii_bus *bus, int phy_id, int devad, in cavium_mdiobus_read_c45() 159 int cavium_mdiobus_write_c45(struct mii_bus *bus, int phy_id, int devad, in cavium_mdiobus_write_c45()
|
| H A D | mdio-i2c.c | 33 static int i2c_mii_read_default_c45(struct mii_bus *bus, int phy_id, int devad, in i2c_mii_read_default_c45() 69 int devad, int reg, u16 val) in i2c_mii_write_default_c45() 361 static int i2c_mii_read_rollball(struct mii_bus *bus, int phy_id, int devad, in i2c_mii_read_rollball() 393 static int i2c_mii_write_rollball(struct mii_bus *bus, int phy_id, int devad, in i2c_mii_write_rollball()
|
| H A D | mdio-bitbang.c | 184 int mdiobb_read_c45(struct mii_bus *bus, int phy, int devad, int reg) in mdiobb_read_c45() 220 int mdiobb_write_c45(struct mii_bus *bus, int phy, int devad, int reg, u16 val) in mdiobb_write_c45()
|
| H A D | mdio-aspeed.c | 114 static int aspeed_mdio_read_c45(struct mii_bus *bus, int addr, int devad, in aspeed_mdio_read_c45() 132 static int aspeed_mdio_write_c45(struct mii_bus *bus, int addr, int devad, in aspeed_mdio_write_c45()
|
| /linux/drivers/net/ethernet/samsung/sxgbe/ |
| H A D | sxgbe_mdio.c | 53 int devad, int phyreg, u16 phydata) in sxgbe_mdio_c45() 99 int phyaddr, int devad, int phyreg, in sxgbe_mdio_access_c45() 143 static int sxgbe_mdio_read_c45(struct mii_bus *bus, int phyaddr, int devad, in sxgbe_mdio_read_c45() 185 static int sxgbe_mdio_write_c45(struct mii_bus *bus, int phyaddr, int devad, in sxgbe_mdio_write_c45()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | mcdi_port.c | 21 int prtad, int devad, u16 addr) in efx_mcdi_mdio_read() 47 int prtad, int devad, u16 addr, u16 value) in efx_mcdi_mdio_write()
|
| /linux/include/linux/ |
| H A D | mdio.h | 654 static inline int __mdiodev_c45_read(struct mdio_device *mdiodev, int devad, in __mdiodev_c45_read() 660 static inline int __mdiodev_c45_write(struct mdio_device *mdiodev, u32 devad, in __mdiodev_c45_write() 667 static inline int mdiodev_c45_modify(struct mdio_device *mdiodev, int devad, in mdiodev_c45_modify() 675 int devad, u32 regnum, u16 mask, in mdiodev_c45_modify_changed() 682 static inline int mdiodev_c45_read(struct mdio_device *mdiodev, int devad, in mdiodev_c45_read() 688 static inline int mdiodev_c45_write(struct mdio_device *mdiodev, u32 devad, in mdiodev_c45_write()
|
| H A D | phy.h | 1929 static inline int __phy_set_bits_mmd(struct phy_device *phydev, int devad, in __phy_set_bits_mmd() 1945 static inline int __phy_clear_bits_mmd(struct phy_device *phydev, int devad, in __phy_clear_bits_mmd() 1959 static inline int phy_set_bits_mmd(struct phy_device *phydev, int devad, in phy_set_bits_mmd() 1973 static inline int phy_clear_bits_mmd(struct phy_device *phydev, int devad, in phy_clear_bits_mmd()
|
| /linux/drivers/base/regmap/ |
| H A D | regmap-mdio.c | 48 unsigned int devad; in regmap_mdio_c45_read() local 69 unsigned int devad; in regmap_mdio_c45_write() local
|
| /linux/include/linux/fsl/ |
| H A D | enetc_mdio.h | 57 int devad, int regnum) in enetc_mdio_read_c45() 60 int devad, int regnum, u16 value) in enetc_mdio_write_c45()
|
| /linux/drivers/net/phy/ |
| H A D | phy_package.c | 133 unsigned int addr_offset, int devad, in __phy_package_read_mmd() 166 unsigned int addr_offset, int devad, in __phy_package_write_mmd()
|
| H A D | phy-c45.c | 536 int val, devad; in genphy_c45_read_link() local
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | phy.c | 58 int mv88e6xxx_phy_read_c45(struct mv88e6xxx_chip *chip, int phy, int devad, in mv88e6xxx_phy_read_c45() 74 int mv88e6xxx_phy_write_c45(struct mv88e6xxx_chip *chip, int phy, int devad, in mv88e6xxx_phy_write_c45()
|
| H A D | global2.c | 743 bool external, int port, int devad, in _mv88e6xxx_g2_smi_phy_read_c45() 773 bool external, int port, int devad, in _mv88e6xxx_g2_smi_phy_write_c45() 799 struct mii_bus *bus, int addr, int devad, in mv88e6xxx_g2_smi_phy_read_c45() 821 struct mii_bus *bus, int addr, int devad, in mv88e6xxx_g2_smi_phy_write_c45()
|
| /linux/drivers/net/dsa/ |
| H A D | mt7530.c | 545 int devad, int regnum) in mt7530_phy_read_c45() 550 static int mt7530_phy_write_c45(struct mt7530_priv *priv, int port, int devad, in mt7530_phy_write_c45() 557 mt7531_ind_c45_phy_read(struct mt7530_priv *priv, int port, int devad, in mt7531_ind_c45_phy_read() 606 mt7531_ind_c45_phy_write(struct mt7530_priv *priv, int port, int devad, in mt7531_ind_c45_phy_write() 734 mt753x_phy_read_c45(struct mii_bus *bus, int port, int devad, int regnum) in mt753x_phy_read_c45() 750 mt753x_phy_write_c45(struct mii_bus *bus, int port, int devad, int regnum, in mt753x_phy_write_c45()
|
| /linux/drivers/net/ethernet/hisilicon/ |
| H A D | hns_mdio.c | 259 static int hns_mdio_write_c45(struct mii_bus *bus, int phy_id, int devad, in hns_mdio_write_c45() 363 static int hns_mdio_read_c45(struct mii_bus *bus, int phy_id, int devad, in hns_mdio_read_c45()
|
| /linux/drivers/net/usb/ |
| H A D | ax88179_178a.c | 353 u16 devad) in ax88179_phy_mmd_indirect() 374 ax88179_phy_read_mmd_indirect(struct usbnet *dev, u16 prtad, u16 devad) in ax88179_phy_read_mmd_indirect() 390 ax88179_phy_write_mmd_indirect(struct usbnet *dev, u16 prtad, u16 devad, in ax88179_phy_write_mmd_indirect()
|
| /linux/rust/kernel/net/phy/ |
| H A D | reg.rs | 183 devad: Mmd, global() field
|
| /linux/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-phy-v2.c | 510 int devad, int reg, u16 val) in xgbe_phy_mdio_mii_write_c45() 566 static int xgbe_phy_mii_write_c45(struct mii_bus *mii, int addr, int devad, in xgbe_phy_mii_write_c45() 601 int devad, int reg) in xgbe_phy_mdio_mii_read_c45() 655 static int xgbe_phy_mii_read_c45(struct mii_bus *mii, int addr, int devad, in xgbe_phy_mii_read_c45()
|
| /linux/drivers/net/ethernet/atheros/alx/ |
| H A D | main.c | 1588 int prtad, int devad, u16 addr) in alx_mdio_read() 1609 int prtad, int devad, u16 addr, u16 val) in alx_mdio_write()
|
| /linux/include/uapi/linux/ |
| H A D | mdio.h | 175 #define MDIO_DEVS_PRESENT(devad) (1 << (devad)) argument 496 static inline __u16 mdio_phy_id_c45(int prtad, int devad) in mdio_phy_id_c45()
|
| /linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
| H A D | mlxbf_gige.h | 83 struct mlxbf_gige_reg_param devad; member
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 352 u32 devad, u32 phy_reg, u32 write_data) in _mtk_mdio_write_c45() 410 u32 devad, u32 phy_reg) in _mtk_mdio_read_c45() 453 int devad, int phy_reg, u16 val) in mtk_mdio_write_c45() 467 static int mtk_mdio_read_c45(struct mii_bus *bus, int phy_addr, int devad, in mtk_mdio_read_c45()
|