/linux-2.6.39/drivers/net/ |
D | sungem_phy.c | 60 static inline int phy_read(struct mii_phy* phy, int reg) in phy_read() function 98 data = phy_read(phy, MII_BCM5201_MULTIPHY); in bcm5201_init() 119 data = phy_read(phy, MII_BCM5221_TEST); in bcm5221_init() 123 data = phy_read(phy, MII_BCM5221_SHDOW_AUX_STAT2); in bcm5221_init() 127 data = phy_read(phy, MII_BCM5221_SHDOW_AUX_MODE4); in bcm5221_init() 131 data = phy_read(phy, MII_BCM5221_TEST); in bcm5221_init() 142 data = phy_read(phy, MII_BCM5221_TEST); in bcm5221_suspend() 146 data = phy_read(phy, MII_BCM5221_SHDOW_AUX_MODE4); in bcm5221_suspend() 157 data = phy_read(phy, MII_BCM5221_TEST); in bcm5241_init() 161 data = phy_read(phy, MII_BCM5221_SHDOW_AUX_STAT2); in bcm5241_init() [all …]
|
/linux-2.6.39/drivers/net/ibm_newemac/ |
D | phy.c | 31 static inline int phy_read(struct mii_phy *phy, int reg) in phy_read() function 56 val = phy_read(phy, MII_BMCR); in emac_mii_reset_phy() 64 val = phy_read(phy, MII_BMCR); in emac_mii_reset_phy() 116 ctl = phy_read(phy, MII_BMCR); in genmii_setup_aneg() 125 adv = phy_read(phy, MII_ADVERTISE); in genmii_setup_aneg() 146 adv = phy_read(phy, MII_CTRL1000); in genmii_setup_aneg() 158 ctl = phy_read(phy, MII_BMCR); in genmii_setup_aneg() 174 ctl = phy_read(phy, MII_BMCR); in genmii_setup_forced() 207 phy_read(phy, MII_BMSR); in genmii_poll_link() 208 status = phy_read(phy, MII_BMSR); in genmii_poll_link() [all …]
|
/linux-2.6.39/drivers/net/phy/ |
D | marvell.c | 105 err = phy_read(phydev, MII_M1011_IEVENT); in marvell_ack_interrupt() 179 bmcr = phy_read(phydev, MII_BMCR); in marvell_config_aneg() 218 saved_page = phy_read(phydev, MII_MARVELL_PHY_PAGE); in marvell_of_reg_init() 243 val = phy_read(phydev, reg); in marvell_of_reg_init() 276 oldpage = phy_read(phydev, MII_MARVELL_PHY_PAGE); in m88e1121_config_aneg() 288 mscr = phy_read(phydev, MII_88E1121_PHY_MSCR_REG) & in m88e1121_config_aneg() 315 oldpage = phy_read(phydev, MII_MARVELL_PHY_PAGE); in m88e1121_config_aneg() 330 oldpage = phy_read(phydev, MII_MARVELL_PHY_PAGE); in m88e1318_config_aneg() 337 mscr = phy_read(phydev, MII_88E1318S_PHY_MSCR1_REG); in m88e1318_config_aneg() 357 temp = phy_read(phydev, MII_M1111_PHY_EXT_SR); in m88e1111_config_init() [all …]
|
D | lxt.c | 68 err = phy_read(phydev, MII_BMSR); in lxt970_ack_interrupt() 73 err = phy_read(phydev, MII_LXT970_ISR); in lxt970_ack_interrupt() 105 int err = phy_read(phydev, MII_LXT971_ISR); in lxt971_ack_interrupt() 127 int val = phy_read(phydev, MII_LXT973_PCR); in lxt973_probe() 134 val = phy_read(phydev, MII_BMCR); in lxt973_probe()
|
D | ste10Xp.c | 40 value = phy_read(phydev, MII_BMCR); in ste10Xp_config_init() 50 value = phy_read(phydev, MII_BMCR); in ste10Xp_config_init() 65 value = phy_read(phydev, MII_XCIIS); in ste10Xp_config_intr() 77 int err = phy_read(phydev, MII_XCIIS); in ste10Xp_ack_interrupt()
|
D | phy_device.c | 561 oldadv = adv = phy_read(phydev, MII_ADVERTISE); in genphy_config_advert() 592 oldadv = adv = phy_read(phydev, MII_CTRL1000); in genphy_config_advert() 652 ctl = phy_read(phydev, MII_BMCR); in genphy_restart_aneg() 692 int ctl = phy_read(phydev, MII_BMCR); in genphy_config_aneg() 723 status = phy_read(phydev, MII_BMSR); in genphy_update_link() 729 status = phy_read(phydev, MII_BMSR); in genphy_update_link() 768 lpagb = phy_read(phydev, MII_STAT1000); in genphy_read_status() 773 adv = phy_read(phydev, MII_CTRL1000); in genphy_read_status() 781 lpa = phy_read(phydev, MII_LPA); in genphy_read_status() 786 adv = phy_read(phydev, MII_ADVERTISE); in genphy_read_status() [all …]
|
D | qsemi.c | 83 err = phy_read(phydev, MII_QS6612_ISR); in qs6612_ack_interrupt() 88 err = phy_read(phydev, MII_BMSR); in qs6612_ack_interrupt() 93 err = phy_read(phydev, MII_EXPANSION); in qs6612_ack_interrupt()
|
D | et1011c.c | 55 ctl = phy_read(phydev, MII_BMCR); in et1011c_config_aneg() 75 val = phy_read(phydev, ET1011C_STATUS_REG); in et1011c_read_status() 78 val = phy_read(phydev, ET1011C_CONFIG_REG); in et1011c_read_status()
|
D | micrel.c | 50 rc = phy_read(phydev, MII_KSZPHY_INTCS); in kszphy_ack_interrupt() 68 temp = phy_read(phydev, MII_KSZPHY_CTRL); in kszphy_config_intr() 80 temp = phy_read(phydev, MII_KSZPHY_CTRL); in ksz9021_config_intr() 92 temp = phy_read(phydev, MII_KSZPHY_CTRL); in ks8737_config_intr() 109 regval = phy_read(phydev, MII_KSZPHY_CTRL); in ks8051_config_init()
|
D | broadcom.c | 195 return MII_BCM54XX_SHD_DATA(phy_read(phydev, MII_BCM54XX_SHD)); in bcm54xx_shadow_read() 215 val = phy_read(phydev, MII_BCM54XX_EXP_DATA); in bcm54xx_exp_read() 390 reg = phy_read(phydev, MII_BCM54XX_ECR); in bcm54xx_config_init() 518 reg = phy_read(phydev, MII_BCM54XX_ISR); in bcm54xx_ack_interrupt() 529 reg = phy_read(phydev, MII_BCM54XX_ECR); in bcm54xx_config_intr() 566 reg = phy_read(phydev, 0x18); in bcm5481_config_aneg() 581 val = phy_read(phydev, reg); in brcm_phy_setbits() 597 reg = phy_read(phydev, MII_BRCM_FET_INTREG); in brcm_fet_config_init() 613 brcmtest = phy_read(phydev, MII_BRCM_FET_BRCMTEST); in brcm_fet_config_init() 624 reg = phy_read(phydev, MII_BRCM_FET_SHDW_AUXMODE4); in brcm_fet_config_init() [all …]
|
D | bcm63xx.c | 27 reg = phy_read(phydev, MII_BCM63XX_IR); in bcm63xx_config_init() 53 reg = phy_read(phydev, MII_BCM63XX_IR); in bcm63xx_ack_interrupt() 64 reg = phy_read(phydev, MII_BCM63XX_IR); in bcm63xx_config_intr()
|
D | national.c | 57 return phy_read(phydev, NS_EXP_MEM_DATA); in ns_exp_read() 81 int ret = phy_read(phydev, DP83865_INT_MASK_STATUS); in ns_ack_interrupt() 90 int bmcr = phy_read(phydev, MII_BMCR); in ns_giga_speed_fallback()
|
D | vitesse.c | 74 extcon = phy_read(phydev, MII_VSC8244_EXT_CON1); in vsc824x_config_init() 101 err = phy_read(phydev, MII_VSC8244_ISTAT); in vsc824x_ack_interrupt() 120 err = phy_read(phydev, MII_VSC8244_ISTAT); in vsc82xx_config_intr()
|
D | icplus.c | 97 value = phy_read(phydev, MII_BMCR); in ip1001_config_init() 104 value = phy_read(phydev, MII_BMCR); in ip1001_config_init() 109 value = phy_read(phydev, 16); in ip1001_config_init()
|
D | davicom.c | 70 temp = phy_read(phydev, MII_DM9161_INTR); in dm9161_config_intr() 147 int err = phy_read(phydev, MII_DM9161_INTR); in dm9161_ack_interrupt()
|
D | smsc.c | 58 int rc = phy_read (phydev, MII_LAN83C185_ISF); in smsc_phy_ack_interrupt() 65 int rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS); in smsc_phy_config_init()
|
D | realtek.c | 33 err = phy_read(phydev, RTL821x_INSR); in rtl821x_ack_interrupt()
|
D | cicada.c | 86 int err = phy_read(phydev, MII_CIS8201_ISTAT); in cis820x_ack_interrupt()
|
/linux-2.6.39/arch/powerpc/platforms/85xx/ |
D | mpc85xx_mds.c | 71 scr = phy_read(phydev, MV88E1111_SCR); in mpc8568_fixup_125_clock() 86 scr = phy_read(phydev, MV88E1111_SCR); in mpc8568_fixup_125_clock() 107 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups() 123 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups() 128 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups() 141 temp = phy_read(phydev, 16); in mpc8568_mds_phy_fixups()
|
/linux-2.6.39/drivers/net/tulip/ |
D | dmfe.c | 334 static u16 phy_read(unsigned long, u8, u8, u32); 1232 phy_read (db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_timer() 1233 link_ok_phy = (phy_read (db->ioaddr, in dmfe_timer() 1632 phy_mode = phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_sense_speed() 1633 phy_mode = phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_sense_speed() 1637 phy_mode = phy_read(db->ioaddr, in dmfe_sense_speed() 1640 phy_mode = phy_read(db->ioaddr, in dmfe_sense_speed() 1678 phy_reg = phy_read(db->ioaddr, in dmfe_set_phyxcer() 1686 phy_reg = phy_read(db->ioaddr, db->phy_addr, 4, db->chip_id) & ~0x01e0; in dmfe_set_phyxcer() 1745 phy_reg = phy_read(db->ioaddr, db->phy_addr, 6, db->chip_id); in dmfe_process_mode() [all …]
|
D | uli526x.c | 240 static u16 phy_read(unsigned long, u8, u8, u32); 519 phy_value=phy_read(db->ioaddr,phy_tmp,3,db->chip_id);//peer add in uli526x_init() 532 phy_reg_reset = phy_read(db->ioaddr, db->phy_addr, 0, db->chip_id); in uli526x_init() 542 phy_read(db->ioaddr, db->phy_addr, 0, db->chip_id) & 0x8000) in uli526x_init() 1066 if((phy_read(db->ioaddr, db->phy_addr, 5, db->chip_id) & 0x01e0)!=0) in uli526x_timer() 1528 phy_mode = phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in uli526x_sense_speed() 1529 phy_mode = phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in uli526x_sense_speed() 1533 phy_mode = ((phy_read(db->ioaddr, db->phy_addr, 5, db->chip_id) & 0x01e0)<<7); in uli526x_sense_speed() 1572 phy_reg = phy_read(db->ioaddr, db->phy_addr, 4, db->chip_id) & ~0x01e0; in uli526x_set_phyxcer() 1623 phy_reg = phy_read(db->ioaddr, db->phy_addr, 6, db->chip_id); in uli526x_process_mode() [all …]
|
/linux-2.6.39/net/dsa/ |
D | dsa_priv.h | 142 int (*phy_read)(struct dsa_switch *ds, int port, int regnum); member
|
D | mv88e6060.c | 272 .phy_read = mv88e6060_phy_read,
|
D | mv88e6123_61_65.c | 428 .phy_read = mv88e6123_61_65_phy_read,
|
/linux-2.6.39/drivers/net/wireless/b43/ |
D | phy_common.c | 235 return dev->phy.ops->phy_read(dev, reg); in b43_phy_read() 252 dev->phy.ops->phy_read(dev, srcreg)); in b43_phy_copy()
|