Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dmv88x201x.c51 (void) mdio_read(cphy, 0x1, 0x7, &led); in led_link()
112 (void) mdio_read(cphy, 0x1, 0x9003, &val); in mv88x201x_interrupt_clear()
113 (void) mdio_read(cphy, 0x1, 0x9004, &val); in mv88x201x_interrupt_clear()
114 (void) mdio_read(cphy, 0x1, 0x9005, &val); in mv88x201x_interrupt_clear()
119 (void) mdio_read(cphy, 0x1, 0x1, &val); in mv88x201x_interrupt_clear()
123 (void) mdio_read(cphy, 0x1, 0x1, &val); in mv88x201x_interrupt_clear()
125 (void) mdio_read(cphy, 0x1, 0x9005, &val); in mv88x201x_interrupt_clear()
129 (void) mdio_read(cphy, 0x1, 0x9003, &val); in mv88x201x_interrupt_clear()
167 (void) mdio_read(cphy, 0x1, 0x1, &val); in mv88x201x_get_link_status()
232 (void) mdio_read(cphy, 0x1, 0x8, &val); in mv88x201x_phy_create()
[all …]
H A Dcphy.h90 int (*mdio_read)(adapter_t *adapter, int phy_addr, int mmd_addr, member
98 static inline int mdio_read(struct cphy *cphy, int mmd, int reg, in mdio_read() function
101 return cphy->mdio_read(cphy->adapter, cphy->addr, mmd, reg, valp); in mdio_read()
113 return mdio_read(cphy, 0, reg, valp); in simple_mdio_read()
131 phy->mdio_read = mdio_ops->read; in cphy_init()
H A Dmy3126.c84 (void) mdio_read(cphy, 0x1, 0x1, &val); in my3126_interrupt_handler()
143 (void) mdio_read(cphy, 0x1, 0x1, &val); in my3126_get_link_status()
H A Dxpak.c118 cphy->mdio_read = mdio_ops->read; in xpak_phy_create()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dsundance.c310 static int mdio_read(struct nic *nic, int phy_id, unsigned int location);
317 int mii_lpa = mdio_read(nic, sdc->phys[0], MII_LPA); in check_duplex()
634 int mii_status = mdio_read(nic, phy, MII_BMSR); in sundance_probe()
638 mdio_read(nic, phy, MII_ADVERTISE); in sundance_probe()
713 mdio_read(nic, sdc->phys[0], MII_ADVERTISE); in sundance_probe()
714 mii_lpa = mdio_read(nic, sdc->phys[0], MII_LPA); in sundance_probe()
725 mii_ctl = mdio_read(nic, sdc->phys[0], MII_BMCR); in sundance_probe()
805 mdio_read(struct nic *nic __unused, int phy_id, unsigned int location) in mdio_read() function
H A Dpcnet32.c280 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num);
914 int mii_status = mdio_read(nic, phy, MII_BMSR); in pcnet32_probe()
918 mdio_read(nic, phy, MII_ADVERTISE); in pcnet32_probe()
932 mdio_read(nic, lp->phys[0], MII_ADVERTISE); in pcnet32_probe()
934 mii_lpa = mdio_read(nic, lp->phys[0], MII_LPA); in pcnet32_probe()
955 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num) in mdio_read() function
H A Dw89c840.c265 static int mdio_read(int base_address, int phy_id, int location);
677 int mii_status = mdio_read(ioaddr, phy, 1); in w89c840_probe()
680 w840private.advertising = mdio_read(ioaddr, phy, 4); in w89c840_probe()
794 static int mdio_read(int base_address, int phy_id, int location) in mdio_read() function
858 int mii_reg5 = mdio_read(ioaddr, w840private.phys[0], 5); in check_duplex()
H A Deepro100.c309 static int mdio_read(int phy_id, int location) in mdio_read() function
693 int mdi_reg23 = mdio_read(eeprom[6] & 0x1f, 23) | 0x0422; in eepro100_probe()
729 mdio_read(eeprom[6] & 0x1f, 1); in eepro100_probe()
734 if (!(mdio_read(eeprom[6] & 0x1f, 1) & (1 << 2))) { in eepro100_probe()
H A Dnatsemi.c215 static int mdio_read(int phy_id, int location);
293 advertising = mdio_read(1, 4); in natsemi_probe()
388 static int mdio_read(int phy_id, int location) in mdio_read() function
H A Dtulip.c479 static int mdio_read(struct nic *nic, int phy_id, int location);
566 int mdio_read(struct nic *nic __unused, int phy_id, int location) in mdio_read() function
1450 int mii_status = mdio_read(nic, phy, 1); in start_link()
1453 int mii_reg0 = mdio_read(nic, phy, 0); in start_link()
1454 int mii_advert = mdio_read(nic, phy, 4); in start_link()
1645 tp->nic_name, tp->phys[0], mdio_read(nic, tp->phys[0], 1)); in init_media()
1973 bmsr = mdio_read(nic, tp->phys[0], 1); in tulip_check_duplex()
1974 lpa = mdio_read(nic, tp->phys[0], 5); in tulip_check_duplex()
1985 int new_bmsr = mdio_read(nic, tp->phys[0], 1); in tulip_check_duplex()
H A Dr8169.c344 int mdio_read(int RegAddr) in mdio_read() function
744 int val = mdio_read(PHY_AUTO_NEGO_REG); in r8169_probe()
802 if (mdio_read(PHY_STAT_REG) & PHY_Auto_Neco_Comp) { in r8169_probe()