Home
last modified time | relevance | path

Searched refs:mdio_read (Results 1 – 10 of 10) sorted by relevance

/external/syslinux/gpxe/src/net/
Dmii.c44 mii->mdio_read ( mii->dev, mii->phy_id, MII_BMSR ); in mii_link_ok()
45 if ( mii->mdio_read ( mii->dev, mii->phy_id, MII_BMSR ) & BMSR_LSTATUS ) in mii_link_ok()
120 advertise = mii->mdio_read ( mii->dev, mii->phy_id, MII_ADVERTISE ); in mii_check_media()
123 lpa = mii->mdio_read ( mii->dev, mii->phy_id, MII_LPA ); in mii_check_media()
125 lpa2 = mii->mdio_read ( mii->dev, mii->phy_id, MII_STAT1000 ); in mii_check_media()
/external/syslinux/gpxe/src/drivers/net/
Dsis190.c107 static int mdio_read(void *ioaddr, int phy_id, int reg) in mdio_read() function
126 return mdio_read(tp->mmio_addr, phy_id, reg); in __mdio_read()
131 mdio_read(ioaddr, phy_id, reg); in mdio_read_latched()
132 return mdio_read(ioaddr, phy_id, reg); in mdio_read_latched()
463 val = mdio_read(ioaddr, phy_id, MII_BMCR); in sis190_phy_task()
469 val = mdio_read(ioaddr, phy_id, MII_BMCR); in sis190_phy_task()
506 val = mdio_read(ioaddr, phy_id, 0x1f); in sis190_phy_task()
508 val = mdio_read(ioaddr, phy_id, MII_LPA); in sis190_phy_task()
509 adv = mdio_read(ioaddr, phy_id, MII_ADVERTISE); in sis190_phy_task()
511 autoexp = mdio_read(ioaddr, phy_id, MII_EXPANSION); in sis190_phy_task()
[all …]
Dmtd80x.c365 static int mdio_read(struct nic * , int phy_id, int location);
647 int mii_status = mdio_read(nic, phy, 1); in mtd_probe()
658 data = mdio_read(nic, mtdx.phys[phy_idx], 2); in mtd_probe()
811 static int mdio_read(struct nic *nic __unused, int phyad, int regad) in mdio_read() function
907 if (mdio_read(nic, mtdx.phys[0], MII_BMSR) & BMSR_LSTATUS) { in getlinkstatus()
935 data = mdio_read(dev, mtdx.phys[0], MIIRegister18); in getlinktype()
947 data = mdio_read(dev, mtdx.phys[0], DiagnosticReg); in getlinktype()
961 data = mdio_read(dev, mtdx.phys[0], SpecificReg); in getlinktype()
979 data = mdio_read(dev, mtdx.phys[0], StatusRegister); in getlinktype()
996 data = mdio_read(dev, mtdx.phys[0], SpecificReg); in getlinktype()
Dsundance.c285 static int mdio_read(struct nic *nic, int phy_id, unsigned int location);
292 int mii_lpa = mdio_read(nic, sdc->phys[0], MII_LPA); in check_duplex()
616 int mii_status = mdio_read(nic, phy, MII_BMSR); in sundance_probe()
620 mdio_read(nic, phy, MII_ADVERTISE); in sundance_probe()
711 mdio_read(nic, sdc->phys[0], MII_ADVERTISE); in sundance_probe()
712 mii_lpa = mdio_read(nic, sdc->phys[0], MII_LPA); in sundance_probe()
723 mii_ctl = mdio_read(nic, sdc->phys[0], MII_BMCR); in sundance_probe()
801 mdio_read(struct nic *nic __unused, int phy_id, unsigned int location) in mdio_read() function
Dpcnet32.c254 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num);
915 int mii_status = mdio_read(nic, phy, MII_BMSR); in pcnet32_probe()
919 mdio_read(nic, phy, MII_ADVERTISE); in pcnet32_probe()
933 mdio_read(nic, lp->phys[0], MII_ADVERTISE); in pcnet32_probe()
935 mii_lpa = mdio_read(nic, lp->phys[0], MII_LPA); in pcnet32_probe()
960 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num) in mdio_read() function
Dw89c840.c262 static int mdio_read(int base_address, int phy_id, int location);
692 int mii_status = mdio_read(ioaddr, phy, 1); in w89c840_probe()
695 w840private.advertising = mdio_read(ioaddr, phy, 4); in w89c840_probe()
806 static int mdio_read(int base_address, int phy_id, int location) in mdio_read() function
870 int mii_reg5 = mdio_read(ioaddr, w840private.phys[0], 5); in check_duplex()
Dr8169.c69 static int mdio_read(void *ioaddr, int reg_addr) in mdio_read() function
95 mdio_write(ioaddr, reg_addr, mdio_read(ioaddr, reg_addr) | value); in mdio_patch()
192 return mdio_read(ioaddr, MII_BMCR) & BMCR_RESET; in rtl8169_xmii_reset_pending()
222 val = mdio_read(ioaddr, MII_BMCR) | BMCR_RESET; in rtl8169_xmii_reset_enable()
258 auto_nego = mdio_read(ioaddr, MII_ADVERTISE); in rtl8169_set_speed_xmii()
261 giga_ctrl = mdio_read(ioaddr, MII_CTRL1000); in rtl8169_set_speed_xmii()
347 val = mdio_read(ioaddr, reg); in rtl8169_write_gmii_reg_bit()
494 val = (mdio_read(ioaddr, pos) & 0x0fff) | (p->regs[0] & 0xffff); in rtl8169s_hw_phy_config()
701 if (mdio_read(ioaddr, 0x06) == 0xc400) { in rtl8168d_hw_phy_config()
Dtulip.c493 static int mdio_read(struct nic *nic, int phy_id, int location);
582 int mdio_read(struct nic *nic __unused, int phy_id, int location) in mdio_read() function
1474 int mii_status = mdio_read(nic, phy, 1); in start_link()
1477 int mii_reg0 = mdio_read(nic, phy, 0); in start_link()
1478 int mii_advert = mdio_read(nic, phy, 4); in start_link()
1669 tp->nic_name, tp->phys[0], mdio_read(nic, tp->phys[0], 1)); in init_media()
1999 bmsr = mdio_read(nic, tp->phys[0], 1); in tulip_check_duplex()
2000 lpa = mdio_read(nic, tp->phys[0], 5); in tulip_check_duplex()
2011 int new_bmsr = mdio_read(nic, tp->phys[0], 1); in tulip_check_duplex()
Datl1e.c1162 adapter->mii.mdio_read = atl1e_mdio_read; in atl1e_probe()
/external/syslinux/gpxe/src/include/
Dmii.h156 int (*mdio_read) (struct net_device *dev, int phy_id, int location); member