Home
last modified time | relevance | path

Searched defs:devad (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/drivers/net/phy/
Dphy-core.c515 static void mmd_phy_indirect(struct mii_bus *bus, int phy_addr, int devad, in mmd_phy_indirect()
538 int __phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) in __phy_read_mmd()
572 int phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) in phy_read_mmd()
594 int __phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) in __phy_write_mmd()
631 int phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) in phy_write_mmd()
725 int __phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, in __phy_modify_mmd_changed()
758 int phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, in phy_modify_mmd_changed()
783 int __phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, in __phy_modify_mmd()
806 int phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, in phy_modify_mmd()
Dadin.c179 int devad; member
553 static int adin_cl45_to_adin_reg(struct phy_device *phydev, int devad, in adin_cl45_to_adin_reg()
575 static int adin_read_mmd(struct phy_device *phydev, int devad, u16 regnum) in adin_read_mmd()
594 static int adin_write_mmd(struct phy_device *phydev, int devad, u16 regnum, in adin_write_mmd()
Dphy-c45.c405 int val, devad; in genphy_c45_read_link() local
Dphy.c316 int prtad, devad; in phy_mii_ioctl() local
Dphy_device.c698 static int phy_c45_probe_present(struct mii_bus *bus, int prtad, int devad) in phy_c45_probe_present()
2615 int genphy_read_mmd_unsupported(struct phy_device *phdev, int devad, u16 regnum) in genphy_read_mmd_unsupported()
Dphylink.c2555 int prtad, devad; in phylink_phy_read() local
2597 int prtad, devad; in phylink_phy_write() local
/linux-6.1.9/drivers/net/ethernet/sfc/falcon/
Dmdio_10g.h22 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()
Dmdio_10g.c313 int devad = __ffs(efx->mdio.mmds); in ef4_mdio_test_alive() local
Dfalcon.c1573 int prtad, int devad, u16 addr, u16 value) in falcon_mdio_write()
1626 int prtad, int devad, u16 addr) in falcon_mdio_read()
/linux-6.1.9/drivers/net/
Dmdio.c67 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-6.1.9/drivers/net/ethernet/sfc/siena/
Dmcdi_port.c21 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-6.1.9/include/linux/
Dmdio.h451 static inline u32 mdiobus_c45_addr(int devad, u16 regnum) in mdiobus_c45_addr()
466 static inline int __mdiobus_c45_read(struct mii_bus *bus, int prtad, int devad, in __mdiobus_c45_read()
472 static inline int __mdiobus_c45_write(struct mii_bus *bus, int prtad, int devad, in __mdiobus_c45_write()
479 static inline int mdiobus_c45_read(struct mii_bus *bus, int prtad, int devad, in mdiobus_c45_read()
485 static inline int mdiobus_c45_write(struct mii_bus *bus, int prtad, int devad, in mdiobus_c45_write()
Dphy.h1249 static inline int __phy_set_bits_mmd(struct phy_device *phydev, int devad, in __phy_set_bits_mmd()
1265 static inline int __phy_clear_bits_mmd(struct phy_device *phydev, int devad, in __phy_clear_bits_mmd()
1279 static inline int phy_set_bits_mmd(struct phy_device *phydev, int devad, in phy_set_bits_mmd()
1293 static inline int phy_clear_bits_mmd(struct phy_device *phydev, int devad, in phy_clear_bits_mmd()
/linux-6.1.9/drivers/net/ethernet/sfc/
Dmcdi_port.c21 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-6.1.9/drivers/net/ethernet/hisilicon/
Dhns_mdio.c222 u8 devad = ((regnum >> 16) & 0x1f); in hns_mdio_write() local
283 u8 devad = ((regnum >> 16) & 0x1f); in hns_mdio_read() local
/linux-6.1.9/drivers/net/dsa/
Dmt7530.c83 core_read_mmd_indirect(struct mt7530_priv *priv, int prtad, int devad) in core_read_mmd_indirect()
115 int devad, u32 data) in core_write_mmd_indirect()
623 mt7531_ind_c45_phy_read(struct mt7530_priv *priv, int port, int devad, in mt7531_ind_c45_phy_read()
672 mt7531_ind_c45_phy_write(struct mt7530_priv *priv, int port, int devad, in mt7531_ind_c45_phy_write()
798 int devad; in mt7531_ind_phy_read() local
816 int devad; in mt7531_ind_phy_write() local
/linux-6.1.9/drivers/net/usb/
Dax88179_178a.c349 u16 devad) in ax88179_phy_mmd_indirect()
370 ax88179_phy_read_mmd_indirect(struct usbnet *dev, u16 prtad, u16 devad) in ax88179_phy_read_mmd_indirect()
386 ax88179_phy_write_mmd_indirect(struct usbnet *dev, u16 prtad, u16 devad, in ax88179_phy_write_mmd_indirect()
/linux-6.1.9/include/uapi/linux/
Dmdio.h142 #define MDIO_DEVS_PRESENT(devad) (1 << (devad)) argument
408 static inline __u16 mdio_phy_id_c45(int prtad, int devad) in mdio_phy_id_c45()
/linux-6.1.9/drivers/net/ethernet/atheros/alx/
Dmain.c1589 int prtad, int devad, u16 addr) in alx_mdio_read()
1610 int prtad, int devad, u16 addr, u16 val) in alx_mdio_write()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c2666 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()
Dbnx2x_link.h145 u8 devad; member
Dbnx2x_main.c12764 int devad, u16 addr) in bnx2x_mdio_read()
12787 static int bnx2x_mdio_write(struct net_device *netdev, int prtad, int devad, in bnx2x_mdio_write()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8929 ixgbe_mdio_read(struct net_device *netdev, int prtad, int devad, u16 addr) in ixgbe_mdio_read()
8953 static int ixgbe_mdio_write(struct net_device *netdev, int prtad, int devad, in ixgbe_mdio_write()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c3058 int ret = 0, prtad, devad; in cxgb_ioctl() local
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dtg3.c1233 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()