Home
last modified time | relevance | path

Searched refs:phy_read (Results 1 - 25 of 169) sorted by relevance

1234567

/kernel/linux/linux-5.10/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(ph in genmii_poll_link()
[all...]
/kernel/linux/linux-6.6/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(ph in genmii_poll_link()
[all...]
/kernel/linux/linux-6.6/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(phyde 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(phyde in dp83811_handle_interrupt()
[all...]
H A Dmicrochip.c41 rc = phy_read(phydev, LAN88XX_INT_STS); in lan88xx_phy_config_intr()
51 rc = phy_read(phydev, LAN88XX_INT_STS); in lan88xx_phy_config_intr()
61 irq_status = phy_read(phydev, LAN88XX_INT_STS); in lan88xx_handle_interrupt()
313 buf = phy_read(phydev, LAN88XX_EXT_MODE_CTRL); in lan88xx_set_mdix()
356 temp = phy_read(phydev, LAN88XX_INT_MASK); in lan88xx_link_change_notify()
360 temp = phy_read(phydev, MII_BMCR); in lan88xx_link_change_notify()
367 temp = phy_read(phydev, LAN88XX_INT_STS); in lan88xx_link_change_notify()
370 temp = phy_read(phydev, LAN88XX_INT_MASK); in lan88xx_link_change_notify()
H A Dnxp-tja11xx.c147 ret = phy_read(phydev, MII_ECTRL); in tja11xx_wakeup()
353 ret = phy_read(phydev, MII_INTSRC); in tja11xx_config_init()
371 ret = phy_read(phydev, MII_CFG1); in tja11xx_read_status()
381 ret = phy_read(phydev, MII_COMMSTAT); in tja11xx_read_status()
396 ret = phy_read(phydev, MII_COMMSTAT); in tja11xx_get_sqi()
429 ret = phy_read(phydev, tja11xx_hw_stats[i].reg); in tja11xx_get_stats()
447 ret = phy_read(phydev, MII_INTSRC); in tja11xx_hwmon_read()
456 ret = phy_read(phydev, MII_INTSRC); in tja11xx_hwmon_read()
638 ret = phy_read(phydev, MII_PHYSID2); in tja1102_match_phy_device()
665 ret = phy_read(phyde in tja11xx_ack_interrupt()
[all...]
H A Ddp83822.c169 phy_read(phydev, MII_DP83822_MISR2); in dp83822_set_wol()
228 misr_status = phy_read(phydev, MII_DP83822_MISR1); in dp83822_config_intr()
247 misr_status = phy_read(phydev, MII_DP83822_MISR2); in dp83822_config_intr()
266 physcr_status = phy_read(phydev, MII_DP83822_PHYSCR); in dp83822_config_intr()
281 physcr_status = phy_read(phydev, MII_DP83822_PHYSCR); in dp83822_config_intr()
303 irq_status = phy_read(phydev, MII_DP83822_MISR1); in dp83822_handle_interrupt()
311 irq_status = phy_read(phydev, MII_DP83822_MISR2); in dp83822_handle_interrupt()
337 int status = phy_read(phydev, MII_DP83822_PHYSTS); in dp83822_read_status()
346 ctrl2 = phy_read(phydev, MII_DP83822_CTRL_2); in dp83822_read_status()
446 bmcr = phy_read(phyde in dp83822_config_init()
[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 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 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 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()
/kernel/linux/linux-5.10/drivers/net/phy/
H A Dlxt.c63 err = phy_read(phydev, MII_BMSR); in lxt970_ack_interrupt()
68 err = phy_read(phydev, MII_LXT970_ISR); in lxt970_ack_interrupt()
92 int err = phy_read(phydev, MII_LXT971_ISR); in lxt971_ack_interrupt()
120 status = phy_read(phydev, MII_BMSR); in lxt973a2_update_link()
125 control = phy_read(phydev, MII_BMCR); in lxt973a2_update_link()
131 status = phy_read(phydev, MII_BMSR); in lxt973a2_update_link()
159 adv = phy_read(phydev, MII_ADVERTISE); in lxt973a2_read_status()
165 lpa = phy_read(phydev, MII_LPA); in lxt973a2_read_status()
208 int val = phy_read(phydev, MII_LXT973_PCR); in lxt973_probe()
215 val = phy_read(phyde in lxt973_probe()
[all...]
H A Dbcm87xx.c61 val = phy_read(phydev, regnum); in bcm87xx_of_reg_init()
107 rx_signal_detect = phy_read(phydev, BCM87XX_PMD_RX_SIGNAL_DETECT); in bcm87xx_read_status()
114 pcs_status = phy_read(phydev, BCM87XX_10GBASER_PCS_STATUS); in bcm87xx_read_status()
121 xgxs_lane_status = phy_read(phydev, BCM87XX_XGXS_LANE_STATUS); in bcm87xx_read_status()
142 reg = phy_read(phydev, BCM87XX_LASI_CONTROL); in bcm87xx_config_intr()
160 reg = phy_read(phydev, BCM87XX_LASI_STATUS); in bcm87xx_did_interrupt()
H A Dat803x.c173 return phy_read(phydev, AT803X_DEBUG_DATA); in at803x_debug_reg_read()
221 context->bmcr = phy_read(phydev, MII_BMCR); in at803x_context_save()
222 context->advertise = phy_read(phydev, MII_ADVERTISE); in at803x_context_save()
223 context->control1000 = phy_read(phydev, MII_CTRL1000); in at803x_context_save()
224 context->int_enable = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_context_save()
225 context->smart_speed = phy_read(phydev, AT803X_SMART_SPEED); in at803x_context_save()
226 context->led_control = phy_read(phydev, AT803X_LED_CONTROL); in at803x_context_save()
267 value = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_set_wol()
272 value = phy_read(phydev, AT803X_INTR_STATUS); in at803x_set_wol()
274 value = phy_read(phyde in at803x_set_wol()
[all...]
H A Dsmsc.c70 int rc = phy_read (phydev, MII_LAN83C185_ISF); in smsc_phy_ack_interrupt()
83 rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS); in smsc_phy_config_init()
99 int rc = phy_read(phydev, MII_LAN83C185_SPECIAL_MODES); in smsc_phy_reset()
141 rc = phy_read(phydev, SPECIAL_CTRL_STS); in lan87xx_config_aneg()
163 rc = phy_read(phydev, PHY_EDPD_CONFIG); in lan95xx_config_aneg_ext()
192 int rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS); in lan87xx_read_status()
204 read_poll_timeout(phy_read, rc, in lan87xx_read_status()
212 rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS); in lan87xx_read_status()
246 val = phy_read(phydev, stat.reg); in smsc_get_stat()
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()
200 misr_status = phy_read(phydev, MII_DP83811_INT_STAT1); in dp83811_config_intr()
217 misr_status = phy_read(phydev, MII_DP83811_INT_STAT2); in dp83811_config_intr()
232 misr_status = phy_read(phydev, MII_DP83811_INT_STAT3); in dp83811_config_intr()
262 value = phy_read(phydev, MII_DP83811_SGMII_CTRL); in dp83811_config_aneg()
283 value = phy_read(phydev, MII_DP83811_SGMII_CTRL); in dp83811_config_init()
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()
60 value = phy_read(phydev, MII_XCIIS); in ste10Xp_config_intr()
72 int err = phy_read(phydev, MII_XCIIS); in ste10Xp_ack_interrupt()
H A Ddp83822.c126 err = phy_read(phydev, MII_DP83822_MISR1); in dp83822_ack_interrupt()
130 err = phy_read(phydev, MII_DP83822_MISR2); in dp83822_ack_interrupt()
183 phy_read(phydev, MII_DP83822_MISR2); in dp83822_set_wol()
242 misr_status = phy_read(phydev, MII_DP83822_MISR1); in dp83822_config_intr()
261 misr_status = phy_read(phydev, MII_DP83822_MISR2); in dp83822_config_intr()
280 physcr_status = phy_read(phydev, MII_DP83822_PHYSCR); in dp83822_config_intr()
295 physcr_status = phy_read(phydev, MII_DP83822_PHYSCR); in dp83822_config_intr()
315 int status = phy_read(phydev, MII_DP83822_PHYSTS); in dp83822_read_status()
324 ctrl2 = phy_read(phydev, MII_DP83822_CTRL_2); in dp83822_read_status()
415 bmcr = phy_read(phyde in dp83822_config_init()
[all...]
H A Dmicrochip.c41 rc = phy_read(phydev, LAN88XX_INT_STS); in lan88xx_phy_config_intr()
54 int rc = phy_read(phydev, LAN88XX_INT_STS); in lan88xx_phy_ack_interrupt()
297 buf = phy_read(phydev, LAN88XX_EXT_MODE_CTRL); in lan88xx_set_mdix()
340 temp = phy_read(phydev, LAN88XX_INT_MASK); in lan88xx_link_change_notify()
344 temp = phy_read(phydev, MII_BMCR); in lan88xx_link_change_notify()
351 temp = phy_read(phydev, LAN88XX_INT_STS); in lan88xx_link_change_notify()
354 temp = phy_read(phydev, LAN88XX_INT_MASK); in lan88xx_link_change_notify()
H A Dicplus.c124 bmcr = phy_read(phydev, MII_BMCR); in ip1xx_reset()
133 bmcr = phy_read(phydev, MII_BMCR); in ip1xx_reset()
150 c = phy_read(phydev, IP1001_SPEC_CTRL_STATUS_2); in ip1001_config_init()
160 c = phy_read(phydev, IP10XX_SPEC_CTRL_STATUS); in ip1001_config_init()
269 c = phy_read(phydev, IP10XX_SPEC_CTRL_STATUS); in ip101a_g_config_init()
290 int val = phy_read(phydev, IP101A_G_IRQ_CONF_STATUS); in ip101a_g_did_interrupt()
302 int err = phy_read(phydev, IP101A_G_IRQ_CONF_STATUS); in ip101a_g_ack_interrupt()
H A Dnxp-tja11xx.c132 ret = phy_read(phydev, MII_ECTRL); in tja11xx_wakeup()
295 ret = phy_read(phydev, MII_INTSRC); in tja11xx_config_init()
313 ret = phy_read(phydev, MII_CFG1); in tja11xx_read_status()
323 ret = phy_read(phydev, MII_COMMSTAT); in tja11xx_read_status()
338 ret = phy_read(phydev, MII_COMMSTAT); in tja11xx_get_sqi()
371 ret = phy_read(phydev, tja11xx_hw_stats[i].reg); in tja11xx_get_stats()
389 ret = phy_read(phydev, MII_INTSRC); in tja11xx_hwmon_read()
398 ret = phy_read(phydev, MII_INTSRC); in tja11xx_hwmon_read()
565 ret = phy_read(phydev, MII_PHYSID2); in tja1102_match_phy_device()
592 ret = phy_read(phyde in tja11xx_ack_interrupt()
[all...]
H A Dqsemi.c78 err = phy_read(phydev, MII_QS6612_ISR); in qs6612_ack_interrupt()
83 err = phy_read(phydev, MII_BMSR); in qs6612_ack_interrupt()
88 err = phy_read(phydev, MII_EXPANSION); in qs6612_ack_interrupt()
H A Ddp83848.c42 int err = phy_read(phydev, DP83848_MISR); in dp83848_ack_interrupt()
51 control = phy_read(phydev, DP83848_MICR); in dp83848_config_intr()
76 val = phy_read(phydev, MII_BMCR); in dp83848_config_init()
H A Det1011c.c50 ctl = phy_read(phydev, MII_BMCR); in et1011c_config_aneg()
70 val = phy_read(phydev, ET1011C_STATUS_REG); in et1011c_read_status()
73 val = phy_read(phydev, ET1011C_CONFIG_REG); in et1011c_read_status()

Completed in 12 milliseconds

1234567