/kernel/linux/linux-5.10/include/linux/ |
D | phy.h | 153 unsigned int phy_supported_speeds(struct phy_device *phy, 402 struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr); 540 struct phy_device { struct 641 void (*phy_link_change)(struct phy_device *phydev, bool up); argument 650 struct phy_device, mdio) argument 708 int (*soft_reset)(struct phy_device *phydev); 714 int (*config_init)(struct phy_device *phydev); 720 int (*probe)(struct phy_device *phydev); 726 int (*get_features)(struct phy_device *phydev); 730 int (*suspend)(struct phy_device *phydev); [all …]
|
D | ethtool_netlink.h | 20 struct phy_device; 23 int ethnl_cable_test_alloc(struct phy_device *phydev, u8 cmd); 24 void ethnl_cable_test_free(struct phy_device *phydev); 25 void ethnl_cable_test_finished(struct phy_device *phydev); 26 int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, u8 result); 27 int ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm); 28 int ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV); 29 int ethnl_cable_test_pulse(struct phy_device *phydev, u16 mV); 30 int ethnl_cable_test_step(struct phy_device *phydev, u32 first, u32 last, 33 static inline int ethnl_cable_test_alloc(struct phy_device *phydev, u8 cmd) in ethnl_cable_test_alloc() [all …]
|
D | phy_led_triggers.h | 7 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()
|
D | phy_fixed.h | 20 extern struct phy_device *fixed_phy_register(unsigned int irq, 24 extern struct phy_device * 29 extern void fixed_phy_unregister(struct phy_device *phydev); 30 extern int fixed_phy_set_link_update(struct phy_device *phydev, 39 static inline struct phy_device *fixed_phy_register(unsigned int irq, in fixed_phy_register() 46 static inline struct phy_device * 54 static inline void fixed_phy_unregister(struct phy_device *phydev) in fixed_phy_unregister() 57 static inline int fixed_phy_set_link_update(struct phy_device *phydev, in fixed_phy_set_link_update()
|
D | of_mdio.h | 21 struct phy_device *of_phy_find_device(struct device_node *phy_np); 22 struct phy_device * 26 struct phy_device * 29 struct phy_device * 37 int of_mdiobus_phy_device_register(struct mii_bus *mdio, struct phy_device *phy, 90 static inline struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() 95 static inline struct phy_device *of_phy_connect(struct net_device *dev, in of_phy_connect() 103 static inline struct phy_device * 110 static inline struct phy_device *of_phy_attach(struct net_device *dev, in of_phy_attach() 140 struct phy_device *phy, in of_mdiobus_phy_device_register()
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
D | bcm-phy-lib.h | 30 int __bcm_phy_write_exp(struct phy_device *phydev, u16 reg, u16 val); 31 int __bcm_phy_read_exp(struct phy_device *phydev, u16 reg); 32 int __bcm_phy_modify_exp(struct phy_device *phydev, u16 reg, u16 mask, u16 set); 33 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); 37 static inline int bcm_phy_write_exp_sel(struct phy_device *phydev, in bcm_phy_write_exp_sel() 43 int bcm54xx_auxctl_write(struct phy_device *phydev, u16 regnum, u16 val); 44 int bcm54xx_auxctl_read(struct phy_device *phydev, u16 regnum); 46 int bcm_phy_write_misc(struct phy_device *phydev, [all …]
|
D | bcm-phy-lib.c | 19 int __bcm_phy_write_exp(struct phy_device *phydev, u16 reg, u16 val) in __bcm_phy_write_exp() 31 int bcm_phy_write_exp(struct phy_device *phydev, u16 reg, u16 val) in bcm_phy_write_exp() 43 int __bcm_phy_read_exp(struct phy_device *phydev, u16 reg) in __bcm_phy_read_exp() 60 int bcm_phy_read_exp(struct phy_device *phydev, u16 reg) in bcm_phy_read_exp() 72 int __bcm_phy_modify_exp(struct phy_device *phydev, u16 reg, u16 mask, u16 set) in __bcm_phy_modify_exp() 92 int bcm_phy_modify_exp(struct phy_device *phydev, u16 reg, u16 mask, u16 set) in bcm_phy_modify_exp() 104 int bcm54xx_auxctl_read(struct phy_device *phydev, u16 regnum) in bcm54xx_auxctl_read() 115 int bcm54xx_auxctl_write(struct phy_device *phydev, u16 regnum, u16 val) in bcm54xx_auxctl_write() 121 int bcm_phy_write_misc(struct phy_device *phydev, in bcm_phy_write_misc() 145 int bcm_phy_read_misc(struct phy_device *phydev, in bcm_phy_read_misc() [all …]
|
D | realtek.c | 65 static int rtl821x_read_page(struct phy_device *phydev) in rtl821x_read_page() 70 static int rtl821x_write_page(struct phy_device *phydev, int page) in rtl821x_write_page() 75 static int rtl8201_ack_interrupt(struct phy_device *phydev) in rtl8201_ack_interrupt() 84 static int rtl821x_ack_interrupt(struct phy_device *phydev) in rtl821x_ack_interrupt() 93 static int rtl8211f_ack_interrupt(struct phy_device *phydev) in rtl8211f_ack_interrupt() 102 static int rtl8201_config_intr(struct phy_device *phydev) in rtl8201_config_intr() 114 static int rtl8211b_config_intr(struct phy_device *phydev) in rtl8211b_config_intr() 127 static int rtl8211e_config_intr(struct phy_device *phydev) in rtl8211e_config_intr() 140 static int rtl8211f_config_intr(struct phy_device *phydev) in rtl8211f_config_intr() 152 static int rtl8211_config_aneg(struct phy_device *phydev) in rtl8211_config_aneg() [all …]
|
D | phy.c | 59 static void phy_link_up(struct phy_device *phydev) in phy_link_up() 65 static void phy_link_down(struct phy_device *phydev) in phy_link_down() 71 static const char *phy_pause_str(struct phy_device *phydev) in phy_pause_str() 101 void phy_print_status(struct phy_device *phydev) in phy_print_status() 125 static int phy_clear_interrupt(struct phy_device *phydev) in phy_clear_interrupt() 145 static int phy_config_interrupt(struct phy_device *phydev, bool interrupts) in phy_config_interrupt() 161 int phy_restart_aneg(struct phy_device *phydev) in phy_restart_aneg() 182 int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done() 222 unsigned int phy_supported_speeds(struct phy_device *phy, in phy_supported_speeds() 252 static void phy_sanitize_settings(struct phy_device *phydev) in phy_sanitize_settings() [all …]
|
D | nxp-tja11xx.c | 73 struct phy_device *phydev; 93 static int tja11xx_check(struct phy_device *phydev, u8 reg, u16 mask, u16 set) in tja11xx_check() 101 static int phy_modify_check(struct phy_device *phydev, u8 reg, in phy_modify_check() 113 static int tja11xx_enable_reg_write(struct phy_device *phydev) in tja11xx_enable_reg_write() 118 static int tja11xx_enable_link_control(struct phy_device *phydev) in tja11xx_enable_link_control() 123 static int tja11xx_disable_link_control(struct phy_device *phydev) in tja11xx_disable_link_control() 128 static int tja11xx_wakeup(struct phy_device *phydev) in tja11xx_wakeup() 174 static int tja11xx_soft_reset(struct phy_device *phydev) in tja11xx_soft_reset() 185 static int tja11xx_config_aneg_cable_test(struct phy_device *phydev) in tja11xx_config_aneg_cable_test() 218 static int tja11xx_config_aneg(struct phy_device *phydev) in tja11xx_config_aneg() [all …]
|
D | phy_device.c | 201 void phy_device_free(struct phy_device *phydev) in phy_device_free() 209 struct phy_device *phydev; in phy_mdio_device_free() 211 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_mdio_device_free() 222 struct phy_device *phydev; in phy_mdio_device_remove() 224 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_mdio_device_remove() 233 static bool mdio_bus_phy_may_suspend(struct phy_device *phydev) in mdio_bus_phy_may_suspend() 274 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_suspend() 294 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_resume() 329 int (*run)(struct phy_device *)) in phy_register_fixup() argument 351 int (*run)(struct phy_device *)) in phy_register_fixup_for_uid() argument [all …]
|
D | marvell10g.c | 114 static int mv3310_hwmon_read_temp_reg(struct phy_device *phydev) in mv3310_hwmon_read_temp_reg() 119 static int mv2110_hwmon_read_temp_reg(struct phy_device *phydev) in mv2110_hwmon_read_temp_reg() 124 static int mv10g_hwmon_read_temp_reg(struct phy_device *phydev) in mv10g_hwmon_read_temp_reg() 135 struct phy_device *phydev = dev_get_drvdata(dev); in mv3310_hwmon_read() 192 static int mv3310_hwmon_config(struct phy_device *phydev, bool enable) in mv3310_hwmon_config() 211 static int mv3310_hwmon_probe(struct phy_device *phydev) in mv3310_hwmon_probe() 241 static inline int mv3310_hwmon_config(struct phy_device *phydev, bool enable) in mv3310_hwmon_config() 246 static int mv3310_hwmon_probe(struct phy_device *phydev) in mv3310_hwmon_probe() 252 static int mv3310_power_down(struct phy_device *phydev) in mv3310_power_down() 258 static int mv3310_power_up(struct phy_device *phydev) in mv3310_power_up() [all …]
|
D | bcm87xx.c | 34 static int bcm87xx_of_reg_init(struct phy_device *phydev) in bcm87xx_of_reg_init() 78 static int bcm87xx_of_reg_init(struct phy_device *phydev) in bcm87xx_of_reg_init() 84 static int bcm87xx_get_features(struct phy_device *phydev) in bcm87xx_get_features() 91 static int bcm87xx_config_init(struct phy_device *phydev) in bcm87xx_config_init() 96 static int bcm87xx_config_aneg(struct phy_device *phydev) in bcm87xx_config_aneg() 101 static int bcm87xx_read_status(struct phy_device *phydev) in bcm87xx_read_status() 138 static int bcm87xx_config_intr(struct phy_device *phydev) in bcm87xx_config_intr() 156 static int bcm87xx_did_interrupt(struct phy_device *phydev) in bcm87xx_did_interrupt() 171 static int bcm87xx_ack_interrupt(struct phy_device *phydev) in bcm87xx_ack_interrupt() 178 static int bcm8706_match_phy_device(struct phy_device *phydev) in bcm8706_match_phy_device() [all …]
|
D | marvell.c | 285 static int marvell_read_page(struct phy_device *phydev) in marvell_read_page() 290 static int marvell_write_page(struct phy_device *phydev, int page) in marvell_write_page() 295 static int marvell_set_page(struct phy_device *phydev, int page) in marvell_set_page() 300 static int marvell_ack_interrupt(struct phy_device *phydev) in marvell_ack_interrupt() 313 static int marvell_config_intr(struct phy_device *phydev) in marvell_config_intr() 327 static int marvell_set_polarity(struct phy_device *phydev, int polarity) in marvell_set_polarity() 364 static int marvell_config_aneg(struct phy_device *phydev) in marvell_config_aneg() 397 static int m88e1101_config_aneg(struct phy_device *phydev) in m88e1101_config_aneg() 446 static int marvell_of_reg_init(struct phy_device *phydev) in marvell_of_reg_init() 498 static int marvell_of_reg_init(struct phy_device *phydev) in marvell_of_reg_init() [all …]
|
D | at803x.c | 165 static int at803x_debug_reg_read(struct phy_device *phydev, u16 reg) in at803x_debug_reg_read() 176 static int at803x_debug_reg_mask(struct phy_device *phydev, u16 reg, in at803x_debug_reg_mask() 193 static int at803x_enable_rx_delay(struct phy_device *phydev) in at803x_enable_rx_delay() 199 static int at803x_enable_tx_delay(struct phy_device *phydev) in at803x_enable_tx_delay() 205 static int at803x_disable_rx_delay(struct phy_device *phydev) in at803x_disable_rx_delay() 211 static int at803x_disable_tx_delay(struct phy_device *phydev) in at803x_disable_tx_delay() 218 static void at803x_context_save(struct phy_device *phydev, in at803x_context_save() 230 static void at803x_context_restore(struct phy_device *phydev, in at803x_context_restore() 241 static int at803x_set_wol(struct phy_device *phydev, in at803x_set_wol() 285 static void at803x_get_wol(struct phy_device *phydev, in at803x_get_wol() [all …]
|
D | phy-core.c | 260 static int __set_phy_supported(struct phy_device *phydev, u32 max_speed) in __set_phy_supported() 275 int phy_set_max_speed(struct phy_device *phydev, u32 max_speed) in phy_set_max_speed() 289 void of_set_phy_supported(struct phy_device *phydev) in of_set_phy_supported() 304 void of_set_phy_eee_broken(struct phy_device *phydev) in of_set_phy_eee_broken() 341 void phy_resolve_aneg_pause(struct phy_device *phydev) in phy_resolve_aneg_pause() 361 void phy_resolve_aneg_linkmode(struct phy_device *phydev) in phy_resolve_aneg_linkmode() 388 void phy_check_downshift(struct phy_device *phydev) in phy_check_downshift() 417 static int phy_resolve_min_speed(struct phy_device *phydev, bool fdx_only) in phy_resolve_min_speed() 435 int phy_speed_down_core(struct phy_device *phydev) in phy_speed_down_core() 468 int __phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) in __phy_read_mmd() [all …]
|
D | microchip.c | 24 static int lan88xx_read_page(struct phy_device *phydev) in lan88xx_read_page() 29 static int lan88xx_write_page(struct phy_device *phydev, int page) in lan88xx_write_page() 34 static int lan88xx_phy_config_intr(struct phy_device *phydev) in lan88xx_phy_config_intr() 52 static int lan88xx_phy_ack_interrupt(struct phy_device *phydev) in lan88xx_phy_ack_interrupt() 59 static int lan88xx_suspend(struct phy_device *phydev) in lan88xx_suspend() 70 static int lan88xx_TR_reg_set(struct phy_device *phydev, u16 regaddr, in lan88xx_TR_reg_set() 119 static void lan88xx_config_TR_regs(struct phy_device *phydev) in lan88xx_config_TR_regs() 215 static int lan88xx_probe(struct phy_device *phydev) in lan88xx_probe() 258 static void lan88xx_remove(struct phy_device *phydev) in lan88xx_remove() 267 static int lan88xx_set_wol(struct phy_device *phydev, in lan88xx_set_wol() [all …]
|
D | adin.c | 195 static u32 adin_get_reg_value(struct phy_device *phydev, in adin_get_reg_value() 218 static int adin_config_rgmii_mode(struct phy_device *phydev) in adin_config_rgmii_mode() 264 static int adin_config_rmii_mode(struct phy_device *phydev) in adin_config_rmii_mode() 291 static int adin_get_downshift(struct phy_device *phydev, u8 *data) in adin_get_downshift() 311 static int adin_set_downshift(struct phy_device *phydev, u8 cnt) in adin_set_downshift() 336 static int adin_get_edpd(struct phy_device *phydev, u16 *tx_interval) in adin_get_edpd() 357 static int adin_set_edpd(struct phy_device *phydev, u16 tx_interval) in adin_set_edpd() 384 static int adin_get_tunable(struct phy_device *phydev, in adin_get_tunable() 397 static int adin_set_tunable(struct phy_device *phydev, in adin_set_tunable() 410 static int adin_config_init(struct phy_device *phydev) in adin_config_init() [all …]
|
D | vitesse.c | 78 static int vsc824x_add_skew(struct phy_device *phydev) in vsc824x_add_skew() 99 static int vsc824x_config_init(struct phy_device *phydev) in vsc824x_config_init() 116 static int vsc73xx_read_page(struct phy_device *phydev) in vsc73xx_read_page() 121 static int vsc73xx_write_page(struct phy_device *phydev, int page) in vsc73xx_write_page() 126 static void vsc73xx_config_init(struct phy_device *phydev) in vsc73xx_config_init() 137 static int vsc738x_config_init(struct phy_device *phydev) in vsc738x_config_init() 203 static int vsc739x_config_init(struct phy_device *phydev) in vsc739x_config_init() 235 static int vsc73xx_config_aneg(struct phy_device *phydev) in vsc73xx_config_aneg() 248 static int vsc8601_add_skew(struct phy_device *phydev) in vsc8601_add_skew() 260 static int vsc8601_config_init(struct phy_device *phydev) in vsc8601_config_init() [all …]
|
D | bcm7xxx.c | 51 static int bcm7xxx_28nm_d0_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_d0_afe_config_init() 91 static int bcm7xxx_28nm_e0_plus_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_e0_plus_afe_config_init() 119 static int bcm7xxx_28nm_a0_patch_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_a0_patch_afe_config_init() 144 static int bcm7xxx_28nm_config_init(struct phy_device *phydev) in bcm7xxx_28nm_config_init() 207 static int bcm7xxx_28nm_resume(struct phy_device *phydev) in bcm7xxx_28nm_resume() 224 static int __phy_set_clr_bits(struct phy_device *dev, int location, in __phy_set_clr_bits() 243 static int phy_set_clr_bits(struct phy_device *dev, int location, in phy_set_clr_bits() 255 static int bcm7xxx_28nm_ephy_01_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_ephy_01_afe_config_init() 301 static int bcm7xxx_28nm_ephy_apd_enable(struct phy_device *phydev) in bcm7xxx_28nm_ephy_apd_enable() 326 static int bcm7xxx_28nm_ephy_eee_enable(struct phy_device *phydev) in bcm7xxx_28nm_ephy_eee_enable() [all …]
|
D | smsc.c | 51 static int smsc_phy_config_intr(struct phy_device *phydev) in smsc_phy_config_intr() 68 static int smsc_phy_ack_interrupt(struct phy_device *phydev) in smsc_phy_ack_interrupt() 75 static int smsc_phy_config_init(struct phy_device *phydev) in smsc_phy_config_init() 97 static int smsc_phy_reset(struct phy_device *phydev) in smsc_phy_reset() 116 static int lan911x_config_init(struct phy_device *phydev) in lan911x_config_init() 121 static int lan87xx_config_aneg(struct phy_device *phydev) in lan87xx_config_aneg() 155 static int lan95xx_config_aneg_ext(struct phy_device *phydev) in lan95xx_config_aneg_ext() 181 static int lan87xx_read_status(struct phy_device *phydev) in lan87xx_read_status() 222 static int smsc_get_sset_count(struct phy_device *phydev) in smsc_get_sset_count() 227 static void smsc_get_strings(struct phy_device *phydev, u8 *data) in smsc_get_strings() [all …]
|
D | rockchip.c | 42 static int rockchip_init_tstmode(struct phy_device *phydev) in rockchip_init_tstmode() 58 static int rockchip_close_tstmode(struct phy_device *phydev) in rockchip_close_tstmode() 64 static int rockchip_integrated_phy_analog_init(struct phy_device *phydev) in rockchip_integrated_phy_analog_init() 86 static int rockchip_integrated_phy_config_init(struct phy_device *phydev) in rockchip_integrated_phy_config_init() 105 static void rockchip_link_change_notify(struct phy_device *phydev) in rockchip_link_change_notify() 121 static int rockchip_set_polarity(struct phy_device *phydev, int polarity) in rockchip_set_polarity() 155 static int rockchip_config_aneg(struct phy_device *phydev) in rockchip_config_aneg() 166 static int rockchip_phy_resume(struct phy_device *phydev) in rockchip_phy_resume()
|
D | micrel.c | 134 static int kszphy_extended_write(struct phy_device *phydev, in kszphy_extended_write() 141 static int kszphy_extended_read(struct phy_device *phydev, in kszphy_extended_read() 148 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt() 158 static int kszphy_config_intr(struct phy_device *phydev) in kszphy_config_intr() 185 static int kszphy_rmii_clk_sel(struct phy_device *phydev, bool val) in kszphy_rmii_clk_sel() 201 static int kszphy_setup_led(struct phy_device *phydev, u32 reg, int val) in kszphy_setup_led() 235 static int kszphy_broadcast_disable(struct phy_device *phydev) in kszphy_broadcast_disable() 251 static int kszphy_nand_tree_disable(struct phy_device *phydev) in kszphy_nand_tree_disable() 272 static int kszphy_config_reset(struct phy_device *phydev) in kszphy_config_reset() 292 static int kszphy_config_init(struct phy_device *phydev) in kszphy_config_init() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/ |
D | r8169_phy_config.c | 18 struct phy_device *phydev); 20 static void r8168d_modify_extpage(struct phy_device *phydev, int extpage, in r8168d_modify_extpage() 31 static void r8168d_phy_param(struct phy_device *phydev, u16 parm, in r8168d_phy_param() 42 static void r8168g_phy_param(struct phy_device *phydev, u16 parm, in r8168g_phy_param() 58 static void __rtl_writephy_batch(struct phy_device *phydev, in __rtl_writephy_batch() 73 static void rtl8168f_config_eee_phy(struct phy_device *phydev) in rtl8168f_config_eee_phy() 79 static void rtl8168g_config_eee_phy(struct phy_device *phydev) in rtl8168g_config_eee_phy() 84 static void rtl8168h_config_eee_phy(struct phy_device *phydev) in rtl8168h_config_eee_phy() 92 static void rtl8125a_config_eee_phy(struct phy_device *phydev) in rtl8125a_config_eee_phy() 100 static void rtl8125b_config_eee_phy(struct phy_device *phydev) in rtl8125b_config_eee_phy() [all …]
|
/kernel/linux/linux-5.10/drivers/net/phy/mscc/ |
D | mscc.h | 424 int vsc8584_macsec_init(struct phy_device *phydev); 425 void vsc8584_handle_macsec_interrupt(struct phy_device *phydev); 426 void vsc8584_config_macsec_intr(struct phy_device *phydev); 428 static inline int vsc8584_macsec_init(struct phy_device *phydev) in vsc8584_macsec_init() 432 static inline void vsc8584_handle_macsec_interrupt(struct phy_device *phydev) in vsc8584_handle_macsec_interrupt() 435 static inline void vsc8584_config_macsec_intr(struct phy_device *phydev) in vsc8584_config_macsec_intr() 441 void vsc85xx_link_change_notify(struct phy_device *phydev); 442 void vsc8584_config_ts_intr(struct phy_device *phydev); 443 int vsc8584_ptp_init(struct phy_device *phydev); 444 int vsc8584_ptp_probe_once(struct phy_device *phydev); [all …]
|