Home
last modified time | relevance | path

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

123456

/linux/drivers/net/phy/
H A Dphy.c64 static void phy_process_state_change(struct phy_device *phydev, in phy_process_state_change()
76 static void phy_link_up(struct phy_device *phydev) in phy_link_up()
82 static void phy_link_down(struct phy_device *phydev) in phy_link_down()
89 static const char *phy_pause_str(struct phy_device *phydev) in phy_pause_str()
119 void phy_print_status(struct phy_device *phydev) in phy_print_status()
146 int phy_get_rate_matching(struct phy_device *phydev, in phy_get_rate_matching()
168 static int phy_config_interrupt(struct phy_device *phydev, bool interrupts) in phy_config_interrupt()
184 int phy_restart_aneg(struct phy_device *phydev) in phy_restart_aneg()
205 int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
256 static void phy_sanitize_settings(struct phy_device *phydev) in phy_sanitize_settings()
[all …]
H A Dphy-c45.c18 static bool genphy_c45_baset1_able(struct phy_device *phydev) in genphy_c45_baset1_able()
37 static bool genphy_c45_pma_can_sleep(struct phy_device *phydev) in genphy_c45_pma_can_sleep()
52 int genphy_c45_pma_resume(struct phy_device *phydev) in genphy_c45_pma_resume()
66 int genphy_c45_pma_suspend(struct phy_device *phydev) in genphy_c45_pma_suspend()
81 int genphy_c45_pma_baset1_setup_master_slave(struct phy_device *phydev) in genphy_c45_pma_baset1_setup_master_slave()
110 int genphy_c45_pma_setup_forced(struct phy_device *phydev) in genphy_c45_pma_setup_forced()
203 static int genphy_c45_baset1_an_config_aneg(struct phy_device *phydev) in genphy_c45_baset1_an_config_aneg()
268 int genphy_c45_an_config_aneg(struct phy_device *phydev) in genphy_c45_an_config_aneg()
320 int genphy_c45_an_disable_aneg(struct phy_device *phydev) in genphy_c45_an_disable_aneg()
340 int genphy_c45_restart_aneg(struct phy_device *phydev) in genphy_c45_restart_aneg()
[all …]
H A Dbroadcom.c26 #define BRCM_PHY_REV(phydev) \ argument
63 static bool bcm54xx_phy_can_wakeup(struct phy_device *phydev) in bcm54xx_phy_can_wakeup()
70 static int bcm54xx_config_clock_delay(struct phy_device *phydev) in bcm54xx_config_clock_delay()
111 static int bcm54210e_config_init(struct phy_device *phydev) in bcm54210e_config_init()
126 static int bcm54612e_config_init(struct phy_device *phydev) in bcm54612e_config_init()
147 static int bcm54616s_config_init(struct phy_device *phydev) in bcm54616s_config_init()
206 static int bcm50610_a0_workaround(struct phy_device *phydev) in bcm50610_a0_workaround()
237 static int bcm54xx_phydsp_config(struct phy_device *phydev) in bcm54xx_phydsp_config()
285 static void bcm54xx_adjust_rxrefclk(struct phy_device *phydev) in bcm54xx_adjust_rxrefclk()
357 static void bcm54xx_ptp_stop(struct phy_device *phydev) in bcm54xx_ptp_stop()
[all …]
H A Dphy_device.c212 void phy_device_free(struct phy_device *phydev) in phy_device_free()
220 struct phy_device *phydev; in phy_mdio_device_free() local
234 struct phy_device *phydev; in phy_mdio_device_remove() local
245 static bool phy_drv_wol_enabled(struct phy_device *phydev) in phy_drv_wol_enabled()
254 static void phy_link_change(struct phy_device *phydev, bool up) in phy_link_change()
285 static bool phy_uses_state_machine(struct phy_device *phydev) in phy_uses_state_machine()
293 static bool mdio_bus_phy_may_suspend(struct phy_device *phydev) in mdio_bus_phy_may_suspend()
340 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_suspend() local
372 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_resume() local
516 static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup) in phy_needs_fixup()
[all …]
H A Dphy-core.c164 static void __set_phy_supported(struct phy_device *phydev, u32 max_speed) in __set_phy_supported()
179 void phy_set_max_speed(struct phy_device *phydev, u32 max_speed) in phy_set_max_speed()
187 void of_set_phy_supported(struct phy_device *phydev) in of_set_phy_supported()
202 void of_set_phy_eee_broken(struct phy_device *phydev) in of_set_phy_eee_broken()
233 void of_set_phy_timing_role(struct phy_device *phydev) in of_set_phy_timing_role()
269 void phy_resolve_aneg_pause(struct phy_device *phydev) in phy_resolve_aneg_pause()
289 void phy_resolve_aneg_linkmode(struct phy_device *phydev) in phy_resolve_aneg_linkmode()
315 void phy_check_downshift(struct phy_device *phydev) in phy_check_downshift()
342 static int phy_resolve_min_speed(struct phy_device *phydev, bool fdx_only) in phy_resolve_min_speed()
356 int phy_speed_down_core(struct phy_device *phydev) in phy_speed_down_core()
[all …]
H A Dmicrochip.c30 static int lan88xx_read_page(struct phy_device *phydev) in lan88xx_read_page()
35 static int lan88xx_write_page(struct phy_device *phydev, int page) in lan88xx_write_page()
40 static int lan88xx_suspend(struct phy_device *phydev) in lan88xx_suspend()
51 static int lan88xx_TR_reg_set(struct phy_device *phydev, u16 regaddr, in lan88xx_TR_reg_set()
100 static void lan88xx_config_TR_regs(struct phy_device *phydev) in lan88xx_config_TR_regs()
196 static int lan88xx_probe(struct phy_device *phydev) in lan88xx_probe()
239 static void lan88xx_remove(struct phy_device *phydev) in lan88xx_remove()
248 static int lan88xx_set_wol(struct phy_device *phydev, in lan88xx_set_wol()
258 static void lan88xx_set_mdix(struct phy_device *phydev) in lan88xx_set_mdix()
285 static int lan88xx_config_init(struct phy_device *phydev) in lan88xx_config_init()
[all …]
H A Dmicrel.c396 struct phy_device *phydev; member
414 struct phy_device *phydev; member
534 static int kszphy_extended_write(struct phy_device *phydev, in kszphy_extended_write()
541 static int kszphy_extended_read(struct phy_device *phydev, in kszphy_extended_read()
548 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt()
558 static int kszphy_config_intr(struct phy_device *phydev) in kszphy_config_intr()
594 static irqreturn_t kszphy_handle_interrupt(struct phy_device *phydev) in kszphy_handle_interrupt()
612 static int kszphy_rmii_clk_sel(struct phy_device *phydev, bool val) in kszphy_rmii_clk_sel()
628 static int kszphy_setup_led(struct phy_device *phydev, u32 reg, int val) in kszphy_setup_led()
662 static int kszphy_broadcast_disable(struct phy_device *phydev) in kszphy_broadcast_disable()
[all …]
H A Dsmsc.c59 static int smsc_phy_ack_interrupt(struct phy_device *phydev) in smsc_phy_ack_interrupt()
66 int smsc_phy_config_intr(struct phy_device *phydev) in smsc_phy_config_intr()
89 static int smsc_phy_config_edpd(struct phy_device *phydev) in smsc_phy_config_edpd()
101 irqreturn_t smsc_phy_handle_interrupt(struct phy_device *phydev) in smsc_phy_handle_interrupt()
122 int smsc_phy_config_init(struct phy_device *phydev) in smsc_phy_config_init()
137 static int smsc_phy_reset(struct phy_device *phydev) in smsc_phy_reset()
156 static int lan87xx_config_aneg(struct phy_device *phydev) in lan87xx_config_aneg()
210 static int lan95xx_config_aneg_ext(struct phy_device *phydev) in lan95xx_config_aneg_ext()
235 int lan87xx_read_status(struct phy_device *phydev) in lan87xx_read_status()
284 static int lan87xx_phy_config_init(struct phy_device *phydev) in lan87xx_phy_config_init()
[all …]
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 static int phy_package_address(struct phy_device *phydev, in phy_package_address()
70 int __phy_package_read(struct phy_device *phydev, unsigned int addr_offset, in __phy_package_read()
82 int __phy_package_write(struct phy_device *phydev, unsigned int addr_offset, in __phy_package_write()
109 int __phy_package_read_mmd(struct phy_device *phydev, in __phy_package_read_mmd()
142 int __phy_package_write_mmd(struct phy_device *phydev, in __phy_package_write_mmd()
159 static bool __phy_package_set_once(struct phy_device *phydev, unsigned int b) in __phy_package_set_once()
169 bool phy_package_init_once(struct phy_device *phydev) in phy_package_init_once()
175 bool phy_package_probe_once(struct phy_device *phydev) in phy_package_probe_once()
[all …]
H A Dair_en8811h.c160 struct phy_device *phydev; member
205 static int air_phy_read_page(struct phy_device *phydev) in air_phy_read_page()
210 static int air_phy_write_page(struct phy_device *phydev, int page) in air_phy_write_page()
215 static int __air_buckpbus_reg_write(struct phy_device *phydev, in __air_buckpbus_reg_write()
247 static int air_buckpbus_reg_write(struct phy_device *phydev, in air_buckpbus_reg_write()
266 static int __air_buckpbus_reg_read(struct phy_device *phydev, in __air_buckpbus_reg_read()
298 static int air_buckpbus_reg_read(struct phy_device *phydev, in air_buckpbus_reg_read()
316 static int __air_buckpbus_reg_modify(struct phy_device *phydev, in __air_buckpbus_reg_modify()
373 static int air_buckpbus_reg_modify(struct phy_device *phydev, in air_buckpbus_reg_modify()
392 static int __air_write_buf(struct phy_device *phydev, u32 address, in __air_write_buf()
[all …]
H A Dadin1100.c76 static int adin_read_status(struct phy_device *phydev) in adin_read_status()
97 static int adin_config_aneg(struct phy_device *phydev) in adin_config_aneg()
145 static int adin_phy_ack_intr(struct phy_device *phydev) in adin_phy_ack_intr()
154 static int adin_config_intr(struct phy_device *phydev) in adin_config_intr()
173 static irqreturn_t adin_phy_handle_interrupt(struct phy_device *phydev) in adin_phy_handle_interrupt()
192 static int adin_set_powerdown_mode(struct phy_device *phydev, bool en) in adin_set_powerdown_mode()
208 static int adin_suspend(struct phy_device *phydev) in adin_suspend()
213 static int adin_resume(struct phy_device *phydev) in adin_resume()
218 static int adin_set_loopback(struct phy_device *phydev, bool enable, int speed) in adin_set_loopback()
232 static int adin_soft_reset(struct phy_device *phydev) in adin_soft_reset()
[all …]
H A Dmxl-gpy.c187 struct phy_device *phydev = dev_get_drvdata(dev); in gpy_hwmon_read() local
224 static int gpy_hwmon_register(struct phy_device *phydev) in gpy_hwmon_register()
236 static int gpy_hwmon_register(struct phy_device *phydev) in gpy_hwmon_register()
242 static int gpy_ack_interrupt(struct phy_device *phydev) in gpy_ack_interrupt()
251 static int gpy_mbox_read(struct phy_device *phydev, u32 addr) in gpy_mbox_read()
290 static int gpy_config_init(struct phy_device *phydev) in gpy_config_init()
296 static int gpy21x_config_init(struct phy_device *phydev) in gpy21x_config_init()
304 static int gpy_probe(struct phy_device *phydev) in gpy_probe()
344 static bool gpy_sgmii_need_reaneg(struct phy_device *phydev) in gpy_sgmii_need_reaneg()
360 static bool gpy_2500basex_chk(struct phy_device *phydev) in gpy_2500basex_chk()
[all …]
H A Dnxp-c45-tja11xx.c300 struct nxp_c45_phy_data *nxp_c45_get_data(struct phy_device *phydev) in nxp_c45_get_data()
306 struct nxp_c45_regmap *nxp_c45_get_regmap(struct phy_device *phydev) in nxp_c45_get_regmap()
313 static int nxp_c45_read_reg_field(struct phy_device *phydev, in nxp_c45_read_reg_field()
337 static int nxp_c45_write_reg_field(struct phy_device *phydev, in nxp_c45_write_reg_field()
358 static int nxp_c45_set_reg_field(struct phy_device *phydev, in nxp_c45_set_reg_field()
369 static int nxp_c45_clear_reg_field(struct phy_device *phydev, in nxp_c45_clear_reg_field()
380 static bool nxp_c45_poll_txts(struct phy_device *phydev) in nxp_c45_poll_txts()
533 static bool tja1120_extts_is_valid(struct phy_device *phydev) in tja1120_extts_is_valid()
549 struct phy_device *phydev = priv->phydev; in tja1120_get_extts() local
582 struct phy_device *phydev = priv->phydev; in nxp_c45_read_egress_ts() local
[all …]
H A Ddp83tg720.c210 static int dp83tg720_update_stats(struct phy_device *phydev) in dp83tg720_update_stats()
276 static int dp83tg720_soft_reset(struct phy_device *phydev) in dp83tg720_soft_reset()
296 static void dp83tg720_get_link_stats(struct phy_device *phydev, in dp83tg720_get_link_stats()
304 static void dp83tg720_get_phy_stats(struct phy_device *phydev, in dp83tg720_get_phy_stats()
324 static int dp83tg720_cable_test_start(struct phy_device *phydev) in dp83tg720_cable_test_start()
385 static int dp83tg720_cable_test_get_status(struct phy_device *phydev, in dp83tg720_cable_test_get_status()
437 static int dp83tg720_config_aneg(struct phy_device *phydev) in dp83tg720_config_aneg()
455 static int dp83tg720_read_status(struct phy_device *phydev) in dp83tg720_read_status()
508 static int dp83tg720_get_sqi(struct phy_device *phydev) in dp83tg720_get_sqi()
522 static int dp83tg720_get_sqi_max(struct phy_device *phydev) in dp83tg720_get_sqi_max()
[all …]
H A Ddp83869.c156 static int dp83869_config_aneg(struct phy_device *phydev) in dp83869_config_aneg()
166 static int dp83869_read_status(struct phy_device *phydev) in dp83869_read_status()
191 static int dp83869_ack_interrupt(struct phy_device *phydev) in dp83869_ack_interrupt()
201 static int dp83869_config_intr(struct phy_device *phydev) in dp83869_config_intr()
234 static irqreturn_t dp83869_handle_interrupt(struct phy_device *phydev) in dp83869_handle_interrupt()
258 static int dp83869_set_wol(struct phy_device *phydev, in dp83869_set_wol()
353 static void dp83869_get_wol(struct phy_device *phydev, in dp83869_get_wol()
415 static int dp83869_get_downshift(struct phy_device *phydev, u8 *data) in dp83869_get_downshift()
448 static int dp83869_set_downshift(struct phy_device *phydev, u8 cnt) in dp83869_set_downshift()
486 static int dp83869_get_tunable(struct phy_device *phydev, in dp83869_get_tunable()
[all …]
/linux/drivers/net/phy/mscc/
H A Dmscc_main.c115 static int vsc85xx_phy_read_page(struct phy_device *phydev) in vsc85xx_phy_read_page()
120 static int vsc85xx_phy_write_page(struct phy_device *phydev, int page) in vsc85xx_phy_write_page()
125 static int vsc85xx_get_sset_count(struct phy_device *phydev) in vsc85xx_get_sset_count()
135 static void vsc85xx_get_strings(struct phy_device *phydev, u8 *data) in vsc85xx_get_strings()
147 static u64 vsc85xx_get_stat(struct phy_device *phydev, int i) in vsc85xx_get_stat()
163 static void vsc85xx_get_stats(struct phy_device *phydev, in vsc85xx_get_stats()
176 static int vsc85xx_led_cntl_set(struct phy_device *phydev, in vsc85xx_led_cntl_set()
193 static int vsc85xx_mdix_get(struct phy_device *phydev, u8 *mdix) in vsc85xx_mdix_get()
206 static int vsc85xx_mdix_set(struct phy_device *phydev, u8 mdix) in vsc85xx_mdix_set()
241 static int vsc85xx_downshift_get(struct phy_device *phydev, u8 *count) in vsc85xx_downshift_get()
[all …]
H A Dmscc_ptp.c28 static int phy_ts_base_write(struct phy_device *phydev, u32 regnum, u16 val) in phy_ts_base_write()
38 static int phy_ts_base_read(struct phy_device *phydev, u32 regnum) in phy_ts_base_read()
63 static u32 vsc85xx_ts_read_csr(struct phy_device *phydev, enum ts_blk blk, in vsc85xx_ts_read_csr()
107 static void vsc85xx_ts_write_csr(struct phy_device *phydev, enum ts_blk blk, in vsc85xx_ts_write_csr()
167 static int vsc85xx_ts_fsb_init(struct phy_device *phydev) in vsc85xx_ts_fsb_init()
246 static void vsc85xx_ts_set_latencies(struct phy_device *phydev) in vsc85xx_ts_set_latencies()
292 static int vsc85xx_ts_disable_flows(struct phy_device *phydev, enum ts_blk blk) in vsc85xx_ts_disable_flows()
345 static int vsc85xx_ts_eth_cmp1_sig(struct phy_device *phydev) in vsc85xx_ts_eth_cmp1_sig()
506 static int vsc85xx_ptp_cmp_init(struct phy_device *phydev, enum ts_blk blk) in vsc85xx_ptp_cmp_init()
540 static int vsc85xx_eth_cmp1_init(struct phy_device *phydev, enum ts_blk blk) in vsc85xx_eth_cmp1_init()
[all …]
H A Dmscc_serdes.c14 static int pll5g_detune(struct phy_device *phydev) in pll5g_detune()
29 static int pll5g_tune(struct phy_device *phydev) in pll5g_tune()
43 static int vsc85xx_sd6g_pll_cfg_wr(struct phy_device *phydev, in vsc85xx_sd6g_pll_cfg_wr()
60 static int vsc85xx_sd6g_common_cfg_wr(struct phy_device *phydev, in vsc85xx_sd6g_common_cfg_wr()
89 static int vsc85xx_sd6g_des_cfg_wr(struct phy_device *phydev, in vsc85xx_sd6g_des_cfg_wr()
113 static int vsc85xx_sd6g_ib_cfg0_wr(struct phy_device *phydev, in vsc85xx_sd6g_ib_cfg0_wr()
138 static int vsc85xx_sd6g_ib_cfg1_wr(struct phy_device *phydev, in vsc85xx_sd6g_ib_cfg1_wr()
162 static int vsc85xx_sd6g_ib_cfg2_wr(struct phy_device *phydev, in vsc85xx_sd6g_ib_cfg2_wr()
184 static int vsc85xx_sd6g_ib_cfg3_wr(struct phy_device *phydev, in vsc85xx_sd6g_ib_cfg3_wr()
203 static int vsc85xx_sd6g_ib_cfg4_wr(struct phy_device *phydev, in vsc85xx_sd6g_ib_cfg4_wr()
[all …]
H A Dmscc_macsec.c22 static u32 vsc8584_macsec_phy_read(struct phy_device *phydev, in vsc8584_macsec_phy_read()
61 static void vsc8584_macsec_phy_write(struct phy_device *phydev, in vsc8584_macsec_phy_write()
96 static void vsc8584_macsec_classification(struct phy_device *phydev, in vsc8584_macsec_classification()
106 static void vsc8584_macsec_flow_default_action(struct phy_device *phydev, in vsc8584_macsec_flow_default_action()
153 static void vsc8584_macsec_integrity_checks(struct phy_device *phydev, in vsc8584_macsec_integrity_checks()
175 static void vsc8584_macsec_block_init(struct phy_device *phydev, in vsc8584_macsec_block_init()
244 static void vsc8584_macsec_mac_init(struct phy_device *phydev, in vsc8584_macsec_mac_init()
319 static int __vsc8584_macsec_init(struct phy_device *phydev) in __vsc8584_macsec_init()
370 static void vsc8584_macsec_flow(struct phy_device *phydev, in vsc8584_macsec_flow()
461 static void vsc8584_macsec_flow_enable(struct phy_device *phydev, in vsc8584_macsec_flow_enable()
[all …]
/linux/drivers/net/phy/realtek/
H A Drealtek_main.c177 static int rtl821x_read_page(struct phy_device *phydev) in rtl821x_read_page()
182 static int rtl821x_write_page(struct phy_device *phydev, int page) in rtl821x_write_page()
187 static int rtl821x_read_ext_page(struct phy_device *phydev, u16 ext_page, in rtl821x_read_ext_page()
202 static int rtl821x_modify_ext_page(struct phy_device *phydev, u16 ext_page, in rtl821x_modify_ext_page()
217 static int rtl821x_probe(struct phy_device *phydev) in rtl821x_probe()
257 static int rtl8211f_probe(struct phy_device *phydev) in rtl8211f_probe()
285 static int rtl8201_ack_interrupt(struct phy_device *phydev) in rtl8201_ack_interrupt()
294 static int rtl821x_ack_interrupt(struct phy_device *phydev) in rtl821x_ack_interrupt()
303 static int rtl8211f_ack_interrupt(struct phy_device *phydev) in rtl8211f_ack_interrupt()
312 static int rtl8201_config_intr(struct phy_device *phydev) in rtl8201_config_intr()
[all …]
/linux/drivers/net/phy/qcom/
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()
47 int at803x_debug_reg_write(struct phy_device *phydev, u16 reg, u16 data) in at803x_debug_reg_write()
59 int at803x_set_wol(struct phy_device *phydev, in at803x_set_wol()
118 int at8031_set_wol(struct phy_device *phydev, in at8031_set_wol()
143 void at803x_get_wol(struct phy_device *phydev, in at803x_get_wol()
160 int at803x_ack_interrupt(struct phy_device *phydev) in at803x_ack_interrupt()
170 int at803x_config_intr(struct phy_device *phydev) in at803x_config_intr()
203 irqreturn_t at803x_handle_interrupt(struct phy_device *phydev) in at803x_handle_interrupt()
230 int at803x_read_specific_status(struct phy_device *phydev, in at803x_read_specific_status()
[all …]
H A Dqca808x.c99 static int qca808x_phy_fast_retrain_config(struct phy_device *phydev) in qca808x_phy_fast_retrain_config()
134 static int qca808x_phy_ms_seed_enable(struct phy_device *phydev, bool enable) in qca808x_phy_ms_seed_enable()
149 static bool qca808x_is_prefer_master(struct phy_device *phydev) in qca808x_is_prefer_master()
155 static bool qca808x_has_fast_retrain_or_slave_seed(struct phy_device *phydev) in qca808x_has_fast_retrain_or_slave_seed()
160 static bool qca808x_is_1g_only(struct phy_device *phydev) in qca808x_is_1g_only()
171 static void qca808x_fill_possible_interfaces(struct phy_device *phydev) in qca808x_fill_possible_interfaces()
181 static int qca808x_probe(struct phy_device *phydev) in qca808x_probe()
198 static int qca808x_config_init(struct phy_device *phydev) in qca808x_config_init()
257 static int qca808x_read_status(struct phy_device *phydev) in qca808x_read_status()
308 static int qca808x_soft_reset(struct phy_device *phydev) in qca808x_soft_reset()
[all …]
/linux/drivers/net/phy/mediatek/
H A Dmtk-phy-lib.c14 static void __mtk_tr_access(struct phy_device *phydev, bool read, u8 ch_addr, in __mtk_tr_access()
29 static void __mtk_tr_read(struct phy_device *phydev, u8 ch_addr, u8 node_addr, in __mtk_tr_read()
39 static void __mtk_tr_write(struct phy_device *phydev, u8 ch_addr, u8 node_addr, in __mtk_tr_write()
49 void __mtk_tr_modify(struct phy_device *phydev, u8 ch_addr, u8 node_addr, in __mtk_tr_modify()
63 void mtk_tr_modify(struct phy_device *phydev, u8 ch_addr, u8 node_addr, in mtk_tr_modify()
72 void __mtk_tr_set_bits(struct phy_device *phydev, u8 ch_addr, u8 node_addr, in __mtk_tr_set_bits()
79 void __mtk_tr_clr_bits(struct phy_device *phydev, u8 ch_addr, u8 node_addr, in __mtk_tr_clr_bits()
86 int mtk_phy_read_page(struct phy_device *phydev) in mtk_phy_read_page()
92 int mtk_phy_write_page(struct phy_device *phydev, int page) in mtk_phy_write_page()
98 int mtk_phy_led_hw_is_supported(struct phy_device *phydev, u8 index, in mtk_phy_led_hw_is_supported()
[all …]
/linux/net/ethtool/
H A Dcabletest.c20 static int ethnl_cable_test_started(struct phy_device *phydev, u8 cmd) in ethnl_cable_test_started()
62 struct phy_device *phydev; in ethnl_act_cable_test() local
109 int ethnl_cable_test_alloc(struct phy_device *phydev, u8 cmd) in ethnl_cable_test_alloc()
152 void ethnl_cable_test_free(struct phy_device *phydev) in ethnl_cable_test_free()
159 void ethnl_cable_test_finished(struct phy_device *phydev) in ethnl_cable_test_finished()
169 int ethnl_cable_test_result_with_src(struct phy_device *phydev, u8 pair, in ethnl_cable_test_result_with_src()
197 int ethnl_cable_test_fault_length_with_src(struct phy_device *phydev, u8 pair, in ethnl_cable_test_fault_length_with_src()
325 struct phy_device *phydev; in ethnl_act_cable_test_tdr() local
380 int ethnl_cable_test_amplitude(struct phy_device *phydev, in ethnl_cable_test_amplitude()
405 int ethnl_cable_test_pulse(struct phy_device *phydev, u16 mV) in ethnl_cable_test_pulse()
[all …]
/linux/include/linux/
H A Dethtool_netlink.h49 static inline int ethnl_cable_test_alloc(struct phy_device *phydev, u8 cmd) in ethnl_cable_test_alloc()
54 static inline void ethnl_cable_test_free(struct phy_device *phydev) in ethnl_cable_test_free()
58 static inline void ethnl_cable_test_finished(struct phy_device *phydev) in ethnl_cable_test_finished()
61 static inline int ethnl_cable_test_result_with_src(struct phy_device *phydev, in ethnl_cable_test_result_with_src()
67 static inline int ethnl_cable_test_fault_length_with_src(struct phy_device *phydev, in ethnl_cable_test_fault_length_with_src()
73 static inline int ethnl_cable_test_amplitude(struct phy_device *phydev, in ethnl_cable_test_amplitude()
79 static inline int ethnl_cable_test_pulse(struct phy_device *phydev, u16 mV) in ethnl_cable_test_pulse()
84 static inline int ethnl_cable_test_step(struct phy_device *phydev, u32 first, in ethnl_cable_test_step()
132 static inline int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, in ethnl_cable_test_result()
139 static inline int ethnl_cable_test_fault_length(struct phy_device *phydev, in ethnl_cable_test_fault_length()

123456