Home
last modified time | relevance | path

Searched refs:phy_device (Results 1 – 25 of 268) sorted by relevance

1234567891011

/linux-6.3-rc2/include/linux/
A Dphy.h621 struct phy_device { struct
884 int (*probe)(struct phy_device *phydev);
908 int (*resume)(struct phy_device *phydev);
994 int (*read_page)(struct phy_device *dev);
1031 void (*get_stats)(struct phy_device *dev,
1045 int (*get_sqi)(struct phy_device *dev);
1076 int (*run)(struct phy_device *phydev);
1599 int phy_resume(struct phy_device *phydev);
1619 void phy_start(struct phy_device *phydev);
1620 void phy_stop(struct phy_device *phydev);
[all …]
A Dethtool_netlink.h20 struct phy_device;
23 int ethnl_cable_test_alloc(struct phy_device *phydev, u8 cmd);
24 void ethnl_cable_test_free(struct phy_device *phydev);
25 void ethnl_cable_test_finished(struct phy_device *phydev);
26 int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, u8 result);
28 int ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV);
29 int ethnl_cable_test_pulse(struct phy_device *phydev, u16 mV);
30 int ethnl_cable_test_step(struct phy_device *phydev, u32 first, u32 last,
49 static inline void ethnl_cable_test_free(struct phy_device *phydev) in ethnl_cable_test_free()
53 static inline void ethnl_cable_test_finished(struct phy_device *phydev) in ethnl_cable_test_finished()
[all …]
A Dphy_led_triggers.h7 struct phy_device;
27 extern int phy_led_triggers_register(struct phy_device *phy);
28 extern void phy_led_triggers_unregister(struct phy_device *phy);
29 extern void phy_led_trigger_change_speed(struct phy_device *phy);
33 static inline int phy_led_triggers_register(struct phy_device *phy) in phy_led_triggers_register()
37 static inline void phy_led_triggers_unregister(struct phy_device *phy) { } in phy_led_triggers_unregister()
38 static inline void phy_led_trigger_change_speed(struct phy_device *phy) { } in phy_led_trigger_change_speed()
A Dphy_fixed.h23 extern struct phy_device *fixed_phy_register(unsigned int irq,
27 extern struct phy_device *
32 extern void fixed_phy_unregister(struct phy_device *phydev);
33 extern int fixed_phy_set_link_update(struct phy_device *phydev,
42 static inline struct phy_device *fixed_phy_register(unsigned int irq, in fixed_phy_register()
49 static inline struct phy_device *
57 static inline void fixed_phy_unregister(struct phy_device *phydev) in fixed_phy_unregister()
60 static inline int fixed_phy_set_link_update(struct phy_device *phydev, in fixed_phy_set_link_update()
A Dof_mdio.h21 struct phy_device *of_phy_find_device(struct device_node *phy_np);
22 struct phy_device *
26 struct phy_device *
34 int of_mdiobus_phy_device_register(struct mii_bus *mdio, struct phy_device *phy,
87 static inline struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device()
92 static inline struct phy_device *of_phy_connect(struct net_device *dev, in of_phy_connect()
100 static inline struct phy_device *
130 struct phy_device *phy, in of_mdiobus_phy_device_register()
/linux-6.3-rc2/drivers/net/phy/
A Dbcm-phy-lib.h31 int __bcm_phy_read_exp(struct phy_device *phydev, u16 reg);
34 int bcm_phy_read_exp(struct phy_device *phydev, u16 reg);
46 int bcm_phy_write_misc(struct phy_device *phydev,
48 int bcm_phy_read_misc(struct phy_device *phydev,
58 int bcm_phy_read_rdb(struct phy_device *phydev, u16 rdb);
64 int bcm_phy_ack_intr(struct phy_device *phydev);
65 int bcm_phy_config_intr(struct phy_device *phydev);
76 int bcm_phy_get_sset_count(struct phy_device *phydev);
80 void bcm_phy_r_rc_cal_reset(struct phy_device *phydev);
82 int bcm_phy_enable_jumbo(struct phy_device *phydev);
[all …]
A Dbcm-phy-lib.c43 int __bcm_phy_read_exp(struct phy_device *phydev, u16 reg) in __bcm_phy_read_exp()
60 int bcm_phy_read_exp(struct phy_device *phydev, u16 reg) in bcm_phy_read_exp()
121 int bcm_phy_write_misc(struct phy_device *phydev, in bcm_phy_write_misc()
145 int bcm_phy_read_misc(struct phy_device *phydev, in bcm_phy_read_misc()
169 int bcm_phy_ack_intr(struct phy_device *phydev) in bcm_phy_ack_intr()
182 int bcm_phy_config_intr(struct phy_device *phydev) in bcm_phy_config_intr()
269 int bcm_phy_read_rdb(struct phy_device *phydev, u16 rdb) in bcm_phy_read_rdb()
511 int bcm_phy_get_sset_count(struct phy_device *phydev) in bcm_phy_get_sset_count()
560 void bcm_phy_r_rc_cal_reset(struct phy_device *phydev) in bcm_phy_r_rc_cal_reset()
612 int bcm_phy_enable_jumbo(struct phy_device *phydev) in bcm_phy_enable_jumbo()
[all …]
A Dicplus.c94 static int ip175c_config_init(struct phy_device *phydev) in ip175c_config_init()
149 static int ip1001_config_init(struct phy_device *phydev) in ip1001_config_init()
185 static int ip175c_read_status(struct phy_device *phydev) in ip175c_read_status()
196 static int ip175c_config_aneg(struct phy_device *phydev) in ip175c_config_aneg()
204 static int ip101a_g_probe(struct phy_device *phydev) in ip101a_g_probe()
276 static int ip101a_config_init(struct phy_device *phydev) in ip101a_config_init()
288 static int ip101g_config_init(struct phy_device *phydev) in ip101g_config_init()
307 static int ip101a_g_read_status(struct phy_device *phydev) in ip101a_g_read_status()
459 static int ip101a_read_page(struct phy_device *phydev) in ip101a_read_page()
471 static int ip101g_read_page(struct phy_device *phydev) in ip101g_read_page()
[all …]
A Dmarvell-88x2222.c64 static int mv2222_tx_enable(struct phy_device *phydev) in mv2222_tx_enable()
71 static int mv2222_tx_disable(struct phy_device *phydev) in mv2222_tx_disable()
77 static int mv2222_soft_reset(struct phy_device *phydev) in mv2222_soft_reset()
101 static int mv2222_enable_aneg(struct phy_device *phydev) in mv2222_enable_aneg()
454 static int mv2222_resume(struct phy_device *phydev) in mv2222_resume()
459 static int mv2222_suspend(struct phy_device *phydev) in mv2222_suspend()
482 struct phy_device *phydev = upstream; in mv2222_sfp_insert()
524 struct phy_device *phydev = upstream; in mv2222_sfp_remove()
536 struct phy_device *phydev = upstream; in mv2222_sfp_link_up()
545 struct phy_device *phydev = upstream; in mv2222_sfp_link_down()
[all …]
A Dphy.c103 void phy_print_status(struct phy_device *phydev) in phy_print_status()
189 int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
1110 int phy_speed_up(struct phy_device *phydev) in phy_speed_up()
1181 void phy_error(struct phy_device *phydev) in phy_error()
1212 struct phy_device *phydev = phy_dat; in phy_interrupt()
1301 void phy_stop(struct phy_device *phydev) in phy_stop()
1345 void phy_start(struct phy_device *phydev) in phy_start()
1376 struct phy_device *phydev = in phy_state_machine()
1617 struct phy_device *phydev = ndev->phydev; in phy_ethtool_get_link_ksettings()
1631 struct phy_device *phydev = ndev->phydev; in phy_ethtool_set_link_ksettings()
[all …]
A Drealtek.c85 static int rtl821x_read_page(struct phy_device *phydev) in rtl821x_read_page()
95 static int rtl821x_probe(struct phy_device *phydev) in rtl821x_probe()
157 static int rtl8201_config_intr(struct phy_device *phydev) in rtl8201_config_intr()
181 static int rtl8211b_config_intr(struct phy_device *phydev) in rtl8211b_config_intr()
203 static int rtl8211e_config_intr(struct phy_device *phydev) in rtl8211e_config_intr()
309 static int rtl8211_config_aneg(struct phy_device *phydev) in rtl8211_config_aneg()
422 static int rtl821x_resume(struct phy_device *phydev) in rtl821x_resume()
483 static int rtl8211b_suspend(struct phy_device *phydev) in rtl8211b_suspend()
490 static int rtl8211b_resume(struct phy_device *phydev) in rtl8211b_resume()
512 static int rtlgen_get_speed(struct phy_device *phydev) in rtlgen_get_speed()
[all …]
A Dmarvell10g.c145 bool (*has_downshift)(struct phy_device *phydev);
147 int (*get_mactype)(struct phy_device *phydev);
153 int (*hwmon_read_temp_reg)(struct phy_device *phydev);
199 struct phy_device *phydev = dev_get_drvdata(dev); in mv3310_hwmon_read()
323 static int mv3310_power_up(struct phy_device *phydev) in mv3310_power_up()
474 struct phy_device *phydev = upstream; in mv3310_sfp_insert()
495 static int mv3310_probe(struct phy_device *phydev) in mv3310_probe()
555 static void mv3310_remove(struct phy_device *phydev) in mv3310_remove()
560 static int mv3310_suspend(struct phy_device *phydev) in mv3310_suspend()
565 static int mv3310_resume(struct phy_device *phydev) in mv3310_resume()
[all …]
A Dnxp-tja11xx.c87 struct phy_device *phydev;
143 static int tja11xx_wakeup(struct phy_device *phydev) in tja11xx_wakeup()
189 static int tja11xx_soft_reset(struct phy_device *phydev) in tja11xx_soft_reset()
233 static int tja11xx_config_aneg(struct phy_device *phydev) in tja11xx_config_aneg()
392 static int tja11xx_get_sqi(struct phy_device *phydev) in tja11xx_get_sqi()
443 struct phy_device *phydev = dev_get_drvdata(dev); in tja11xx_hwmon_read()
514 static int tja11xx_parse_dt(struct phy_device *phydev) in tja11xx_parse_dt()
528 static int tja11xx_probe(struct phy_device *phydev) in tja11xx_probe()
552 struct phy_device *phydev_phy0 = priv->phydev; in tja1102_p1_register()
560 struct phy_device *phy; in tja1102_p1_register()
[all …]
A Dphy_device.c242 struct phy_device *phydev; in phy_mdio_device_free()
256 struct phy_device *phydev; in phy_mdio_device_remove()
400 int (*run)(struct phy_device *)) in phy_register_fixup() argument
430 int (*run)(struct phy_device *)) in phy_register_fixup_for_id() argument
636 struct phy_device *dev; in phy_device_create()
1057 struct phy_device *phydev; in phy_find_first()
1147 struct phy_device *phydev; in phy_connect()
1361 struct phy_device *phydev = upstream; in phy_sfp_attach()
1378 struct phy_device *phydev = upstream; in phy_sfp_detach()
1592 struct phy_device *phydev; in phy_attach()
[all …]
A Dmarvell.c311 static int marvell_read_page(struct phy_device *phydev) in marvell_read_page()
1526 static int m88e6390_errata(struct phy_device *phydev) in m88e6390_errata()
1771 static int marvell_resume(struct phy_device *phydev) in marvell_resume()
2415 int (*config)(struct phy_device *phydev);
2652 struct phy_device *phydev = dev_get_drvdata(dev); in marvell_hwmon_read()
2677 struct phy_device *phydev = dev_get_drvdata(dev); in marvell_hwmon_write()
2695 const struct phy_device *phydev = data; in marvell_hwmon_is_visible()
2835 static int marvell_probe(struct phy_device *phydev) in marvell_probe()
2851 struct phy_device *phydev = upstream; in m88e1510_sfp_insert()
2904 struct phy_device *phydev = upstream; in m88e1510_sfp_remove()
[all …]
A Dadin.c231 static u32 adin_get_reg_value(struct phy_device *phydev, in adin_get_reg_value()
419 static int adin_get_tunable(struct phy_device *phydev, in adin_get_tunable()
432 static int adin_set_tunable(struct phy_device *phydev, in adin_set_tunable()
472 static int adin_config_init(struct phy_device *phydev) in adin_config_init()
614 static int adin_config_mdix(struct phy_device *phydev) in adin_config_mdix()
651 static int adin_config_aneg(struct phy_device *phydev) in adin_config_aneg()
670 static int adin_mdix_update(struct phy_device *phydev) in adin_mdix_update()
711 static int adin_read_status(struct phy_device *phydev) in adin_read_status()
722 static int adin_soft_reset(struct phy_device *phydev) in adin_soft_reset()
805 static void adin_get_stats(struct phy_device *phydev, in adin_get_stats()
[all …]
A Dat803x.c376 static int at803x_read_page(struct phy_device *phydev) in at803x_read_page()
437 static int at803x_set_wol(struct phy_device *phydev, in at803x_set_wol()
505 static void at803x_get_wol(struct phy_device *phydev, in at803x_get_wol()
568 static int at803x_suspend(struct phy_device *phydev) in at803x_suspend()
586 static int at803x_resume(struct phy_device *phydev) in at803x_resume()
594 struct phy_device *phydev = rdev_get_drvdata(rdev); in at803x_rgmii_reg_set_voltage_sel()
606 struct phy_device *phydev = rdev_get_drvdata(rdev); in at803x_rgmii_reg_get_voltage_sel()
676 struct phy_device *phydev = upstream; in at803x_sfp_insert()
724 static int at803x_parse_dt(struct phy_device *phydev) in at803x_parse_dt()
844 static int at803x_probe(struct phy_device *phydev) in at803x_probe()
[all …]
A Dbcm87xx.c34 static int bcm87xx_of_reg_init(struct phy_device *phydev) in bcm87xx_of_reg_init()
77 static int bcm87xx_of_reg_init(struct phy_device *phydev) in bcm87xx_of_reg_init()
83 static int bcm87xx_get_features(struct phy_device *phydev) in bcm87xx_get_features()
90 static int bcm87xx_config_init(struct phy_device *phydev) in bcm87xx_config_init()
95 static int bcm87xx_config_aneg(struct phy_device *phydev) in bcm87xx_config_aneg()
100 static int bcm87xx_read_status(struct phy_device *phydev) in bcm87xx_read_status()
140 static int bcm87xx_config_intr(struct phy_device *phydev) in bcm87xx_config_intr()
170 static irqreturn_t bcm87xx_handle_interrupt(struct phy_device *phydev) in bcm87xx_handle_interrupt()
188 static int bcm8706_match_phy_device(struct phy_device *phydev) in bcm8706_match_phy_device()
193 static int bcm8727_match_phy_device(struct phy_device *phydev) in bcm8727_match_phy_device()
A Dphy-c45.c17 static bool genphy_c45_baset1_able(struct phy_device *phydev) in genphy_c45_baset1_able()
51 int genphy_c45_pma_resume(struct phy_device *phydev) in genphy_c45_pma_resume()
65 int genphy_c45_pma_suspend(struct phy_device *phydev) in genphy_c45_pma_suspend()
329 int genphy_c45_restart_aneg(struct phy_device *phydev) in genphy_c45_restart_aneg()
386 int genphy_c45_aneg_done(struct phy_device *phydev) in genphy_c45_aneg_done()
408 int genphy_c45_read_link(struct phy_device *phydev) in genphy_c45_read_link()
512 int genphy_c45_read_lpa(struct phy_device *phydev) in genphy_c45_read_lpa()
589 int genphy_c45_read_pma(struct phy_device *phydev) in genphy_c45_read_pma()
639 int genphy_c45_read_mdix(struct phy_device *phydev) in genphy_c45_read_mdix()
1042 int genphy_c45_read_status(struct phy_device *phydev) in genphy_c45_read_status()
[all …]
A Dphy-core.c361 void phy_set_max_speed(struct phy_device *phydev, u32 max_speed) in phy_set_max_speed()
369 void of_set_phy_supported(struct phy_device *phydev) in of_set_phy_supported()
384 void of_set_phy_eee_broken(struct phy_device *phydev) in of_set_phy_eee_broken()
421 void phy_resolve_aneg_pause(struct phy_device *phydev) in phy_resolve_aneg_pause()
441 void phy_resolve_aneg_linkmode(struct phy_device *phydev) in phy_resolve_aneg_linkmode()
468 void phy_check_downshift(struct phy_device *phydev) in phy_check_downshift()
515 int phy_speed_down_core(struct phy_device *phydev) in phy_speed_down_core()
831 static int __phy_read_page(struct phy_device *phydev) in __phy_read_page()
839 static int __phy_write_page(struct phy_device *phydev, int page) in __phy_write_page()
855 int phy_save_page(struct phy_device *phydev) in phy_save_page()
[all …]
A Dmicrochip.c24 static int lan88xx_read_page(struct phy_device *phydev) in lan88xx_read_page()
29 static int lan88xx_write_page(struct phy_device *phydev, int page) in lan88xx_write_page()
34 static int lan88xx_phy_config_intr(struct phy_device *phydev) in lan88xx_phy_config_intr()
75 static int lan88xx_suspend(struct phy_device *phydev) in lan88xx_suspend()
135 static void lan88xx_config_TR_regs(struct phy_device *phydev) in lan88xx_config_TR_regs()
231 static int lan88xx_probe(struct phy_device *phydev) in lan88xx_probe()
274 static void lan88xx_remove(struct phy_device *phydev) in lan88xx_remove()
283 static int lan88xx_set_wol(struct phy_device *phydev, in lan88xx_set_wol()
293 static void lan88xx_set_mdix(struct phy_device *phydev) in lan88xx_set_mdix()
320 static int lan88xx_config_init(struct phy_device *phydev) in lan88xx_config_init()
[all …]
A Dvitesse.c83 static int vsc824x_add_skew(struct phy_device *phydev) in vsc824x_add_skew()
104 static int vsc824x_config_init(struct phy_device *phydev) in vsc824x_config_init()
121 static int vsc73xx_read_page(struct phy_device *phydev) in vsc73xx_read_page()
131 static void vsc73xx_config_init(struct phy_device *phydev) in vsc73xx_config_init()
142 static int vsc738x_config_init(struct phy_device *phydev) in vsc738x_config_init()
208 static int vsc739x_config_init(struct phy_device *phydev) in vsc739x_config_init()
240 static int vsc73xx_config_aneg(struct phy_device *phydev) in vsc73xx_config_aneg()
254 static int vsc8601_add_skew(struct phy_device *phydev) in vsc8601_add_skew()
266 static int vsc8601_config_init(struct phy_device *phydev) in vsc8601_config_init()
279 static int vsc82xx_config_intr(struct phy_device *phydev) in vsc82xx_config_intr()
[all …]
A Dmicrel.c281 struct phy_device *phydev;
303 struct phy_device *phydev;
2258 struct phy_device *phydev = ptp_priv->phydev; in lan8814_ts_info()
2298 struct phy_device *phydev = ptp_priv->phydev; in lan8814_hwtstamp()
2519 struct phy_device *phydev = shared->phydev; in lan8814_ptpci_gettime64()
2537 struct phy_device *phydev = shared->phydev; in lan8814_ptpci_settime64()
2675 struct phy_device *phydev = shared->phydev; in lan8814_ptpci_adjtime()
2688 struct phy_device *phydev = shared->phydev; in lan8814_ptpci_adjfine()
2757 struct phy_device *phydev = ptp_priv->phydev; in lan8814_dequeue_tx_skb()
2767 struct phy_device *phydev = ptp_priv->phydev; in lan8814_get_tx_ts()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/realtek/
A Dr8169_phy_config.c18 struct phy_device *phydev);
109 struct phy_device *phydev) in rtl8169s_hw_phy_config()
177 struct phy_device *phydev) in rtl8169sb_hw_phy_config()
183 struct phy_device *phydev) in rtl8169scd_hw_phy_config()
283 struct phy_device *phydev) in rtl8168bb_hw_phy_config()
433 struct phy_device *phydev, in rtl8168d_apply_firmware_cond()
626 struct phy_device *phydev) in rtl8168f_hw_phy_config()
678 struct phy_device *phydev) in rtl8411_hw_phy_config()
884 struct phy_device *phydev) in rtl8117_hw_phy_config()
938 struct phy_device *phydev) in rtl8401_hw_phy_config()
[all …]
/linux-6.3-rc2/drivers/net/phy/mscc/
A Dmscc.h431 u32 vsc85xx_csr_read(struct phy_device *phydev,
434 int vsc85xx_csr_write(struct phy_device *phydev,
438 int phy_base_read(struct phy_device *phydev, u32 regnum);
441 int vsc8584_cmd(struct phy_device *phydev, u16 val);
444 int vsc8584_macsec_init(struct phy_device *phydev);
446 void vsc8584_config_macsec_intr(struct phy_device *phydev);
461 void vsc85xx_link_change_notify(struct phy_device *phydev);
462 void vsc8584_config_ts_intr(struct phy_device *phydev);
463 int vsc8584_ptp_init(struct phy_device *phydev);
464 int vsc8584_ptp_probe_once(struct phy_device *phydev);
[all …]

Completed in 69 milliseconds

1234567891011