/Linux-v6.1/include/linux/ |
D | phy.h | 199 unsigned int phy_supported_speeds(struct phy_device *phy, 459 struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr); 613 struct phy_device { struct 726 void (*phy_link_change)(struct phy_device *phydev, bool up); argument 735 static inline struct phy_device *to_phy_device(const struct device *dev) in to_phy_device() argument 737 return container_of(to_mdio_device(dev), struct phy_device, mdio); in to_phy_device() 796 int (*soft_reset)(struct phy_device *phydev); 802 int (*config_init)(struct phy_device *phydev); 808 int (*probe)(struct phy_device *phydev); 814 int (*get_features)(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 | 23 extern struct phy_device *fixed_phy_register(unsigned int irq, 27 extern struct phy_device * 32 extern void fixed_phy_unregister(struct phy_device *phydev); 33 extern int fixed_phy_set_link_update(struct phy_device *phydev, 42 static inline struct phy_device *fixed_phy_register(unsigned int irq, in fixed_phy_register() 49 static inline struct phy_device * 57 static inline void fixed_phy_unregister(struct phy_device *phydev) in fixed_phy_unregister() 60 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 * 34 int of_mdiobus_phy_device_register(struct mii_bus *mdio, struct phy_device *phy, 87 static inline struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() 92 static inline struct phy_device *of_phy_connect(struct net_device *dev, in of_phy_connect() 100 static inline struct phy_device * 130 struct phy_device *phy, in of_mdiobus_phy_device_register()
|
/Linux-v6.1/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 | icplus.c | 94 static int ip175c_config_init(struct phy_device *phydev) in ip175c_config_init() 149 static int ip1001_config_init(struct phy_device *phydev) in ip1001_config_init() 185 static int ip175c_read_status(struct phy_device *phydev) in ip175c_read_status() 196 static int ip175c_config_aneg(struct phy_device *phydev) in ip175c_config_aneg() 204 static int ip101a_g_probe(struct phy_device *phydev) in ip101a_g_probe() 235 static int ip101a_g_config_intr_pin(struct phy_device *phydev) in ip101a_g_config_intr_pin() 276 static int ip101a_config_init(struct phy_device *phydev) in ip101a_config_init() 288 static int ip101g_config_init(struct phy_device *phydev) in ip101g_config_init() 307 static int ip101a_g_read_status(struct phy_device *phydev) in ip101a_g_read_status() 349 static int ip101a_g_config_mdix(struct phy_device *phydev) in ip101a_g_config_mdix() [all …]
|
D | marvell-88x2222.c | 64 static int mv2222_tx_enable(struct phy_device *phydev) in mv2222_tx_enable() 71 static int mv2222_tx_disable(struct phy_device *phydev) in mv2222_tx_disable() 77 static int mv2222_soft_reset(struct phy_device *phydev) in mv2222_soft_reset() 91 static int mv2222_disable_aneg(struct phy_device *phydev) in mv2222_disable_aneg() 101 static int mv2222_enable_aneg(struct phy_device *phydev) in mv2222_enable_aneg() 111 static int mv2222_set_sgmii_speed(struct phy_device *phydev) in mv2222_set_sgmii_speed() 152 static bool mv2222_is_10g_capable(struct phy_device *phydev) in mv2222_is_10g_capable() 170 static bool mv2222_is_1gbx_capable(struct phy_device *phydev) in mv2222_is_1gbx_capable() 178 static bool mv2222_is_sgmii_capable(struct phy_device *phydev) in mv2222_is_sgmii_capable() 196 static int mv2222_config_line(struct phy_device *phydev) in mv2222_config_line() [all …]
|
D | realtek.c | 85 static int rtl821x_read_page(struct phy_device *phydev) in rtl821x_read_page() 90 static int rtl821x_write_page(struct phy_device *phydev, int page) in rtl821x_write_page() 95 static int rtl821x_probe(struct phy_device *phydev) in rtl821x_probe() 130 static int rtl8201_ack_interrupt(struct phy_device *phydev) in rtl8201_ack_interrupt() 139 static int rtl821x_ack_interrupt(struct phy_device *phydev) in rtl821x_ack_interrupt() 148 static int rtl8211f_ack_interrupt(struct phy_device *phydev) in rtl8211f_ack_interrupt() 157 static int rtl8201_config_intr(struct phy_device *phydev) in rtl8201_config_intr() 181 static int rtl8211b_config_intr(struct phy_device *phydev) in rtl8211b_config_intr() 203 static int rtl8211e_config_intr(struct phy_device *phydev) in rtl8211e_config_intr() 225 static int rtl8211f_config_intr(struct phy_device *phydev) in rtl8211f_config_intr() [all …]
|
D | phy.c | 60 static void phy_link_up(struct phy_device *phydev) in phy_link_up() 66 static void phy_link_down(struct phy_device *phydev) in phy_link_down() 72 static const char *phy_pause_str(struct phy_device *phydev) in phy_pause_str() 102 void phy_print_status(struct phy_device *phydev) in phy_print_status() 129 int phy_get_rate_matching(struct phy_device *phydev, in phy_get_rate_matching() 151 static int phy_config_interrupt(struct phy_device *phydev, bool interrupts) in phy_config_interrupt() 167 int phy_restart_aneg(struct phy_device *phydev) in phy_restart_aneg() 188 int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done() 228 unsigned int phy_supported_speeds(struct phy_device *phy, in phy_supported_speeds() 258 static void phy_sanitize_settings(struct phy_device *phydev) in phy_sanitize_settings() [all …]
|
D | marvell10g.c | 145 bool (*has_downshift)(struct phy_device *phydev); 147 int (*get_mactype)(struct phy_device *phydev); 148 int (*set_mactype)(struct phy_device *phydev, int mactype); 150 int (*init_interface)(struct phy_device *phydev, int mactype); 153 int (*hwmon_read_temp_reg)(struct phy_device *phydev); 169 static const struct mv3310_chip *to_mv3310_chip(struct phy_device *phydev) in to_mv3310_chip() 186 static int mv3310_hwmon_read_temp_reg(struct phy_device *phydev) in mv3310_hwmon_read_temp_reg() 191 static int mv2110_hwmon_read_temp_reg(struct phy_device *phydev) in mv2110_hwmon_read_temp_reg() 199 struct phy_device *phydev = dev_get_drvdata(dev); in mv3310_hwmon_read() 257 static int mv3310_hwmon_config(struct phy_device *phydev, bool enable) in mv3310_hwmon_config() [all …]
|
D | phy_device.c | 204 void phy_device_free(struct phy_device *phydev) in phy_device_free() 212 struct phy_device *phydev; in phy_mdio_device_free() 214 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_mdio_device_free() 226 struct phy_device *phydev; in phy_mdio_device_remove() 228 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_mdio_device_remove() 237 static bool mdio_bus_phy_may_suspend(struct phy_device *phydev) in mdio_bus_phy_may_suspend() 278 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_suspend() 310 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_resume() 370 int (*run)(struct phy_device *)) in phy_register_fixup() argument 392 int (*run)(struct phy_device *)) in phy_register_fixup_for_uid() argument [all …]
|
D | nxp-tja11xx.c | 87 struct phy_device *phydev; 108 static int tja11xx_check(struct phy_device *phydev, u8 reg, u16 mask, u16 set) in tja11xx_check() 116 static int phy_modify_check(struct phy_device *phydev, u8 reg, in phy_modify_check() 128 static int tja11xx_enable_reg_write(struct phy_device *phydev) in tja11xx_enable_reg_write() 133 static int tja11xx_enable_link_control(struct phy_device *phydev) in tja11xx_enable_link_control() 138 static int tja11xx_disable_link_control(struct phy_device *phydev) in tja11xx_disable_link_control() 143 static int tja11xx_wakeup(struct phy_device *phydev) in tja11xx_wakeup() 189 static int tja11xx_soft_reset(struct phy_device *phydev) in tja11xx_soft_reset() 200 static int tja11xx_config_aneg_cable_test(struct phy_device *phydev) in tja11xx_config_aneg_cable_test() 233 static int tja11xx_config_aneg(struct phy_device *phydev) in tja11xx_config_aneg() [all …]
|
D | marvell.c | 311 static int marvell_read_page(struct phy_device *phydev) in marvell_read_page() 316 static int marvell_write_page(struct phy_device *phydev, int page) in marvell_write_page() 321 static int marvell_set_page(struct phy_device *phydev, int page) in marvell_set_page() 326 static int marvell_ack_interrupt(struct phy_device *phydev) in marvell_ack_interrupt() 339 static int marvell_config_intr(struct phy_device *phydev) in marvell_config_intr() 362 static irqreturn_t marvell_handle_interrupt(struct phy_device *phydev) in marvell_handle_interrupt() 380 static int marvell_set_polarity(struct phy_device *phydev, int polarity) in marvell_set_polarity() 402 static int marvell_config_aneg(struct phy_device *phydev) in marvell_config_aneg() 435 static int m88e1101_config_aneg(struct phy_device *phydev) in m88e1101_config_aneg() 484 static int marvell_of_reg_init(struct phy_device *phydev) in marvell_of_reg_init() [all …]
|
D | adin.c | 231 static u32 adin_get_reg_value(struct phy_device *phydev, in adin_get_reg_value() 254 static int adin_config_rgmii_mode(struct phy_device *phydev) in adin_config_rgmii_mode() 300 static int adin_config_rmii_mode(struct phy_device *phydev) in adin_config_rmii_mode() 327 static int adin_get_downshift(struct phy_device *phydev, u8 *data) in adin_get_downshift() 347 static int adin_set_downshift(struct phy_device *phydev, u8 cnt) in adin_set_downshift() 371 static int adin_get_edpd(struct phy_device *phydev, u16 *tx_interval) in adin_get_edpd() 392 static int adin_set_edpd(struct phy_device *phydev, u16 tx_interval) in adin_set_edpd() 419 static int adin_get_tunable(struct phy_device *phydev, in adin_get_tunable() 432 static int adin_set_tunable(struct phy_device *phydev, in adin_set_tunable() 445 static int adin_config_clk_out(struct phy_device *phydev) in adin_config_clk_out() [all …]
|
D | at803x.c | 321 static int at803x_debug_reg_write(struct phy_device *phydev, u16 reg, u16 data) in at803x_debug_reg_write() 332 static int at803x_debug_reg_read(struct phy_device *phydev, u16 reg) in at803x_debug_reg_read() 343 static int at803x_debug_reg_mask(struct phy_device *phydev, u16 reg, in at803x_debug_reg_mask() 360 static int at803x_write_page(struct phy_device *phydev, int page) in at803x_write_page() 376 static int at803x_read_page(struct phy_device *phydev) in at803x_read_page() 389 static int at803x_enable_rx_delay(struct phy_device *phydev) in at803x_enable_rx_delay() 395 static int at803x_enable_tx_delay(struct phy_device *phydev) in at803x_enable_tx_delay() 401 static int at803x_disable_rx_delay(struct phy_device *phydev) in at803x_disable_rx_delay() 407 static int at803x_disable_tx_delay(struct phy_device *phydev) in at803x_disable_tx_delay() 414 static void at803x_context_save(struct phy_device *phydev, in at803x_context_save() [all …]
|
D | micrel.c | 278 struct phy_device *phydev; 300 struct phy_device *phydev; 367 static int kszphy_extended_write(struct phy_device *phydev, in kszphy_extended_write() 374 static int kszphy_extended_read(struct phy_device *phydev, in kszphy_extended_read() 381 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt() 391 static int kszphy_config_intr(struct phy_device *phydev) in kszphy_config_intr() 429 static irqreturn_t kszphy_handle_interrupt(struct phy_device *phydev) in kszphy_handle_interrupt() 447 static int kszphy_rmii_clk_sel(struct phy_device *phydev, bool val) in kszphy_rmii_clk_sel() 463 static int kszphy_setup_led(struct phy_device *phydev, u32 reg, int val) in kszphy_setup_led() 497 static int kszphy_broadcast_disable(struct phy_device *phydev) in kszphy_broadcast_disable() [all …]
|
D | bcm87xx.c | 34 static int bcm87xx_of_reg_init(struct phy_device *phydev) in bcm87xx_of_reg_init() 77 static int bcm87xx_of_reg_init(struct phy_device *phydev) in bcm87xx_of_reg_init() 83 static int bcm87xx_get_features(struct phy_device *phydev) in bcm87xx_get_features() 90 static int bcm87xx_config_init(struct phy_device *phydev) in bcm87xx_config_init() 95 static int bcm87xx_config_aneg(struct phy_device *phydev) in bcm87xx_config_aneg() 100 static int bcm87xx_read_status(struct phy_device *phydev) in bcm87xx_read_status() 140 static int bcm87xx_config_intr(struct phy_device *phydev) in bcm87xx_config_intr() 170 static irqreturn_t bcm87xx_handle_interrupt(struct phy_device *phydev) in bcm87xx_handle_interrupt() 188 static int bcm8706_match_phy_device(struct phy_device *phydev) in bcm8706_match_phy_device() 193 static int bcm8727_match_phy_device(struct phy_device *phydev) in bcm8727_match_phy_device()
|
D | phy-core.c | 334 static void __set_phy_supported(struct phy_device *phydev, u32 max_speed) in __set_phy_supported() 349 void phy_set_max_speed(struct phy_device *phydev, u32 max_speed) in phy_set_max_speed() 357 void of_set_phy_supported(struct phy_device *phydev) in of_set_phy_supported() 372 void of_set_phy_eee_broken(struct phy_device *phydev) in of_set_phy_eee_broken() 409 void phy_resolve_aneg_pause(struct phy_device *phydev) in phy_resolve_aneg_pause() 429 void phy_resolve_aneg_linkmode(struct phy_device *phydev) in phy_resolve_aneg_linkmode() 456 void phy_check_downshift(struct phy_device *phydev) in phy_check_downshift() 485 static int phy_resolve_min_speed(struct phy_device *phydev, bool fdx_only) in phy_resolve_min_speed() 503 int phy_speed_down_core(struct phy_device *phydev) in phy_speed_down_core() 538 int __phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) in __phy_read_mmd() [all …]
|
D | phy-c45.c | 15 static bool genphy_c45_baset1_able(struct phy_device *phydev) in genphy_c45_baset1_able() 34 static bool genphy_c45_pma_can_sleep(struct phy_device *phydev) in genphy_c45_pma_can_sleep() 49 int genphy_c45_pma_resume(struct phy_device *phydev) in genphy_c45_pma_resume() 63 int genphy_c45_pma_suspend(struct phy_device *phydev) in genphy_c45_pma_suspend() 78 int genphy_c45_pma_baset1_setup_master_slave(struct phy_device *phydev) in genphy_c45_pma_baset1_setup_master_slave() 107 int genphy_c45_pma_setup_forced(struct phy_device *phydev) in genphy_c45_pma_setup_forced() 191 static int genphy_c45_baset1_an_config_aneg(struct phy_device *phydev) in genphy_c45_baset1_an_config_aneg() 255 int genphy_c45_an_config_aneg(struct phy_device *phydev) in genphy_c45_an_config_aneg() 303 int genphy_c45_an_disable_aneg(struct phy_device *phydev) in genphy_c45_an_disable_aneg() 323 int genphy_c45_restart_aneg(struct phy_device *phydev) in genphy_c45_restart_aneg() [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() 57 static irqreturn_t lan88xx_handle_interrupt(struct phy_device *phydev) in lan88xx_handle_interrupt() 75 static int lan88xx_suspend(struct phy_device *phydev) in lan88xx_suspend() 86 static int lan88xx_TR_reg_set(struct phy_device *phydev, u16 regaddr, in lan88xx_TR_reg_set() 135 static void lan88xx_config_TR_regs(struct phy_device *phydev) in lan88xx_config_TR_regs() 231 static int lan88xx_probe(struct phy_device *phydev) in lan88xx_probe() 274 static void lan88xx_remove(struct phy_device *phydev) in lan88xx_remove() 283 static int lan88xx_set_wol(struct phy_device *phydev, in lan88xx_set_wol() [all …]
|
D | vitesse.c | 83 static int vsc824x_add_skew(struct phy_device *phydev) in vsc824x_add_skew() 104 static int vsc824x_config_init(struct phy_device *phydev) in vsc824x_config_init() 121 static int vsc73xx_read_page(struct phy_device *phydev) in vsc73xx_read_page() 126 static int vsc73xx_write_page(struct phy_device *phydev, int page) in vsc73xx_write_page() 131 static void vsc73xx_config_init(struct phy_device *phydev) in vsc73xx_config_init() 142 static int vsc738x_config_init(struct phy_device *phydev) in vsc738x_config_init() 208 static int vsc739x_config_init(struct phy_device *phydev) in vsc739x_config_init() 240 static int vsc73xx_config_aneg(struct phy_device *phydev) in vsc73xx_config_aneg() 254 static int vsc8601_add_skew(struct phy_device *phydev) in vsc8601_add_skew() 266 static int vsc8601_config_init(struct phy_device *phydev) in vsc8601_config_init() [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/drivers/net/phy/mscc/ |
D | mscc.h | 431 u32 vsc85xx_csr_read(struct phy_device *phydev, 434 int vsc85xx_csr_write(struct phy_device *phydev, 437 int phy_base_write(struct phy_device *phydev, u32 regnum, u16 val); 438 int phy_base_read(struct phy_device *phydev, u32 regnum); 439 int phy_update_mcb_s6g(struct phy_device *phydev, u32 reg, u8 mcb); 440 int phy_commit_mcb_s6g(struct phy_device *phydev, u32 reg, u8 mcb); 441 int vsc8584_cmd(struct phy_device *phydev, u16 val); 444 int vsc8584_macsec_init(struct phy_device *phydev); 445 void vsc8584_handle_macsec_interrupt(struct phy_device *phydev); 446 void vsc8584_config_macsec_intr(struct phy_device *phydev); [all …]
|