/linux/drivers/net/phy/ |
A D | phy-core.c | 446 static void mmd_phy_indirect(struct mii_bus *bus, int phy_addr, int devad, in mmd_phy_indirect() 469 int __phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) in __phy_read_mmd() 503 int phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) in phy_read_mmd() 525 int __phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) in __phy_write_mmd() 562 int phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) in phy_write_mmd() 656 int __phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, in __phy_modify_mmd_changed() 689 int phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, in phy_modify_mmd_changed() 714 int __phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, in __phy_modify_mmd() 737 int phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, in phy_modify_mmd()
|
A D | adin.c | 170 int devad; member 513 static int adin_cl45_to_adin_reg(struct phy_device *phydev, int devad, in adin_cl45_to_adin_reg() 535 static int adin_read_mmd(struct phy_device *phydev, int devad, u16 regnum) in adin_read_mmd() 554 static int adin_write_mmd(struct phy_device *phydev, int devad, u16 regnum, in adin_write_mmd()
|
A D | phy-c45.c | 262 int val, devad; in genphy_c45_read_link() local
|
A D | phylink.c | 1979 int prtad, devad; in phylink_phy_read() local 2019 int prtad, devad; in phylink_phy_write() local
|
A D | phy.c | 287 int prtad, devad; in phy_mii_ioctl() local
|
A D | phy_device.c | 663 static int phy_c45_probe_present(struct mii_bus *bus, int prtad, int devad) in phy_c45_probe_present() 2587 int genphy_read_mmd_unsupported(struct phy_device *phdev, int devad, u16 regnum) in genphy_read_mmd_unsupported()
|
/linux/drivers/net/ethernet/sfc/falcon/ |
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()
|
A D | mdio_10g.c | 313 int devad = __ffs(efx->mdio.mmds); in ef4_mdio_test_alive() local
|
A D | falcon.c | 1573 int prtad, int devad, u16 addr, u16 value) in falcon_mdio_write() 1626 int prtad, int devad, u16 addr) in falcon_mdio_read()
|
/linux/drivers/net/ |
A D | mdio.c | 67 int prtad, int devad, u16 addr, int mask, in mdio_set_flag() 96 int devad, reg; in mdio45_links_ok() local 530 int prtad, devad; in mdio_mii_ioctl() local
|
/linux/include/linux/ |
A D | mdio.h | 379 static inline u32 mdiobus_c45_addr(int devad, u16 regnum) in mdiobus_c45_addr() 384 static inline int __mdiobus_c45_read(struct mii_bus *bus, int prtad, int devad, in __mdiobus_c45_read() 390 static inline int __mdiobus_c45_write(struct mii_bus *bus, int prtad, int devad, in __mdiobus_c45_write() 397 static inline int mdiobus_c45_read(struct mii_bus *bus, int prtad, int devad, in mdiobus_c45_read() 403 static inline int mdiobus_c45_write(struct mii_bus *bus, int prtad, int devad, in mdiobus_c45_write()
|
A D | phy.h | 1206 static inline int __phy_set_bits_mmd(struct phy_device *phydev, int devad, in __phy_set_bits_mmd() 1222 static inline int __phy_clear_bits_mmd(struct phy_device *phydev, int devad, in __phy_clear_bits_mmd() 1236 static inline int phy_set_bits_mmd(struct phy_device *phydev, int devad, in phy_set_bits_mmd() 1250 static inline int phy_clear_bits_mmd(struct phy_device *phydev, int devad, in phy_clear_bits_mmd()
|
/linux/drivers/net/ethernet/sfc/ |
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/drivers/net/ethernet/hisilicon/ |
A D | hns_mdio.c | 222 u8 devad = ((regnum >> 16) & 0x1f); in hns_mdio_write() local 283 u8 devad = ((regnum >> 16) & 0x1f); in hns_mdio_read() local
|
/linux/drivers/net/dsa/ |
A D | mt7530.c | 78 core_read_mmd_indirect(struct mt7530_priv *priv, int prtad, int devad) in core_read_mmd_indirect() 110 int devad, u32 data) in core_write_mmd_indirect() 615 mt7531_ind_c45_phy_read(struct mt7530_priv *priv, int port, int devad, in mt7531_ind_c45_phy_read() 664 mt7531_ind_c45_phy_write(struct mt7530_priv *priv, int port, int devad, in mt7531_ind_c45_phy_write() 790 int devad; in mt7531_ind_phy_read() local 808 int devad; in mt7531_ind_phy_write() local
|
/linux/include/uapi/linux/ |
A D | mdio.h | 129 #define MDIO_DEVS_PRESENT(devad) (1 << (devad)) argument 333 static inline __u16 mdio_phy_id_c45(int prtad, int devad) in mdio_phy_id_c45()
|
/linux/drivers/net/usb/ |
A D | ax88179_178a.c | 372 u16 devad) in ax88179_phy_mmd_indirect() 393 ax88179_phy_read_mmd_indirect(struct usbnet *dev, u16 prtad, u16 devad) in ax88179_phy_read_mmd_indirect() 409 ax88179_phy_write_mmd_indirect(struct usbnet *dev, u16 prtad, u16 devad, in ax88179_phy_write_mmd_indirect()
|
/linux/drivers/net/ethernet/atheros/alx/ |
A D | main.c | 1586 int prtad, int devad, u16 addr) in alx_mdio_read() 1607 int prtad, int devad, u16 addr, u16 val) in alx_mdio_write()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_link.c | 2666 u8 devad, u16 reg, u16 *ret_val) in bnx2x_cl45_read() 2741 u8 devad, u16 reg, u16 val) in bnx2x_cl45_write() 3172 u8 devad, u16 reg, u16 or_val) in bnx2x_cl45_read_or_write() 3181 u8 devad, u16 reg, u16 and_val) in bnx2x_cl45_read_and_write() 3189 u8 devad, u16 reg, u16 *ret_val) in bnx2x_phy_read() 3206 u8 devad, u16 reg, u16 val) in bnx2x_phy_write()
|
A D | bnx2x_link.h | 145 u8 devad; member
|
A D | bnx2x_main.c | 12753 int devad, u16 addr) in bnx2x_mdio_read() 12776 static int bnx2x_mdio_write(struct net_device *netdev, int prtad, int devad, in bnx2x_mdio_write()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_main.c | 8808 ixgbe_mdio_read(struct net_device *netdev, int prtad, int devad, u16 addr) in ixgbe_mdio_read() 8832 static int ixgbe_mdio_write(struct net_device *netdev, int prtad, int devad, in ixgbe_mdio_write()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_main.c | 3058 int ret = 0, prtad, devad; in cxgb_ioctl() local
|
/linux/drivers/net/ethernet/broadcom/ |
A D | tg3.c | 1233 static int tg3_phy_cl45_write(struct tg3 *tp, u32 devad, u32 addr, u32 val) in tg3_phy_cl45_write() 1256 static int tg3_phy_cl45_read(struct tg3 *tp, u32 devad, u32 addr, u32 *val) in tg3_phy_cl45_read()
|