Searched refs:mii_access (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/microchip/ |
H A D | lan743x_main.c | 803 u32 val, mii_access; in lan743x_mdiobus_read_c22() local 812 mii_access = lan743x_mac_mii_access(phy_id, index, MAC_MII_READ); in lan743x_mdiobus_read_c22() 813 lan743x_csr_write(adapter, MAC_MII_ACC, mii_access); in lan743x_mdiobus_read_c22() 826 u32 val, mii_access; in lan743x_mdiobus_write_c22() local 837 mii_access = lan743x_mac_mii_access(phy_id, index, MAC_MII_WRITE); in lan743x_mdiobus_write_c22() 838 lan743x_csr_write(adapter, MAC_MII_ACC, mii_access); in lan743x_mdiobus_write_c22()
|
/openbmc/linux/drivers/net/usb/ |
H A D | lan78xx.c | 839 static inline u32 mii_access(int id, int index, int read) in mii_access() function 2011 addr = mii_access(phy_id, idx, MII_READ); in lan78xx_mdiobus_read() 2051 addr = mii_access(phy_id, idx, MII_WRITE); in lan78xx_mdiobus_write()
|