Searched refs:mii_rd (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/xircom/ |
D | xirc2ps_cs.c | 258 static unsigned mii_rd(unsigned int ioaddr, u_char phyaddr, u_char phyreg); 420 mii_rd(unsigned int ioaddr, u_char phyaddr, u_char phyreg) in mii_rd() function 1439 data->val_out = mii_rd(ioaddr, data->phy_id & 0x1f, in do_ioctl() 1644 status = mii_rd(ioaddr, 0, 1); in init_mii() 1648 local->new_mii = (mii_rd(ioaddr, 0, 2) != 0xffff); in init_mii() 1658 control = mii_rd(ioaddr, 0, 0); in init_mii() 1673 status = mii_rd(ioaddr, 0, 1); in init_mii() 1688 linkpartner = mii_rd(ioaddr, 0, 5); in init_mii()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
D | de4x5.c | 970 static int mii_rd(u_char phyreg, u_char phyaddr, u_long ioaddr); 2827 anlpa = mii_rd(MII_ANLPA, lp->phy[lp->active].addr, DE4X5_MII); in dc21140m_autoconf() 2828 ana = mii_rd(MII_ANA, lp->phy[lp->active].addr, DE4X5_MII); in dc21140m_autoconf() 3011 anlpa = mii_rd(MII_ANLPA, lp->phy[lp->active].addr, DE4X5_MII); in dc2114x_autoconf() 3012 ana = mii_rd(MII_ANA, lp->phy[lp->active].addr, DE4X5_MII); in dc2114x_autoconf() 3455 reg = mii_rd((u_char)reg, lp->phy[lp->active].addr, DE4X5_MII) & mask; in test_mii_reg() 3475 spd = mii_rd(lp->phy[lp->active].spd.reg, lp->phy[lp->active].addr, DE4X5_MII); in is_spd_100() 3499 mii_rd(MII_SR, lp->phy[lp->active].addr, DE4X5_MII); in is_100_up() 3500 return mii_rd(MII_SR, lp->phy[lp->active].addr, DE4X5_MII) & MII_SR_LKS; in is_100_up() 3520 mii_rd(MII_SR, lp->phy[lp->active].addr, DE4X5_MII); in is_10_up() [all …]
|
D | de4x5.h | 947 mii_wr(mii_rd(0x18, lp->phy[lp->active].addr, DE4X5_MII) & ~0x2000,\ 951 sr = mii_rd(MII_SR, lp->phy[lp->active].addr, DE4X5_MII);\
|