Searched refs:mii_reg (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/arch/ppc/8xx_io/ |
D | fec.c | 69 void (*funct)(uint mii_reg, struct net_device *dev, uint data); 246 static void mii_queue_relink(uint mii_reg, struct net_device *dev, uint data); 661 uint mii_reg; in fec_enet_mii() local 665 mii_reg = ep->fec_mii_data; in fec_enet_mii() 679 (*(mip->mii_func))(mii_reg, dev, mip->mii_data); in fec_enet_mii() 766 static void mii_parse_sr(uint mii_reg, struct net_device *dev, uint data) in mii_parse_sr() argument 773 if (mii_reg & 0x0004) in mii_parse_sr() 775 if (mii_reg & 0x0010) in mii_parse_sr() 777 if (mii_reg & 0x0020) in mii_parse_sr() 783 static void mii_parse_cr(uint mii_reg, struct net_device *dev, uint data) in mii_parse_cr() argument [all …]
|
/linux-2.4.37.9/arch/ppc/cpm2_io/ |
D | fcc_enet.c | 55 void (*funct)(uint mii_reg, struct net_device *dev); 761 static void mii_parse_sr(uint mii_reg, struct net_device *dev) in mii_parse_sr() argument 768 if (mii_reg & 0x0004) in mii_parse_sr() 770 if (mii_reg & 0x0010) in mii_parse_sr() 772 if (mii_reg & 0x0020) in mii_parse_sr() 779 static void mii_parse_cr(uint mii_reg, struct net_device *dev) in mii_parse_cr() argument 786 if (mii_reg & 0x1000) in mii_parse_cr() 788 if (mii_reg & 0x4000) in mii_parse_cr() 794 static void mii_parse_anar(uint mii_reg, struct net_device *dev) in mii_parse_anar() argument 801 if (mii_reg & 0x0020) in mii_parse_anar() [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | winbond-840.c | 732 int duplex, fasteth, result, mii_reg; in update_link() local 735 mii_reg = mdio_read(dev, np->phys[0], MII_BMSR); in update_link() 737 if (mii_reg == 0xffff) in update_link() 740 mii_reg = mdio_read(dev, np->phys[0], MII_BMSR); in update_link() 741 if (!(mii_reg & 0x4)) { in update_link() 766 mii_reg = mdio_read(dev, np->phys[0], MII_BMCR); in update_link() 767 duplex = mii_reg & BMCR_FULLDPLX; in update_link() 768 fasteth = mii_reg & BMCR_SPEED100; in update_link() 771 mii_reg = mdio_read(dev, np->phys[0], MII_LPA); in update_link() 772 negotiated = mii_reg & np->mii_if.advertising; in update_link()
|
D | gt96100eth.c | 955 u16 mii_reg; in gt96100_init() local 1020 mii_reg = read_MII(gp->phy_addr, 0x11); /* int enable register */ in gt96100_init() 1021 mii_reg |= 2; /* enable mii interrupt */ in gt96100_init() 1022 write_MII(gp->phy_addr, 0x11, mii_reg); in gt96100_init()
|
/linux-2.4.37.9/drivers/net/e1000/ |
D | e1000_main.c | 573 uint16_t mii_reg = 0; in e1000_power_up_phy() local 579 e1000_read_phy_reg(&adapter->hw, PHY_CTRL, &mii_reg); in e1000_power_up_phy() 580 mii_reg &= ~MII_CR_POWER_DOWN; in e1000_power_up_phy() 581 e1000_write_phy_reg(&adapter->hw, PHY_CTRL, mii_reg); in e1000_power_up_phy() 594 uint16_t mii_reg = 0; in e1000_power_down_phy() local 622 e1000_read_phy_reg(&adapter->hw, PHY_CTRL, &mii_reg); in e1000_power_down_phy() 623 mii_reg |= MII_CR_POWER_DOWN; in e1000_power_down_phy() 624 e1000_write_phy_reg(&adapter->hw, PHY_CTRL, mii_reg); in e1000_power_down_phy()
|