/linux/include/linux/ |
A D | phy.h | 598 struct phy_device { struct 783 int (*probe)(struct phy_device *phydev); 793 int (*suspend)(struct phy_device *phydev); 795 int (*resume)(struct phy_device *phydev); 881 int (*read_page)(struct phy_device *dev); 918 void (*get_stats)(struct phy_device *dev, 932 int (*get_sqi)(struct phy_device *dev); 952 int (*run)(struct phy_device *phydev); 1472 int phy_resume(struct phy_device *phydev); 1492 void phy_start(struct phy_device *phydev); [all …]
|
A 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); 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, 38 static inline void ethnl_cable_test_free(struct phy_device *phydev) in ethnl_cable_test_free() 42 static inline void ethnl_cable_test_finished(struct phy_device *phydev) in ethnl_cable_test_finished() [all …]
|
A 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()
|
A 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()
|
/linux/drivers/net/phy/ |
A D | bcm-phy-lib.h | 31 int __bcm_phy_read_exp(struct phy_device *phydev, u16 reg); 34 int bcm_phy_read_exp(struct phy_device *phydev, u16 reg); 46 int bcm_phy_write_misc(struct phy_device *phydev, 48 int bcm_phy_read_misc(struct phy_device *phydev, 58 int bcm_phy_read_rdb(struct phy_device *phydev, u16 rdb); 64 int bcm_phy_ack_intr(struct phy_device *phydev); 65 int bcm_phy_config_intr(struct phy_device *phydev); 76 int bcm_phy_get_sset_count(struct phy_device *phydev); 80 void bcm_phy_r_rc_cal_reset(struct phy_device *phydev); 82 int bcm_phy_enable_jumbo(struct phy_device *phydev); [all …]
|
A D | bcm-phy-lib.c | 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() 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() 169 int bcm_phy_ack_intr(struct phy_device *phydev) in bcm_phy_ack_intr() 182 int bcm_phy_config_intr(struct phy_device *phydev) in bcm_phy_config_intr() 269 int bcm_phy_read_rdb(struct phy_device *phydev, u16 rdb) in bcm_phy_read_rdb() 511 int bcm_phy_get_sset_count(struct phy_device *phydev) in bcm_phy_get_sset_count() 560 void bcm_phy_r_rc_cal_reset(struct phy_device *phydev) in bcm_phy_r_rc_cal_reset() 612 int bcm_phy_enable_jumbo(struct phy_device *phydev) in bcm_phy_enable_jumbo() [all …]
|
A 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() 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() 459 static int ip101a_read_page(struct phy_device *phydev) in ip101a_read_page() 471 static int ip101g_read_page(struct phy_device *phydev) in ip101g_read_page() [all …]
|
A D | marvell10g.c | 140 bool (*has_downshift)(struct phy_device *phydev); 142 int (*get_mactype)(struct phy_device *phydev); 146 int (*hwmon_read_temp_reg)(struct phy_device *phydev); 192 struct phy_device *phydev = dev_get_drvdata(dev); in mv3310_hwmon_read() 316 static int mv3310_power_up(struct phy_device *phydev) in mv3310_power_up() 467 struct phy_device *phydev = upstream; in mv3310_sfp_insert() 487 static int mv3310_probe(struct phy_device *phydev) in mv3310_probe() 547 static void mv3310_remove(struct phy_device *phydev) in mv3310_remove() 552 static int mv3310_suspend(struct phy_device *phydev) in mv3310_suspend() 557 static int mv3310_resume(struct phy_device *phydev) in mv3310_resume() [all …]
|
A D | phy_device.c | 210 struct phy_device *phydev; in phy_mdio_device_free() 223 struct phy_device *phydev; in phy_mdio_device_remove() 336 int (*run)(struct phy_device *)) in phy_register_fixup() argument 366 int (*run)(struct phy_device *)) in phy_register_fixup_for_id() argument 572 struct phy_device *dev; in phy_device_create() 991 struct phy_device *phydev; in phy_find_first() 1081 struct phy_device *phydev; in phy_connect() 1295 struct phy_device *phydev = upstream; in phy_sfp_attach() 1312 struct phy_device *phydev = upstream; in phy_sfp_detach() 1511 struct phy_device *phydev; in phy_attach() [all …]
|
A D | realtek.c | 83 static int rtl821x_read_page(struct phy_device *phydev) in rtl821x_read_page() 93 static int rtl821x_probe(struct phy_device *phydev) in rtl821x_probe() 151 static int rtl8201_config_intr(struct phy_device *phydev) in rtl8201_config_intr() 175 static int rtl8211b_config_intr(struct phy_device *phydev) in rtl8211b_config_intr() 197 static int rtl8211e_config_intr(struct phy_device *phydev) in rtl8211e_config_intr() 303 static int rtl8211_config_aneg(struct phy_device *phydev) in rtl8211_config_aneg() 414 static int rtl821x_resume(struct phy_device *phydev) in rtl821x_resume() 475 static int rtl8211b_suspend(struct phy_device *phydev) in rtl8211b_suspend() 482 static int rtl8211b_resume(struct phy_device *phydev) in rtl8211b_resume() 504 static int rtlgen_get_speed(struct phy_device *phydev) in rtlgen_get_speed() [all …]
|
A 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() 101 static int mv2222_enable_aneg(struct phy_device *phydev) in mv2222_enable_aneg() 454 static int mv2222_resume(struct phy_device *phydev) in mv2222_resume() 459 static int mv2222_suspend(struct phy_device *phydev) in mv2222_suspend() 481 struct phy_device *phydev = upstream; in mv2222_sfp_insert() 522 struct phy_device *phydev = upstream; in mv2222_sfp_remove() 533 struct phy_device *phydev = upstream; in mv2222_sfp_link_up() 542 struct phy_device *phydev = upstream; in mv2222_sfp_link_down() [all …]
|
A D | phy.c | 139 int phy_restart_aneg(struct phy_device *phydev) in phy_restart_aneg() 160 int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done() 876 int phy_speed_up(struct phy_device *phydev) in phy_speed_up() 940 void phy_error(struct phy_device *phydev) in phy_error() 971 struct phy_device *phydev = phy_dat; in phy_interrupt() 1033 void phy_stop(struct phy_device *phydev) in phy_stop() 1077 void phy_start(struct phy_device *phydev) in phy_start() 1108 struct phy_device *phydev = in phy_state_machine() 1438 struct phy_device *phydev = ndev->phydev; in phy_ethtool_get_link_ksettings() 1452 struct phy_device *phydev = ndev->phydev; in phy_ethtool_set_link_ksettings() [all …]
|
A D | nxp-tja11xx.c | 78 struct phy_device *phydev; 133 static int tja11xx_wakeup(struct phy_device *phydev) in tja11xx_wakeup() 179 static int tja11xx_soft_reset(struct phy_device *phydev) in tja11xx_soft_reset() 223 static int tja11xx_config_aneg(struct phy_device *phydev) in tja11xx_config_aneg() 339 static int tja11xx_get_sqi(struct phy_device *phydev) in tja11xx_get_sqi() 370 static void tja11xx_get_stats(struct phy_device *phydev, in tja11xx_get_stats() 390 struct phy_device *phydev = dev_get_drvdata(dev); in tja11xx_hwmon_read() 466 static int tja11xx_probe(struct phy_device *phydev) in tja11xx_probe() 484 struct phy_device *phydev_phy0 = priv->phydev; in tja1102_p1_register() 492 struct phy_device *phy; in tja1102_p1_register() [all …]
|
A D | marvell.c | 309 static int marvell_read_page(struct phy_device *phydev) in marvell_read_page() 1472 static int m88e6390_errata(struct phy_device *phydev) in m88e6390_errata() 1717 static int marvell_resume(struct phy_device *phydev) in marvell_resume() 2313 int (*config)(struct phy_device *phydev); 2550 struct phy_device *phydev = dev_get_drvdata(dev); in marvell_hwmon_read() 2575 struct phy_device *phydev = dev_get_drvdata(dev); in marvell_hwmon_write() 2593 const struct phy_device *phydev = data; in marvell_hwmon_is_visible() 2733 static int marvell_probe(struct phy_device *phydev) in marvell_probe() 2748 struct phy_device *phydev = upstream; in m88e1510_sfp_insert() 2801 struct phy_device *phydev = upstream; in m88e1510_sfp_remove() [all …]
|
A D | phy-core.c | 276 int phy_set_max_speed(struct phy_device *phydev, u32 max_speed) in phy_set_max_speed() 290 void of_set_phy_supported(struct phy_device *phydev) in of_set_phy_supported() 305 void of_set_phy_eee_broken(struct phy_device *phydev) in of_set_phy_eee_broken() 342 void phy_resolve_aneg_pause(struct phy_device *phydev) in phy_resolve_aneg_pause() 362 void phy_resolve_aneg_linkmode(struct phy_device *phydev) in phy_resolve_aneg_linkmode() 389 void phy_check_downshift(struct phy_device *phydev) in phy_check_downshift() 436 int phy_speed_down_core(struct phy_device *phydev) in phy_speed_down_core() 750 static int __phy_read_page(struct phy_device *phydev) in __phy_read_page() 758 static int __phy_write_page(struct phy_device *phydev, int page) in __phy_write_page() 774 int phy_save_page(struct phy_device *phydev) in phy_save_page() [all …]
|
A D | micrel.c | 164 static int kszphy_extended_read(struct phy_device *phydev, in kszphy_extended_read() 171 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt() 181 static int kszphy_config_intr(struct phy_device *phydev) in kszphy_config_intr() 324 static int kszphy_config_reset(struct phy_device *phydev) in kszphy_config_reset() 344 static int kszphy_config_init(struct phy_device *phydev) in kszphy_config_init() 363 static int ksz8041_fiber_mode(struct phy_device *phydev) in ksz8041_fiber_mode() 370 static int ksz8041_config_init(struct phy_device *phydev) in ksz8041_config_init() 392 static int ksz8041_config_aneg(struct phy_device *phydev) in ksz8041_config_aneg() 1301 static int kszphy_suspend(struct phy_device *phydev) in kszphy_suspend() 1313 static int kszphy_resume(struct phy_device *phydev) in kszphy_resume() [all …]
|
A D | adin.c | 222 static u32 adin_get_reg_value(struct phy_device *phydev, in adin_get_reg_value() 410 static int adin_get_tunable(struct phy_device *phydev, in adin_get_tunable() 423 static int adin_set_tunable(struct phy_device *phydev, in adin_set_tunable() 436 static int adin_config_init(struct phy_device *phydev) in adin_config_init() 574 static int adin_config_mdix(struct phy_device *phydev) in adin_config_mdix() 611 static int adin_config_aneg(struct phy_device *phydev) in adin_config_aneg() 630 static int adin_mdix_update(struct phy_device *phydev) in adin_mdix_update() 671 static int adin_read_status(struct phy_device *phydev) in adin_read_status() 682 static int adin_soft_reset(struct phy_device *phydev) in adin_soft_reset() 765 static void adin_get_stats(struct phy_device *phydev, in adin_get_stats() [all …]
|
A D | at803x.c | 356 static int at803x_read_page(struct phy_device *phydev) in at803x_read_page() 417 static int at803x_set_wol(struct phy_device *phydev, in at803x_set_wol() 484 static void at803x_get_wol(struct phy_device *phydev, in at803x_get_wol() 547 static int at803x_suspend(struct phy_device *phydev) in at803x_suspend() 565 static int at803x_resume(struct phy_device *phydev) in at803x_resume() 573 struct phy_device *phydev = rdev_get_drvdata(rdev); in at803x_rgmii_reg_set_voltage_sel() 585 struct phy_device *phydev = rdev_get_drvdata(rdev); in at803x_rgmii_reg_get_voltage_sel() 653 static int at803x_parse_dt(struct phy_device *phydev) in at803x_parse_dt() 765 static int at803x_probe(struct phy_device *phydev) in at803x_probe() 808 static void at803x_remove(struct phy_device *phydev) in at803x_remove() [all …]
|
A D | phy-c45.c | 15 static bool genphy_c45_pma_can_sleep(struct phy_device *phydev) in genphy_c45_pma_can_sleep() 30 int genphy_c45_pma_resume(struct phy_device *phydev) in genphy_c45_pma_resume() 44 int genphy_c45_pma_suspend(struct phy_device *phydev) in genphy_c45_pma_suspend() 58 int genphy_c45_pma_setup_forced(struct phy_device *phydev) in genphy_c45_pma_setup_forced() 195 int genphy_c45_restart_aneg(struct phy_device *phydev) in genphy_c45_restart_aneg() 243 int genphy_c45_aneg_done(struct phy_device *phydev) in genphy_c45_aneg_done() 259 int genphy_c45_read_link(struct phy_device *phydev) in genphy_c45_read_link() 320 int genphy_c45_read_lpa(struct phy_device *phydev) in genphy_c45_read_lpa() 366 int genphy_c45_read_pma(struct phy_device *phydev) in genphy_c45_read_pma() 410 int genphy_c45_read_mdix(struct phy_device *phydev) in genphy_c45_read_mdix() [all …]
|
A 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() 75 static int lan88xx_suspend(struct phy_device *phydev) in lan88xx_suspend() 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() 293 static void lan88xx_set_mdix(struct phy_device *phydev) in lan88xx_set_mdix() 320 static int lan88xx_config_init(struct phy_device *phydev) in lan88xx_config_init() [all …]
|
A 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() 166 static irqreturn_t bcm87xx_handle_interrupt(struct phy_device *phydev) in bcm87xx_handle_interrupt() 184 static int bcm8706_match_phy_device(struct phy_device *phydev) in bcm8706_match_phy_device() 189 static int bcm8727_match_phy_device(struct phy_device *phydev) in bcm8727_match_phy_device()
|
A D | aquantia_main.c | 188 static void aqr107_get_stats(struct phy_device *phydev, in aqr107_get_stats() 207 static int aqr_config_aneg(struct phy_device *phydev) in aqr_config_aneg() 245 static int aqr_config_intr(struct phy_device *phydev) in aqr_config_intr() 302 static int aqr_read_status(struct phy_device *phydev) in aqr_read_status() 322 static int aqr107_read_rate(struct phy_device *phydev) in aqr107_read_rate() 362 static int aqr107_read_status(struct phy_device *phydev) in aqr107_read_status() 435 static int aqr107_get_tunable(struct phy_device *phydev, in aqr107_get_tunable() 473 static void aqr107_chip_info(struct phy_device *phydev) in aqr107_chip_info() 588 static int aqr107_suspend(struct phy_device *phydev) in aqr107_suspend() 594 static int aqr107_resume(struct phy_device *phydev) in aqr107_resume() [all …]
|
A D | smsc.c | 51 static int smsc_phy_ack_interrupt(struct phy_device *phydev) in smsc_phy_ack_interrupt() 58 static int smsc_phy_config_intr(struct phy_device *phydev) in smsc_phy_config_intr() 108 static int smsc_phy_config_init(struct phy_device *phydev) in smsc_phy_config_init() 130 static int smsc_phy_reset(struct phy_device *phydev) in smsc_phy_reset() 149 static int lan911x_config_init(struct phy_device *phydev) in lan911x_config_init() 154 static int lan87xx_config_aneg(struct phy_device *phydev) in lan87xx_config_aneg() 214 static int lan87xx_read_status(struct phy_device *phydev) in lan87xx_read_status() 255 static int smsc_get_sset_count(struct phy_device *phydev) in smsc_get_sset_count() 285 static void smsc_get_stats(struct phy_device *phydev, in smsc_get_stats() 294 static void smsc_phy_remove(struct phy_device *phydev) in smsc_phy_remove() [all …]
|
/linux/drivers/net/phy/mscc/ |
A D | mscc.h | 431 u32 vsc85xx_csr_read(struct phy_device *phydev, 434 int vsc85xx_csr_write(struct phy_device *phydev, 438 int phy_base_read(struct phy_device *phydev, u32 regnum); 441 int vsc8584_cmd(struct phy_device *phydev, u16 val); 444 int vsc8584_macsec_init(struct phy_device *phydev); 446 void vsc8584_config_macsec_intr(struct phy_device *phydev); 461 void vsc85xx_link_change_notify(struct phy_device *phydev); 462 void vsc8584_config_ts_intr(struct phy_device *phydev); 463 int vsc8584_ptp_init(struct phy_device *phydev); 464 int vsc8584_ptp_probe_once(struct phy_device *phydev); [all …]
|
/linux/drivers/net/ethernet/realtek/ |
A D | r8169_phy_config.c | 18 struct phy_device *phydev); 109 struct phy_device *phydev) in rtl8169s_hw_phy_config() 177 struct phy_device *phydev) in rtl8169sb_hw_phy_config() 183 struct phy_device *phydev) in rtl8169scd_hw_phy_config() 283 struct phy_device *phydev) in rtl8168bb_hw_phy_config() 442 struct phy_device *phydev, in rtl8168d_apply_firmware_cond() 647 struct phy_device *phydev) in rtl8168f_hw_phy_config() 699 struct phy_device *phydev) in rtl8411_hw_phy_config() 991 struct phy_device *phydev) in rtl8117_hw_phy_config() 1045 struct phy_device *phydev) in rtl8401_hw_phy_config() [all …]
|