Home
last modified time | relevance | path

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

12345678910>>...13

/linux-6.15/include/linux/
H A Dphy.h606 struct phy_device { struct
868 struct phy_device *phydev;
922 int (*probe)(struct phy_device *phydev);
957 int (*suspend)(struct phy_device *phydev);
959 int (*resume)(struct phy_device *phydev);
1045 int (*read_page)(struct phy_device *dev);
1129 void (*get_stats)(struct phy_device *dev,
1151 int (*get_sqi)(struct phy_device *dev);
1810 int phy_resume(struct phy_device *phydev);
1832 void phy_start(struct phy_device *phydev);
[all …]
H 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_with_src(struct phy_device *phydev, u8 pair,
30 int ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV);
31 int ethnl_cable_test_pulse(struct phy_device *phydev, u16 mV);
32 int ethnl_cable_test_step(struct phy_device *phydev, u32 first, u32 last,
52 static inline void ethnl_cable_test_free(struct phy_device *phydev) in ethnl_cable_test_free()
56 static inline void ethnl_cable_test_finished(struct phy_device *phydev) in ethnl_cable_test_finished()
[all …]
H A Dphylib_stubs.h13 struct phy_device;
20 int (*hwtstamp_get)(struct phy_device *phydev,
22 int (*hwtstamp_set)(struct phy_device *phydev,
25 void (*get_phy_stats)(struct phy_device *phydev,
28 void (*get_link_ext_stats)(struct phy_device *phydev,
32 static inline int phy_hwtstamp_get(struct phy_device *phydev, in phy_hwtstamp_get()
46 static inline int phy_hwtstamp_set(struct phy_device *phydev, in phy_hwtstamp_set()
61 static inline void phy_ethtool_get_phy_stats(struct phy_device *phydev, in phy_ethtool_get_phy_stats()
86 static inline int phy_hwtstamp_get(struct phy_device *phydev, in phy_hwtstamp_get()
92 static inline int phy_hwtstamp_set(struct phy_device *phydev, in phy_hwtstamp_set()
[all …]
H A Dphy_link_topology.h18 struct phy_device;
31 struct phy_device *phydev;
36 struct phy_device *phy;
41 struct phy_device *phy,
44 void phy_link_topo_del_phy(struct net_device *dev, struct phy_device *phy);
46 static inline struct phy_device *
64 struct phy_device *phy, in phy_link_topo_add_phy()
71 struct phy_device *phy) in phy_link_topo_del_phy()
75 static inline struct phy_device *
H 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()
H 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()
/linux-6.15/drivers/net/phy/
H A Dbcm-phy-lib.h34 int __bcm_phy_read_exp(struct phy_device *phydev, u16 reg);
37 int bcm_phy_read_exp(struct phy_device *phydev, u16 reg);
54 int bcm_phy_write_misc(struct phy_device *phydev,
56 int bcm_phy_read_misc(struct phy_device *phydev,
72 int bcm_phy_ack_intr(struct phy_device *phydev);
73 int bcm_phy_config_intr(struct phy_device *phydev);
84 int bcm_phy_get_sset_count(struct phy_device *phydev);
88 void bcm_phy_r_rc_cal_reset(struct phy_device *phydev);
90 int bcm_phy_enable_jumbo(struct phy_device *phydev);
100 void bcm_ptp_config_init(struct phy_device *phydev);
[all …]
H A Dphylib.h10 struct phy_device;
12 struct device_node *phy_package_get_node(struct phy_device *phydev);
13 void *phy_package_get_priv(struct phy_device *phydev);
14 int __phy_package_read(struct phy_device *phydev, unsigned int addr_offset,
18 int __phy_package_read_mmd(struct phy_device *phydev,
21 int __phy_package_write_mmd(struct phy_device *phydev,
24 bool phy_package_init_once(struct phy_device *phydev);
25 bool phy_package_probe_once(struct phy_device *phydev);
27 int of_phy_package_join(struct phy_device *phydev, size_t priv_size);
28 void phy_package_leave(struct phy_device *phydev);
[all …]
H A Dphylib-internal.h9 struct phy_device;
14 unsigned int phy_supported_speeds(struct phy_device *phy,
17 void of_set_phy_supported(struct phy_device *phydev);
18 void of_set_phy_eee_broken(struct phy_device *phydev);
19 void of_set_phy_timing_role(struct phy_device *phydev);
20 int phy_speed_down_core(struct phy_device *phydev);
21 void phy_check_downshift(struct phy_device *phydev);
23 int phy_package_address(struct phy_device *phydev, unsigned int addr_offset);
25 int genphy_c45_read_eee_adv(struct phy_device *phydev, unsigned long *adv);
H A Dnxp-c45-tja11xx.h15 struct phy_device *phydev;
35 int nxp_c45_macsec_config_init(struct phy_device *phydev);
36 int nxp_c45_macsec_probe(struct phy_device *phydev);
37 void nxp_c45_macsec_remove(struct phy_device *phydev);
38 void nxp_c45_handle_macsec_interrupt(struct phy_device *phydev,
42 int nxp_c45_macsec_config_init(struct phy_device *phydev) in nxp_c45_macsec_config_init()
48 int nxp_c45_macsec_probe(struct phy_device *phydev) in nxp_c45_macsec_probe()
54 void nxp_c45_macsec_remove(struct phy_device *phydev) in nxp_c45_macsec_remove()
59 void nxp_c45_handle_macsec_interrupt(struct phy_device *phydev, in nxp_c45_handle_macsec_interrupt()
H A Dphy_package.c43 struct device_node *phy_package_get_node(struct phy_device *phydev) in phy_package_get_node()
49 void *phy_package_get_priv(struct phy_device *phydev) in phy_package_get_priv()
55 int phy_package_address(struct phy_device *phydev, unsigned int addr_offset) in phy_package_address()
69 int __phy_package_read(struct phy_device *phydev, unsigned int addr_offset, in __phy_package_read()
103 bool phy_package_init_once(struct phy_device *phydev) in phy_package_init_once()
109 bool phy_package_probe_once(struct phy_device *phydev) in phy_package_probe_once()
209 int of_phy_package_join(struct phy_device *phydev, size_t priv_size) in of_phy_package_join()
254 void phy_package_leave(struct phy_device *phydev) in phy_package_leave()
279 phy_package_leave(*(struct phy_device **)res); in devm_phy_package_leave()
297 struct phy_device **ptr; in devm_phy_package_join()
[all …]
H A Dphy-core.c183 void of_set_phy_supported(struct phy_device *phydev) in of_set_phy_supported()
198 void of_set_phy_eee_broken(struct phy_device *phydev) in of_set_phy_eee_broken()
229 void of_set_phy_timing_role(struct phy_device *phydev) in of_set_phy_timing_role()
265 void phy_resolve_aneg_pause(struct phy_device *phydev) in phy_resolve_aneg_pause()
285 void phy_resolve_aneg_linkmode(struct phy_device *phydev) in phy_resolve_aneg_linkmode()
311 void phy_check_downshift(struct phy_device *phydev) in phy_check_downshift()
352 int phy_speed_down_core(struct phy_device *phydev) in phy_speed_down_core()
503 int __phy_package_read_mmd(struct phy_device *phydev, in __phy_package_read_mmd()
536 int __phy_package_write_mmd(struct phy_device *phydev, in __phy_package_write_mmd()
729 static int __phy_read_page(struct phy_device *phydev) in __phy_read_page()
[all …]
H A Dphy.c119 void phy_print_status(struct phy_device *phydev) in phy_print_status()
205 int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
1274 int phy_speed_up(struct phy_device *phydev) in phy_speed_up()
1362 void phy_error(struct phy_device *phydev) in phy_error()
1388 struct phy_device *phydev = phy_dat; in phy_interrupt()
1607 struct phy_device *phydev = in phy_state_machine()
1622 void phy_stop(struct phy_device *phydev) in phy_stop()
1672 void phy_start(struct phy_device *phydev) in phy_start()
2022 struct phy_device *phydev = ndev->phydev; in phy_ethtool_get_link_ksettings()
2036 struct phy_device *phydev = ndev->phydev; in phy_ethtool_set_link_ksettings()
[all …]
H 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 …]
H A Dbcm-phy-lib.c45 int __bcm_phy_read_exp(struct phy_device *phydev, u16 reg) in __bcm_phy_read_exp()
62 int bcm_phy_read_exp(struct phy_device *phydev, u16 reg) in bcm_phy_read_exp()
123 int bcm_phy_write_misc(struct phy_device *phydev, in bcm_phy_write_misc()
147 int bcm_phy_read_misc(struct phy_device *phydev, in bcm_phy_read_misc()
171 int bcm_phy_ack_intr(struct phy_device *phydev) in bcm_phy_ack_intr()
184 int bcm_phy_config_intr(struct phy_device *phydev) in bcm_phy_config_intr()
271 int bcm_phy_read_rdb(struct phy_device *phydev, u16 rdb) in bcm_phy_read_rdb()
515 int bcm_phy_get_sset_count(struct phy_device *phydev) in bcm_phy_get_sset_count()
566 void bcm_phy_r_rc_cal_reset(struct phy_device *phydev) in bcm_phy_r_rc_cal_reset()
618 int bcm_phy_enable_jumbo(struct phy_device *phydev) in bcm_phy_enable_jumbo()
[all …]
H A Dmarvell-88x2222.c61 static int mv2222_tx_enable(struct phy_device *phydev) in mv2222_tx_enable()
68 static int mv2222_tx_disable(struct phy_device *phydev) in mv2222_tx_disable()
74 static int mv2222_soft_reset(struct phy_device *phydev) in mv2222_soft_reset()
98 static int mv2222_enable_aneg(struct phy_device *phydev) in mv2222_enable_aneg()
451 static int mv2222_resume(struct phy_device *phydev) in mv2222_resume()
456 static int mv2222_suspend(struct phy_device *phydev) in mv2222_suspend()
479 struct phy_device *phydev = upstream; in mv2222_sfp_insert()
521 struct phy_device *phydev = upstream; in mv2222_sfp_remove()
533 struct phy_device *phydev = upstream; in mv2222_sfp_link_up()
542 struct phy_device *phydev = upstream; in mv2222_sfp_link_down()
[all …]
H A Dphy_device.c59 int (*run)(struct phy_device *phydev);
213 struct phy_device *phydev; in phy_mdio_device_free()
227 struct phy_device *phydev; in phy_mdio_device_remove()
659 struct phy_device *dev; in phy_device_create()
1086 struct phy_device *phydev; in phy_find_first()
1163 struct phy_device *phydev; in phy_connect()
1381 struct phy_device *phydev = upstream; in phy_sfp_connect_phy()
1403 struct phy_device *phydev = upstream; in phy_sfp_disconnect_phy()
1420 struct phy_device *phydev = upstream; in phy_sfp_attach()
1437 struct phy_device *phydev = upstream; in phy_sfp_detach()
[all …]
H A Dnxp-cbtx.c35 static int cbtx_soft_reset(struct phy_device *phydev) in cbtx_soft_reset()
48 static int cbtx_config_init(struct phy_device *phydev) in cbtx_config_init()
56 static int cbtx_mdix_status(struct phy_device *phydev) in cbtx_mdix_status()
72 static int cbtx_read_status(struct phy_device *phydev) in cbtx_read_status()
83 static int cbtx_mdix_config(struct phy_device *phydev) in cbtx_mdix_config()
112 static int cbtx_config_aneg(struct phy_device *phydev) in cbtx_config_aneg()
123 static int cbtx_ack_interrupts(struct phy_device *phydev) in cbtx_ack_interrupts()
128 static int cbtx_config_intr(struct phy_device *phydev) in cbtx_config_intr()
178 static int cbtx_get_sset_count(struct phy_device *phydev) in cbtx_get_sset_count()
183 static void cbtx_get_strings(struct phy_device *phydev, u8 *data) in cbtx_get_strings()
[all …]
/linux-6.15/drivers/net/phy/mscc/
H A Dmscc.h439 u32 vsc85xx_csr_read(struct phy_device *phydev,
442 int vsc85xx_csr_write(struct phy_device *phydev,
446 int phy_base_read(struct phy_device *phydev, u32 regnum);
449 int vsc8584_cmd(struct phy_device *phydev, u16 val);
452 int vsc8584_macsec_init(struct phy_device *phydev);
454 void vsc8584_config_macsec_intr(struct phy_device *phydev);
469 void vsc85xx_link_change_notify(struct phy_device *phydev);
470 void vsc8584_config_ts_intr(struct phy_device *phydev);
471 int vsc8584_ptp_init(struct phy_device *phydev);
472 int vsc8584_ptp_probe_once(struct phy_device *phydev);
[all …]
/linux-6.15/drivers/net/ethernet/realtek/
H A Dr8169_phy_config.c18 struct phy_device *phydev);
106 struct phy_device *phydev) in rtl8169s_hw_phy_config()
174 struct phy_device *phydev) in rtl8169sb_hw_phy_config()
180 struct phy_device *phydev) in rtl8169scd_hw_phy_config()
226 struct phy_device *phydev) in rtl8169sce_hw_phy_config()
421 struct phy_device *phydev, in rtl8168d_apply_firmware_cond()
614 struct phy_device *phydev) in rtl8168f_hw_phy_config()
666 struct phy_device *phydev) in rtl8411_hw_phy_config()
875 struct phy_device *phydev) in rtl8117_hw_phy_config()
929 struct phy_device *phydev) in rtl8401_hw_phy_config()
[all …]
/linux-6.15/drivers/net/phy/qcom/
H A Dqcom.h213 int at803x_debug_reg_mask(struct phy_device *phydev, u16 reg,
216 int at803x_set_wol(struct phy_device *phydev,
218 void at803x_get_wol(struct phy_device *phydev,
220 int at803x_ack_interrupt(struct phy_device *phydev);
221 int at803x_config_intr(struct phy_device *phydev);
223 int at803x_read_specific_status(struct phy_device *phydev,
225 int at803x_config_mdix(struct phy_device *phydev, u8 ctrl);
226 int at803x_prepare_config_aneg(struct phy_device *phydev);
227 int at803x_read_status(struct phy_device *phydev);
228 int at803x_get_tunable(struct phy_device *phydev,
[all …]
H A Dat803x.c152 static int at803x_read_page(struct phy_device *phydev) in at803x_read_page()
213 static int at803x_suspend(struct phy_device *phydev) in at803x_suspend()
231 static int at803x_resume(struct phy_device *phydev) in at803x_resume()
236 static int at803x_parse_dt(struct phy_device *phydev) in at803x_parse_dt()
315 static int at803x_probe(struct phy_device *phydev) in at803x_probe()
645 struct phy_device *phydev = rdev_get_drvdata(rdev); in at8031_rgmii_reg_set_voltage_sel()
657 struct phy_device *phydev = rdev_get_drvdata(rdev); in at8031_rgmii_reg_get_voltage_sel()
727 struct phy_device *phydev = upstream; in at8031_sfp_insert()
801 static int at8031_probe(struct phy_device *phydev) in at8031_probe()
869 static int at8031_set_wol(struct phy_device *phydev, in at8031_set_wol()
[all …]
H A Dqcom-phy-lib.c17 int at803x_debug_reg_read(struct phy_device *phydev, u16 reg) in at803x_debug_reg_read()
29 int at803x_debug_reg_mask(struct phy_device *phydev, u16 reg, in at803x_debug_reg_mask()
59 int at803x_set_wol(struct phy_device *phydev, in at803x_set_wol()
118 void at803x_get_wol(struct phy_device *phydev, in at803x_get_wol()
135 int at803x_ack_interrupt(struct phy_device *phydev) in at803x_ack_interrupt()
145 int at803x_config_intr(struct phy_device *phydev) in at803x_config_intr()
205 int at803x_read_specific_status(struct phy_device *phydev, in at803x_read_specific_status()
293 int at803x_prepare_config_aneg(struct phy_device *phydev) in at803x_prepare_config_aneg()
315 int at803x_read_status(struct phy_device *phydev) in at803x_read_status()
403 int at803x_get_tunable(struct phy_device *phydev, in at803x_get_tunable()
[all …]
/linux-6.15/drivers/net/phy/mediatek/
H A Dmtk.h75 void __mtk_tr_modify(struct phy_device *phydev, u8 ch_addr, u8 node_addr,
77 void mtk_tr_modify(struct phy_device *phydev, u8 ch_addr, u8 node_addr,
79 void __mtk_tr_set_bits(struct phy_device *phydev, u8 ch_addr, u8 node_addr,
84 int mtk_phy_read_page(struct phy_device *phydev);
85 int mtk_phy_write_page(struct phy_device *phydev, int page);
87 int mtk_phy_led_hw_is_supported(struct phy_device *phydev, u8 index,
90 int mtk_phy_led_hw_ctrl_set(struct phy_device *phydev, u8 index,
93 int mtk_phy_led_hw_ctrl_get(struct phy_device *phydev, u8 index,
98 int mtk_phy_hw_led_on_set(struct phy_device *phydev, u8 index,
100 int mtk_phy_hw_led_blink_set(struct phy_device *phydev, u8 index,
[all …]
/linux-6.15/drivers/net/phy/realtek/
H A Drealtek_main.c128 static int rtl821x_read_page(struct phy_device *phydev) in rtl821x_read_page()
138 static int rtl821x_probe(struct phy_device *phydev) in rtl821x_probe()
205 static int rtl8201_config_intr(struct phy_device *phydev) in rtl8201_config_intr()
357 static int rtl8211_config_aneg(struct phy_device *phydev) in rtl8211_config_aneg()
478 static int rtl821x_suspend(struct phy_device *phydev) in rtl821x_suspend()
495 static int rtl821x_resume(struct phy_device *phydev) in rtl821x_resume()
656 static int rtl8211b_suspend(struct phy_device *phydev) in rtl8211b_suspend()
663 static int rtl8211b_resume(struct phy_device *phydev) in rtl8211b_resume()
828 static int rtl822x_probe(struct phy_device *phydev) in rtl822x_probe()
1190 static int rtlgen_resume(struct phy_device *phydev) in rtlgen_resume()
[all …]

12345678910>>...13