Home
last modified time | relevance | path

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

123456789

/linux/include/linux/
H A Dphy.h388 int (*notify_phy_attach)(struct phy_device *phydev);
396 void (*notify_phy_detach)(struct phy_device *phydev);
481 struct phy_device *mdiobus_scan_c22(struct mii_bus *bus, int addr);
577 * struct phy_device - An instance of a PHY
691 struct phy_device { argument
832 void (*phy_link_change)(struct phy_device *phydev, bool up);
843 /* Generic phy_device::dev_flags */
848 #define to_phy_device(__dev) container_of_const(to_mdio_device(__dev), struct phy_device, mdio)
969 struct phy_device *phydev;
1170 int (*soft_reset)(struct phy_device *phyde
668 struct phy_device { global() struct
669 mdiophy_device global() argument
673 drvphy_device global() argument
675 devlinkphy_device global() argument
677 phyindexphy_device global() argument
678 phy_idphy_device global() argument
680 c45_idsphy_device global() argument
681 is_c45phy_device global() argument
682 is_internalphy_device global() argument
683 is_pseudo_fixed_linkphy_device global() argument
684 is_gigabit_capablephy_device global() argument
685 has_fixupsphy_device global() argument
686 suspendedphy_device global() argument
687 suspended_by_mdio_busphy_device global() argument
688 sysfs_linksphy_device global() argument
689 loopback_enabledphy_device global() argument
690 downshifted_ratephy_device global() argument
692 mac_managed_pmphy_device global() argument
693 wol_enabledphy_device global() argument
694 is_genphy_drivenphy_device global() argument
696 autonegphy_device global() argument
698 linkphy_device global() argument
699 autoneg_completephy_device global() argument
700 pausephy_device global() argument
701 asym_pausephy_device global() argument
704 interruptsphy_device global() argument
705 irq_suspendedphy_device global() argument
706 irq_rerunphy_device global() argument
708 default_timestampphy_device global() argument
710 rate_matchingphy_device global() argument
712 statephy_device global() argument
714 dev_flagsphy_device global() argument
716 interfacephy_device global() argument
723 speedphy_device global() argument
724 duplexphy_device global() argument
725 portphy_device global() argument
726 master_slave_getphy_device global() argument
727 master_slave_setphy_device global() argument
728 master_slave_statephy_device global() argument
742 enable_tx_lpiphy_device global() argument
743 eee_activephy_device global() argument
744 autonomous_eee_disabledphy_device global() argument
745 eee_cfgphy_device global() argument
751 phy_led_triggersphy_device global() argument
752 phy_num_led_triggersphy_device global() argument
753 last_triggeredphy_device global() argument
755 led_link_triggerphy_device global() argument
757 ledsphy_device global() argument
763 irqphy_device global() argument
767 privphy_device global() argument
772 sharedphy_device global() argument
776 skbphy_device global() argument
777 ehdrphy_device global() argument
778 nestphy_device global() argument
804 phy_link_changephy_device global() argument
815 oatc14_sqi_capabilityphy_device global() argument
[all...]
H A Dethtool_netlink.h17 struct phy_device;
20 int ethnl_cable_test_alloc(struct phy_device *phydev, u8 cmd);
21 void ethnl_cable_test_free(struct phy_device *phydev);
22 void ethnl_cable_test_finished(struct phy_device *phydev);
23 int ethnl_cable_test_result_with_src(struct phy_device *phydev, u8 pair,
25 int ethnl_cable_test_fault_length_with_src(struct phy_device *phydev, u8 pair,
27 int ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV);
28 int ethnl_cable_test_pulse(struct phy_device *phydev, u16 mV);
29 int ethnl_cable_test_step(struct phy_device *phydev, u32 first, u32 last,
46 static inline int ethnl_cable_test_alloc(struct phy_device *phydev, u8 cmd) in ethnl_cable_test_alloc()
[all …]
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 Dsmscphy.h31 int smsc_phy_config_intr(struct phy_device *phydev);
32 irqreturn_t smsc_phy_handle_interrupt(struct phy_device *phydev);
33 int smsc_phy_config_init(struct phy_device *phydev);
34 int lan87xx_read_status(struct phy_device *phydev);
35 int smsc_phy_get_tunable(struct phy_device *phydev,
37 int smsc_phy_set_tunable(struct phy_device *phydev,
39 int smsc_phy_probe(struct phy_device *phydev);
/linux/drivers/net/phy/
H A Dbcm-phy-lib.h33 int __bcm_phy_write_exp(struct phy_device *phydev, u16 reg, u16 val);
34 int __bcm_phy_read_exp(struct phy_device *phydev, u16 reg);
35 int __bcm_phy_modify_exp(struct phy_device *phydev, u16 reg, u16 mask, u16 set);
36 int bcm_phy_write_exp(struct phy_device *phydev, u16 reg, u16 val);
37 int bcm_phy_read_exp(struct phy_device *phydev, u16 reg);
38 int bcm_phy_modify_exp(struct phy_device *phydev, u16 reg, u16 mask, u16 set);
40 static inline int bcm_phy_write_exp_sel(struct phy_device *phydev, in bcm_phy_write_exp_sel()
46 static inline int bcm_phy_read_exp_sel(struct phy_device *phydev, u16 reg) in bcm_phy_read_exp_sel()
51 int bcm54xx_auxctl_write(struct phy_device *phydev, u16 regnum, u16 val);
52 int bcm54xx_auxctl_read(struct phy_device *phydev, u16 regnum);
[all …]
H A Dphylib.h10 struct phy_device;
13 struct device_node *phy_package_get_node(struct phy_device *phydev);
14 void *phy_package_get_priv(struct phy_device *phydev);
15 void phy_package_lock(struct phy_device *phydev);
16 void phy_package_unlock(struct phy_device *phydev);
17 int __phy_package_read(struct phy_device *phydev, unsigned int addr_offset,
19 int __phy_package_write(struct phy_device *phydev, unsigned int addr_offset,
21 int __phy_package_read_mmd(struct phy_device *phydev,
24 int __phy_package_write_mmd(struct phy_device *phydev,
27 bool phy_package_init_once(struct phy_device *phydev);
[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 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.c202 void phy_device_free(struct phy_device *phydev) in features_init()
210 struct phy_device *phydev; in phy_device_free()
212 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_device_free()
224 struct phy_device *phydev; in phy_device_release()
226 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_device_release()
232 static bool phy_drv_wol_enabled(struct phy_device *phydev) in phy_mdio_device_remove()
241 bool phy_may_wakeup(struct phy_device *phydev)
251 static void phy_link_change(struct phy_device *phydev, bool up)
282 static bool phy_uses_state_machine(struct phy_device *phydev)
290 static bool mdio_bus_phy_may_suspend(struct phy_device *phyde
439 phy_register_fixup(const char * bus_id,u32 phy_uid,u32 phy_uid_mask,int (* run)(struct phy_device *)) phy_register_fixup() argument
461 phy_register_fixup_for_uid(u32 phy_uid,u32 phy_uid_mask,int (* run)(struct phy_device *)) phy_register_fixup_for_uid() argument
469 phy_register_fixup_for_id(const char * bus_id,int (* run)(struct phy_device *)) phy_register_fixup_for_id() argument
[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 *phyde
[all...]
H A Dnxp-tja11xx.c90 struct phy_device *phydev;
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 *phyde
[all...]
H A Dmarvell.c357 static int marvell_read_page(struct phy_device *phydev)
362 static int marvell_write_page(struct phy_device *phydev, int page) in marvell_read_page()
367 static int marvell_set_page(struct phy_device *phydev, int page) in marvell_write_page()
372 static int marvell_ack_interrupt(struct phy_device *phydev) in marvell_set_page()
385 static int marvell_config_intr(struct phy_device *phydev) in marvell_ack_interrupt()
408 static irqreturn_t __marvell_handle_interrupt(struct phy_device *phydev, in marvell_config_intr()
427 static irqreturn_t marvell_handle_interrupt(struct phy_device *phydev)
436 static u16 m88e1318_wol_imask(struct phy_device *phydev) in marvell_set_polarity()
448 static int m88e1318_config_intr(struct phy_device *phydev) in marvell_set_polarity()
472 static irqreturn_t m88e1318_handle_interrupt(struct phy_device *phyde in marvell_config_aneg()
3655 m88e1510_attach_mii_port(struct phy_device * phy_device,struct phy_port * port) m88e1510_attach_mii_port() argument
[all...]
H A Dphy-c45.c17 * @phydev: target phy_device struct
19 static bool genphy_c45_baset1_able(struct phy_device *phydev) in genphy_c45_baset1_able()
36 * @phydev: target phy_device struct
38 static bool genphy_c45_pma_can_sleep(struct phy_device *phydev) in genphy_c45_pma_can_sleep()
51 * @phydev: target phy_device struct
53 int genphy_c45_pma_resume(struct phy_device *phydev) in genphy_c45_pma_resume()
65 * @phydev: target phy_device struct
67 int genphy_c45_pma_suspend(struct phy_device *phydev) in genphy_c45_pma_suspend()
80 * @phydev: target phy_device struct
82 int genphy_c45_pma_baset1_setup_master_slave(struct phy_device *phyde
[all...]
H A Dmicrel.c415 struct phy_device *phydev;
433 struct phy_device *phydev;
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 *phyde
[all...]
H A Dmxl-86110.c201 static int __mxl86110_write_extended_reg(struct phy_device *phydev, in __mxl86110_write_extended_reg()
229 static int __mxl86110_read_extended_reg(struct phy_device *phydev, u16 regnum) in __mxl86110_read_extended_reg()
252 static int __mxl86110_modify_extended_reg(struct phy_device *phydev, in __mxl86110_modify_extended_reg()
276 static int mxl86110_write_extended_reg(struct phy_device *phydev, in mxl86110_write_extended_reg()
299 static int mxl86110_read_extended_reg(struct phy_device *phydev, u16 regnum) in mxl86110_read_extended_reg()
321 static int mxl86110_modify_extended_reg(struct phy_device *phydev, in mxl86110_modify_extended_reg()
338 static void mxl86110_get_wol(struct phy_device *phydev, in mxl86110_get_wol()
359 static int mxl86110_set_wol(struct phy_device *phydev, in mxl86110_set_wol()
438 static int mxl86110_led_hw_is_supported(struct phy_device *phydev, u8 index, in mxl86110_led_hw_is_supported()
451 static int mxl86110_led_hw_control_get(struct phy_device *phydev, u8 index, in mxl86110_led_hw_control_get()
[all …]
H A Dbroadcom.c63 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()
365 static void bcm54xx_ptp_config_init(struct phy_device *phyde
[all...]
H A Dair_en8811h.c214 struct phy_device *phydev;
286 static int __air_write_buf(struct phy_device *phydev, u32 address, in __air_write_buf()
322 static int air_write_buf(struct phy_device *phydev, u32 address, in air_write_buf()
346 static int en8811h_wait_mcu_ready(struct phy_device *phydev) in en8811h_wait_mcu_ready()
368 static int an8811hb_check_crc(struct phy_device *phydev, u32 set1, in an8811hb_check_crc()
406 static void en8811h_print_fw_version(struct phy_device *phydev) in an8811hb_load_file()
416 static int an8811hb_load_file(struct phy_device *phydev, const char *name, in an8811hb_mcu_assert()
432 static int an8811hb_mcu_assert(struct phy_device *phydev) in an8811hb_mcu_assert()
456 static int an8811hb_mcu_deassert(struct phy_device *phydev) in an8811hb_mcu_deassert()
481 static int an8811hb_load_firmware(struct phy_device *phyde in an8811hb_load_firmware()
[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 *phyde
[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()
223 static int __phy_set_clr_bits(struct phy_device *dev, int location, in __phy_set_clr_bits()
242 static int phy_set_clr_bits(struct phy_device *dev, int location, in phy_set_clr_bits()
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 *phyde
[all...]
/linux/drivers/net/phy/qcom/
H A Dqcom.h233 int at803x_debug_reg_read(struct phy_device *phydev, u16 reg);
234 int at803x_debug_reg_mask(struct phy_device *phydev, u16 reg,
236 int at803x_debug_reg_write(struct phy_device *phydev, u16 reg, u16 data);
237 int at803x_set_wol(struct phy_device *phydev,
239 int at8031_set_wol(struct phy_device *phydev,
241 void at803x_get_wol(struct phy_device *phydev,
243 int at803x_ack_interrupt(struct phy_device *phydev);
244 int at803x_config_intr(struct phy_device *phydev);
245 irqreturn_t at803x_handle_interrupt(struct phy_device *phydev);
246 int at803x_read_specific_status(struct phy_device *phydev,
[all …]
H A Dat803x.c184 static int at803x_write_page(struct phy_device *phydev, int page) in at803x_write_page()
200 static int at803x_read_page(struct phy_device *phydev) in at803x_read_page()
213 static int at803x_enable_rx_delay(struct phy_device *phydev) in at803x_enable_rx_delay()
219 static int at803x_enable_tx_delay(struct phy_device *phydev) in at803x_enable_tx_delay()
225 static int at803x_disable_rx_delay(struct phy_device *phydev) in at803x_disable_rx_delay()
231 static int at803x_disable_tx_delay(struct phy_device *phydev) in at803x_disable_tx_delay()
238 static void at803x_context_save(struct phy_device *phydev, in at803x_context_save()
250 static void at803x_context_restore(struct phy_device *phydev, in at803x_context_restore()
261 static int at803x_suspend(struct phy_device *phydev) in at803x_suspend()
279 static int at803x_resume(struct phy_device *phyde
[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()
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.c102 static int qca808x_phy_fast_retrain_config(struct phy_device *phydev) in qca808x_phy_fast_retrain_config()
137 static int qca808x_phy_ms_seed_enable(struct phy_device *phydev, bool enable) in qca808x_phy_ms_seed_enable()
152 static bool qca808x_is_prefer_master(struct phy_device *phydev) in qca808x_is_prefer_master()
158 static bool qca808x_has_fast_retrain_or_slave_seed(struct phy_device *phydev) in qca808x_has_fast_retrain_or_slave_seed()
163 static bool qca808x_is_1g_only(struct phy_device *phydev) in qca808x_is_1g_only()
174 static void qca808x_fill_possible_interfaces(struct phy_device *phydev) in qca808x_fill_possible_interfaces()
184 static int qca808x_probe(struct phy_device *phydev) in qca808x_probe()
200 static int qca808x_config_init(struct phy_device *phydev) in qca808x_config_init()
259 static int qca808x_read_status(struct phy_device *phydev) in qca808x_read_status()
310 static int qca808x_soft_reset(struct phy_device *phyde in qca808x_soft_reset()
[all...]
/linux/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,
81 void __mtk_tr_clr_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,
[all …]
/linux/drivers/net/phy/realtek/
H A Drealtek_main.c364 static int rtl821x_read_page(struct phy_device *phydev) in rtl821x_read_ext_page()
369 static int rtl821x_write_page(struct phy_device *phydev, int page) in rtl821x_read_ext_page()
374 static int rtl821x_read_ext_page(struct phy_device *phydev, u16 ext_page, in rtl821x_modify_ext_page()
389 static int rtl821x_modify_ext_page(struct phy_device *phydev, u16 ext_page, in rtl8261x_probe()
404 static int rtl8261x_probe(struct phy_device *phydev) in rtl8261x_probe()
448 static int rtl8261x_get_features(struct phy_device *phydev) in rtl8261x_read_status()
467 static int rtl8261x_read_status(struct phy_device *phydev) in rtl8261x_read_status()
493 static int rtl8261x_verify_firmware(struct phy_device *phydev, const struct firmware *fw) in rtl8261x_verify_firmware()
541 static int rtl8261x_fw_execute_entry(struct phy_device *phydev, in rtl8261x_fw_execute_entry()
605 static int rtl8261x_fw_load(struct phy_device *phyde in rtl8261x_fw_load()
[all...]

123456789