/linux/drivers/net/ethernet/realtek/ |
A D | r8169_phy_config.c | 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() 229 struct phy_device *phydev) in rtl8169sce_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 …]
|
/linux/drivers/net/phy/ |
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() local 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() local 1438 struct phy_device *phydev = ndev->phydev; in phy_ethtool_get_link_ksettings() local 1452 struct phy_device *phydev = ndev->phydev; in phy_ethtool_set_link_ksettings() local [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 | 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 | 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 | broadcom.c | 19 #define BRCM_PHY_MODEL(phydev) \ argument 22 #define BRCM_PHY_REV(phydev) \ argument 29 static int bcm54xx_config_clock_delay(struct phy_device *phydev) in bcm54xx_config_clock_delay() 70 static int bcm54210e_config_init(struct phy_device *phydev) in bcm54210e_config_init() 85 static int bcm54612e_config_init(struct phy_device *phydev) in bcm54612e_config_init() 106 static int bcm54616s_config_init(struct phy_device *phydev) in bcm54616s_config_init() 315 static int bcm54xx_config_init(struct phy_device *phydev) in bcm54xx_config_init() 416 static int bcm54xx_suspend(struct phy_device *phydev) in bcm54xx_suspend() 431 static int bcm54xx_resume(struct phy_device *phydev) in bcm54xx_resume() 515 static int bcm54616s_probe(struct phy_device *phydev) in bcm54616s_probe() [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() local 522 struct phy_device *phydev = upstream; in mv2222_sfp_remove() local 533 struct phy_device *phydev = upstream; in mv2222_sfp_link_up() local 542 struct phy_device *phydev = upstream; in mv2222_sfp_link_down() local [all …]
|
A D | phy_device.c | 210 struct phy_device *phydev; in phy_mdio_device_free() local 223 struct phy_device *phydev; in phy_mdio_device_remove() local 991 struct phy_device *phydev; in phy_find_first() local 1081 struct phy_device *phydev; in phy_connect() local 1157 int phy_init_hw(struct phy_device *phydev) in phy_init_hw() 1295 struct phy_device *phydev = upstream; in phy_sfp_attach() local 1312 struct phy_device *phydev = upstream; in phy_sfp_detach() local 1511 struct phy_device *phydev; in phy_attach() local 1712 void phy_detach(struct phy_device *phydev) in phy_detach() 1766 int phy_suspend(struct phy_device *phydev) in phy_suspend() [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 | 192 struct phy_device *phydev = dev_get_drvdata(dev); in mv3310_hwmon_read() local 310 static int mv3310_power_down(struct phy_device *phydev) in mv3310_power_down() 316 static int mv3310_power_up(struct phy_device *phydev) in mv3310_power_up() 467 struct phy_device *phydev = upstream; in mv3310_sfp_insert() local 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() 799 static int mv3310_aneg_done(struct phy_device *phydev) in mv3310_aneg_done() 1147 static void mv3110_get_wol(struct phy_device *phydev, in mv3110_get_wol() [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() 1682 static int marvell_suspend(struct phy_device *phydev) in marvell_suspend() 1717 static int marvell_resume(struct phy_device *phydev) in marvell_resume() 2550 struct phy_device *phydev = dev_get_drvdata(dev); in marvell_hwmon_read() local 2575 struct phy_device *phydev = dev_get_drvdata(dev); in marvell_hwmon_write() local 2593 const struct phy_device *phydev = data; in marvell_hwmon_is_visible() local 2733 static int marvell_probe(struct phy_device *phydev) in marvell_probe() 2748 struct phy_device *phydev = upstream; in m88e1510_sfp_insert() local 2801 struct phy_device *phydev = upstream; in m88e1510_sfp_remove() local [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 | nxp-tja11xx.c | 78 struct phy_device *phydev; member 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() 254 static int tja11xx_config_init(struct phy_device *phydev) in tja11xx_config_init() 307 static int tja11xx_read_status(struct phy_device *phydev) in tja11xx_read_status() 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() local 466 static int tja11xx_probe(struct phy_device *phydev) in tja11xx_probe() [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 | 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 …]
|
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() local 585 struct phy_device *phydev = rdev_get_drvdata(rdev); in at803x_rgmii_reg_get_voltage_sel() local 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 | lxt.c | 62 static int lxt970_ack_interrupt(struct phy_device *phydev) in lxt970_ack_interrupt() 79 static int lxt970_config_intr(struct phy_device *phydev) in lxt970_config_intr() 100 static irqreturn_t lxt970_handle_interrupt(struct phy_device *phydev) in lxt970_handle_interrupt() 127 static int lxt970_config_init(struct phy_device *phydev) in lxt970_config_init() 133 static int lxt971_ack_interrupt(struct phy_device *phydev) in lxt971_ack_interrupt() 143 static int lxt971_config_intr(struct phy_device *phydev) in lxt971_config_intr() 164 static irqreturn_t lxt971_handle_interrupt(struct phy_device *phydev) in lxt971_handle_interrupt() 187 static int lxt973a2_update_link(struct phy_device *phydev) in lxt973a2_update_link() 219 static int lxt973a2_read_status(struct phy_device *phydev) in lxt973a2_read_status() 280 static int lxt973_probe(struct phy_device *phydev) in lxt973_probe() [all …]
|
A D | bcm7xxx.c | 51 static int bcm7xxx_28nm_d0_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_d0_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() 590 static int bcm7xxx_16nm_ephy_resume(struct phy_device *phydev) in bcm7xxx_16nm_ephy_resume() 689 static int bcm7xxx_28nm_ephy_resume(struct phy_device *phydev) in bcm7xxx_28nm_ephy_resume() 701 static int bcm7xxx_config_init(struct phy_device *phydev) in bcm7xxx_config_init() 735 static int bcm7xxx_suspend(struct phy_device *phydev) in bcm7xxx_suspend() 762 static int bcm7xxx_28nm_get_tunable(struct phy_device *phydev, in bcm7xxx_28nm_get_tunable() 774 static int bcm7xxx_28nm_set_tunable(struct phy_device *phydev, in bcm7xxx_28nm_set_tunable() 811 static int bcm7xxx_28nm_probe(struct phy_device *phydev) in bcm7xxx_28nm_probe() [all …]
|
A 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() 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() 279 static int vsc82xx_config_intr(struct phy_device *phydev) in vsc82xx_config_intr() [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 | 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 | bcm-cygnus.c | 20 static int bcm_cygnus_afe_config(struct phy_device *phydev) in bcm_cygnus_afe_config() 75 static int bcm_cygnus_config_init(struct phy_device *phydev) in bcm_cygnus_config_init() 111 static int bcm_cygnus_resume(struct phy_device *phydev) in bcm_cygnus_resume() 128 static int bcm_omega_config_init(struct phy_device *phydev) in bcm_omega_config_init() 168 static int bcm_omega_resume(struct phy_device *phydev) in bcm_omega_resume() 185 static int bcm_omega_get_tunable(struct phy_device *phydev, in bcm_omega_get_tunable() 196 static int bcm_omega_set_tunable(struct phy_device *phydev, in bcm_omega_set_tunable() 225 static void bcm_omega_get_phy_stats(struct phy_device *phydev, in bcm_omega_get_phy_stats() 233 static int bcm_omega_probe(struct phy_device *phydev) in bcm_omega_probe()
|
/linux/drivers/net/phy/mscc/ |
A D | mscc_main.c | 159 static void vsc85xx_get_stats(struct phy_device *phydev, in vsc85xx_get_stats() 273 static int vsc85xx_wol_set(struct phy_device *phydev, in vsc85xx_wol_set() 352 static void vsc85xx_wol_get(struct phy_device *phydev, in vsc85xx_wol_get() 713 u32 vsc85xx_csr_read(struct phy_device *phydev, in vsc85xx_csr_read() 767 int vsc85xx_csr_write(struct phy_device *phydev, in vsc85xx_csr_write() 829 int vsc8584_cmd(struct phy_device *phydev, u16 val) in vsc8584_cmd() 960 static int vsc8584_patch_fw(struct phy_device *phydev, in vsc8584_patch_fw() 2192 static int vsc8514_probe(struct phy_device *phydev) in vsc8514_probe() 2221 static int vsc8574_probe(struct phy_device *phydev) in vsc8574_probe() 2250 static int vsc8584_probe(struct phy_device *phydev) in vsc8584_probe() [all …]
|
A D | mscc_ptp.c | 166 static int vsc85xx_ts_fsb_init(struct phy_device *phydev) in vsc85xx_ts_fsb_init() 613 struct phy_device *phydev = ptp->phydev; in vsc85xx_adjfine() local 647 struct phy_device *phydev = ptp->phydev; in __vsc85xx_gettime() local 684 struct phy_device *phydev = ptp->phydev; in vsc85xx_gettime() local 698 struct phy_device *phydev = ptp->phydev; in __vsc85xx_settime() local 734 struct phy_device *phydev = ptp->phydev; in vsc85xx_settime() local 747 struct phy_device *phydev = ptp->phydev; in vsc85xx_adjtime() local 1052 struct phy_device *phydev = vsc8531->ptp->phydev; in vsc85xx_hwtstamp() local 1510 int vsc8584_ptp_init(struct phy_device *phydev) in vsc8584_ptp_init() 1552 int vsc8584_ptp_probe(struct phy_device *phydev) in vsc8584_ptp_probe() [all …]
|