Searched refs:PHY_ADDR (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/net/dsa/ |
D | lan9303_mdio.c | 17 #define PHY_ADDR(x) ((((x) >> 6) + 0x10) & 0x1f) macro 27 mdio->bus->write(mdio->bus, PHY_ADDR(reg), PHY_REG(reg), val); in lan9303_mdio_real_write() 45 return mdio->bus->read(mdio->bus, PHY_ADDR(reg), PHY_REG(reg)); in lan9303_mdio_real_read()
|
/linux-6.1.9/drivers/net/ethernet/apm/xgene-v2/ |
D | mdio.c | 18 SET_REG_BITS(&val, PHY_ADDR, phy_id); in xge_mdio_write() 42 SET_REG_BITS(&val, PHY_ADDR, phy_id); in xge_mdio_read()
|
/linux-6.1.9/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_sgmac.h | 12 #define PHY_ADDR(src) (((src)<<8) & GENMASK(12, 8)) macro
|
D | xgene_enet_sgmac.c | 119 addr = PHY_ADDR(phy_id) | REG_ADDR(reg); in xgene_mii_phy_write() 140 addr = PHY_ADDR(phy_id) | REG_ADDR(reg); in xgene_mii_phy_read()
|
/linux-6.1.9/drivers/net/mdio/ |
D | mdio-xgene.c | 86 data = SET_VAL(PHY_ADDR, phy_id) | SET_VAL(REG_ADDR, reg); in xgene_mdio_rgmii_read() 112 val = SET_VAL(PHY_ADDR, phy_id) | SET_VAL(REG_ADDR, reg); in xgene_mdio_rgmii_write()
|
/linux-6.1.9/drivers/net/ethernet/amd/ |
D | amd8111e.h | 462 PHY_ADDR = (1 << 21) | (1 << 22) | (1 << 23)| enumerator
|
/linux-6.1.9/drivers/net/ethernet/marvell/ |
D | mv643xx_eth.c | 63 #define PHY_ADDR 0x0000 macro 2916 data = rdl(mp, PHY_ADDR); in phy_addr_set() 2919 wrl(mp, PHY_ADDR, data); in phy_addr_set() 2926 data = rdl(mp, PHY_ADDR); in phy_addr_get()
|