Home
last modified time | relevance | path

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

123456

/linux/drivers/net/phy/
H A Dphy-c45.c19 static bool genphy_c45_baset1_able(struct phy_device *phydev) in genphy_c45_baset1_able()
38 static bool genphy_c45_pma_can_sleep(struct phy_device *phydev) in genphy_c45_pma_can_sleep()
53 int genphy_c45_pma_resume(struct phy_device *phydev) in genphy_c45_pma_resume()
67 int genphy_c45_pma_suspend(struct phy_device *phydev) in genphy_c45_pma_suspend()
82 int genphy_c45_pma_baset1_setup_master_slave(struct phy_device *phydev) in genphy_c45_pma_baset1_setup_master_slave()
111 int genphy_c45_pma_setup_forced(struct phy_device *phydev) in genphy_c45_pma_setup_forced()
204 static int genphy_c45_baset1_an_config_aneg(struct phy_device *phydev) in genphy_c45_baset1_an_config_aneg()
269 int genphy_c45_an_config_aneg(struct phy_device *phydev) in genphy_c45_an_config_aneg()
321 int genphy_c45_an_disable_aneg(struct phy_device *phydev) in genphy_c45_an_disable_aneg()
341 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 Dbcm-phy-lib.c21 int __bcm_phy_write_exp(struct phy_device *phydev, u16 reg, u16 val) in __bcm_phy_write_exp()
33 int bcm_phy_write_exp(struct phy_device *phydev, u16 reg, u16 val) in bcm_phy_write_exp()
45 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()
74 int __bcm_phy_modify_exp(struct phy_device *phydev, u16 reg, u16 mask, u16 set) in __bcm_phy_modify_exp()
94 int bcm_phy_modify_exp(struct phy_device *phydev, u16 reg, u16 mask, u16 set) in bcm_phy_modify_exp()
106 int bcm54xx_auxctl_read(struct phy_device *phydev, u16 regnum) in bcm54xx_auxctl_read()
117 int bcm54xx_auxctl_write(struct phy_device *phydev, u16 regnum, u16 val) in bcm54xx_auxctl_write()
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()
[all …]
H A Dphy_device.c210 void phy_device_free(struct phy_device *phydev) in phy_device_free()
218 struct phy_device *phydev; in phy_mdio_device_free() local
232 struct phy_device *phydev; in phy_mdio_device_remove() local
243 static bool phy_drv_wol_enabled(struct phy_device *phydev) in phy_drv_wol_enabled()
252 bool phy_may_wakeup(struct phy_device *phydev) in phy_may_wakeup()
262 static void phy_link_change(struct phy_device *phydev, bool up) in phy_link_change()
293 static bool phy_uses_state_machine(struct phy_device *phydev) in phy_uses_state_machine()
301 static bool mdio_bus_phy_may_suspend(struct phy_device *phydev) in mdio_bus_phy_may_suspend()
348 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_suspend() local
380 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_resume() local
[all …]
H A Dmarvell.c359 static int marvell_read_page(struct phy_device *phydev) in marvell_read_page()
364 static int marvell_write_page(struct phy_device *phydev, int page) in marvell_write_page()
369 static int marvell_set_page(struct phy_device *phydev, int page) in marvell_set_page()
374 static int marvell_ack_interrupt(struct phy_device *phydev) in marvell_ack_interrupt()
387 static int marvell_config_intr(struct phy_device *phydev) in marvell_config_intr()
410 static irqreturn_t marvell_handle_interrupt(struct phy_device *phydev) in marvell_handle_interrupt()
428 static int marvell_set_polarity(struct phy_device *phydev, int polarity) in marvell_set_polarity()
450 static int marvell_config_aneg(struct phy_device *phydev) in marvell_config_aneg()
483 static int m88e1101_config_aneg(struct phy_device *phydev) in m88e1101_config_aneg()
532 static int marvell_of_reg_init(struct phy_device *phydev) in marvell_of_reg_init()
[all …]
H A Dmarvell-88q2xxx.c220 static int mv88q2xxx_write_mmd_vals(struct phy_device *phydev, in mv88q2xxx_write_mmd_vals()
235 static int mv88q2xxx_soft_reset(struct phy_device *phydev) in mv88q2xxx_soft_reset()
270 static int mv88q2xxx_read_link_gbit(struct phy_device *phydev) in mv88q2xxx_read_link_gbit()
315 static int mv88q2xxx_read_link_100m(struct phy_device *phydev) in mv88q2xxx_read_link_100m()
361 static int mv88q2xxx_read_link(struct phy_device *phydev) in mv88q2xxx_read_link()
377 static int mv88q2xxx_read_master_slave_state(struct phy_device *phydev) in mv88q2xxx_read_master_slave_state()
394 static int mv88q2xxx_read_aneg_speed(struct phy_device *phydev) in mv88q2xxx_read_aneg_speed()
414 static int mv88q2xxx_read_status(struct phy_device *phydev) in mv88q2xxx_read_status()
454 static int mv88q2xxx_get_features(struct phy_device *phydev) in mv88q2xxx_get_features()
473 static int mv88q2xxx_config_aneg(struct phy_device *phydev) in mv88q2xxx_config_aneg()
[all …]
H A Dnxp-tja11xx.c90 struct phy_device *phydev; member
111 static int tja11xx_check(struct phy_device *phydev, u8 reg, u16 mask, u16 set) in tja11xx_check()
119 static int phy_modify_check(struct phy_device *phydev, u8 reg, in phy_modify_check()
131 static int tja11xx_enable_reg_write(struct phy_device *phydev) in tja11xx_enable_reg_write()
136 static int tja11xx_enable_link_control(struct phy_device *phydev) in tja11xx_enable_link_control()
141 static int tja11xx_disable_link_control(struct phy_device *phydev) in tja11xx_disable_link_control()
146 static int tja11xx_wakeup(struct phy_device *phydev) in tja11xx_wakeup()
200 static int tja11xx_soft_reset(struct phy_device *phydev) in tja11xx_soft_reset()
211 static int tja11xx_config_aneg_cable_test(struct phy_device *phydev) in tja11xx_config_aneg_cable_test()
244 static int tja11xx_config_aneg(struct phy_device *phydev) in tja11xx_config_aneg()
[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()
62 void phy_package_lock(struct phy_device *phydev) in phy_package_lock()
72 void phy_package_unlock(struct phy_device *phydev) in phy_package_unlock()
78 static int phy_package_address(struct phy_device *phydev, in phy_package_address()
93 int __phy_package_read(struct phy_device *phydev, unsigned int addr_offset, in __phy_package_read()
105 int __phy_package_write(struct phy_device *phydev, unsigned int addr_offset, in __phy_package_write()
132 int __phy_package_read_mmd(struct phy_device *phydev, in __phy_package_read_mmd()
165 int __phy_package_write_mmd(struct phy_device *phydev, in __phy_package_write_mmd()
182 static bool __phy_package_set_once(struct phy_device *phydev, unsigned int b) in __phy_package_set_once()
[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 Dmotorcomm.c406 static int ytphy_read_ext(struct phy_device *phydev, u16 regnum) in ytphy_read_ext()
424 static int ytphy_read_ext_with_lock(struct phy_device *phydev, u16 regnum) in ytphy_read_ext_with_lock()
445 static int ytphy_write_ext(struct phy_device *phydev, u16 regnum, u16 val) in ytphy_write_ext()
464 static int ytphy_write_ext_with_lock(struct phy_device *phydev, u16 regnum, in ytphy_write_ext_with_lock()
489 static int ytphy_modify_ext(struct phy_device *phydev, u16 regnum, u16 mask, in ytphy_modify_ext()
513 static int ytphy_modify_ext_with_lock(struct phy_device *phydev, u16 regnum, in ytphy_modify_ext_with_lock()
532 static void ytphy_get_wol(struct phy_device *phydev, in ytphy_get_wol()
559 static int ytphy_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) in ytphy_set_wol()
631 static int yt8531_set_wol(struct phy_device *phydev, in yt8531_set_wol()
686 static int yt8511_read_page(struct phy_device *phydev) in yt8511_read_page()
[all …]
H A Dmicrel.c415 struct phy_device *phydev; member
433 struct phy_device *phydev; member
554 static int kszphy_extended_write(struct phy_device *phydev, in kszphy_extended_write()
561 static int kszphy_extended_read(struct phy_device *phydev, in kszphy_extended_read()
568 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt()
578 static int kszphy_config_intr(struct phy_device *phydev) in kszphy_config_intr()
614 static irqreturn_t kszphy_handle_interrupt(struct phy_device *phydev) in kszphy_handle_interrupt()
632 static int kszphy_rmii_clk_sel(struct phy_device *phydev, bool val) in kszphy_rmii_clk_sel()
648 static int kszphy_setup_led(struct phy_device *phydev, u32 reg, int val) in kszphy_setup_led()
682 static int kszphy_broadcast_disable(struct phy_device *phydev) in kszphy_broadcast_disable()
[all …]
H A Dbcm7xxx.c50 static int bcm7xxx_28nm_d0_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_d0_afe_config_init()
90 static int bcm7xxx_28nm_e0_plus_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_e0_plus_afe_config_init()
118 static int bcm7xxx_28nm_a0_patch_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_a0_patch_afe_config_init()
143 static int bcm7xxx_28nm_config_init(struct phy_device *phydev) in bcm7xxx_28nm_config_init()
206 static int bcm7xxx_28nm_resume(struct phy_device *phydev) in bcm7xxx_28nm_resume()
254 static int bcm7xxx_28nm_ephy_01_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_ephy_01_afe_config_init()
300 static int bcm7xxx_28nm_ephy_apd_enable(struct phy_device *phydev) in bcm7xxx_28nm_ephy_apd_enable()
325 static int bcm7xxx_28nm_ephy_eee_enable(struct phy_device *phydev) in bcm7xxx_28nm_ephy_eee_enable()
388 static int bcm7xxx_28nm_ephy_config_init(struct phy_device *phydev) in bcm7xxx_28nm_ephy_config_init()
417 static int bcm7xxx_16nm_ephy_afe_config(struct phy_device *phydev) in bcm7xxx_16nm_ephy_afe_config()
[all …]
H A Dair_en8811h.c202 struct phy_device *phydev; member
273 static int __air_write_buf(struct phy_device *phydev, u32 address, in __air_write_buf()
309 static int air_write_buf(struct phy_device *phydev, u32 address, in air_write_buf()
327 static int en8811h_wait_mcu_ready(struct phy_device *phydev) in en8811h_wait_mcu_ready()
349 static int an8811hb_check_crc(struct phy_device *phydev, u32 set1, in an8811hb_check_crc()
387 static void en8811h_print_fw_version(struct phy_device *phydev) in en8811h_print_fw_version()
397 static int an8811hb_load_file(struct phy_device *phydev, const char *name, in an8811hb_load_file()
413 static int an8811hb_mcu_assert(struct phy_device *phydev) in an8811hb_mcu_assert()
437 static int an8811hb_mcu_deassert(struct phy_device *phydev) in an8811hb_mcu_deassert()
462 static int an8811hb_load_firmware(struct phy_device *phydev) in an8811hb_load_firmware()
[all …]
H A Dmicrochip_t1.c334 static int lan937x_dsp_workaround(struct phy_device *phydev, u16 ereg, u8 bank) in lan937x_dsp_workaround()
365 static int access_ereg(struct phy_device *phydev, u8 mode, u8 bank, in access_ereg()
410 static int access_ereg_modify_changed(struct phy_device *phydev, in access_ereg_modify_changed()
428 static int access_smi_poll_timeout(struct phy_device *phydev, in access_smi_poll_timeout()
437 static int lan87xx_config_rgmii_delay(struct phy_device *phydev) in lan87xx_config_rgmii_delay()
474 static int lan87xx_phy_init_cmd(struct phy_device *phydev, in lan87xx_phy_init_cmd()
498 static int lan87xx_phy_init(struct phy_device *phydev) in lan87xx_phy_init()
689 static int lan87xx_phy_config_intr(struct phy_device *phydev) in lan87xx_phy_config_intr()
748 static irqreturn_t lan87xx_handle_interrupt(struct phy_device *phydev) in lan87xx_handle_interrupt()
774 static int lan87xx_config_init(struct phy_device *phydev) in lan87xx_config_init()
[all …]
H A Ddp83867.c201 static int dp83867_ack_interrupt(struct phy_device *phydev) in dp83867_ack_interrupt()
211 static int dp83867_set_wol(struct phy_device *phydev, in dp83867_set_wol()
277 static void dp83867_get_wol(struct phy_device *phydev, in dp83867_get_wol()
320 static int dp83867_config_intr(struct phy_device *phydev) in dp83867_config_intr()
354 static irqreturn_t dp83867_handle_interrupt(struct phy_device *phydev) in dp83867_handle_interrupt()
378 static int dp83867_read_status(struct phy_device *phydev) in dp83867_read_status()
421 static int dp83867_get_downshift(struct phy_device *phydev, u8 *data) in dp83867_get_downshift()
454 static int dp83867_set_downshift(struct phy_device *phydev, u8 cnt) in dp83867_set_downshift()
492 static int dp83867_get_tunable(struct phy_device *phydev, in dp83867_get_tunable()
503 static int dp83867_set_tunable(struct phy_device *phydev, in dp83867_set_tunable()
[all …]
H A Dmicrochip_t1s.c147 static int lan865x_revb_indirect_read(struct phy_device *phydev, u16 addr) in lan865x_revb_indirect_read()
167 static int lan865x_generate_cfg_offsets(struct phy_device *phydev, s8 offsets[]) in lan865x_generate_cfg_offsets()
188 static int lan865x_read_cfg_params(struct phy_device *phydev, in lan865x_read_cfg_params()
205 static int lan865x_write_cfg_params(struct phy_device *phydev, in lan865x_write_cfg_params()
221 static int lan865x_setup_cfgparam(struct phy_device *phydev, s8 offsets[]) in lan865x_setup_cfgparam()
241 static int lan865x_setup_sqi_cfgparam(struct phy_device *phydev, s8 offsets[]) in lan865x_setup_sqi_cfgparam()
263 static int lan865x_revb_config_init(struct phy_device *phydev) in lan865x_revb_config_init()
304 static int lan867x_check_reset_complete(struct phy_device *phydev) in lan867x_check_reset_complete()
329 static int lan867x_revc_config_init(struct phy_device *phydev) in lan867x_revc_config_init()
381 static int lan867x_revb1_config_init(struct phy_device *phydev) in lan867x_revb1_config_init()
[all …]
H A Dnxp-c45-tja11xx-macsec.c290 static int nxp_c45_macsec_write(struct phy_device *phydev, u16 addr, u32 value) in nxp_c45_macsec_write()
312 static int nxp_c45_macsec_read(struct phy_device *phydev, u16 addr, u32 *value) in nxp_c45_macsec_read()
339 static void nxp_c45_macsec_read32_64(struct phy_device *phydev, u16 addr, in nxp_c45_macsec_read32_64()
348 static void nxp_c45_macsec_read64(struct phy_device *phydev, u16 addr, in nxp_c45_macsec_read64()
359 static void nxp_c45_secy_irq_en(struct phy_device *phydev, in nxp_c45_secy_irq_en()
466 static void nxp_c45_sa_set_pn(struct phy_device *phydev, in nxp_c45_sa_set_pn()
492 struct phy_device *phydev = ctx->phydev; in nxp_c45_sa_set_key() local
520 static void nxp_c45_rx_sa_clear_stats(struct phy_device *phydev, in nxp_c45_rx_sa_clear_stats()
531 static void nxp_c45_rx_sa_read_stats(struct phy_device *phydev, in nxp_c45_rx_sa_read_stats()
540 static void nxp_c45_tx_sa_clear_stats(struct phy_device *phydev, in nxp_c45_tx_sa_clear_stats()
[all …]
/linux/drivers/net/phy/realtek/
H A Drealtek_main.c348 static int rtl821x_read_page(struct phy_device *phydev) in rtl821x_read_page()
353 static int rtl821x_write_page(struct phy_device *phydev, int page) in rtl821x_write_page()
358 static int rtl821x_read_ext_page(struct phy_device *phydev, u16 ext_page, in rtl821x_read_ext_page()
373 static int rtl821x_modify_ext_page(struct phy_device *phydev, u16 ext_page, in rtl821x_modify_ext_page()
388 static int rtl8261x_probe(struct phy_device *phydev) in rtl8261x_probe()
429 static int rtl8261x_get_features(struct phy_device *phydev) in rtl8261x_get_features()
448 static int rtl8261x_read_status(struct phy_device *phydev) in rtl8261x_read_status()
474 static int rtl8261x_verify_firmware(struct phy_device *phydev, const struct firmware *fw) in rtl8261x_verify_firmware()
521 static int rtl8261x_fw_execute_entry(struct phy_device *phydev, in rtl8261x_fw_execute_entry()
581 static int rtl8261x_fw_load(struct phy_device *phydev) in rtl8261x_fw_load()
[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 Dat803x.c184 static int at803x_write_page(struct phy_device *phydev, int page) in at803x_write_page() argument
200 static int at803x_read_page(struct phy_device *phydev) in at803x_read_page() argument
213 static int at803x_enable_rx_delay(struct phy_device *phydev) in at803x_enable_rx_delay() argument
219 static int at803x_enable_tx_delay(struct phy_device *phydev) in at803x_enable_tx_delay() argument
225 static int at803x_disable_rx_delay(struct phy_device *phydev) in at803x_disable_rx_delay() argument
231 at803x_disable_tx_delay(struct phy_device * phydev) at803x_disable_tx_delay() argument
238 at803x_context_save(struct phy_device * phydev,struct at803x_context * context) at803x_context_save() argument
250 at803x_context_restore(struct phy_device * phydev,const struct at803x_context * context) at803x_context_restore() argument
261 at803x_suspend(struct phy_device * phydev) at803x_suspend() argument
279 at803x_resume(struct phy_device * phydev) at803x_resume() argument
284 at803x_parse_dt(struct phy_device * phydev) at803x_parse_dt() argument
363 at803x_probe(struct phy_device * phydev) at803x_probe() argument
382 at803x_get_features(struct phy_device * phydev) at803x_get_features() argument
412 at803x_smarteee_config(struct phy_device * phydev) at803x_smarteee_config() argument
444 at803x_clk_out_config(struct phy_device * phydev) at803x_clk_out_config() argument
455 at8031_pll_config(struct phy_device * phydev) at8031_pll_config() argument
470 at803x_hibernation_mode_config(struct phy_device * phydev) at803x_hibernation_mode_config() argument
485 at803x_config_init(struct phy_device * phydev) at803x_config_init() argument
531 at803x_link_change_notify(struct phy_device * phydev) at803x_link_change_notify() argument
556 at803x_config_aneg(struct phy_device * phydev) at803x_config_aneg() argument
602 at803x_cable_test_one_pair(struct phy_device * phydev,int pair) at803x_cable_test_one_pair() argument
641 at803x_cable_test_get_status(struct phy_device * phydev,bool * finished,unsigned long pair_mask) at803x_cable_test_get_status() argument
673 at803x_cable_test_autoneg(struct phy_device * phydev) at803x_cable_test_autoneg() argument
683 at803x_cable_test_start(struct phy_device * phydev) at803x_cable_test_start() argument
693 struct phy_device *phydev = rdev_get_drvdata(rdev); at8031_rgmii_reg_set_voltage_sel() local
705 struct phy_device *phydev = rdev_get_drvdata(rdev); at8031_rgmii_reg_get_voltage_sel() local
749 at8031_register_regulators(struct phy_device * phydev) at8031_register_regulators() argument
776 struct phy_device *phydev = port_phydev(port); at803x_configure_mii() local
789 at8031_attach_mii_port(struct phy_device * phydev,struct phy_port * port) at8031_attach_mii_port() argument
811 at8031_parse_dt(struct phy_device * phydev) at8031_parse_dt() argument
834 at8031_probe(struct phy_device * phydev) at8031_probe() argument
878 at8031_config_init(struct phy_device * phydev) at8031_config_init() argument
902 at8031_config_intr(struct phy_device * phydev) at8031_config_intr() argument
926 at8031_read_status(struct phy_device * phydev) at8031_read_status() argument
938 at8031_cable_test_get_status(struct phy_device * phydev,bool * finished) at8031_cable_test_get_status() argument
945 at8031_cable_test_start(struct phy_device * phydev) at8031_cable_test_start() argument
954 at8032_cable_test_get_status(struct phy_device * phydev,bool * finished) at8032_cable_test_get_status() argument
960 at8035_parse_dt(struct phy_device * phydev) at8035_parse_dt() argument
988 at8035_probe(struct phy_device * phydev) at8035_probe() argument
999 ipq5018_cable_test_start(struct phy_device * phydev) ipq5018_cable_test_start() argument
1022 ipq5018_config_init(struct phy_device * phydev) ipq5018_config_init() argument
1064 ipq5018_link_change_notify(struct phy_device * phydev) ipq5018_link_change_notify() argument
1075 ipq5018_probe(struct phy_device * phydev) ipq5018_probe() argument
[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/drivers/net/phy/mscc/
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/include/linux/
H A Dethtool_netlink.h46 static inline int ethnl_cable_test_alloc(struct phy_device *phydev, u8 cmd) in ethnl_cable_test_alloc()
51 static inline void ethnl_cable_test_free(struct phy_device *phydev) in ethnl_cable_test_free()
55 static inline void ethnl_cable_test_finished(struct phy_device *phydev) in ethnl_cable_test_finished()
58 static inline int ethnl_cable_test_result_with_src(struct phy_device *phydev, in ethnl_cable_test_result_with_src()
64 static inline int ethnl_cable_test_fault_length_with_src(struct phy_device *phydev, in ethnl_cable_test_fault_length_with_src()
70 static inline int ethnl_cable_test_amplitude(struct phy_device *phydev, in ethnl_cable_test_amplitude()
76 static inline int ethnl_cable_test_pulse(struct phy_device *phydev, u16 mV) in ethnl_cable_test_pulse()
81 static inline int ethnl_cable_test_step(struct phy_device *phydev, u32 first, in ethnl_cable_test_step()
129 static inline int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, in ethnl_cable_test_result()
136 static inline int ethnl_cable_test_fault_length(struct phy_device *phydev, in ethnl_cable_test_fault_length()

123456