Home
last modified time | relevance | path

Searched refs:phy_read (Results 1 – 25 of 90) sorted by relevance

1234

/linux/drivers/net/ethernet/ibm/emac/
H A Dphy.c32 #define phy_read _phy_read macro
60 val = phy_read(phy, MII_BMCR); in emac_mii_reset_phy()
68 val = phy_read(phy, MII_BMCR); in emac_mii_reset_phy()
120 ctl = phy_read(phy, MII_BMCR); in genmii_setup_aneg()
129 adv = phy_read(phy, MII_ADVERTISE); in genmii_setup_aneg()
150 adv = phy_read(phy, MII_CTRL1000); in genmii_setup_aneg()
162 ctl = phy_read(phy, MII_BMCR); in genmii_setup_aneg()
178 ctl = phy_read(phy, MII_BMCR); in genmii_setup_forced()
211 phy_read(phy, MII_BMSR); in genmii_poll_link()
212 status = phy_read(phy, MII_BMSR); in genmii_poll_link()
[all …]
/linux/drivers/net/phy/
H A Dlxt.c66 err = phy_read(phydev, MII_BMSR); in lxt970_ack_interrupt()
71 err = phy_read(phydev, MII_LXT970_ISR); in lxt970_ack_interrupt()
107 irq_status = phy_read(phydev, MII_BMSR); in lxt970_handle_interrupt()
113 irq_status = phy_read(phydev, MII_LXT970_ISR); in lxt970_handle_interrupt()
135 int err = phy_read(phydev, MII_LXT971_ISR); in lxt971_ack_interrupt()
168 irq_status = phy_read(phydev, MII_LXT971_ISR); in lxt971_handle_interrupt()
194 status = phy_read(phydev, MII_BMSR); in lxt973a2_update_link()
199 control = phy_read(phydev, MII_BMCR); in lxt973a2_update_link()
205 status = phy_read(phydev, MII_BMSR); in lxt973a2_update_link()
233 adv = phy_read(phydev, MII_ADVERTISE); in lxt973a2_read_status()
[all …]
H A Ddp83tc811.c82 err = phy_read(phydev, MII_DP83811_INT_STAT1); in dp83811_ack_interrupt()
86 err = phy_read(phydev, MII_DP83811_INT_STAT2); in dp83811_ack_interrupt()
90 err = phy_read(phydev, MII_DP83811_INT_STAT3); in dp83811_ack_interrupt()
143 phy_read(phydev, MII_DP83811_INT_STAT1); in dp83811_set_wol()
204 misr_status = phy_read(phydev, MII_DP83811_INT_STAT1); in dp83811_config_intr()
221 misr_status = phy_read(phydev, MII_DP83811_INT_STAT2); in dp83811_config_intr()
236 misr_status = phy_read(phydev, MII_DP83811_INT_STAT3); in dp83811_config_intr()
277 irq_status = phy_read(phydev, MII_DP83811_INT_STAT1); in dp83811_handle_interrupt()
285 irq_status = phy_read(phydev, MII_DP83811_INT_STAT2); in dp83811_handle_interrupt()
293 irq_status = phy_read(phydev, MII_DP83811_INT_STAT3); in dp83811_handle_interrupt()
[all …]
H A Dqsemi.c82 err = phy_read(phydev, MII_QS6612_ISR); in qs6612_ack_interrupt()
87 err = phy_read(phydev, MII_BMSR); in qs6612_ack_interrupt()
92 err = phy_read(phydev, MII_EXPANSION); in qs6612_ack_interrupt()
129 irq_status = phy_read(phydev, MII_QS6612_ISR); in qs6612_handle_interrupt()
H A Dste10Xp.c35 value = phy_read(phydev, MII_BMCR); in ste10Xp_config_init()
45 value = phy_read(phydev, MII_BMCR); in ste10Xp_config_init()
53 int err = phy_read(phydev, MII_XCIIS); in ste10Xp_ack_interrupt()
88 irq_status = phy_read(phydev, MII_XCIIS); in ste10Xp_handle_interrupt()
H A Dncn26000.c76 ret = phy_read(phydev, MII_BMSR); in ncn26000_read_status()
83 ret = phy_read(phydev, MII_BMSR); in ncn26000_read_status()
108 ret = phy_read(phydev, NCN26000_REG_IRQ_STATUS); in ncn26000_handle_interrupt()
125 ret = phy_read(phydev, NCN26000_REG_IRQ_STATUS); in ncn26000_config_intr()
H A Dnxp-tja11xx.c150 ret = phy_read(phydev, MII_ECTRL); in tja11xx_wakeup()
365 ret = phy_read(phydev, MII_INTSRC); in tja11xx_config_init()
383 ret = phy_read(phydev, MII_CFG1); in tja11xx_read_status()
393 ret = phy_read(phydev, MII_COMMSTAT); in tja11xx_read_status()
408 ret = phy_read(phydev, MII_COMMSTAT); in tja11xx_get_sqi()
439 ret = phy_read(phydev, tja11xx_hw_stats[i].reg); in tja11xx_get_stats()
457 ret = phy_read(phydev, MII_INTSRC); in tja11xx_hwmon_read()
466 ret = phy_read(phydev, MII_INTSRC); in tja11xx_hwmon_read()
641 ret = phy_read(phydev, MII_PHYSID2); in tja1102_match_phy_device()
670 ret = phy_read(phydev, MII_INTSRC); in tja11xx_ack_interrupt()
[all …]
H A Ddp83848.c56 int err = phy_read(phydev, DP83848_MISR); in dp83848_ack_interrupt()
65 control = phy_read(phydev, DP83848_MICR); in dp83848_config_intr()
98 irq_status = phy_read(phydev, DP83848_MISR); in dp83848_handle_interrupt()
119 val = phy_read(phydev, MII_BMCR); in dp83848_config_init()
H A Dnational.c55 return phy_read(phydev, NS_EXP_MEM_DATA); in ns_exp_read()
66 int ret = phy_read(phydev, DP83865_INT_STATUS); in ns_ack_interrupt()
82 irq_status = phy_read(phydev, DP83865_INT_STATUS); in ns_handle_interrupt()
123 int bmcr = phy_read(phydev, MII_BMCR); in ns_giga_speed_fallback()
H A Det1011c.c49 int ctl = phy_read(phydev, MII_BMCR); in et1011c_config_aneg()
71 val = phy_read(phydev, ET1011C_STATUS_REG); in et1011c_read_status()
74 val = phy_read(phydev, ET1011C_CONFIG_REG); in et1011c_read_status()
H A DuPD60620.c40 phy_state = phy_read(phydev, MII_BMSR); in upd60620_read_status()
50 phy_state = phy_read(phydev, PHY_PHYSCR); in upd60620_read_status()
64 phy_state = phy_read(phydev, MII_LPA); in upd60620_read_status()
H A Dbroadcom.c118 val = phy_read(phydev, MII_CTRL1000); in bcm54210e_config_init()
462 reg = phy_read(phydev, MII_BCM54XX_ECR); in bcm54xx_config_init()
703 val = phy_read(phydev, MII_BCM54XX_LRESR); in bcm5481x_read_abilities()
897 err = phy_read(phydev, MII_BMCR); in brcm_fet_config_init()
902 reg = phy_read(phydev, MII_BRCM_FET_INTREG); in brcm_fet_config_init()
922 brcmtest = phy_read(phydev, MII_BRCM_FET_BRCMTEST); in brcm_fet_config_init()
979 reg = phy_read(phydev, MII_BRCM_FET_INTREG); in brcm_fet_ack_interrupt()
990 reg = phy_read(phydev, MII_BRCM_FET_INTREG); in brcm_fet_config_intr()
1017 irq_status = phy_read(phydev, MII_BRCM_FET_INTREG); in brcm_fet_handle_interrupt()
1043 brcmtest = phy_read(phydev, MII_BRCM_FET_BRCMTEST); in brcm_fet_suspend()
[all …]
H A Dmicrochip.c278 buf = phy_read(phydev, LAN88XX_EXT_MODE_CTRL); in lan88xx_set_mdix()
337 temp = phy_read(phydev, LAN88XX_INT_MASK); in lan88xx_link_change_notify()
341 temp = phy_read(phydev, MII_BMCR); in lan88xx_link_change_notify()
348 temp = phy_read(phydev, LAN88XX_INT_STS); in lan88xx_link_change_notify()
351 temp = phy_read(phydev, LAN88XX_INT_MASK); in lan88xx_link_change_notify()
377 ret = phy_read(phydev, LAN937X_MODE_CTRL_STATUS_REG); in lan937x_tx_read_mdix_status()
H A Damd.c36 err = phy_read(phydev, MII_BMSR); in am79c_ack_interrupt()
40 err = phy_read(phydev, MII_AM79C_IR); in am79c_ack_interrupt()
77 irq_status = phy_read(phydev, MII_AM79C_IR); in am79c_handle_interrupt()
H A Dnxp-cbtx.c60 ret = phy_read(phydev, CBTX_MODE_CTRL_STAT); in cbtx_mdix_status()
125 return phy_read(phydev, CBTX_IRQ_STAT); in cbtx_ack_interrupts()
164 irq_enabled = phy_read(phydev, CBTX_IRQ_ENABLE); in cbtx_handle_interrupt()
193 ret = phy_read(phydev, CBTX_RX_ERR_COUNTER); in cbtx_get_stats()
H A Dvitesse.c112 extcon = phy_read(phydev, MII_VSC8244_EXT_CON1); in vsc824x_add_skew()
260 rev = phy_read(phydev, MII_PHYSID2); in vsc738x_config_init()
343 val = phy_read(phydev, MII_VSC73XX_PHY_BYPASS_CTRL); in vsc73xx_mdix_set()
387 reg_val = phy_read(phydev, MII_VSC73XX_PHY_AUX_CTRL_STAT); in vsc73xx_mdix_get()
415 ret = phy_read(phydev, MII_VSC8601_EPHY_CTL); in vsc8601_add_skew()
455 err = phy_read(phydev, MII_VSC8244_ISTAT); in vsc82xx_config_intr()
477 irq_status = phy_read(phydev, MII_VSC8244_ISTAT); in vsc82xx_handle_interrupt()
H A Dsmsc.c61 int rc = phy_read(phydev, MII_LAN83C185_ISF); in smsc_phy_ack_interrupt()
105 irq_status = phy_read(phydev, MII_LAN83C185_ISF); in smsc_phy_handle_interrupt()
139 int rc = phy_read(phydev, MII_LAN83C185_SPECIAL_MODES); in smsc_phy_reset()
196 rc = phy_read(phydev, SPECIAL_CTRL_STS); in lan87xx_config_aneg()
250 rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS); in lan87xx_read_status()
262 read_poll_timeout(phy_read, rc, in lan87xx_read_status()
270 rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS); in lan87xx_read_status()
567 val = phy_read(phydev, stat.reg); in smsc_get_stat()
H A Dadin.c352 val = phy_read(phydev, ADIN1300_PHY_CTRL2); in adin_get_downshift()
356 cnt = phy_read(phydev, ADIN1300_PHY_CTRL3); in adin_get_downshift()
396 val = phy_read(phydev, ADIN1300_PHY_CTRL_STATUS2); in adin_get_edpd()
580 int rc = phy_read(phydev, ADIN1300_INT_STATUS_REG); in adin_phy_ack_intr()
612 irq_status = phy_read(phydev, ADIN1300_INT_STATUS_REG); in adin_phy_handle_interrupt()
707 reg = phy_read(phydev, ADIN1300_PHY_CTRL1); in adin_config_mdix()
749 reg = phy_read(phydev, ADIN1300_PHY_CTRL1); in adin_mdix_update()
770 reg = phy_read(phydev, ADIN1300_PHY_STATUS1); in adin_mdix_update()
865 ret = phy_read(phydev, stat->reg1); in adin_get_stat()
882 rc = phy_read(phydev, ADIN1300_RX_ERR_CNT); in adin_get_stats()
H A Ddp83869.c193 int err = phy_read(phydev, MII_DP83869_ISR); in dp83869_ack_interrupt()
210 micr_status = phy_read(phydev, MII_DP83869_MICR); in dp83869_config_intr()
238 irq_status = phy_read(phydev, MII_DP83869_ISR); in dp83869_handle_interrupt()
244 irq_enabled = phy_read(phydev, MII_DP83869_MICR); in dp83869_handle_interrupt()
270 val_micr = phy_read(phydev, MII_DP83869_MICR); in dp83869_set_wol()
419 val = phy_read(phydev, DP83869_CFG2); in dp83869_get_downshift()
626 val = phy_read(phydev, MII_DP83869_PHYCTRL); in dp83869_configure_rgmii()
671 bmcr = phy_read(phydev, MII_BMCR); in dp83869_configure_fiber()
820 val = phy_read(phydev, DP83869_CFG4); in dp83869_config_init()
H A Ddavicom.c66 int err = phy_read(phydev, MII_DM9161_INTR); in dm9161_ack_interrupt()
76 temp = phy_read(phydev, MII_DM9161_INTR); in dm9161_config_intr()
104 irq_status = phy_read(phydev, MII_DM9161_INTR); in dm9161_handle_interrupt()
H A Ddp83867.c195 int err = phy_read(phydev, MII_DP83867_ISR); in dp83867_ack_interrupt()
211 val_micr = phy_read(phydev, MII_DP83867_MICR); in dp83867_set_wol()
321 micr_status = phy_read(phydev, MII_DP83867_MICR); in dp83867_config_intr()
350 irq_status = phy_read(phydev, MII_DP83867_ISR); in dp83867_handle_interrupt()
356 irq_enabled = phy_read(phydev, MII_DP83867_MICR); in dp83867_handle_interrupt()
372 int status = phy_read(phydev, MII_DP83867_PHYSTS); in dp83867_read_status()
401 val = phy_read(phydev, DP83867_CFG2); in dp83867_get_downshift()
748 val = phy_read(phydev, MII_DP83867_PHYCTRL); in dp83867_config_init()
846 val = phy_read(phydev, DP83867_CFG3); in dp83867_config_init()
1032 val = phy_read(phydev, DP83867_LEDCR1); in dp83867_led_hw_control_get()
H A Dmeson-gxl.c81 ret = phy_read(phydev, TSTREAD1); in meson_gxl_read_reg()
167 lpa = phy_read(phydev, MII_LPA); in meson_gxl_read_status()
171 exp = phy_read(phydev, MII_EXPANSION); in meson_gxl_read_status()
/linux/arch/powerpc/platforms/85xx/
H A Dmpc85xx_mds.c62 scr = phy_read(phydev, MV88E1111_SCR); in mpc8568_fixup_125_clock()
77 scr = phy_read(phydev, MV88E1111_SCR); in mpc8568_fixup_125_clock()
98 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups()
114 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups()
119 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups()
132 temp = phy_read(phydev, 16); in mpc8568_mds_phy_fixups()
/linux/drivers/net/phy/qcom/
H A Dqcom-phy-lib.c25 return phy_read(phydev, AT803X_DEBUG_DATA); in at803x_debug_reg_read()
98 ret = phy_read(phydev, AT803X_INTR_STATUS); in at803x_set_wol()
106 irq_enabled = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_set_wol()
151 value = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_get_wol()
164 err = phy_read(phydev, AT803X_INTR_STATUS); in at803x_ack_interrupt()
175 value = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_config_intr()
207 irq_status = phy_read(phydev, AT803X_INTR_STATUS); in at803x_handle_interrupt()
214 int_enabled = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_handle_interrupt()
239 ss = phy_read(phydev, AT803X_SPECIFIC_STATUS); in at803x_read_specific_status()
246 sfc = phy_read(phydev, AT803X_SPECIFIC_FUNCTION_CONTROL); in at803x_read_specific_status()
[all …]
H A Dat803x.c240 context->bmcr = phy_read(phydev, MII_BMCR); in at803x_context_save()
241 context->advertise = phy_read(phydev, MII_ADVERTISE); in at803x_context_save()
242 context->control1000 = phy_read(phydev, MII_CTRL1000); in at803x_context_save()
243 context->int_enable = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_context_save()
244 context->smart_speed = phy_read(phydev, AT803X_SMART_SPEED); in at803x_context_save()
245 context->led_control = phy_read(phydev, AT803X_LED_CONTROL); in at803x_context_save()
265 value = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_suspend()
621 val = phy_read(phydev, AT803X_CDT_STATUS); in at803x_cable_test_one_pair()
853 ccr = phy_read(phydev, AT803X_REG_CHIP_CONFIG); in at8031_probe()

1234