Home
last modified time | relevance | path

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

12345678910>>...12

/linux/include/linux/
A Dphy.h653 struct phy_device { struct
897 struct phy_device *phydev;
951 int (*probe)(struct phy_device *phydev);
975 int (*resume)(struct phy_device *phydev);
1061 int (*read_page)(struct phy_device *dev);
1098 void (*get_stats)(struct phy_device *dev,
1112 int (*get_sqi)(struct phy_device *dev);
1238 int (*run)(struct phy_device *phydev);
1781 int phy_resume(struct phy_device *phydev);
1803 void phy_start(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_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 …]
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 *
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 Dphylib_stubs.h10 struct phy_device;
17 int (*hwtstamp_get)(struct phy_device *phydev,
19 int (*hwtstamp_set)(struct phy_device *phydev,
24 static inline int phy_hwtstamp_get(struct phy_device *phydev, in phy_hwtstamp_get()
38 static inline int phy_hwtstamp_set(struct phy_device *phydev, in phy_hwtstamp_set()
55 static inline int phy_hwtstamp_get(struct phy_device *phydev, in phy_hwtstamp_get()
61 static inline int phy_hwtstamp_set(struct phy_device *phydev, in phy_hwtstamp_set()
/linux/drivers/net/phy/
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 …]
A Dnxp-c45-tja11xx.h15 struct phy_device *phydev;
34 int nxp_c45_macsec_config_init(struct phy_device *phydev);
35 int nxp_c45_macsec_probe(struct phy_device *phydev);
36 void nxp_c45_macsec_remove(struct phy_device *phydev);
37 void nxp_c45_handle_macsec_interrupt(struct phy_device *phydev,
41 int nxp_c45_macsec_config_init(struct phy_device *phydev) in nxp_c45_macsec_config_init()
47 int nxp_c45_macsec_probe(struct phy_device *phydev) in nxp_c45_macsec_probe()
53 void nxp_c45_macsec_remove(struct phy_device *phydev) in nxp_c45_macsec_remove()
58 void nxp_c45_handle_macsec_interrupt(struct phy_device *phydev, in nxp_c45_handle_macsec_interrupt()
A Drealtek.c112 static int rtl821x_read_page(struct phy_device *phydev) in rtl821x_read_page()
122 static int rtl821x_probe(struct phy_device *phydev) in rtl821x_probe()
189 static int rtl8201_config_intr(struct phy_device *phydev) in rtl8201_config_intr()
213 static int rtl8211b_config_intr(struct phy_device *phydev) in rtl8211b_config_intr()
341 static int rtl8211_config_aneg(struct phy_device *phydev) in rtl8211_config_aneg()
456 static int rtl821x_suspend(struct phy_device *phydev) in rtl821x_suspend()
473 static int rtl821x_resume(struct phy_device *phydev) in rtl821x_resume()
634 static int rtl8211b_suspend(struct phy_device *phydev) in rtl8211b_suspend()
641 static int rtl8211b_resume(struct phy_device *phydev) in rtl8211b_resume()
1094 static int rtlgen_resume(struct phy_device *phydev) in rtlgen_resume()
[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 Dphy.c116 void phy_print_status(struct phy_device *phydev) in phy_print_status()
202 int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
1194 int phy_speed_up(struct phy_device *phydev) in phy_speed_up()
1282 void phy_error(struct phy_device *phydev) in phy_error()
1308 struct phy_device *phydev = phy_dat; in phy_interrupt()
1488 struct phy_device *phydev = in phy_state_machine()
1503 void phy_stop(struct phy_device *phydev) in phy_stop()
1553 void phy_start(struct phy_device *phydev) in phy_start()
1769 struct phy_device *phydev = ndev->phydev; in phy_ethtool_get_link_ksettings()
1783 struct phy_device *phydev = ndev->phydev; in phy_ethtool_set_link_ksettings()
[all …]
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()
567 void bcm_phy_r_rc_cal_reset(struct phy_device *phydev) in bcm_phy_r_rc_cal_reset()
619 int bcm_phy_enable_jumbo(struct phy_device *phydev) in bcm_phy_enable_jumbo()
[all …]
A Dphy_device.c258 struct phy_device *phydev; in phy_mdio_device_free()
272 struct phy_device *phydev; in phy_mdio_device_remove()
665 struct phy_device *dev; in phy_device_create()
1092 struct phy_device *phydev; in phy_find_first()
1182 struct phy_device *phydev; in phy_connect()
1400 struct phy_device *phydev = upstream; in phy_sfp_connect_phy()
1422 struct phy_device *phydev = upstream; in phy_sfp_disconnect_phy()
1439 struct phy_device *phydev = upstream; in phy_sfp_attach()
1680 struct phy_device *phydev; in phy_attach()
1918 struct phy_device **ptr; in devm_phy_package_join()
[all …]
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 …]
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 …]
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()
441 struct phy_device *phydev = dev_get_drvdata(dev); in tja11xx_hwmon_read()
512 static int tja11xx_parse_dt(struct phy_device *phydev) in tja11xx_parse_dt()
526 static int tja11xx_probe(struct phy_device *phydev) in tja11xx_probe()
550 struct phy_device *phydev_phy0 = priv->phydev; in tja1102_p1_register()
558 struct phy_device *phy; in tja1102_p1_register()
[all …]
A Dmicrochip.c30 static int lan88xx_read_page(struct phy_device *phydev) in lan88xx_read_page()
40 static int lan88xx_phy_config_intr(struct phy_device *phydev) in lan88xx_phy_config_intr()
81 static int lan88xx_suspend(struct phy_device *phydev) in lan88xx_suspend()
141 static void lan88xx_config_TR_regs(struct phy_device *phydev) in lan88xx_config_TR_regs()
237 static int lan88xx_probe(struct phy_device *phydev) in lan88xx_probe()
280 static void lan88xx_remove(struct phy_device *phydev) in lan88xx_remove()
289 static int lan88xx_set_wol(struct phy_device *phydev, in lan88xx_set_wol()
299 static void lan88xx_set_mdix(struct phy_device *phydev) in lan88xx_set_mdix()
326 static int lan88xx_config_init(struct phy_device *phydev) in lan88xx_config_init()
344 static int lan88xx_config_aneg(struct phy_device *phydev) in lan88xx_config_aneg()
[all …]
A Dmarvell-88q2xxx.c177 static int mv88q2xxx_soft_reset(struct phy_device *phydev) in mv88q2xxx_soft_reset()
284 static int mv88q2xxx_read_link(struct phy_device *phydev) in mv88q2xxx_read_link()
337 static int mv88q2xxx_read_status(struct phy_device *phydev) in mv88q2xxx_read_status()
405 static int mv88q2xxx_config_aneg(struct phy_device *phydev) in mv88q2xxx_config_aneg()
435 static int mv88q2xxx_get_sqi(struct phy_device *phydev) in mv88q2xxx_get_sqi()
544 static int mv88q2xxx_suspend(struct phy_device *phydev) in mv88q2xxx_suspend()
560 static int mv88q2xxx_resume(struct phy_device *phydev) in mv88q2xxx_resume()
602 struct phy_device *phydev = dev_get_drvdata(dev); in mv88q2xxx_hwmon_read()
642 struct phy_device *phydev = dev_get_drvdata(dev); in mv88q2xxx_hwmon_write()
703 static int mv88q2xxx_probe(struct phy_device *phydev) in mv88q2xxx_probe()
[all …]
A Dvitesse.c107 static int vsc824x_add_skew(struct phy_device *phydev) in vsc824x_add_skew()
128 static int vsc824x_config_init(struct phy_device *phydev) in vsc824x_config_init()
145 static int vsc73xx_read_page(struct phy_device *phydev) in vsc73xx_read_page()
201 static int vsc73xx_get_tunable(struct phy_device *phydev, in vsc73xx_get_tunable()
212 static int vsc73xx_set_tunable(struct phy_device *phydev, in vsc73xx_set_tunable()
223 static void vsc73xx_config_init(struct phy_device *phydev) in vsc73xx_config_init()
240 static int vsc738x_config_init(struct phy_device *phydev) in vsc738x_config_init()
306 static int vsc739x_config_init(struct phy_device *phydev) in vsc739x_config_init()
372 static int vsc73xx_config_aneg(struct phy_device *phydev) in vsc73xx_config_aneg()
396 static int vsc73xx_read_status(struct phy_device *phydev) in vsc73xx_read_status()
[all …]
/linux/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()
887 struct phy_device *phydev) in rtl8117_hw_phy_config()
941 struct phy_device *phydev) in rtl8401_hw_phy_config()
[all …]
/linux/drivers/net/phy/mscc/
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/drivers/net/phy/qcom/
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 …]
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 …]
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 …]
A Dqca808x.c148 static bool qca808x_is_prefer_master(struct phy_device *phydev) in qca808x_is_prefer_master()
159 static bool qca808x_is_1g_only(struct phy_device *phydev) in qca808x_is_1g_only()
180 static int qca808x_probe(struct phy_device *phydev) in qca808x_probe()
197 static int qca808x_config_init(struct phy_device *phydev) in qca808x_config_init()
252 static int qca808x_read_status(struct phy_device *phydev) in qca808x_read_status()
303 static int qca808x_soft_reset(struct phy_device *phydev) in qca808x_soft_reset()
317 static int qca808x_cable_test_start(struct phy_device *phydev) in qca808x_cable_test_start()
358 static int qca808x_get_features(struct phy_device *phydev) in qca808x_get_features()
382 static int qca808x_config_aneg(struct phy_device *phydev) in qca808x_config_aneg()
408 static void qca808x_link_change_notify(struct phy_device *phydev) in qca808x_link_change_notify()
[all …]

Completed in 60 milliseconds

12345678910>>...12