Searched refs:phy_read (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/net/ibm_emac/ |
D | ibm_ocp_phy.c | 41 static inline int phy_read(struct mii_phy* phy, int reg) in phy_read() function 86 adv = phy_read(phy, MII_ADVERTISE); in genmii_setup_aneg() 99 ctl = phy_read(phy, MII_BMCR); in genmii_setup_aneg() 115 ctl = phy_read(phy, MII_BMCR); in genmii_setup_forced() 143 (void)phy_read(phy, MII_BMSR); in genmii_poll_link() 144 status = phy_read(phy, MII_BMSR); in genmii_poll_link() 157 lpa = phy_read(phy, MII_LPA); in genmii_read_link() 226 id = (phy_read(phy, MII_PHYSID1) << 16 | phy_read(phy, MII_PHYSID2)) in mii_phy_probe()
|
/linux-2.4.37.9/drivers/net/ |
D | dmfe.c | 310 static u16 phy_read(unsigned long, u8, u8, u32); 1510 phy_mode = phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_sense_speed() 1511 phy_mode = phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_sense_speed() 1515 phy_mode = phy_read(db->ioaddr, db->phy_addr, 7, db->chip_id) & 0xf000; in dmfe_sense_speed() 1517 phy_mode = phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id) & 0xf000; in dmfe_sense_speed() 1554 phy_reg = phy_read(db->ioaddr, db->phy_addr, 18, db->chip_id) & ~0x1000; in dmfe_set_phyxcer() 1559 phy_reg = phy_read(db->ioaddr, db->phy_addr, 4, db->chip_id) & ~0x01e0; in dmfe_set_phyxcer() 1618 phy_reg = phy_read(db->ioaddr, db->phy_addr, 6, db->chip_id); in dmfe_process_mode() 1688 static u16 phy_read(unsigned long iobase, u8 phy_addr, u8 offset, u32 chip_id) in phy_read() function 1848 tmp_reg = phy_read(db->ioaddr, db->phy_addr, 3, db->chip_id); in dmfe_parse_srom() [all …]
|
D | sungem.c | 155 static inline u16 phy_read(struct gem *gp, int reg) in phy_read() function 1099 ctl = phy_read(gp, MII_BMCR); in gem_begin_auto_negotiation() 1128 val = phy_read(gp, MII_BCM5400_AUXSTATUS); in gem_read_mii_link_mode() 1135 val = phy_read(gp, MII_LPA); in gem_read_mii_link_mode() 1139 val = phy_read(gp, MII_LPA); in gem_read_mii_link_mode() 1147 val = phy_read(gp, 0x0a); in gem_read_mii_link_mode() 1172 val = phy_read(gp, MII_BMCR); in gem_set_link_modes() 1281 val = phy_read(gp, MII_BMCR); in gem_mdio_link_not_up() 1298 val = phy_read(gp, MII_BMCR); in gem_mdio_link_not_up() 1363 u16 val = phy_read(gp, MII_BMSR); in gem_link_timer() [all …]
|