Home
last modified time | relevance | path

Searched defs:phydev (Results 1 – 25 of 142) sorted by relevance

123456

/Linux-v4.19/drivers/net/phy/
Dphy.c70 void phy_print_status(struct phy_device *phydev) in phy_print_status()
93 static int phy_clear_interrupt(struct phy_device *phydev) in phy_clear_interrupt()
108 static int phy_config_interrupt(struct phy_device *phydev, u32 interrupts) in phy_config_interrupt()
124 int phy_restart_aneg(struct phy_device *phydev) in phy_restart_aneg()
145 int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
224 static void phy_sanitize_settings(struct phy_device *phydev) in phy_sanitize_settings()
257 int phy_ethtool_sset(struct phy_device *phydev, struct ethtool_cmd *cmd) in phy_ethtool_sset()
304 int phy_ethtool_ksettings_set(struct phy_device *phydev, in phy_ethtool_ksettings_set()
358 void phy_ethtool_ksettings_get(struct phy_device *phydev, in phy_ethtool_ksettings_get()
395 int phy_mii_ioctl(struct phy_device *phydev, struct ifreq *ifr, int cmd) in phy_mii_ioctl()
[all …]
Dmarvell.c192 static int marvell_read_page(struct phy_device *phydev) in marvell_read_page()
197 static int marvell_write_page(struct phy_device *phydev, int page) in marvell_write_page()
202 static int marvell_set_page(struct phy_device *phydev, int page) in marvell_set_page()
207 static int marvell_ack_interrupt(struct phy_device *phydev) in marvell_ack_interrupt()
220 static int marvell_config_intr(struct phy_device *phydev) in marvell_config_intr()
234 static int marvell_set_polarity(struct phy_device *phydev, int polarity) in marvell_set_polarity()
271 static int marvell_set_downshift(struct phy_device *phydev, bool enable, in marvell_set_downshift()
288 static int marvell_config_aneg(struct phy_device *phydev) in marvell_config_aneg()
318 static int m88e1101_config_aneg(struct phy_device *phydev) in m88e1101_config_aneg()
353 static int m88e1111_config_aneg(struct phy_device *phydev) in m88e1111_config_aneg()
[all …]
Dphy-c45.c14 int genphy_c45_pma_setup_forced(struct phy_device *phydev) in genphy_c45_pma_setup_forced()
76 int genphy_c45_an_disable_aneg(struct phy_device *phydev) in genphy_c45_an_disable_aneg()
98 int genphy_c45_restart_aneg(struct phy_device *phydev) in genphy_c45_restart_aneg()
123 int genphy_c45_aneg_done(struct phy_device *phydev) in genphy_c45_aneg_done()
140 int genphy_c45_read_link(struct phy_device *phydev, u32 mmd_mask) in genphy_c45_read_link()
175 int genphy_c45_read_lpa(struct phy_device *phydev) in genphy_c45_read_lpa()
204 int genphy_c45_read_pma(struct phy_device *phydev) in genphy_c45_read_pma()
240 int genphy_c45_read_mdix(struct phy_device *phydev) in genphy_c45_read_mdix()
271 int gen10g_config_aneg(struct phy_device *phydev) in gen10g_config_aneg()
277 int gen10g_read_status(struct phy_device *phydev) in gen10g_read_status()
[all …]
Dbroadcom.c23 #define BRCM_PHY_MODEL(phydev) \ argument
26 #define BRCM_PHY_REV(phydev) \ argument
33 static int bcm54210e_config_init(struct phy_device *phydev) in bcm54210e_config_init()
55 static int bcm54612e_config_init(struct phy_device *phydev) in bcm54612e_config_init()
95 static int bcm5481x_config(struct phy_device *phydev) in bcm5481x_config()
137 static int bcm50610_a0_workaround(struct phy_device *phydev) in bcm50610_a0_workaround()
168 static int bcm54xx_phydsp_config(struct phy_device *phydev) in bcm54xx_phydsp_config()
216 static void bcm54xx_adjust_rxrefclk(struct phy_device *phydev) in bcm54xx_adjust_rxrefclk()
276 static int bcm54xx_config_init(struct phy_device *phydev) in bcm54xx_config_init()
333 static int bcm5482_config_init(struct phy_device *phydev) in bcm5482_config_init()
[all …]
Drealtek.c47 static int rtl821x_read_page(struct phy_device *phydev) in rtl821x_read_page()
52 static int rtl821x_write_page(struct phy_device *phydev, int page) in rtl821x_write_page()
57 static int rtl8201_ack_interrupt(struct phy_device *phydev) in rtl8201_ack_interrupt()
66 static int rtl821x_ack_interrupt(struct phy_device *phydev) in rtl821x_ack_interrupt()
75 static int rtl8211f_ack_interrupt(struct phy_device *phydev) in rtl8211f_ack_interrupt()
84 static int rtl8201_config_intr(struct phy_device *phydev) in rtl8201_config_intr()
96 static int rtl8211b_config_intr(struct phy_device *phydev) in rtl8211b_config_intr()
109 static int rtl8211e_config_intr(struct phy_device *phydev) in rtl8211e_config_intr()
122 static int rtl8211f_config_intr(struct phy_device *phydev) in rtl8211f_config_intr()
134 static int rtl8211_config_aneg(struct phy_device *phydev) in rtl8211_config_aneg()
[all …]
Dphy_device.c45 void phy_device_free(struct phy_device *phydev) in phy_device_free()
53 struct phy_device *phydev; in phy_mdio_device_free() local
66 struct phy_device *phydev; in phy_mdio_device_remove() local
79 static bool mdio_bus_phy_may_suspend(struct phy_device *phydev) in mdio_bus_phy_may_suspend()
119 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_suspend() local
137 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_resume() local
156 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_restore() local
288 static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup) in phy_needs_fixup()
303 static int phy_scan_fixups(struct phy_device *phydev) in phy_scan_fixups()
326 struct phy_device *phydev = to_phy_device(dev); in phy_bus_match() local
[all …]
Dbcm-phy-lib.c25 int bcm_phy_write_exp(struct phy_device *phydev, u16 reg, u16 val) in bcm_phy_write_exp()
37 int bcm_phy_read_exp(struct phy_device *phydev, u16 reg) in bcm_phy_read_exp()
54 int bcm54xx_auxctl_read(struct phy_device *phydev, u16 regnum) in bcm54xx_auxctl_read()
65 int bcm54xx_auxctl_write(struct phy_device *phydev, u16 regnum, u16 val) in bcm54xx_auxctl_write()
71 int bcm_phy_write_misc(struct phy_device *phydev, in bcm_phy_write_misc()
95 int bcm_phy_read_misc(struct phy_device *phydev, in bcm_phy_read_misc()
119 int bcm_phy_ack_intr(struct phy_device *phydev) in bcm_phy_ack_intr()
132 int bcm_phy_config_intr(struct phy_device *phydev) in bcm_phy_config_intr()
149 int bcm_phy_read_shadow(struct phy_device *phydev, u16 shadow) in bcm_phy_read_shadow()
156 int bcm_phy_write_shadow(struct phy_device *phydev, u16 shadow, in bcm_phy_write_shadow()
[all …]
Dmicrochip.c36 static int lan88xx_read_page(struct phy_device *phydev) in lan88xx_read_page()
41 static int lan88xx_write_page(struct phy_device *phydev, int page) in lan88xx_write_page()
46 static int lan88xx_phy_config_intr(struct phy_device *phydev) in lan88xx_phy_config_intr()
64 static int lan88xx_phy_ack_interrupt(struct phy_device *phydev) in lan88xx_phy_ack_interrupt()
71 static int lan88xx_suspend(struct phy_device *phydev) in lan88xx_suspend()
82 static int lan88xx_TR_reg_set(struct phy_device *phydev, u16 regaddr, in lan88xx_TR_reg_set()
130 static void lan88xx_config_TR_regs(struct phy_device *phydev) in lan88xx_config_TR_regs()
226 static int lan88xx_probe(struct phy_device *phydev) in lan88xx_probe()
269 static void lan88xx_remove(struct phy_device *phydev) in lan88xx_remove()
278 static int lan88xx_set_wol(struct phy_device *phydev, in lan88xx_set_wol()
[all …]
Dmicrel.c135 static int kszphy_extended_write(struct phy_device *phydev, in kszphy_extended_write()
142 static int kszphy_extended_read(struct phy_device *phydev, in kszphy_extended_read()
149 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt()
159 static int kszphy_config_intr(struct phy_device *phydev) in kszphy_config_intr()
186 static int kszphy_rmii_clk_sel(struct phy_device *phydev, bool val) in kszphy_rmii_clk_sel()
202 static int kszphy_setup_led(struct phy_device *phydev, u32 reg, int val) in kszphy_setup_led()
236 static int kszphy_broadcast_disable(struct phy_device *phydev) in kszphy_broadcast_disable()
252 static int kszphy_nand_tree_disable(struct phy_device *phydev) in kszphy_nand_tree_disable()
273 static int kszphy_config_reset(struct phy_device *phydev) in kszphy_config_reset()
293 static int kszphy_config_init(struct phy_device *phydev) in kszphy_config_init()
[all …]
Dmarvell10g.c60 static int mv3310_modify(struct phy_device *phydev, int devad, u16 reg, in mv3310_modify()
93 struct phy_device *phydev = dev_get_drvdata(dev); in mv3310_hwmon_read() local
150 static int mv3310_hwmon_config(struct phy_device *phydev, bool enable) in mv3310_hwmon_config()
169 struct phy_device *phydev = data; in mv3310_hwmon_disable() local
174 static int mv3310_hwmon_probe(struct phy_device *phydev) in mv3310_hwmon_probe()
208 static inline int mv3310_hwmon_config(struct phy_device *phydev, bool enable) in mv3310_hwmon_config()
213 static int mv3310_hwmon_probe(struct phy_device *phydev) in mv3310_hwmon_probe()
219 static int mv3310_probe(struct phy_device *phydev) in mv3310_probe()
242 static int mv3310_suspend(struct phy_device *phydev) in mv3310_suspend()
247 static int mv3310_resume(struct phy_device *phydev) in mv3310_resume()
[all …]
Dvitesse.c87 static int vsc824x_add_skew(struct phy_device *phydev) in vsc824x_add_skew()
108 static int vsc824x_config_init(struct phy_device *phydev) in vsc824x_config_init()
125 static int vsc73xx_read_page(struct phy_device *phydev) in vsc73xx_read_page()
130 static int vsc73xx_write_page(struct phy_device *phydev, int page) in vsc73xx_write_page()
135 static void vsc73xx_config_init(struct phy_device *phydev) in vsc73xx_config_init()
146 static int vsc738x_config_init(struct phy_device *phydev) in vsc738x_config_init()
212 static int vsc739x_config_init(struct phy_device *phydev) in vsc739x_config_init()
244 static int vsc73xx_config_aneg(struct phy_device *phydev) in vsc73xx_config_aneg()
257 static int vsc8601_add_skew(struct phy_device *phydev) in vsc8601_add_skew()
269 static int vsc8601_config_init(struct phy_device *phydev) in vsc8601_config_init()
[all …]
Dbcm87xx.c37 static int bcm87xx_of_reg_init(struct phy_device *phydev) in bcm87xx_of_reg_init()
81 static int bcm87xx_of_reg_init(struct phy_device *phydev) in bcm87xx_of_reg_init()
87 static int bcm87xx_config_init(struct phy_device *phydev) in bcm87xx_config_init()
99 static int bcm87xx_config_aneg(struct phy_device *phydev) in bcm87xx_config_aneg()
104 static int bcm87xx_read_status(struct phy_device *phydev) in bcm87xx_read_status()
141 static int bcm87xx_config_intr(struct phy_device *phydev) in bcm87xx_config_intr()
159 static int bcm87xx_did_interrupt(struct phy_device *phydev) in bcm87xx_did_interrupt()
174 static int bcm87xx_ack_interrupt(struct phy_device *phydev) in bcm87xx_ack_interrupt()
181 static int bcm8706_match_phy_device(struct phy_device *phydev) in bcm8706_match_phy_device()
186 static int bcm8727_match_phy_device(struct phy_device *phydev) in bcm8727_match_phy_device()
Dsmsc.c42 static int smsc_phy_config_intr(struct phy_device *phydev) in smsc_phy_config_intr()
52 static int smsc_phy_ack_interrupt(struct phy_device *phydev) in smsc_phy_ack_interrupt()
59 static int smsc_phy_config_init(struct phy_device *phydev) in smsc_phy_config_init()
79 static int smsc_phy_reset(struct phy_device *phydev) in smsc_phy_reset()
98 static int lan911x_config_init(struct phy_device *phydev) in lan911x_config_init()
112 static int lan87xx_read_status(struct phy_device *phydev) in lan87xx_read_status()
156 static int smsc_get_sset_count(struct phy_device *phydev) in smsc_get_sset_count()
161 static void smsc_get_strings(struct phy_device *phydev, u8 *data) in smsc_get_strings()
171 static u64 smsc_get_stat(struct phy_device *phydev, int i) in smsc_get_stat()
186 static void smsc_get_stats(struct phy_device *phydev, in smsc_get_stats()
[all …]
Dbcm7xxx.c65 static void r_rc_cal_reset(struct phy_device *phydev) in r_rc_cal_reset()
74 static int bcm7xxx_28nm_b0_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_b0_afe_config_init()
115 static int bcm7xxx_28nm_d0_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_d0_afe_config_init()
155 static int bcm7xxx_28nm_e0_plus_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_e0_plus_afe_config_init()
183 static int bcm7xxx_28nm_a0_patch_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_a0_patch_afe_config_init()
208 static int bcm7xxx_28nm_config_init(struct phy_device *phydev) in bcm7xxx_28nm_config_init()
267 static int bcm7xxx_28nm_resume(struct phy_device *phydev) in bcm7xxx_28nm_resume()
303 static int bcm7xxx_28nm_ephy_01_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_ephy_01_afe_config_init()
349 static int bcm7xxx_28nm_ephy_apd_enable(struct phy_device *phydev) in bcm7xxx_28nm_ephy_apd_enable()
374 static int bcm7xxx_28nm_ephy_eee_enable(struct phy_device *phydev) in bcm7xxx_28nm_ephy_eee_enable()
[all …]
Dlxt.c64 static int lxt970_ack_interrupt(struct phy_device *phydev) in lxt970_ack_interrupt()
81 static int lxt970_config_intr(struct phy_device *phydev) in lxt970_config_intr()
89 static int lxt970_config_init(struct phy_device *phydev) in lxt970_config_init()
95 static int lxt971_ack_interrupt(struct phy_device *phydev) in lxt971_ack_interrupt()
105 static int lxt971_config_intr(struct phy_device *phydev) in lxt971_config_intr()
118 static int lxt973a2_update_link(struct phy_device *phydev) in lxt973a2_update_link()
150 static int lxt973a2_read_status(struct phy_device *phydev) in lxt973a2_read_status()
227 static int lxt973_probe(struct phy_device *phydev) in lxt973_probe()
248 static int lxt973_config_aneg(struct phy_device *phydev) in lxt973_config_aneg()
Dat803x.c85 static int at803x_debug_reg_read(struct phy_device *phydev, u16 reg) in at803x_debug_reg_read()
96 static int at803x_debug_reg_mask(struct phy_device *phydev, u16 reg, in at803x_debug_reg_mask()
113 static inline int at803x_enable_rx_delay(struct phy_device *phydev) in at803x_enable_rx_delay()
119 static inline int at803x_enable_tx_delay(struct phy_device *phydev) in at803x_enable_tx_delay()
126 static void at803x_context_save(struct phy_device *phydev, in at803x_context_save()
138 static void at803x_context_restore(struct phy_device *phydev, in at803x_context_restore()
149 static int at803x_set_wol(struct phy_device *phydev, in at803x_set_wol()
200 static void at803x_get_wol(struct phy_device *phydev, in at803x_get_wol()
213 static int at803x_suspend(struct phy_device *phydev) in at803x_suspend()
231 static int at803x_resume(struct phy_device *phydev) in at803x_resume()
[all …]
Dmscc.c126 static int vsc85xx_phy_page_set(struct phy_device *phydev, u16 page) in vsc85xx_phy_page_set()
134 static int vsc85xx_led_cntl_set(struct phy_device *phydev, in vsc85xx_led_cntl_set()
157 static int vsc85xx_mdix_get(struct phy_device *phydev, u8 *mdix) in vsc85xx_mdix_get()
170 static int vsc85xx_mdix_set(struct phy_device *phydev, u8 mdix) in vsc85xx_mdix_set()
210 static int vsc85xx_downshift_get(struct phy_device *phydev, u8 *count) in vsc85xx_downshift_get()
231 static int vsc85xx_downshift_set(struct phy_device *phydev, u8 count) in vsc85xx_downshift_set()
264 static int vsc85xx_wol_set(struct phy_device *phydev, in vsc85xx_wol_set()
341 static void vsc85xx_wol_get(struct phy_device *phydev, in vsc85xx_wol_get()
376 static int vsc85xx_edge_rate_magic_get(struct phy_device *phydev) in vsc85xx_edge_rate_magic_get()
405 static int vsc85xx_dt_led_mode_get(struct phy_device *phydev, in vsc85xx_dt_led_mode_get()
[all …]
Dphy-core.c200 void phy_resolve_aneg_linkmode(struct phy_device *phydev) in phy_resolve_aneg_linkmode()
258 int phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) in phy_read_mmd()
296 int phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) in phy_write_mmd()
337 int __phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in __phy_modify()
362 int phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in phy_modify()
374 static int __phy_read_page(struct phy_device *phydev) in __phy_read_page()
379 static int __phy_write_page(struct phy_device *phydev, int page) in __phy_write_page()
392 int phy_save_page(struct phy_device *phydev) in phy_save_page()
410 int phy_select_page(struct phy_device *phydev, int page) in phy_select_page()
444 int phy_restore_page(struct phy_device *phydev, int oldpage, int ret) in phy_restore_page()
[all …]
Dicplus.c48 static int ip175c_config_init(struct phy_device *phydev) in ip175c_config_init()
103 static int ip1xx_reset(struct phy_device *phydev) in ip1xx_reset()
125 static int ip1001_config_init(struct phy_device *phydev) in ip1001_config_init()
165 static int ip101a_g_config_init(struct phy_device *phydev) in ip101a_g_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_ack_interrupt(struct phy_device *phydev) in ip101a_g_ack_interrupt()
Drockchip.c47 static int rockchip_init_tstmode(struct phy_device *phydev) in rockchip_init_tstmode()
63 static int rockchip_close_tstmode(struct phy_device *phydev) in rockchip_close_tstmode()
69 static int rockchip_integrated_phy_analog_init(struct phy_device *phydev) in rockchip_integrated_phy_analog_init()
91 static int rockchip_integrated_phy_config_init(struct phy_device *phydev) in rockchip_integrated_phy_config_init()
110 static void rockchip_link_change_notify(struct phy_device *phydev) in rockchip_link_change_notify()
153 static int rockchip_set_polarity(struct phy_device *phydev, int polarity) in rockchip_set_polarity()
187 static int rockchip_config_aneg(struct phy_device *phydev) in rockchip_config_aneg()
198 static int rockchip_phy_resume(struct phy_device *phydev) in rockchip_phy_resume()
Dmeson-gxl.c58 static int meson_gxl_open_banks(struct phy_device *phydev) in meson_gxl_open_banks()
77 static void meson_gxl_close_banks(struct phy_device *phydev) in meson_gxl_close_banks()
82 static int meson_gxl_read_reg(struct phy_device *phydev, in meson_gxl_read_reg()
105 static int meson_gxl_write_reg(struct phy_device *phydev, in meson_gxl_write_reg()
130 static int meson_gxl_config_init(struct phy_device *phydev) in meson_gxl_config_init()
168 static int meson_gxl_read_status(struct phy_device *phydev) in meson_gxl_read_status()
204 static int meson_gxl_ack_interrupt(struct phy_device *phydev) in meson_gxl_ack_interrupt()
211 static int meson_gxl_config_intr(struct phy_device *phydev) in meson_gxl_config_intr()
Dnational.c59 static u8 ns_exp_read(struct phy_device *phydev, u16 reg) in ns_exp_read()
65 static void ns_exp_write(struct phy_device *phydev, u16 reg, u8 data) in ns_exp_write()
71 static int ns_config_intr(struct phy_device *phydev) in ns_config_intr()
84 static int ns_ack_interrupt(struct phy_device *phydev) in ns_ack_interrupt()
97 static void ns_giga_speed_fallback(struct phy_device *phydev, int mode) in ns_giga_speed_fallback()
111 static void ns_10_base_t_hdx_loopack(struct phy_device *phydev, int disable) in ns_10_base_t_hdx_loopack()
123 static int ns_config_init(struct phy_device *phydev) in ns_config_init()
Ddp83tc811.c78 static int dp83811_ack_interrupt(struct phy_device *phydev) in dp83811_ack_interrupt()
97 static int dp83811_set_wol(struct phy_device *phydev, in dp83811_set_wol()
157 static void dp83811_get_wol(struct phy_device *phydev, in dp83811_get_wol()
195 static int dp83811_config_intr(struct phy_device *phydev) in dp83811_config_intr()
257 static int dp83811_config_aneg(struct phy_device *phydev) in dp83811_config_aneg()
279 static int dp83811_config_init(struct phy_device *phydev) in dp83811_config_init()
306 static int dp83811_phy_reset(struct phy_device *phydev) in dp83811_phy_reset()
317 static int dp83811_suspend(struct phy_device *phydev) in dp83811_suspend()
329 static int dp83811_resume(struct phy_device *phydev) in dp83811_resume()
Ddp83822.c82 static int dp83822_ack_interrupt(struct phy_device *phydev) in dp83822_ack_interrupt()
97 static int dp83822_set_wol(struct phy_device *phydev, in dp83822_set_wol()
157 static void dp83822_get_wol(struct phy_device *phydev, in dp83822_get_wol()
195 static int dp83822_config_intr(struct phy_device *phydev) in dp83822_config_intr()
261 static int dp83822_config_init(struct phy_device *phydev) in dp83822_config_init()
276 static int dp83822_phy_reset(struct phy_device *phydev) in dp83822_phy_reset()
289 static int dp83822_suspend(struct phy_device *phydev) in dp83822_suspend()
301 static int dp83822_resume(struct phy_device *phydev) in dp83822_resume()
Daquantia.c33 static int aquantia_config_aneg(struct phy_device *phydev) in aquantia_config_aneg()
41 static int aquantia_config_intr(struct phy_device *phydev) in aquantia_config_intr()
70 static int aquantia_ack_interrupt(struct phy_device *phydev) in aquantia_ack_interrupt()
78 static int aquantia_read_status(struct phy_device *phydev) in aquantia_read_status()

123456