Home
last modified time | relevance | path

Searched refs:phydev (Results 1 – 25 of 198) sorted by relevance

12345678

/linux/drivers/net/phy/
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() argument
23 if (phydev->pma_extable == -ENODATA) { in genphy_c45_baset1_able()
24 val = phy_read_mmd(phydev, MDIO_MMD_PMAPMD, MDIO_PMA_EXTABLE); in genphy_c45_baset1_able()
28 phydev->pma_extable = val; in genphy_c45_baset1_able()
31 return !!(phydev->pma_extable & MDIO_PMA_EXTABLE_BT1); 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() argument
42 stat1 = phy_read_mmd(phydev, MDIO_MMD_PMAPMD, MDIO_STAT1); in genphy_c45_pma_can_sleep()
51 * @phydev
53 genphy_c45_pma_resume(struct phy_device * phydev) genphy_c45_pma_resume() argument
67 genphy_c45_pma_suspend(struct phy_device * phydev) genphy_c45_pma_suspend() argument
82 genphy_c45_pma_baset1_setup_master_slave(struct phy_device * phydev) genphy_c45_pma_baset1_setup_master_slave() argument
111 genphy_c45_pma_setup_forced(struct phy_device * phydev) genphy_c45_pma_setup_forced() argument
204 genphy_c45_baset1_an_config_aneg(struct phy_device * phydev) genphy_c45_baset1_an_config_aneg() argument
269 genphy_c45_an_config_aneg(struct phy_device * phydev) genphy_c45_an_config_aneg() argument
321 genphy_c45_an_disable_aneg(struct phy_device * phydev) genphy_c45_an_disable_aneg() argument
341 genphy_c45_restart_aneg(struct phy_device * phydev) genphy_c45_restart_aneg() argument
362 genphy_c45_check_and_restart_aneg(struct phy_device * phydev,bool restart) genphy_c45_check_and_restart_aneg() argument
393 genphy_c45_pma_soft_reset(struct phy_device * phydev) genphy_c45_pma_soft_reset() argument
420 genphy_c45_an_setup_master_slave(struct phy_device * phydev) genphy_c45_an_setup_master_slave() argument
459 genphy_c45_read_master_slave(struct phy_device * phydev) genphy_c45_read_master_slave() argument
511 genphy_c45_aneg_done(struct phy_device * phydev) genphy_c45_aneg_done() argument
533 genphy_c45_read_link(struct phy_device * phydev) genphy_c45_read_link() argument
589 genphy_c45_baset1_read_lpa(struct phy_device * phydev) genphy_c45_baset1_read_lpa() argument
637 genphy_c45_read_lpa(struct phy_device * phydev) genphy_c45_read_lpa() argument
687 genphy_c45_pma_baset1_read_master_slave(struct phy_device * phydev) genphy_c45_pma_baset1_read_master_slave() argument
714 genphy_c45_read_pma(struct phy_device * phydev) genphy_c45_read_pma() argument
764 genphy_c45_read_mdix(struct phy_device * phydev) genphy_c45_read_mdix() argument
798 genphy_c45_write_eee_adv(struct phy_device * phydev,unsigned long * adv) genphy_c45_write_eee_adv() argument
861 genphy_c45_read_eee_adv(struct phy_device * phydev,unsigned long * adv) genphy_c45_read_eee_adv() argument
907 genphy_c45_read_eee_lpa(struct phy_device * phydev,unsigned long * lpa) genphy_c45_read_eee_lpa() argument
953 genphy_c45_read_eee_cap1(struct phy_device * phydev) genphy_c45_read_eee_cap1() argument
987 genphy_c45_read_eee_cap2(struct phy_device * phydev) genphy_c45_read_eee_cap2() argument
1011 genphy_c45_read_eee_abilities(struct phy_device * phydev) genphy_c45_read_eee_abilities() argument
1054 genphy_c45_an_config_eee_aneg(struct phy_device * phydev) genphy_c45_an_config_eee_aneg() argument
1080 genphy_c45_pma_baset1_read_abilities(struct phy_device * phydev) genphy_c45_pma_baset1_read_abilities() argument
1119 genphy_c45_pma_read_ext_abilities(struct phy_device * phydev) genphy_c45_pma_read_ext_abilities() argument
1196 genphy_c45_pma_read_abilities(struct phy_device * phydev) genphy_c45_pma_read_abilities() argument
1248 genphy_c45_baset1_read_status(struct phy_device * phydev) genphy_c45_baset1_read_status() argument
1286 genphy_c45_read_status(struct phy_device * phydev) genphy_c45_read_status() argument
1331 genphy_c45_config_aneg(struct phy_device * phydev) genphy_c45_config_aneg() argument
1359 gen10g_config_aneg(struct phy_device * phydev) gen10g_config_aneg() argument
1365 genphy_c45_loopback(struct phy_device * phydev,bool enable,int speed) genphy_c45_loopback() argument
1386 genphy_c45_fast_retrain(struct phy_device * phydev,bool enable) genphy_c45_fast_retrain() argument
1420 genphy_c45_plca_get_cfg(struct phy_device * phydev,struct phy_plca_cfg * plca_cfg) genphy_c45_plca_get_cfg() argument
1474 genphy_c45_plca_set_cfg(struct phy_device * phydev,const struct phy_plca_cfg * plca_cfg) genphy_c45_plca_set_cfg() argument
1588 genphy_c45_plca_get_status(struct phy_device * phydev,struct phy_plca_status * plca_st) genphy_c45_plca_get_status() argument
1610 genphy_c45_eee_is_active(struct phy_device * phydev,unsigned long * lp) genphy_c45_eee_is_active() argument
1642 genphy_c45_ethtool_get_eee(struct phy_device * phydev,struct ethtool_keee * data) genphy_c45_ethtool_get_eee() argument
1672 genphy_c45_ethtool_set_eee(struct phy_device * phydev,struct ethtool_keee * data) genphy_c45_ethtool_set_eee() argument
1759 genphy_c45_oatc14_cable_test_get_status(struct phy_device * phydev,bool * finished) genphy_c45_oatc14_cable_test_get_status() argument
1807 genphy_c45_oatc14_cable_test_start(struct phy_device * phydev) genphy_c45_oatc14_cable_test_start() argument
1856 oatc14_update_sqi_capability(struct phy_device * phydev) oatc14_update_sqi_capability() argument
1906 genphy_c45_oatc14_get_sqi_max(struct phy_device * phydev) genphy_c45_oatc14_get_sqi_max() argument
1934 genphy_c45_oatc14_get_sqi(struct phy_device * phydev) genphy_c45_oatc14_get_sqi() argument
[all...]
H A Dphy_device.c202 void phy_device_free(struct phy_device *phydev) in features_init()
204 put_device(&phydev->mdio.dev); in features_init()
210 struct phy_device *phydev; in phy_device_free() argument
212 phydev = container_of(mdiodev, struct phy_device, mdio); in phy_device_free()
213 phy_device_free(phydev); 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()
227 phy_device_remove(phydev); in phy_device_release()
232 static bool phy_drv_wol_enabled(struct phy_device *phydev) in phy_mdio_device_remove() local
236 phy_ethtool_get_wol(phydev, in phy_mdio_device_remove()
218 struct phy_device *phydev; phy_mdio_device_free() local
243 phy_drv_wol_enabled(struct phy_device * phydev) phy_drv_wol_enabled() argument
252 phy_may_wakeup(struct phy_device * phydev) phy_may_wakeup() argument
262 phy_link_change(struct phy_device * phydev,bool up) phy_link_change() argument
293 phy_uses_state_machine(struct phy_device * phydev) phy_uses_state_machine() argument
301 mdio_bus_phy_may_suspend(struct phy_device * phydev) mdio_bus_phy_may_suspend() argument
348 struct phy_device *phydev = to_phy_device(dev); mdio_bus_phy_suspend() local
380 struct phy_device *phydev = to_phy_device(dev); mdio_bus_phy_resume() local
475 phy_needs_fixup(struct phy_device * phydev,struct phy_fixup * fixup) phy_needs_fixup() argument
488 phy_scan_fixups(struct phy_device * phydev) phy_scan_fixups() argument
522 genphy_match_phy_device(struct phy_device * phydev,const struct phy_driver * phydrv) genphy_match_phy_device() argument
548 struct phy_device *phydev = to_phy_device(dev); phy_bus_match() local
563 struct phy_device *phydev = to_phy_device(dev); phy_id_show() local
572 struct phy_device *phydev = to_phy_device(dev); phy_interface_show() local
588 struct phy_device *phydev = to_phy_device(dev); phy_has_fixups_show() local
598 struct phy_device *phydev = to_phy_device(dev); phy_dev_flags_show() local
697 struct phy_device *phydev = to_phy_device(dev); phy_mmd_is_visible() local
1109 phy_device_register(struct phy_device * phydev) phy_device_register() argument
1152 phy_device_remove(struct phy_device * phydev) phy_device_remove() argument
1173 phy_get_c45_ids(struct phy_device * phydev) phy_get_c45_ids() argument
1191 struct phy_device *phydev = mdiobus_get_phy(bus, addr); phy_find_next() local
1212 phy_prepare_link(struct phy_device * phydev,void (* handler)(struct net_device *)) phy_prepare_link() argument
1225 phy_connect_direct(struct net_device * dev,struct phy_device * phydev,void (* handler)(struct net_device *),phy_interface_t interface) phy_connect_direct() argument
1265 struct phy_device *phydev; phy_connect() local
1293 phy_disconnect(struct phy_device * phydev) phy_disconnect() argument
1325 phy_poll_reset(struct phy_device * phydev) phy_poll_reset() argument
1341 phy_init_hw(struct phy_device * phydev) phy_init_hw() argument
1390 phy_attached_info(struct phy_device * phydev) phy_attached_info() argument
1397 phy_attached_info_irq(struct phy_device * phydev) phy_attached_info_irq() argument
1419 phy_attached_print(struct phy_device * phydev,const char * fmt,...) phy_attached_print() argument
1441 phy_sysfs_create_links(struct phy_device * phydev) phy_sysfs_create_links() argument
1473 struct phy_device *phydev = to_phy_device(dev); phy_standalone_show() local
1491 struct phy_device *phydev = upstream; phy_sfp_connect_phy() local
1512 struct phy_device *phydev = upstream; phy_sfp_disconnect_phy() local
1528 struct phy_device *phydev = upstream; phy_sfp_attach() local
1544 struct phy_device *phydev = upstream; phy_sfp_detach() local
1554 struct phy_device *phydev = upstream; phy_sfp_module_insert() local
1592 struct phy_device *phydev = upstream; phy_sfp_module_remove() local
1604 struct phy_device *phydev = upstream; phy_sfp_link_up() local
1613 struct phy_device *phydev = upstream; phy_sfp_link_down() local
1631 phy_add_port(struct phy_device * phydev,struct phy_port * port) phy_add_port() argument
1666 phy_del_port(struct phy_device * phydev,struct phy_port * port) phy_del_port() argument
1676 phy_setup_sfp_port(struct phy_device * phydev) phy_setup_sfp_port() argument
1707 phy_sfp_probe(struct phy_device * phydev) phy_sfp_probe() argument
1752 phy_attach_direct(struct net_device * dev,struct phy_device * phydev,u32 flags,phy_interface_t interface) phy_attach_direct() argument
1916 phy_detach(struct phy_device * phydev) phy_detach() argument
1989 phy_suspend(struct phy_device * phydev) phy_suspend() argument
2015 __phy_resume(struct phy_device * phydev) __phy_resume() argument
2033 phy_resume(struct phy_device * phydev) phy_resume() argument
2054 phy_reset_after_clk_enable(struct phy_device * phydev) phy_reset_after_clk_enable() argument
2081 genphy_config_advert(struct phy_device * phydev,const unsigned long * advert) genphy_config_advert() argument
2133 genphy_c37_config_advert(struct phy_device * phydev) genphy_c37_config_advert() argument
2165 genphy_setup_forced(struct phy_device * phydev) genphy_setup_forced() argument
2179 genphy_setup_master_slave(struct phy_device * phydev) genphy_setup_master_slave() argument
2211 genphy_read_master_slave(struct phy_device * phydev) genphy_read_master_slave() argument
2262 genphy_restart_aneg(struct phy_device * phydev) genphy_restart_aneg() argument
2277 genphy_check_and_restart_aneg(struct phy_device * phydev,bool restart) genphy_check_and_restart_aneg() argument
2309 __genphy_config_aneg(struct phy_device * phydev,bool changed) __genphy_config_aneg() argument
2366 genphy_c37_config_aneg(struct phy_device * phydev) genphy_c37_config_aneg() argument
2413 genphy_aneg_done(struct phy_device * phydev) genphy_aneg_done() argument
2429 genphy_update_link(struct phy_device * phydev) genphy_update_link() argument
2474 genphy_read_lpa(struct phy_device * phydev) genphy_read_lpa() argument
2528 genphy_read_status_fixed(struct phy_device * phydev) genphy_read_status_fixed() argument
2560 genphy_read_status(struct phy_device * phydev) genphy_read_status() argument
2613 genphy_c37_read_status(struct phy_device * phydev,bool * changed) genphy_c37_read_status() argument
2675 genphy_soft_reset(struct phy_device * phydev) genphy_soft_reset() argument
2705 genphy_handle_interrupt_no_ack(struct phy_device * phydev) genphy_handle_interrupt_no_ack() argument
2727 genphy_read_abilities(struct phy_device * phydev) genphy_read_abilities() argument
2779 genphy_read_mmd_c45(struct phy_device * phydev,int devnum,u16 regnum) genphy_read_mmd_c45() argument
2788 genphy_write_mmd_c45(struct phy_device * phydev,int devnum,u16 regnum,u16 val) genphy_write_mmd_c45() argument
2815 genphy_suspend(struct phy_device * phydev) genphy_suspend() argument
2821 genphy_resume(struct phy_device * phydev) genphy_resume() argument
2827 genphy_loopback(struct phy_device * phydev,bool enable,int speed) genphy_loopback() argument
2867 phy_remove_link_mode(struct phy_device * phydev,u32 link_mode) phy_remove_link_mode() argument
2889 phy_advertise_supported(struct phy_device * phydev) phy_advertise_supported() argument
2909 phy_advertise_eee_all(struct phy_device * phydev) phy_advertise_eee_all() argument
2936 phy_support_eee(struct phy_device * phydev) phy_support_eee() argument
2966 phy_disable_eee(struct phy_device * phydev) phy_disable_eee() argument
2983 phy_support_sym_pause(struct phy_device * phydev) phy_support_sym_pause() argument
2996 phy_support_asym_pause(struct phy_device * phydev) phy_support_asym_pause() argument
3013 phy_set_sym_pause(struct phy_device * phydev,bool rx,bool tx,bool autoneg) phy_set_sym_pause() argument
3037 phy_set_asym_pause(struct phy_device * phydev,bool rx,bool tx) phy_set_asym_pause() argument
3059 phy_validate_pause(struct phy_device * phydev,struct ethtool_pauseparam * pp) phy_validate_pause() argument
3087 phy_get_pause(struct phy_device * phydev,bool * tx_pause,bool * rx_pause) phy_get_pause() argument
3128 phy_get_internal_delay(struct phy_device * phydev,const int * delay_values,int size,bool is_rx) phy_get_internal_delay() argument
3201 phy_get_tx_amplitude_gain(struct phy_device * phydev,struct device * dev,enum ethtool_link_mode_bit_indices linkmode,u32 * val) phy_get_tx_amplitude_gain() argument
3224 phy_get_mac_termination(struct phy_device * phydev,struct device * dev,u32 * val) phy_get_mac_termination() argument
3235 struct phy_device *phydev = phyled->phydev; phy_led_set_brightness() local
3250 struct phy_device *phydev = phyled->phydev; phy_led_blink_set() local
3265 struct phy_device *phydev = phyled->phydev; phy_led_hw_control_get_device() local
3277 struct phy_device *phydev = phyled->phydev; phy_led_hw_control_get() local
3292 struct phy_device *phydev = phyled->phydev; phy_led_hw_control_set() local
3306 struct phy_device *phydev = phyled->phydev; phy_led_hw_is_supported() local
3316 phy_leds_unregister(struct phy_device * phydev) phy_leds_unregister() argument
3326 of_phy_led(struct phy_device * phydev,struct device_node * led) of_phy_led() argument
3403 of_phy_leds(struct phy_device * phydev) of_phy_leds() argument
3443 phy_cleanup_ports(struct phy_device * phydev) phy_cleanup_ports() argument
3453 phy_default_setup_single_port(struct phy_device * phydev) phy_default_setup_single_port() argument
3488 of_phy_ports(struct phy_device * phydev) of_phy_ports() argument
3533 phy_setup_ports(struct phy_device * phydev) phy_setup_ports() argument
3595 phy_get_sfp_port(struct phy_device * phydev) phy_get_sfp_port() argument
3687 struct phy_device *phydev = to_phy_device(dev); phy_probe() local
3831 struct phy_device *phydev = to_phy_device(dev); phy_remove() local
[all...]
H A Dbroadcom.c26 #define BRCM_PHY_REV(phydev) \ argument
27 ((phydev)->drv->phy_id & ~((phydev)->drv->phy_id_mask))
63 static bool bcm54xx_phy_can_wakeup(struct phy_device *phydev) in bcm54xx_phy_can_wakeup() argument
65 struct bcm54xx_phy_priv *priv = phydev->priv; in bcm54xx_phy_can_wakeup()
67 return phy_interrupt_is_valid(phydev) || priv->wake_irq >= 0; in bcm54xx_phy_can_wakeup()
70 static int bcm54xx_config_clock_delay(struct phy_device *phydev) in bcm54xx_config_clock_delay() argument
75 val = bcm54xx_auxctl_read(phydev, MII_BCM54XX_AUXCTL_SHDWSEL_MISC); in bcm54xx_config_clock_delay()
77 if (phydev->interface == PHY_INTERFACE_MODE_RGMII || in bcm54xx_config_clock_delay()
78 phydev in bcm54xx_config_clock_delay()
111 bcm54210e_config_init(struct phy_device * phydev) bcm54210e_config_init() argument
126 bcm54612e_config_init(struct phy_device * phydev) bcm54612e_config_init() argument
147 bcm54616s_config_init(struct phy_device * phydev) bcm54616s_config_init() argument
206 bcm50610_a0_workaround(struct phy_device * phydev) bcm50610_a0_workaround() argument
237 bcm54xx_phydsp_config(struct phy_device * phydev) bcm54xx_phydsp_config() argument
285 bcm54xx_adjust_rxrefclk(struct phy_device * phydev) bcm54xx_adjust_rxrefclk() argument
357 bcm54xx_ptp_stop(struct phy_device * phydev) bcm54xx_ptp_stop() argument
365 bcm54xx_ptp_config_init(struct phy_device * phydev) bcm54xx_ptp_config_init() argument
373 bcm5481x_set_brrmode(struct phy_device * phydev,bool on) bcm5481x_set_brrmode() argument
405 bcm54811_config_init(struct phy_device * phydev) bcm54811_config_init() argument
458 bcm54xx_config_init(struct phy_device * phydev) bcm54xx_config_init() argument
553 bcm54xx_iddq_set(struct phy_device * phydev,bool enable) bcm54xx_iddq_set() argument
574 bcm54xx_set_wakeup_irq(struct phy_device * phydev,bool state) bcm54xx_set_wakeup_irq() argument
593 bcm54xx_suspend(struct phy_device * phydev) bcm54xx_suspend() argument
623 bcm54xx_resume(struct phy_device * phydev) bcm54xx_resume() argument
661 bcm54810_read_mmd(struct phy_device * phydev,int devnum,u16 regnum) bcm54810_read_mmd() argument
666 bcm54810_write_mmd(struct phy_device * phydev,int devnum,u16 regnum,u16 val) bcm54810_write_mmd() argument
687 bcm5481x_read_abilities(struct phy_device * phydev) bcm5481x_read_abilities() argument
737 bcm5481x_config_delay_swap(struct phy_device * phydev) bcm5481x_config_delay_swap() argument
756 bcm5481_config_aneg(struct phy_device * phydev) bcm5481_config_aneg() argument
774 bcm54811_config_aneg(struct phy_device * phydev) bcm54811_config_aneg() argument
806 bcm54616s_probe(struct phy_device * phydev) bcm54616s_probe() argument
846 bcm54616s_config_aneg(struct phy_device * phydev) bcm54616s_config_aneg() argument
863 bcm54616s_read_status(struct phy_device * phydev) bcm54616s_read_status() argument
877 brcm_fet_config_init(struct phy_device * phydev) brcm_fet_config_init() argument
979 brcm_fet_ack_interrupt(struct phy_device * phydev) brcm_fet_ack_interrupt() argument
991 brcm_fet_config_intr(struct phy_device * phydev) brcm_fet_config_intr() argument
1018 brcm_fet_handle_interrupt(struct phy_device * phydev) brcm_fet_handle_interrupt() argument
1036 brcm_fet_suspend(struct phy_device * phydev) brcm_fet_suspend() argument
1081 bcm5221_config_aneg(struct phy_device * phydev) bcm5221_config_aneg() argument
1108 bcm5221_read_status(struct phy_device * phydev) bcm5221_read_status() argument
1134 bcm54xx_phy_get_wol(struct phy_device * phydev,struct ethtool_wolinfo * wol) bcm54xx_phy_get_wol() argument
1150 bcm54xx_phy_set_wol(struct phy_device * phydev,struct ethtool_wolinfo * wol) bcm54xx_phy_set_wol() argument
1170 bcm54xx_phy_probe(struct phy_device * phydev) bcm54xx_phy_probe() argument
1225 bcm54xx_get_stats(struct phy_device * phydev,struct ethtool_stats * stats,u64 * data) bcm54xx_get_stats() argument
1233 bcm54xx_link_change_notify(struct phy_device * phydev) bcm54xx_link_change_notify() argument
1263 lre_read_master_slave(struct phy_device * phydev) lre_read_master_slave() argument
1301 lre_read_lpa(struct phy_device * phydev) lre_read_lpa() argument
1339 lre_read_status_fixed(struct phy_device * phydev) lre_read_status_fixed() argument
1367 lre_update_link(struct phy_device * phydev) lre_update_link() argument
1414 bcm54811_lre_read_status(struct phy_device * phydev) bcm54811_lre_read_status() argument
1450 bcm54811_read_status(struct phy_device * phydev) bcm54811_read_status() argument
1460 bcm54xx_disable_autonomous_eee(struct phy_device * phydev) bcm54xx_disable_autonomous_eee() argument
[all...]
H A Dbcm7xxx.c50 static int bcm7xxx_28nm_d0_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_d0_afe_config_init() argument
53 bcm_phy_write_misc(phydev, AFE_RXCONFIG_0, 0xeb15); in bcm7xxx_28nm_d0_afe_config_init()
56 bcm_phy_write_misc(phydev, AFE_RXCONFIG_1, 0x9b2f); in bcm7xxx_28nm_d0_afe_config_init()
59 bcm_phy_write_misc(phydev, AFE_RXCONFIG_2, 0x2003); in bcm7xxx_28nm_d0_afe_config_init()
62 bcm_phy_write_misc(phydev, AFE_RX_LP_COUNTER, 0x7fc0); in bcm7xxx_28nm_d0_afe_config_init()
65 bcm_phy_write_misc(phydev, AFE_TX_CONFIG, 0x431); in bcm7xxx_28nm_d0_afe_config_init()
68 bcm_phy_write_misc(phydev, AFE_VDCA_ICTRL_0, 0xa7da); in bcm7xxx_28nm_d0_afe_config_init()
71 bcm_phy_write_misc(phydev, AFE_VDAC_OTHERS_0, 0xa020); in bcm7xxx_28nm_d0_afe_config_init()
76 bcm_phy_write_misc(phydev, AFE_HPF_TRIM_OTHERS, 0x00e3); in bcm7xxx_28nm_d0_afe_config_init()
79 phy_write(phydev, MII_BRCM_CORE_BASE1 in bcm7xxx_28nm_d0_afe_config_init()
90 bcm7xxx_28nm_e0_plus_afe_config_init(struct phy_device * phydev) bcm7xxx_28nm_e0_plus_afe_config_init() argument
118 bcm7xxx_28nm_a0_patch_afe_config_init(struct phy_device * phydev) bcm7xxx_28nm_a0_patch_afe_config_init() argument
143 bcm7xxx_28nm_config_init(struct phy_device * phydev) bcm7xxx_28nm_config_init() argument
206 bcm7xxx_28nm_resume(struct phy_device * phydev) bcm7xxx_28nm_resume() argument
254 bcm7xxx_28nm_ephy_01_afe_config_init(struct phy_device * phydev) bcm7xxx_28nm_ephy_01_afe_config_init() argument
300 bcm7xxx_28nm_ephy_apd_enable(struct phy_device * phydev) bcm7xxx_28nm_ephy_apd_enable() argument
325 bcm7xxx_28nm_ephy_eee_enable(struct phy_device * phydev) bcm7xxx_28nm_ephy_eee_enable() argument
388 bcm7xxx_28nm_ephy_config_init(struct phy_device * phydev) bcm7xxx_28nm_ephy_config_init() argument
417 bcm7xxx_16nm_ephy_afe_config(struct phy_device * phydev) bcm7xxx_16nm_ephy_afe_config() argument
558 bcm7xxx_16nm_ephy_config_init(struct phy_device * phydev) bcm7xxx_16nm_ephy_config_init() argument
589 bcm7xxx_16nm_ephy_resume(struct phy_device * phydev) bcm7xxx_16nm_ephy_resume() argument
628 bcm7xxx_28nm_ephy_read_mmd(struct phy_device * phydev,int devnum,u16 regnum) bcm7xxx_28nm_ephy_read_mmd() argument
658 bcm7xxx_28nm_ephy_write_mmd(struct phy_device * phydev,int devnum,u16 regnum,u16 val) bcm7xxx_28nm_ephy_write_mmd() argument
688 bcm7xxx_28nm_ephy_resume(struct phy_device * phydev) bcm7xxx_28nm_ephy_resume() argument
700 bcm7xxx_config_init(struct phy_device * phydev) bcm7xxx_config_init() argument
734 bcm7xxx_suspend(struct phy_device * phydev) bcm7xxx_suspend() argument
761 bcm7xxx_28nm_get_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,void * data) bcm7xxx_28nm_get_tunable() argument
773 bcm7xxx_28nm_set_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,const void * data) bcm7xxx_28nm_set_tunable() argument
802 bcm7xxx_28nm_get_phy_stats(struct phy_device * phydev,struct ethtool_stats * stats,u64 * data) bcm7xxx_28nm_get_phy_stats() argument
810 bcm7xxx_28nm_suspend(struct phy_device * phydev) bcm7xxx_28nm_suspend() argument
821 bcm7xxx_28nm_probe(struct phy_device * phydev) bcm7xxx_28nm_probe() argument
[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() argument
25 rc = __phy_write(phydev, MII_BCM54XX_EXP_SEL, reg); in __bcm_phy_write_exp()
29 return __phy_write(phydev, MII_BCM54XX_EXP_DATA, 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() argument
37 phy_lock_mdio_bus(phydev); in bcm_phy_write_exp()
38 rc = __bcm_phy_write_exp(phydev, reg, val); in bcm_phy_write_exp()
39 phy_unlock_mdio_bus(phydev); in bcm_phy_write_exp()
45 int __bcm_phy_read_exp(struct phy_device *phydev, u16 reg) in __bcm_phy_read_exp() argument
49 val = __phy_write(phydev, MII_BCM54XX_EXP_SEL, reg); in __bcm_phy_read_exp()
53 val = __phy_read(phydev, MII_BCM54XX_EXP_DATA); in __bcm_phy_read_exp()
[all …]
H A Dmarvell-88q2xxx.c220 static int mv88q2xxx_write_mmd_vals(struct phy_device *phydev, in mv88q2xxx_write_mmd_vals() argument
226 ret = phy_write_mmd(phydev, vals->devad, vals->regnum, in mv88q2xxx_write_mmd_vals()
235 static int mv88q2xxx_soft_reset(struct phy_device *phydev) in mv88q2xxx_soft_reset() argument
241 if (phydev->autoneg == AUTONEG_ENABLE || phydev->speed == SPEED_1000) { in mv88q2xxx_soft_reset()
242 ret = phy_write_mmd(phydev, MDIO_MMD_PCS, 0xfe1b, 0x48); in mv88q2xxx_soft_reset()
247 ret = phy_write_mmd(phydev, MDIO_MMD_PCS, MDIO_PCS_1000BT1_CTRL, in mv88q2xxx_soft_reset()
252 ret = phy_read_mmd_poll_timeout(phydev, MDIO_MMD_PCS, in mv88q2xxx_soft_reset()
259 ret = phy_write_mmd(phydev, MDIO_MMD_PCS, 0xffe4, 0xc); in mv88q2xxx_soft_reset()
264 if (phydev in mv88q2xxx_soft_reset()
270 mv88q2xxx_read_link_gbit(struct phy_device * phydev) mv88q2xxx_read_link_gbit() argument
315 mv88q2xxx_read_link_100m(struct phy_device * phydev) mv88q2xxx_read_link_100m() argument
361 mv88q2xxx_read_link(struct phy_device * phydev) mv88q2xxx_read_link() argument
377 mv88q2xxx_read_master_slave_state(struct phy_device * phydev) mv88q2xxx_read_master_slave_state() argument
394 mv88q2xxx_read_aneg_speed(struct phy_device * phydev) mv88q2xxx_read_aneg_speed() argument
414 mv88q2xxx_read_status(struct phy_device * phydev) mv88q2xxx_read_status() argument
454 mv88q2xxx_get_features(struct phy_device * phydev) mv88q2xxx_get_features() argument
473 mv88q2xxx_config_aneg(struct phy_device * phydev) mv88q2xxx_config_aneg() argument
484 mv88q2xxx_get_sqi(struct phy_device * phydev) mv88q2xxx_get_sqi() argument
515 mv88q2xxx_get_sqi_max(struct phy_device * phydev) mv88q2xxx_get_sqi_max() argument
520 mv88q2xxx_config_intr(struct phy_device * phydev) mv88q2xxx_config_intr() argument
551 mv88q2xxx_handle_interrupt(struct phy_device * phydev) mv88q2xxx_handle_interrupt() argument
593 mv88q2xxx_suspend(struct phy_device * phydev) mv88q2xxx_suspend() argument
609 mv88q2xxx_resume(struct phy_device * phydev) mv88q2xxx_resume() argument
626 mv88q2xxx_enable_temp_sense(struct phy_device * phydev) mv88q2xxx_enable_temp_sense() argument
657 struct phy_device *phydev = dev_get_drvdata(dev); mv88q2xxx_hwmon_read() local
697 struct phy_device *phydev = dev_get_drvdata(dev); mv88q2xxx_hwmon_write() local
725 mv88q2xxx_hwmon_probe(struct phy_device * phydev) mv88q2xxx_hwmon_probe() argument
743 mv88q2xxx_enable_temp_sense(struct phy_device * phydev) mv88q2xxx_enable_temp_sense() argument
748 mv88q2xxx_hwmon_probe(struct phy_device * phydev) mv88q2xxx_hwmon_probe() argument
755 mv88q2xxx_leds_probe(struct phy_device * phydev) mv88q2xxx_leds_probe() argument
791 mv88q2xxx_leds_probe(struct phy_device * phydev) mv88q2xxx_leds_probe() argument
797 mv88q2xxx_probe(struct phy_device * phydev) mv88q2xxx_probe() argument
815 mv88q2xxx_config_init(struct phy_device * phydev) mv88q2xxx_config_init() argument
857 mv88q2110_config_init(struct phy_device * phydev) mv88q2110_config_init() argument
876 mv88q222x_revb0_config_init(struct phy_device * phydev) mv88q222x_revb0_config_init() argument
895 mv88q222x_revb1_revb2_config_init(struct phy_device * phydev) mv88q222x_revb1_revb2_config_init() argument
919 mv88q222x_config_init(struct phy_device * phydev) mv88q222x_config_init() argument
927 mv88q222x_cable_test_start(struct phy_device * phydev) mv88q222x_cable_test_start() argument
962 mv88q222x_cable_test_get_status(struct phy_device * phydev,bool * finished) mv88q222x_cable_test_get_status() argument
1028 mv88q2xxx_led_hw_is_supported(struct phy_device * phydev,u8 index,unsigned long rules) mv88q2xxx_led_hw_is_supported() argument
1040 mv88q2xxx_led_hw_control_set(struct phy_device * phydev,u8 index,unsigned long rules) mv88q2xxx_led_hw_control_set() argument
1063 mv88q2xxx_led_hw_control_get(struct phy_device * phydev,u8 index,unsigned long * rules) mv88q2xxx_led_hw_control_get() argument
[all...]
H A Dmotorcomm.c420 * @phydev: a pointer to a &struct phy_device
427 static int ytphy_read_ext(struct phy_device *phydev, u16 regnum) in ytphy_read_ext_with_lock()
431 ret = __phy_write(phydev, YTPHY_PAGE_SELECT, regnum); in ytphy_read_ext_with_lock()
435 return __phy_read(phydev, YTPHY_PAGE_DATA);
440 * @phydev: a pointer to a &struct phy_device
445 static int ytphy_read_ext_with_lock(struct phy_device *phydev, u16 regnum) in ytphy_write_ext() argument
449 phy_lock_mdio_bus(phydev); in ytphy_write_ext()
450 ret = ytphy_read_ext(phydev, regnum); in ytphy_write_ext()
451 phy_unlock_mdio_bus(phydev); in ytphy_write_ext()
458 * @phydev
406 ytphy_read_ext(struct phy_device * phydev,u16 regnum) ytphy_read_ext() argument
424 ytphy_read_ext_with_lock(struct phy_device * phydev,u16 regnum) ytphy_read_ext_with_lock() argument
464 ytphy_write_ext_with_lock(struct phy_device * phydev,u16 regnum,u16 val) ytphy_write_ext_with_lock() argument
489 ytphy_modify_ext(struct phy_device * phydev,u16 regnum,u16 mask,u16 set) ytphy_modify_ext() argument
513 ytphy_modify_ext_with_lock(struct phy_device * phydev,u16 regnum,u16 mask,u16 set) ytphy_modify_ext_with_lock() argument
532 ytphy_get_wol(struct phy_device * phydev,struct ethtool_wolinfo * wol) ytphy_get_wol() argument
559 ytphy_set_wol(struct phy_device * phydev,struct ethtool_wolinfo * wol) ytphy_set_wol() argument
631 yt8531_set_wol(struct phy_device * phydev,struct ethtool_wolinfo * wol) yt8531_set_wol() argument
686 yt8511_read_page(struct phy_device * phydev) yt8511_read_page() argument
691 yt8511_write_page(struct phy_device * phydev,int page) yt8511_write_page() argument
696 yt8511_config_init(struct phy_device * phydev) yt8511_config_init() argument
766 yt8521_read_page(struct phy_device * phydev) yt8521_read_page() argument
787 yt8521_write_page(struct phy_device * phydev,int page) yt8521_write_page() argument
848 ytphy_get_delay_reg_value(struct phy_device * phydev,const char * prop_name,const struct ytphy_cfg_reg_map * tbl,int tb_size,u16 * rxc_dly_en,u32 dflt) ytphy_get_delay_reg_value() argument
891 ytphy_rgmii_clk_delay_config(struct phy_device * phydev) ytphy_rgmii_clk_delay_config() argument
940 ytphy_rgmii_clk_delay_config_with_lock(struct phy_device * phydev) ytphy_rgmii_clk_delay_config_with_lock() argument
982 yt8531_get_ldo_vol(struct phy_device * phydev) yt8531_get_ldo_vol() argument
993 yt8531_get_ds_map(struct phy_device * phydev,u32 cur) yt8531_get_ds_map() argument
1007 yt8531_set_ds(struct phy_device * phydev) yt8531_set_ds() argument
1064 yt8521_probe(struct phy_device * phydev) yt8521_probe() argument
1187 yt8531_probe(struct phy_device * phydev) yt8531_probe() argument
1238 ytphy_utp_read_lpa(struct phy_device * phydev) ytphy_utp_read_lpa() argument
1295 yt8521_adjust_status(struct phy_device * phydev,int status,bool is_utp) yt8521_adjust_status() argument
1372 yt8521_read_status_paged(struct phy_device * phydev,int page) yt8521_read_status_paged() argument
1457 yt8521_read_status(struct phy_device * phydev) yt8521_read_status() argument
1551 yt8521_modify_bmcr_paged(struct phy_device * phydev,int page,u16 mask,u16 set) yt8521_modify_bmcr_paged() argument
1596 yt8521_modify_utp_fiber_bmcr(struct phy_device * phydev,u16 mask,u16 set) yt8521_modify_utp_fiber_bmcr() argument
1627 yt8521_soft_reset(struct phy_device * phydev) yt8521_soft_reset() argument
1638 yt8521_suspend(struct phy_device * phydev) yt8521_suspend() argument
1660 yt8521_resume(struct phy_device * phydev) yt8521_resume() argument
1689 yt8521_config_init(struct phy_device * phydev) yt8521_config_init() argument
1739 yt8521_led_hw_is_supported(struct phy_device * phydev,u8 index,unsigned long rules) yt8521_led_hw_is_supported() argument
1752 yt8521_led_hw_control_set(struct phy_device * phydev,u8 index,unsigned long rules) yt8521_led_hw_control_set() argument
1794 yt8521_led_hw_control_get(struct phy_device * phydev,u8 index,unsigned long * rules) yt8521_led_hw_control_get() argument
1830 yt8531_config_init(struct phy_device * phydev) yt8531_config_init() argument
1866 yt8522_config_init(struct phy_device * phydev) yt8522_config_init() argument
1905 yt8531_link_change_notify(struct phy_device * phydev) yt8531_link_change_notify() argument
1960 yt8521_prepare_fiber_features(struct phy_device * phydev,unsigned long * dst) yt8521_prepare_fiber_features() argument
1977 yt8521_fiber_setup_forced(struct phy_device * phydev) yt8521_fiber_setup_forced() argument
2017 ytphy_check_and_restart_aneg(struct phy_device * phydev,bool restart) ytphy_check_and_restart_aneg() argument
2051 yt8521_fiber_config_aneg(struct phy_device * phydev) yt8521_fiber_config_aneg() argument
2110 ytphy_setup_master_slave(struct phy_device * phydev) ytphy_setup_master_slave() argument
2154 ytphy_utp_config_advert(struct phy_device * phydev) ytphy_utp_config_advert() argument
2211 ytphy_utp_config_aneg(struct phy_device * phydev,bool changed) ytphy_utp_config_aneg() argument
2249 yt8521_config_aneg_paged(struct phy_device * phydev,int page) yt8521_config_aneg_paged() argument
2302 yt8521_config_aneg(struct phy_device * phydev) yt8521_config_aneg() argument
2347 yt8521_aneg_done_paged(struct phy_device * phydev,int page) yt8521_aneg_done_paged() argument
2374 yt8521_aneg_done(struct phy_device * phydev) yt8521_aneg_done() argument
2413 ytphy_utp_read_abilities(struct phy_device * phydev) ytphy_utp_read_abilities() argument
2461 yt8521_get_features_paged(struct phy_device * phydev,int page) yt8521_get_features_paged() argument
2490 yt8521_get_features(struct phy_device * phydev) yt8521_get_features() argument
2515 yt8821_get_features(struct phy_device * phydev) yt8821_get_features() argument
2533 yt8821_get_rate_matching(struct phy_device * phydev,phy_interface_t iface) yt8821_get_rate_matching() argument
2555 yt8821_aneg_done(struct phy_device * phydev) yt8821_aneg_done() argument
2566 yt8821_serdes_init(struct phy_device * phydev) yt8821_serdes_init() argument
2600 yt8821_utp_init(struct phy_device * phydev) yt8821_utp_init() argument
2793 yt8821_auto_sleep_config(struct phy_device * phydev,bool enable) yt8821_auto_sleep_config() argument
2821 yt8821_soft_reset(struct phy_device * phydev) yt8821_soft_reset() argument
2833 yt8821_config_init(struct phy_device * phydev) yt8821_config_init() argument
2884 yt8821_adjust_status(struct phy_device * phydev,int val) yt8821_adjust_status() argument
2917 yt8821_update_interface(struct phy_device * phydev) yt8821_update_interface() argument
2943 yt8821_read_status(struct phy_device * phydev) yt8821_read_status() argument
3011 yt8821_modify_utp_fiber_bmcr(struct phy_device * phydev,u16 mask,u16 set) yt8821_modify_utp_fiber_bmcr() argument
3031 yt8821_suspend(struct phy_device * phydev) yt8821_suspend() argument
3053 yt8821_resume(struct phy_device * phydev) yt8821_resume() argument
[all...]
H A Dmicrel.c415 struct phy_device *phydev; member
433 struct phy_device *phydev; member
554 static int kszphy_extended_write(struct phy_device *phydev, in kszphy_extended_write() argument
557 phy_write(phydev, MII_KSZPHY_EXTREG, KSZPHY_EXTREG_WRITE | regnum); in kszphy_extended_write()
558 return phy_write(phydev, MII_KSZPHY_EXTREG_WRITE, val); in kszphy_extended_write()
561 static int kszphy_extended_read(struct phy_device *phydev, in kszphy_extended_read() argument
564 phy_write(phydev, MII_KSZPHY_EXTREG, regnum); in kszphy_extended_read()
565 return phy_read(phydev, MII_KSZPHY_EXTREG_READ); in kszphy_extended_read()
568 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt() argument
573 rc = phy_read(phydev, MII_KSZPHY_INTC in kszphy_ack_interrupt()
578 kszphy_config_intr(struct phy_device * phydev) kszphy_config_intr() argument
614 kszphy_handle_interrupt(struct phy_device * phydev) kszphy_handle_interrupt() argument
632 kszphy_rmii_clk_sel(struct phy_device * phydev,bool val) kszphy_rmii_clk_sel() argument
648 kszphy_setup_led(struct phy_device * phydev,u32 reg,int val) kszphy_setup_led() argument
682 kszphy_broadcast_disable(struct phy_device * phydev) kszphy_broadcast_disable() argument
698 kszphy_nand_tree_disable(struct phy_device * phydev) kszphy_nand_tree_disable() argument
719 kszphy_config_reset(struct phy_device * phydev) kszphy_config_reset() argument
739 kszphy_config_init(struct phy_device * phydev) kszphy_config_init() argument
758 ksz8041_fiber_mode(struct phy_device * phydev) ksz8041_fiber_mode() argument
765 ksz8041_config_init(struct phy_device * phydev) ksz8041_config_init() argument
787 ksz8041_config_aneg(struct phy_device * phydev) ksz8041_config_aneg() argument
798 ksz8051_ksz8795_match_phy_device(struct phy_device * phydev,const bool ksz_8051) ksz8051_ksz8795_match_phy_device() argument
822 ksz8051_match_phy_device(struct phy_device * phydev,const struct phy_driver * phydrv) ksz8051_match_phy_device() argument
828 ksz8081_config_init(struct phy_device * phydev) ksz8081_config_init() argument
840 ksz8081_config_mdix(struct phy_device * phydev,u8 ctrl) ksz8081_config_mdix() argument
866 ksz8081_config_aneg(struct phy_device * phydev) ksz8081_config_aneg() argument
881 ksz8081_mdix_update(struct phy_device * phydev) ksz8081_mdix_update() argument
910 ksz8081_read_status(struct phy_device * phydev) ksz8081_read_status() argument
921 ksz8061_config_init(struct phy_device * phydev) ksz8061_config_init() argument
943 ksz8795_match_phy_device(struct phy_device * phydev,const struct phy_driver * phydrv) ksz8795_match_phy_device() argument
949 ksz8795_get_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,void * data) ksz8795_get_tunable() argument
978 ksz8795_set_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,const void * data) ksz8795_set_tunable() argument
1002 ksz9021_load_values_from_of(struct phy_device * phydev,const struct device_node * of_node,u16 reg,const char * field1,const char * field2,const char * field3,const char * field4) ksz9021_load_values_from_of() argument
1050 ksz9021_config_init(struct phy_device * phydev) ksz9021_config_init() argument
1141 ksz9031_set_loopback(struct phy_device * phydev,bool enable,int speed) ksz9031_set_loopback() argument
1171 ksz9131_loopback_enable(struct phy_device * phydev) ksz9131_loopback_enable() argument
1196 ksz9131_loopback_disable(struct phy_device * phydev) ksz9131_loopback_disable() argument
1204 ksz9131_set_loopback(struct phy_device * phydev,bool enable,int speed) ksz9131_set_loopback() argument
1223 ksz9031_of_load_skew_values(struct phy_device * phydev,const struct device_node * of_node,u16 reg,size_t field_sz,const char * field[],u8 numfields,bool * update) ksz9031_of_load_skew_values() argument
1264 ksz9031_center_flp_timing(struct phy_device * phydev) ksz9031_center_flp_timing() argument
1282 ksz9031_enable_edpd(struct phy_device * phydev) ksz9031_enable_edpd() argument
1293 ksz9031_config_rgmii_delay(struct phy_device * phydev) ksz9031_config_rgmii_delay() argument
1354 ksz9031_config_init(struct phy_device * phydev) ksz9031_config_init() argument
1453 ksz9131_of_load_skew_values(struct phy_device * phydev,struct device_node * of_node,u16 reg,size_t field_sz,char * field[],u8 numfields) ksz9131_of_load_skew_values() argument
1510 ksz9131_config_rgmii_delay(struct phy_device * phydev) ksz9131_config_rgmii_delay() argument
1554 ksz9131_led_errata(struct phy_device * phydev) ksz9131_led_errata() argument
1568 ksz9131_config_init(struct phy_device * phydev) ksz9131_config_init() argument
1643 ksz9131_mdix_update(struct phy_device * phydev) ksz9131_mdix_update() argument
1667 ksz9131_config_mdix(struct phy_device * phydev,u8 ctrl) ksz9131_config_mdix() argument
1691 ksz9131_read_status(struct phy_device * phydev) ksz9131_read_status() argument
1702 ksz9131_config_aneg(struct phy_device * phydev) ksz9131_config_aneg() argument
1713 ksz9477_get_features(struct phy_device * phydev) ksz9477_get_features() argument
1736 ksz8873mll_read_status(struct phy_device * phydev) ksz8873mll_read_status() argument
1761 ksz9031_get_features(struct phy_device * phydev) ksz9031_get_features() argument
1788 ksz9031_read_status(struct phy_device * phydev) ksz9031_read_status() argument
1812 ksz9x31_cable_test_start(struct phy_device * phydev) ksz9x31_cable_test_start() argument
1880 ksz9x31_cable_test_fault_length(struct phy_device * phydev,u16 stat) ksz9x31_cable_test_fault_length() argument
1895 ksz9x31_cable_test_wait_for_completion(struct phy_device * phydev) ksz9x31_cable_test_wait_for_completion() argument
1918 ksz9x31_cable_test_one_pair(struct phy_device * phydev,int pair) ksz9x31_cable_test_one_pair() argument
1959 ksz9x31_cable_test_get_status(struct phy_device * phydev,bool * finished) ksz9x31_cable_test_get_status() argument
2014 ksz8873mll_config_aneg(struct phy_device * phydev) ksz8873mll_config_aneg() argument
2019 ksz886x_config_mdix(struct phy_device * phydev,u8 ctrl) ksz886x_config_mdix() argument
2049 ksz886x_config_aneg(struct phy_device * phydev) ksz886x_config_aneg() argument
2086 ksz886x_mdix_update(struct phy_device * phydev) ksz886x_mdix_update() argument
2116 ksz886x_read_status(struct phy_device * phydev) ksz886x_read_status() argument
2127 ksz9477_mdix_update(struct phy_device * phydev) ksz9477_mdix_update() argument
2137 ksz9477_read_mdix_ctrl(struct phy_device * phydev) ksz9477_read_mdix_ctrl() argument
2155 ksz9477_read_status(struct phy_device * phydev) ksz9477_read_status() argument
2166 ksz9477_config_aneg(struct phy_device * phydev) ksz9477_config_aneg() argument
2212 ksz9477_phy_errata(struct phy_device * phydev) ksz9477_phy_errata() argument
2243 ksz9477_config_init(struct phy_device * phydev) ksz9477_config_init() argument
2264 kszphy_get_sset_count(struct phy_device * phydev) kszphy_get_sset_count() argument
2269 kszphy_get_strings(struct phy_device * phydev,u8 * data) kszphy_get_strings() argument
2277 kszphy_get_stat(struct phy_device * phydev,int i) kszphy_get_stat() argument
2296 kszphy_get_stats(struct phy_device * phydev,struct ethtool_stats * stats,u64 * data) kszphy_get_stats() argument
2311 kszphy_update_stats(struct phy_device * phydev) kszphy_update_stats() argument
2325 kszphy_get_phy_stats(struct phy_device * phydev,struct ethtool_eth_phy_stats * eth_stats,struct ethtool_phy_stats * stats) kszphy_get_phy_stats() argument
2395 kszphy_get_sqi(struct phy_device * phydev) kszphy_get_sqi() argument
2459 kszphy_get_sqi_max(struct phy_device * phydev) kszphy_get_sqi_max() argument
2464 kszphy_get_mse_capability(struct phy_device * phydev,struct phy_mse_capability * cap) kszphy_get_mse_capability() argument
2504 kszphy_get_mse_snapshot(struct phy_device * phydev,enum phy_mse_channel channel,struct phy_mse_snapshot * snapshot) kszphy_get_mse_snapshot() argument
2564 kszphy_enable_clk(struct phy_device * phydev) kszphy_enable_clk() argument
2574 kszphy_disable_clk(struct phy_device * phydev) kszphy_disable_clk() argument
2584 kszphy_generic_resume(struct phy_device * phydev) kszphy_generic_resume() argument
2591 kszphy_generic_suspend(struct phy_device * phydev) kszphy_generic_suspend() argument
2604 kszphy_suspend(struct phy_device * phydev) kszphy_suspend() argument
2616 kszphy_parse_led_mode(struct phy_device * phydev) kszphy_parse_led_mode() argument
2640 kszphy_resume(struct phy_device * phydev) kszphy_resume() argument
2672 ksz8041_resume(struct phy_device * phydev) ksz8041_resume() argument
2679 ksz8041_suspend(struct phy_device * phydev) ksz8041_suspend() argument
2686 ksz9477_resume(struct phy_device * phydev) ksz9477_resume() argument
2722 ksz8061_resume(struct phy_device * phydev) ksz8061_resume() argument
2754 ksz8061_suspend(struct phy_device * phydev) ksz8061_suspend() argument
2759 kszphy_probe(struct phy_device * phydev) kszphy_probe() argument
2828 lan8814_cable_test_start(struct phy_device * phydev) lan8814_cable_test_start() argument
2839 ksz886x_cable_test_start(struct phy_device * phydev) ksz886x_cable_test_start() argument
2885 ksz886x_cable_test_fault_length(struct phy_device * phydev,u16 status,u16 data_mask) ksz886x_cable_test_fault_length() argument
2902 ksz886x_cable_test_wait_for_completion(struct phy_device * phydev) ksz886x_cable_test_wait_for_completion() argument
2914 lan8814_cable_test_one_pair(struct phy_device * phydev,int pair) lan8814_cable_test_one_pair() argument
2959 ksz886x_cable_test_one_pair(struct phy_device * phydev,int pair) ksz886x_cable_test_one_pair() argument
3021 ksz886x_cable_test_get_status(struct phy_device * phydev,bool * finished) ksz886x_cable_test_get_status() argument
3146 lanphy_read_page_reg(struct phy_device * phydev,int page,u32 addr) lanphy_read_page_reg() argument
3161 lanphy_write_page_reg(struct phy_device * phydev,int page,u16 addr,u16 val) lanphy_write_page_reg() argument
3178 lanphy_modify_page_reg(struct phy_device * phydev,int page,u16 addr,u16 mask,u16 set) lanphy_modify_page_reg() argument
3199 lan8814_config_ts_intr(struct phy_device * phydev,bool enable) lan8814_config_ts_intr() argument
3213 lan8814_ptp_rx_ts_get(struct phy_device * phydev,u32 * seconds,u32 * nano_seconds,u16 * seq_id) lan8814_ptp_rx_ts_get() argument
3232 lan8814_ptp_tx_ts_get(struct phy_device * phydev,u32 * seconds,u32 * nano_seconds,u16 * seq_id) lan8814_ptp_tx_ts_get() argument
3277 lan8814_flush_fifo(struct phy_device * phydev,bool egress) lan8814_flush_fifo() argument
3497 lan8814_ptp_clock_set(struct phy_device * phydev,time64_t sec,u32 nsec) lan8814_ptp_clock_set() argument
3515 lan8814_ptp_clock_get(struct phy_device * phydev,time64_t * sec,u32 * nsec) lan8814_ptp_clock_get() argument
3542 struct phy_device *phydev = shared->phydev; lan8814_ptpci_gettime64() local
3560 struct phy_device *phydev = shared->phydev; lan8814_ptpci_settime64() local
3569 lan8814_ptp_set_target(struct phy_device * phydev,int event,s64 start_sec,u32 start_nsec) lan8814_ptp_set_target() argument
3588 lan8814_ptp_update_target(struct phy_device * phydev,time64_t sec) lan8814_ptp_update_target() argument
3596 lan8814_ptp_clock_step(struct phy_device * phydev,s64 time_step_ns) lan8814_ptp_clock_step() argument
3742 struct phy_device *phydev = shared->phydev; lan8814_ptpci_adjtime() local
3755 struct phy_device *phydev = shared->phydev; lan8814_ptpci_adjfine() local
3784 lan8814_ptp_set_reload(struct phy_device * phydev,int event,s64 period_sec,u32 period_nsec) lan8814_ptp_set_reload() argument
3802 lan8814_ptp_enable_event(struct phy_device * phydev,int event,int pulse_width) lan8814_ptp_enable_event() argument
3819 lan8814_ptp_disable_event(struct phy_device * phydev,int event) lan8814_ptp_disable_event() argument
3830 lan8814_ptp_perout_off(struct phy_device * phydev,int pin) lan8814_ptp_perout_off() argument
3852 lan8814_ptp_perout_on(struct phy_device * phydev,int pin) lan8814_ptp_perout_on() argument
3878 struct phy_device *phydev = shared->phydev; lan8814_ptp_perout() local
3983 lan8814_ptp_extts_on(struct phy_device * phydev,int pin,u32 flags) lan8814_ptp_extts_on() argument
4013 lan8814_ptp_extts_off(struct phy_device * phydev,int pin) lan8814_ptp_extts_off() argument
4050 struct phy_device *phydev = shared->phydev; lan8814_ptp_extts() local
4153 struct phy_device *phydev = ptp_priv->phydev; lan8814_dequeue_tx_skb() local
4163 struct phy_device *phydev = ptp_priv->phydev; lan8814_get_tx_ts() local
4230 struct phy_device *phydev = ptp_priv->phydev; lan8814_get_rx_ts() local
4251 lan8814_handle_ptp_interrupt(struct phy_device * phydev,u16 status) lan8814_handle_ptp_interrupt() argument
4275 struct phy_device *phydev = shared->phydev; lan8814_gpio_process_cap() local
4328 lan8814_handle_gpio_interrupt(struct phy_device * phydev,u16 status) lan8814_handle_gpio_interrupt() argument
4340 lan8804_config_init(struct phy_device * phydev) lan8804_config_init() argument
4357 lan8804_handle_interrupt(struct phy_device * phydev) lan8804_handle_interrupt() argument
4378 lan8804_config_intr(struct phy_device * phydev) lan8804_config_intr() argument
4421 lan8814_has_ptp(struct phy_device * phydev) lan8814_has_ptp() argument
4428 lan8814_handle_interrupt(struct phy_device * phydev) lan8814_handle_interrupt() argument
4463 lan8814_ack_interrupt(struct phy_device * phydev) lan8814_ack_interrupt() argument
4473 lan8814_config_intr(struct phy_device * phydev) lan8814_config_intr() argument
4499 lan8814_ptp_init(struct phy_device * phydev) lan8814_ptp_init() argument
4562 __lan8814_ptp_probe_once(struct phy_device * phydev,char * pin_name,int gpios) __lan8814_ptp_probe_once() argument
4639 lan8814_ptp_probe_once(struct phy_device * phydev) lan8814_ptp_probe_once() argument
4648 lan8814_setup_led(struct phy_device * phydev,int val) lan8814_setup_led() argument
4664 lan8814_config_init(struct phy_device * phydev) lan8814_config_init() argument
4709 lan8814_release_coma_mode(struct phy_device * phydev) lan8814_release_coma_mode() argument
4725 lan8814_clear_2psp_bit(struct phy_device * phydev) lan8814_clear_2psp_bit() argument
4736 lan8814_update_meas_time(struct phy_device * phydev) lan8814_update_meas_time() argument
4747 lan8814_probe(struct phy_device * phydev) lan8814_probe() argument
4841 lan8841_config_init(struct phy_device * phydev) lan8841_config_init() argument
4927 lan8841_config_intr(struct phy_device * phydev) lan8841_config_intr() argument
4975 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_get_tx_ts() local
5009 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_flush_fifo() local
5032 struct phy_device *phydev = ptp_priv->phydev; lan8841_gpio_process_cap() local
5079 lan8841_handle_ptp_interrupt(struct phy_device * phydev) lan8841_handle_ptp_interrupt() argument
5106 lan8841_handle_interrupt(struct phy_device * phydev) lan8841_handle_interrupt() argument
5165 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_enable_processing() local
5212 struct phy_device *phydev = ptp_priv->phydev; lan8841_hwtstamp_set() local
5346 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_set_target() local
5385 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_set_reload() local
5419 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_settime64() local
5456 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_gettime64() local
5486 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_getseconds() local
5515 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_adjtime() local
5601 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_adjfine() local
5648 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_perout_off() local
5664 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_perout_on() local
5694 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_remove_event() local
5725 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_enable_event() local
5784 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_perout() local
5905 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_extts_on() local
5935 struct phy_device *phydev = ptp_priv->phydev; lan8841_ptp_extts_off() local
6040 lan8841_probe(struct phy_device * phydev) lan8841_probe() argument
6110 lan8804_resume(struct phy_device * phydev) lan8804_resume() argument
6115 lan8804_suspend(struct phy_device * phydev) lan8804_suspend() argument
6120 lan8841_resume(struct phy_device * phydev) lan8841_resume() argument
6125 lan8841_suspend(struct phy_device * phydev) lan8841_suspend() argument
6136 ksz9131_resume(struct phy_device * phydev) ksz9131_resume() argument
6146 lan8842_ptp_probe_once(struct phy_device * phydev) lan8842_ptp_probe_once() argument
6159 lan8842_probe(struct phy_device * phydev) lan8842_probe() argument
6336 lanphy_write_reg_data(struct phy_device * phydev,const struct lanphy_reg_data * data,size_t num) lanphy_write_reg_data() argument
6353 lan8842_erratas(struct phy_device * phydev) lan8842_erratas() argument
6366 lan8842_config_init(struct phy_device * phydev) lan8842_config_init() argument
6411 lan8842_config_intr(struct phy_device * phydev) lan8842_config_intr() argument
6438 lan8842_inband_caps(struct phy_device * phydev,phy_interface_t interface) lan8842_inband_caps() argument
6447 lan8842_config_inband(struct phy_device * phydev,unsigned int modes) lan8842_config_inband() argument
6465 lan8842_handle_ptp_interrupt(struct phy_device * phydev,u16 status) lan8842_handle_ptp_interrupt() argument
6490 lan8842_handle_interrupt(struct phy_device * phydev) lan8842_handle_interrupt() argument
6530 lan8842_get_stat(struct phy_device * phydev,int count,int * regs) lan8842_get_stat() argument
6547 lan8842_update_stats(struct phy_device * phydev) lan8842_update_stats() argument
6575 lan8842_get_fast_down(struct phy_device * phydev,u8 * msecs) lan8842_get_fast_down() argument
6591 lan8842_set_fast_down(struct phy_device * phydev,const u8 * msecs) lan8842_set_fast_down() argument
6612 lan8842_get_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,void * data) lan8842_get_tunable() argument
6623 lan8842_set_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,const void * data) lan8842_set_tunable() argument
6634 lan8842_get_phy_stats(struct phy_device * phydev,struct ethtool_eth_phy_stats * eth_stats,struct ethtool_phy_stats * stats) lan8842_get_phy_stats() argument
6678 lan9645x_config_init(struct phy_device * phydev) lan9645x_config_init() argument
6694 lan9645x_suspend(struct phy_device * phydev) lan9645x_suspend() argument
6720 lan9645x_config_intr(struct phy_device * phydev) lan9645x_config_intr() argument
6764 lan9645x_handle_interrupt(struct phy_device * phydev) lan9645x_handle_interrupt() argument
[all...]
H A Dmarvell.c357 static int marvell_read_page(struct phy_device *phydev)
359 return __phy_read(phydev, MII_MARVELL_PHY_PAGE); in marvell_read_page() argument
362 static int marvell_write_page(struct phy_device *phydev, int page) in marvell_read_page()
364 return __phy_write(phydev, MII_MARVELL_PHY_PAGE, page); in marvell_write_page() argument
367 static int marvell_set_page(struct phy_device *phydev, int page) in marvell_write_page()
369 return phy_write(phydev, MII_MARVELL_PHY_PAGE, page); in marvell_set_page() argument
372 static int marvell_ack_interrupt(struct phy_device *phydev) in marvell_set_page()
377 err = phy_read(phydev, MII_M1011_IEVENT); in marvell_ack_interrupt()
385 static int marvell_config_intr(struct phy_device *phydev) in marvell_ack_interrupt()
389 if (phydev in marvell_config_intr()
374 marvell_ack_interrupt(struct phy_device * phydev) marvell_ack_interrupt() argument
387 marvell_config_intr(struct phy_device * phydev) marvell_config_intr() argument
410 marvell_handle_interrupt(struct phy_device * phydev) marvell_handle_interrupt() argument
428 marvell_set_polarity(struct phy_device * phydev,int polarity) marvell_set_polarity() argument
450 marvell_config_aneg(struct phy_device * phydev) marvell_config_aneg() argument
483 m88e1101_config_aneg(struct phy_device * phydev) m88e1101_config_aneg() argument
532 marvell_of_reg_init(struct phy_device * phydev) marvell_of_reg_init() argument
584 marvell_of_reg_init(struct phy_device * phydev) marvell_of_reg_init() argument
590 m88e1121_config_aneg_rgmii_delays(struct phy_device * phydev) m88e1121_config_aneg_rgmii_delays() argument
609 m88e1121_config_aneg(struct phy_device * phydev) m88e1121_config_aneg() argument
644 m88e1318_config_aneg(struct phy_device * phydev) m88e1318_config_aneg() argument
692 marvell_config_aneg_fiber(struct phy_device * phydev) marvell_config_aneg_fiber() argument
720 m88e1111_inband_caps(struct phy_device * phydev,phy_interface_t interface) m88e1111_inband_caps() argument
734 m88e1111_config_inband(struct phy_device * phydev,unsigned int modes) m88e1111_config_inband() argument
762 m88e1111_config_aneg(struct phy_device * phydev) m88e1111_config_aneg() argument
810 m88e1510_config_aneg(struct phy_device * phydev) m88e1510_config_aneg() argument
843 marvell_config_led(struct phy_device * phydev) marvell_config_led() argument
875 marvell_config_init(struct phy_device * phydev) marvell_config_init() argument
884 m88e3016_config_init(struct phy_device * phydev) m88e3016_config_init() argument
898 m88e1111_config_init_hwcfg_mode(struct phy_device * phydev,u16 mode,int fibre_copper_auto) m88e1111_config_init_hwcfg_mode() argument
912 m88e1111_config_init_rgmii_delays(struct phy_device * phydev) m88e1111_config_init_rgmii_delays() argument
936 m88e1111_config_init_rgmii(struct phy_device * phydev) m88e1111_config_init_rgmii() argument
959 m88e1111_config_init_sgmii(struct phy_device * phydev) m88e1111_config_init_sgmii() argument
974 m88e1111_config_init_rtbi(struct phy_device * phydev) m88e1111_config_init_rtbi() argument
1000 m88e1111_config_init_1000basex(struct phy_device * phydev) m88e1111_config_init_1000basex() argument
1025 m88e1111_config_init(struct phy_device * phydev) m88e1111_config_init() argument
1074 m88e1111_get_downshift(struct phy_device * phydev,u8 * data) m88e1111_get_downshift() argument
1090 m88e1111_set_downshift(struct phy_device * phydev,u8 cnt) m88e1111_set_downshift() argument
1116 m88e1111_get_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,void * data) m88e1111_get_tunable() argument
1127 m88e1111_set_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,const void * data) m88e1111_set_tunable() argument
1138 m88e1011_get_downshift(struct phy_device * phydev,u8 * data) m88e1011_get_downshift() argument
1154 m88e1011_set_downshift(struct phy_device * phydev,u8 cnt) m88e1011_set_downshift() argument
1180 m88e1011_get_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,void * data) m88e1011_get_tunable() argument
1191 m88e1011_set_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,const void * data) m88e1011_set_tunable() argument
1202 m88e1112_config_init(struct phy_device * phydev) m88e1112_config_init() argument
1213 m88e1111gbe_config_init(struct phy_device * phydev) m88e1111gbe_config_init() argument
1224 marvell_1011gbe_config_init(struct phy_device * phydev) marvell_1011gbe_config_init() argument
1234 m88e1116r_config_init(struct phy_device * phydev) m88e1116r_config_init() argument
1269 m88e1318_config_init(struct phy_device * phydev) m88e1318_config_init() argument
1285 m88e1510_config_init(struct phy_device * phydev) m88e1510_config_init() argument
1358 m88e1118_config_aneg(struct phy_device * phydev) m88e1118_config_aneg() argument
1373 m88e1118_config_init(struct phy_device * phydev) m88e1118_config_init() argument
1412 m88e1149_config_init(struct phy_device * phydev) m88e1149_config_init() argument
1438 m88e1145_config_init_rgmii(struct phy_device * phydev) m88e1145_config_init_rgmii() argument
1466 m88e1145_config_init_sgmii(struct phy_device * phydev) m88e1145_config_init_sgmii() argument
1473 m88e1145_config_init(struct phy_device * phydev) m88e1145_config_init() argument
1516 m88e1540_get_fld(struct phy_device * phydev,u8 * msecs) m88e1540_get_fld() argument
1551 m88e1540_set_fld(struct phy_device * phydev,const u8 * msecs) m88e1540_set_fld() argument
1587 m88e1540_get_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,void * data) m88e1540_get_tunable() argument
1600 m88e1540_set_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,const void * data) m88e1540_set_tunable() argument
1617 m88e6390_errata(struct phy_device * phydev) m88e6390_errata() argument
1635 m88e6390_config_aneg(struct phy_device * phydev) m88e6390_config_aneg() argument
1664 marvell_read_status_page_an(struct phy_device * phydev,int fiber,int status) marvell_read_status_page_an() argument
1733 marvell_read_status_page(struct phy_device * phydev,int page) marvell_read_status_page() argument
1796 marvell_read_status(struct phy_device * phydev) marvell_read_status() argument
1840 marvell_suspend(struct phy_device * phydev) marvell_suspend() argument
1875 marvell_resume(struct phy_device * phydev) marvell_resume() argument
1915 m88e1510_resume(struct phy_device * phydev) m88e1510_resume() argument
1942 marvell_aneg_done(struct phy_device * phydev) marvell_aneg_done() argument
1949 m88e1318_get_wol(struct phy_device * phydev,struct ethtool_wolinfo * wol) m88e1318_get_wol() argument
1969 m88e1318_set_wol(struct phy_device * phydev,struct ethtool_wolinfo * wol) m88e1318_set_wol() argument
2081 marvell_get_sset_count(struct phy_device * phydev) marvell_get_sset_count() argument
2090 marvell_get_sset_count_simple(struct phy_device * phydev) marvell_get_sset_count_simple() argument
2095 marvell_get_strings(struct phy_device * phydev,u8 * data) marvell_get_strings() argument
2104 marvell_get_strings_simple(struct phy_device * phydev,u8 * data) marvell_get_strings_simple() argument
2113 marvell_get_stat(struct phy_device * phydev,int i) marvell_get_stat() argument
2132 marvell_get_stat_simple(struct phy_device * phydev,int i) marvell_get_stat_simple() argument
2151 marvell_get_stats(struct phy_device * phydev,struct ethtool_stats * stats,u64 * data) marvell_get_stats() argument
2161 marvell_get_stats_simple(struct phy_device * phydev,struct ethtool_stats * stats,u64 * data) marvell_get_stats_simple() argument
2171 m88e1510_loopback(struct phy_device * phydev,bool enable,int speed) m88e1510_loopback() argument
2219 marvell_vct5_wait_complete(struct phy_device * phydev) marvell_vct5_wait_complete() argument
2237 marvell_vct5_amplitude(struct phy_device * phydev,int pair) marvell_vct5_amplitude() argument
2268 marvell_vct5_amplitude_distance(struct phy_device * phydev,int distance,int pair) marvell_vct5_amplitude_distance() argument
2305 marvell_vct5_amplitude_graph(struct phy_device * phydev) marvell_vct5_amplitude_graph() argument
2362 marvell_cable_test_start_common(struct phy_device * phydev) marvell_cable_test_start_common() argument
2394 marvell_vct7_cable_test_start(struct phy_device * phydev) marvell_vct7_cable_test_start() argument
2428 marvell_vct5_cable_test_tdr_start(struct phy_device * phydev,const struct phy_tdr_config * cfg) marvell_vct5_cable_test_tdr_start() argument
2485 marvell_vct7_report_length(struct phy_device * phydev,int pair,bool meter) marvell_vct7_report_length() argument
2519 marvell_vct7_cable_test_report(struct phy_device * phydev) marvell_vct7_cable_test_report() argument
2566 marvell_vct7_cable_test_get_status(struct phy_device * phydev,bool * finished) marvell_vct7_cable_test_get_status() argument
2595 m88e3082_vct_cable_test_start(struct phy_device * phydev) m88e3082_vct_cable_test_start() argument
2682 m88e3082_vct_cable_test_get_status(struct phy_device * phydev,bool * finished) m88e3082_vct_cable_test_get_status() argument
2777 m88e1111_vct_cable_test_start(struct phy_device * phydev) m88e1111_vct_cable_test_start() argument
2828 m88e1111_vct_cable_test_get_status(struct phy_device * phydev,bool * finished) m88e1111_vct_cable_test_get_status() argument
2873 to_marvell_hwmon_ops(const struct phy_device * phydev) to_marvell_hwmon_ops() argument
2878 m88e1121_get_temp(struct phy_device * phydev,long * temp) m88e1121_get_temp() argument
2921 m88e1510_get_temp(struct phy_device * phydev,long * temp) m88e1510_get_temp() argument
2937 m88e1510_get_temp_critical(struct phy_device * phydev,long * temp) m88e1510_get_temp_critical() argument
2956 m88e1510_set_temp_critical(struct phy_device * phydev,long temp) m88e1510_set_temp_critical() argument
2967 m88e1510_get_temp_alarm(struct phy_device * phydev,long * alarm) m88e1510_get_temp_alarm() argument
2983 m88e6390_get_temp(struct phy_device * phydev,long * temp) m88e6390_get_temp() argument
3040 m88e6393_get_temp(struct phy_device * phydev,long * temp) m88e6393_get_temp() argument
3054 m88e6393_get_temp_critical(struct phy_device * phydev,long * temp) m88e6393_get_temp_critical() argument
3071 m88e6393_set_temp_critical(struct phy_device * phydev,long temp) m88e6393_set_temp_critical() argument
3081 m88e6393_hwmon_config(struct phy_device * phydev) m88e6393_hwmon_config() argument
3102 struct phy_device *phydev = dev_get_drvdata(dev); marvell_hwmon_read() local
3127 struct phy_device *phydev = dev_get_drvdata(dev); marvell_hwmon_write() local
3145 const struct phy_device *phydev = data; marvell_hwmon_is_visible() local
3185 marvell_hwmon_name(struct phy_device * phydev) marvell_hwmon_name() argument
3205 marvell_hwmon_probe(struct phy_device * phydev) marvell_hwmon_probe() argument
3259 marvell_hwmon_probe(struct phy_device * phydev) marvell_hwmon_probe() argument
3265 m88e1318_led_brightness_set(struct phy_device * phydev,u8 index,enum led_brightness value) m88e1318_led_brightness_set() argument
3293 m88e1318_led_blink_set(struct phy_device * phydev,u8 index,unsigned long * delay_on,unsigned long * delay_off) m88e1318_led_blink_set() argument
3523 m88e1318_led_hw_is_supported(struct phy_device * phydev,u8 index,unsigned long rules) m88e1318_led_hw_is_supported() argument
3541 m88e1318_led_hw_control_set(struct phy_device * phydev,u8 index,unsigned long rules) m88e1318_led_hw_control_set() argument
3570 m88e1318_led_hw_control_get(struct phy_device * phydev,u8 index,unsigned long * rules) m88e1318_led_hw_control_get() argument
3588 marvell_probe(struct phy_device * phydev) marvell_probe() argument
3604 struct phy_device *phydev = port_phydev(port); m88e1510_port_configure_serdes() local
[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()
293 ret = __phy_write(phydev, AIR_BPBUS_MODE, AIR_BPBUS_MODE_ADDR_INCR); in __air_write_buf()
297 ret = __phy_write(phydev, AIR_BPBUS_WR_ADDR_HIGH, in __air_write_buf()
302 ret = __phy_write(phydev, AIR_BPBUS_WR_ADDR_LOW, in __air_write_buf()
309 ret = __phy_write(phydev, AIR_BPBUS_WR_DATA_HIGH, val); in air_write_buf() argument
314 ret = __phy_write(phydev, AIR_BPBUS_WR_DATA_LOW, val); in air_write_buf()
322 static int air_write_buf(struct phy_device *phydev, u32 address, in air_write_buf()
329 phydev_err(phydev, "firmware size %zu is not a multiple of 4\n", in en8811h_wait_mcu_ready()
334 saved_page = phy_select_page(phydev, AIR_PHY_PAGE_EXTENDED_ in en8811h_wait_mcu_ready()
202 struct phy_device *phydev; global() member
273 __air_write_buf(struct phy_device * phydev,u32 address,const struct firmware * fw) __air_write_buf() argument
327 en8811h_wait_mcu_ready(struct phy_device * phydev) en8811h_wait_mcu_ready() argument
349 an8811hb_check_crc(struct phy_device * phydev,u32 set1,u32 mon2,u32 mon3) an8811hb_check_crc() argument
387 en8811h_print_fw_version(struct phy_device * phydev) en8811h_print_fw_version() argument
397 an8811hb_load_file(struct phy_device * phydev,const char * name,u32 address) an8811hb_load_file() argument
413 an8811hb_mcu_assert(struct phy_device * phydev) an8811hb_mcu_assert() argument
437 an8811hb_mcu_deassert(struct phy_device * phydev) an8811hb_mcu_deassert() argument
462 an8811hb_load_firmware(struct phy_device * phydev) an8811hb_load_firmware() argument
502 en8811h_load_firmware(struct phy_device * phydev) en8811h_load_firmware() argument
558 en8811h_restart_mcu(struct phy_device * phydev) en8811h_restart_mcu() argument
580 air_hw_led_on_set(struct phy_device * phydev,u8 index,bool on) air_hw_led_on_set() argument
610 air_hw_led_blink_set(struct phy_device * phydev,u8 index,bool blinking) air_hw_led_blink_set() argument
637 air_led_blink_set(struct phy_device * phydev,u8 index,unsigned long * delay_on,unsigned long * delay_off) air_led_blink_set() argument
670 air_led_brightness_set(struct phy_device * phydev,u8 index,enum led_brightness value) air_led_brightness_set() argument
695 air_led_hw_control_get(struct phy_device * phydev,u8 index,unsigned long * rules) air_led_hw_control_get() argument
708 air_led_hw_control_set(struct phy_device * phydev,u8 index,unsigned long rules) air_led_hw_control_set() argument
769 air_led_init(struct phy_device * phydev,u8 index,u8 state,u8 pol) air_led_init() argument
797 air_leds_init(struct phy_device * phydev,int num,int dur,int mode) air_leds_init() argument
846 en8811h_led_hw_is_supported(struct phy_device * phydev,u8 index,unsigned long rules) en8811h_led_hw_is_supported() argument
863 struct phy_device *phydev = priv->phydev; an8811hb_clk_recalc_rate() local
877 struct phy_device *phydev = priv->phydev; an8811hb_clk_enable() local
887 struct phy_device *phydev = priv->phydev; an8811hb_clk_disable() local
896 struct phy_device *phydev = priv->phydev; an8811hb_clk_is_enabled() local
962 struct phy_device *phydev = priv->phydev; en8811h_clk_recalc_rate() local
976 struct phy_device *phydev = priv->phydev; en8811h_clk_enable() local
986 struct phy_device *phydev = priv->phydev; en8811h_clk_disable() local
995 struct phy_device *phydev = priv->phydev; en8811h_clk_is_enabled() local
1057 en8811h_leds_setup(struct phy_device * phydev) en8811h_leds_setup() argument
1074 an8811hb_probe(struct phy_device * phydev) an8811hb_probe() argument
1145 en8811h_probe(struct phy_device * phydev) en8811h_probe() argument
1179 an8811hb_config_serdes_polarity(struct phy_device * phydev) an8811hb_config_serdes_polarity() argument
1210 en8811h_config_serdes_polarity(struct phy_device * phydev) en8811h_config_serdes_polarity() argument
1247 an8811hb_config_init(struct phy_device * phydev) an8811hb_config_init() argument
1274 en8811h_config_init(struct phy_device * phydev) en8811h_config_init() argument
1334 en8811h_get_features(struct phy_device * phydev) en8811h_get_features() argument
1343 en8811h_get_rate_matching(struct phy_device * phydev,phy_interface_t iface) en8811h_get_rate_matching() argument
1349 en8811h_config_aneg(struct phy_device * phydev) en8811h_config_aneg() argument
1372 en8811h_read_status(struct phy_device * phydev) en8811h_read_status() argument
1456 en8811h_clear_intr(struct phy_device * phydev) en8811h_clear_intr() argument
1473 en8811h_handle_interrupt(struct phy_device * phydev) en8811h_handle_interrupt() argument
1488 en8811h_resume(struct phy_device * phydev) en8811h_resume() argument
1495 en8811h_suspend(struct phy_device * phydev) en8811h_suspend() argument
1502 an8811hb_remove(struct phy_device * phydev) an8811hb_remove() argument
[all...]
H A Ddp83869.c157 static int dp83869_config_aneg(struct phy_device *phydev) in dp83869_config_aneg() argument
159 struct dp83869_private *dp83869 = phydev->priv; in dp83869_config_aneg()
162 return genphy_config_aneg(phydev); in dp83869_config_aneg()
164 return genphy_c37_config_aneg(phydev); in dp83869_config_aneg()
167 static int dp83869_read_status(struct phy_device *phydev) in dp83869_read_status() argument
169 struct dp83869_private *dp83869 = phydev->priv; in dp83869_read_status()
174 return genphy_c37_read_status(phydev, &changed); in dp83869_read_status()
176 ret = genphy_read_status(phydev); in dp83869_read_status()
181 if (phydev->link) { in dp83869_read_status()
182 phydev in dp83869_read_status()
192 dp83869_ack_interrupt(struct phy_device * phydev) dp83869_ack_interrupt() argument
202 dp83869_config_intr(struct phy_device * phydev) dp83869_config_intr() argument
235 dp83869_handle_interrupt(struct phy_device * phydev) dp83869_handle_interrupt() argument
259 dp83869_set_wol(struct phy_device * phydev,struct ethtool_wolinfo * wol) dp83869_set_wol() argument
354 dp83869_get_wol(struct phy_device * phydev,struct ethtool_wolinfo * wol) dp83869_get_wol() argument
416 dp83869_get_downshift(struct phy_device * phydev,u8 * data) dp83869_get_downshift() argument
449 dp83869_set_downshift(struct phy_device * phydev,u8 cnt) dp83869_set_downshift() argument
487 dp83869_get_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,void * data) dp83869_get_tunable() argument
498 dp83869_set_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,const void * data) dp83869_set_tunable() argument
509 dp83869_config_port_mirroring(struct phy_device * phydev) dp83869_config_port_mirroring() argument
523 dp83869_set_strapped_mode(struct phy_device * phydev) dp83869_set_strapped_mode() argument
542 dp83869_of_init(struct phy_device * phydev) dp83869_of_init() argument
615 dp83869_of_init(struct phy_device * phydev) dp83869_of_init() argument
621 dp83869_configure_rgmii(struct phy_device * phydev,struct dp83869_private * dp83869) dp83869_configure_rgmii() argument
650 dp83869_configure_fiber(struct phy_device * phydev,struct dp83869_private * dp83869) dp83869_configure_fiber() argument
694 dp83869_configure_mode(struct phy_device * phydev,struct dp83869_private * dp83869) dp83869_configure_mode() argument
804 dp83869_config_init(struct phy_device * phydev) dp83869_config_init() argument
875 dp83869_probe(struct phy_device * phydev) dp83869_probe() argument
898 dp83869_phy_reset(struct phy_device * phydev) dp83869_phy_reset() argument
[all...]
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() argument
43 return bcm_phy_write_exp(phydev, reg | MII_BCM54XX_EXP_SEL_ER, val); 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() argument
48 return bcm_phy_read_exp(phydev, reg | MII_BCM54XX_EXP_SEL_ER); in bcm_phy_read_exp_sel()
[all …]
H A Dnxp-tja11xx.c90 struct phy_device *phydev; member
111 static int tja11xx_check(struct phy_device *phydev, u8 reg, u16 mask, u16 set) in tja11xx_check() argument
115 return phy_read_poll_timeout(phydev, reg, val, (val & mask) == set, in tja11xx_check()
119 static int phy_modify_check(struct phy_device *phydev, u8 reg, in phy_modify_check() argument
124 ret = phy_modify(phydev, reg, mask, set); in phy_modify_check()
128 return tja11xx_check(phydev, reg, mask, set); in phy_modify_check()
131 static int tja11xx_enable_reg_write(struct phy_device *phydev) in tja11xx_enable_reg_write() argument
133 return phy_set_bits(phydev, MII_ECTRL, MII_ECTRL_CONFIG_EN); in tja11xx_enable_reg_write()
136 static int tja11xx_enable_link_control(struct phy_device *phydev) in tja11xx_enable_link_control() argument
138 return phy_set_bits(phydev, MII_ECTR in tja11xx_enable_link_control()
141 tja11xx_disable_link_control(struct phy_device * phydev) tja11xx_disable_link_control() argument
146 tja11xx_wakeup(struct phy_device * phydev) tja11xx_wakeup() argument
200 tja11xx_soft_reset(struct phy_device * phydev) tja11xx_soft_reset() argument
211 tja11xx_config_aneg_cable_test(struct phy_device * phydev) tja11xx_config_aneg_cable_test() argument
244 tja11xx_config_aneg(struct phy_device * phydev) tja11xx_config_aneg() argument
275 tja11xx_get_interface_mode(struct phy_device * phydev) tja11xx_get_interface_mode() argument
300 tja11xx_config_init(struct phy_device * phydev) tja11xx_config_init() argument
372 tja11xx_read_status(struct phy_device * phydev) tja11xx_read_status() argument
404 tja11xx_get_sqi(struct phy_device * phydev) tja11xx_get_sqi() argument
415 tja11xx_get_sqi_max(struct phy_device * phydev) tja11xx_get_sqi_max() argument
420 tja11xx_get_sset_count(struct phy_device * phydev) tja11xx_get_sset_count() argument
425 tja11xx_get_strings(struct phy_device * phydev,u8 * data) tja11xx_get_strings() argument
433 tja11xx_get_stats(struct phy_device * phydev,struct ethtool_stats * stats,u64 * data) tja11xx_get_stats() argument
453 struct phy_device *phydev = dev_get_drvdata(dev); tja11xx_hwmon_read() local
506 tja11xx_hwmon_register(struct phy_device * phydev,struct tja11xx_priv * priv) tja11xx_hwmon_register() argument
517 tja11xx_parse_dt(struct phy_device * phydev) tja11xx_parse_dt() argument
531 tja11xx_probe(struct phy_device * phydev) tja11xx_probe() argument
612 tja1102_p0_probe(struct phy_device * phydev) tja1102_p0_probe() argument
635 tja1102_p0_remove(struct phy_device * phydev) tja1102_p0_remove() argument
642 tja1102_match_phy_device(struct phy_device * phydev,bool port0) tja1102_match_phy_device() argument
662 tja1102_p0_match_phy_device(struct phy_device * phydev,const struct phy_driver * phydrv) tja1102_p0_match_phy_device() argument
668 tja1102_p1_match_phy_device(struct phy_device * phydev,const struct phy_driver * phydrv) tja1102_p1_match_phy_device() argument
674 tja11xx_ack_interrupt(struct phy_device * phydev) tja11xx_ack_interrupt() argument
683 tja11xx_config_intr(struct phy_device * phydev) tja11xx_config_intr() argument
707 tja11xx_handle_interrupt(struct phy_device * phydev) tja11xx_handle_interrupt() argument
731 tja11xx_cable_test_start(struct phy_device * phydev) tja11xx_cable_test_start() argument
780 tja11xx_cable_test_report(struct phy_device * phydev) tja11xx_cable_test_report() argument
794 tja11xx_cable_test_get_status(struct phy_device * phydev,bool * finished) tja11xx_cable_test_get_status() argument
[all...]
H A Dmicrochip_t1.c334 static int lan937x_dsp_workaround(struct phy_device *phydev, u16 ereg, u8 bank) in lan937x_dsp_workaround() argument
340 mutex_lock(&phydev->lock); in lan937x_dsp_workaround()
342 rc = phy_read(phydev, LAN87XX_EXT_REG_CTL); in lan937x_dsp_workaround()
356 rc = phy_write(phydev, LAN87XX_EXT_REG_CTL, val); in lan937x_dsp_workaround()
360 mutex_unlock(&phydev->lock); in lan937x_dsp_workaround()
365 static int access_ereg(struct phy_device *phydev, u8 mode, u8 bank, in access_ereg() argument
376 rc = phy_write(phydev, offset, val); in access_ereg()
378 rc = phy_read(phydev, offset); in access_ereg()
384 rc = phy_write(phydev, LAN87XX_EXT_REG_WR_DATA, val); in access_ereg()
394 if (phydev in access_ereg()
410 access_ereg_modify_changed(struct phy_device * phydev,u8 bank,u8 offset,u16 val,u16 mask) access_ereg_modify_changed() argument
428 access_smi_poll_timeout(struct phy_device * phydev,u8 offset,u16 mask,u16 clr) access_smi_poll_timeout() argument
437 lan87xx_config_rgmii_delay(struct phy_device * phydev) lan87xx_config_rgmii_delay() argument
474 lan87xx_phy_init_cmd(struct phy_device * phydev,const struct access_ereg_val * cmd_seq,int cnt) lan87xx_phy_init_cmd() argument
498 lan87xx_phy_init(struct phy_device * phydev) lan87xx_phy_init() argument
689 lan87xx_phy_config_intr(struct phy_device * phydev) lan87xx_phy_config_intr() argument
748 lan87xx_handle_interrupt(struct phy_device * phydev) lan87xx_handle_interrupt() argument
774 lan87xx_config_init(struct phy_device * phydev) lan87xx_config_init() argument
781 microchip_cable_test_start_common(struct phy_device * phydev) microchip_cable_test_start_common() argument
813 lan87xx_cable_test_start(struct phy_device * phydev) lan87xx_cable_test_start() argument
916 lan87xx_cable_test_report(struct phy_device * phydev) lan87xx_cable_test_report() argument
980 lan87xx_cable_test_get_status(struct phy_device * phydev,bool * finished) lan87xx_cable_test_get_status() argument
1009 lan87xx_read_status(struct phy_device * phydev) lan87xx_read_status() argument
1034 lan87xx_config_aneg(struct phy_device * phydev) lan87xx_config_aneg() argument
1060 lan87xx_get_sqi(struct phy_device * phydev) lan87xx_get_sqi() argument
1080 lan87xx_get_sqi_max(struct phy_device * phydev) lan87xx_get_sqi_max() argument
1085 lan887x_rgmii_init(struct phy_device * phydev) lan887x_rgmii_init() argument
1119 lan887x_sgmii_init(struct phy_device * phydev) lan887x_sgmii_init() argument
1150 lan887x_config_rgmii_en(struct phy_device * phydev) lan887x_config_rgmii_en() argument
1212 lan887x_config_phy_interface(struct phy_device * phydev) lan887x_config_phy_interface() argument
1257 lan887x_get_features(struct phy_device * phydev) lan887x_get_features() argument
1276 lan887x_phy_init(struct phy_device * phydev) lan887x_phy_init() argument
1321 lan887x_phy_config(struct phy_device * phydev,const struct lan887x_regwr_map * reg_map,int cnt) lan887x_phy_config() argument
1336 lan887x_phy_setup(struct phy_device * phydev) lan887x_phy_setup() argument
1371 lan887x_100M_setup(struct phy_device * phydev) lan887x_100M_setup() argument
1400 lan887x_1000M_setup(struct phy_device * phydev) lan887x_1000M_setup() argument
1417 lan887x_link_setup(struct phy_device * phydev) lan887x_link_setup() argument
1432 lan887x_phy_reset(struct phy_device * phydev) lan887x_phy_reset() argument
1464 lan887x_phy_reconfig(struct phy_device * phydev) lan887x_phy_reconfig() argument
1477 lan887x_config_aneg(struct phy_device * phydev) lan887x_config_aneg() argument
1491 lan887x_probe(struct phy_device * phydev) lan887x_probe() argument
1505 lan887x_get_stat(struct phy_device * phydev,int i) lan887x_get_stat() argument
1528 lan887x_get_stats(struct phy_device * phydev,struct ethtool_stats * stats,u64 * data) lan887x_get_stats() argument
1535 lan887x_get_sset_count(struct phy_device * phydev) lan887x_get_sset_count() argument
1540 lan887x_get_strings(struct phy_device * phydev,u8 * data) lan887x_get_strings() argument
1546 lan887x_config_intr(struct phy_device * phydev) lan887x_config_intr() argument
1582 lan887x_handle_interrupt(struct phy_device * phydev) lan887x_handle_interrupt() argument
1605 lan887x_cd_reset(struct phy_device * phydev,enum cable_diag_state cd_done) lan887x_cd_reset() argument
1647 lan887x_cable_test_prep(struct phy_device * phydev,enum cable_diag_mode mode) lan887x_cable_test_prep() argument
1728 lan887x_cable_test_chk(struct phy_device * phydev,enum cable_diag_mode mode) lan887x_cable_test_chk() argument
1763 lan887x_cable_test_start(struct phy_device * phydev) lan887x_cable_test_start() argument
1779 lan887x_cable_test_report(struct phy_device * phydev) lan887x_cable_test_report() argument
1945 lan887x_cable_test_get_status(struct phy_device * phydev,bool * finished) lan887x_cable_test_get_status() argument
1971 lan887x_get_sqi_100M(struct phy_device * phydev) lan887x_get_sqi_100M() argument
2070 lan887x_get_sqi(struct phy_device * phydev) lan887x_get_sqi() argument
[all...]
H A Dnxp-c45-tja11xx-macsec.c290 static int nxp_c45_macsec_write(struct phy_device *phydev, u16 addr, u32 value) in nxp_c45_macsec_write() argument
298 phydev_dbg(phydev, "write addr 0x%x value 0x%x\n", addr, value); in nxp_c45_macsec_write()
301 ret = phy_write_mmd(phydev, MDIO_MMD_VEND2, laddr, lvalue); in nxp_c45_macsec_write()
307 ret = phy_write_mmd(phydev, MDIO_MMD_VEND2, laddr, lvalue); in nxp_c45_macsec_write()
312 static int nxp_c45_macsec_read(struct phy_device *phydev, u16 addr, u32 *value) in nxp_c45_macsec_read() argument
321 ret = phy_read_mmd(phydev, MDIO_MMD_VEND2, laddr); in nxp_c45_macsec_read()
327 ret = phy_read_mmd(phydev, MDIO_MMD_VEND2, laddr); in nxp_c45_macsec_read()
334 phydev_dbg(phydev, "read addr 0x%x value 0x%x\n", addr, *value); in nxp_c45_macsec_read()
339 static void nxp_c45_macsec_read32_64(struct phy_device *phydev, u16 addr, in nxp_c45_macsec_read32_64() argument
344 nxp_c45_macsec_read(phydev, add in nxp_c45_macsec_read32_64()
348 nxp_c45_macsec_read64(struct phy_device * phydev,u16 addr,u64 * value) nxp_c45_macsec_read64() argument
359 nxp_c45_secy_irq_en(struct phy_device * phydev,struct nxp_c45_secy * phy_secy,bool en) nxp_c45_secy_irq_en() argument
466 nxp_c45_sa_set_pn(struct phy_device * phydev,struct nxp_c45_sa * sa,u64 pn,u32 replay_window) nxp_c45_sa_set_pn() argument
492 struct phy_device *phydev = ctx->phydev; nxp_c45_sa_set_key() local
520 nxp_c45_rx_sa_clear_stats(struct phy_device * phydev,struct nxp_c45_sa * sa) nxp_c45_rx_sa_clear_stats() argument
531 nxp_c45_rx_sa_read_stats(struct phy_device * phydev,struct nxp_c45_sa * sa,struct macsec_rx_sa_stats * stats) nxp_c45_rx_sa_read_stats() argument
540 nxp_c45_tx_sa_clear_stats(struct phy_device * phydev,struct nxp_c45_sa * sa) nxp_c45_tx_sa_clear_stats() argument
547 nxp_c45_tx_sa_read_stats(struct phy_device * phydev,struct nxp_c45_sa * sa,struct macsec_tx_sa_stats * stats) nxp_c45_tx_sa_read_stats() argument
555 nxp_c45_rx_sa_update(struct phy_device * phydev,struct nxp_c45_sa * sa,bool en) nxp_c45_rx_sa_update() argument
566 nxp_c45_tx_sa_update(struct phy_device * phydev,struct nxp_c45_sa * sa,bool en) nxp_c45_tx_sa_update() argument
589 nxp_c45_set_sci(struct phy_device * phydev,u16 sci_base_addr,sci_t sci) nxp_c45_set_sci() argument
605 nxp_c45_select_secy(struct phy_device * phydev,u8 id) nxp_c45_select_secy() argument
669 nxp_c45_tx_sc_en_flt(struct phy_device * phydev,int secy_id,bool en) nxp_c45_tx_sc_en_flt() argument
683 nxp_c45_tx_sc_set_flt(struct phy_device * phydev,struct nxp_c45_secy * phy_secy) nxp_c45_tx_sc_set_flt() argument
702 nxp_c45_tx_sc_update(struct phy_device * phydev,struct nxp_c45_secy * phy_secy) nxp_c45_tx_sc_update() argument
759 nxp_c45_tx_sc_clear_stats(struct phy_device * phydev,struct nxp_c45_secy * phy_secy) nxp_c45_tx_sc_clear_stats() argument
776 nxp_c45_set_rx_sc0_impl(struct phy_device * phydev,bool enable) nxp_c45_set_rx_sc0_impl() argument
800 nxp_c45_rx_sc_en(struct phy_device * phydev,struct macsec_rx_sc * rx_sc,bool en) nxp_c45_rx_sc_en() argument
813 nxp_c45_rx_sc_update(struct phy_device * phydev,struct nxp_c45_secy * phy_secy) nxp_c45_rx_sc_update() argument
860 nxp_c45_rx_sc_clear_stats(struct phy_device * phydev,struct nxp_c45_secy * phy_secy) nxp_c45_rx_sc_clear_stats() argument
886 nxp_c45_rx_sc_del(struct phy_device * phydev,struct nxp_c45_secy * phy_secy) nxp_c45_rx_sc_del() argument
905 nxp_c45_clear_global_stats(struct phy_device * phydev) nxp_c45_clear_global_stats() argument
912 nxp_c45_macsec_en(struct phy_device * phydev,bool en) nxp_c45_macsec_en() argument
926 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_dev_open() local
951 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_dev_stop() local
975 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_add_secy() local
1043 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_upd_secy() local
1083 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_del_secy() local
1118 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_add_rxsc() local
1148 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_upd_rxsc() local
1168 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_del_rxsc() local
1190 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_add_rxsa() local
1220 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_upd_rxsa() local
1250 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_del_rxsa() local
1280 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_add_txsa() local
1310 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_upd_txsa() local
1339 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_del_txsa() local
1369 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_get_dev_stats() local
1410 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_get_tx_sc_stats() local
1444 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_get_tx_sa_stats() local
1468 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_get_rx_sc_stats() local
1523 struct phy_device *phydev = ctx->phydev; nxp_c45_mdo_get_rx_sa_stats() local
1557 nxp_c45_mdo_insert_tx_tag(struct phy_device * phydev,struct sk_buff * skb) nxp_c45_mdo_insert_tx_tag() argument
1600 nxp_c45_macsec_config_init(struct phy_device * phydev) nxp_c45_macsec_config_init() argument
1649 nxp_c45_macsec_probe(struct phy_device * phydev) nxp_c45_macsec_probe() argument
1664 nxp_c45_macsec_remove(struct phy_device * phydev) nxp_c45_macsec_remove() argument
1684 nxp_c45_handle_macsec_interrupt(struct phy_device * phydev,irqreturn_t * ret) nxp_c45_handle_macsec_interrupt() argument
[all...]
H A Ddp83tg720.c203 * @phydev: Pointer to the phy_device structure.
210 static int dp83tg720_update_stats(struct phy_device *phydev) in dp83tg720_update_stats() argument
212 struct dp83tg720_priv *priv = phydev->priv; in dp83tg720_update_stats()
217 ret = phy_read_mmd(phydev, MDIO_MMD_VEND2, DP83TG720S_LINK_QUAL_3); in dp83tg720_update_stats()
235 ret = phy_read_mmd(phydev, MDIO_MMD_VEND2, DP83TG720S_PKT_STAT_1); in dp83tg720_update_stats()
241 ret = phy_read_mmd(phydev, MDIO_MMD_VEND2, DP83TG720S_PKT_STAT_2); in dp83tg720_update_stats()
248 ret = phy_read_mmd(phydev, MDIO_MMD_VEND2, DP83TG720S_PKT_STAT_3); in dp83tg720_update_stats()
254 ret = phy_read_mmd(phydev, MDIO_MMD_VEND2, DP83TG720S_PKT_STAT_4); in dp83tg720_update_stats()
260 ret = phy_read_mmd(phydev, MDIO_MMD_VEND2, DP83TG720S_PKT_STAT_5); in dp83tg720_update_stats()
267 ret = phy_read_mmd(phydev, MDIO_MMD_VEND in dp83tg720_update_stats()
276 dp83tg720_soft_reset(struct phy_device * phydev) dp83tg720_soft_reset() argument
296 dp83tg720_get_link_stats(struct phy_device * phydev,struct ethtool_link_ext_stats * link_stats) dp83tg720_get_link_stats() argument
304 dp83tg720_get_phy_stats(struct phy_device * phydev,struct ethtool_eth_phy_stats * eth_stats,struct ethtool_phy_stats * stats) dp83tg720_get_phy_stats() argument
324 dp83tg720_cable_test_start(struct phy_device * phydev) dp83tg720_cable_test_start() argument
385 dp83tg720_cable_test_get_status(struct phy_device * phydev,bool * finished) dp83tg720_cable_test_get_status() argument
437 dp83tg720_config_aneg(struct phy_device * phydev) dp83tg720_config_aneg() argument
455 dp83tg720_read_status(struct phy_device * phydev) dp83tg720_read_status() argument
508 dp83tg720_get_sqi(struct phy_device * phydev) dp83tg720_get_sqi() argument
522 dp83tg720_get_sqi_max(struct phy_device * phydev) dp83tg720_get_sqi_max() argument
527 dp83tg720_config_rgmii_delay(struct phy_device * phydev) dp83tg720_config_rgmii_delay() argument
558 dp83tg720_config_init(struct phy_device * phydev) dp83tg720_config_init() argument
587 dp83tg720_probe(struct phy_device * phydev) dp83tg720_probe() argument
611 dp83tg720_get_next_update_time(struct phy_device * phydev) dp83tg720_get_next_update_time() argument
[all...]
H A Ddp83867.c203 * because dp83867_config_init() does the replay off phydev->lock. in dp83867_ack_interrupt()
212 static int dp83867_ack_interrupt(struct phy_device *phydev) in dp83867_set_wol()
214 int err = phy_read(phydev, MII_DP83867_ISR); in dp83867_set_wol()
222 static int dp83867_set_wol(struct phy_device *phydev, in dp83867_set_wol()
225 struct net_device *ndev = phydev->attached_dev; in dp83867_set_wol()
229 val_rxcfg = phy_read_mmd(phydev, DP83867_DEVADDR, DP83867_RXFCFG); in dp83867_set_wol()
230 val_micr = phy_read(phydev, MII_DP83867_MICR); in dp83867_set_wol()
243 phy_write_mmd(phydev, DP83867_DEVADDR, DP83867_RXFPMD1, in dp83867_set_wol()
245 phy_write_mmd(phydev, DP83867_DEVADDR, DP83867_RXFPMD2, in dp83867_set_wol()
247 phy_write_mmd(phydev, DP83867_DEVADD in dp83867_set_wol()
201 dp83867_ack_interrupt(struct phy_device * phydev) dp83867_ack_interrupt() argument
211 dp83867_set_wol(struct phy_device * phydev,struct ethtool_wolinfo * wol) dp83867_set_wol() argument
277 dp83867_get_wol(struct phy_device * phydev,struct ethtool_wolinfo * wol) dp83867_get_wol() argument
320 dp83867_config_intr(struct phy_device * phydev) dp83867_config_intr() argument
354 dp83867_handle_interrupt(struct phy_device * phydev) dp83867_handle_interrupt() argument
378 dp83867_read_status(struct phy_device * phydev) dp83867_read_status() argument
421 dp83867_get_downshift(struct phy_device * phydev,u8 * data) dp83867_get_downshift() argument
454 dp83867_set_downshift(struct phy_device * phydev,u8 cnt) dp83867_set_downshift() argument
492 dp83867_get_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,void * data) dp83867_get_tunable() argument
503 dp83867_set_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,const void * data) dp83867_set_tunable() argument
514 dp83867_config_port_mirroring(struct phy_device * phydev) dp83867_config_port_mirroring() argument
528 dp83867_of_init_io_impedance(struct phy_device * phydev) dp83867_of_init_io_impedance() argument
573 dp83867_of_init(struct phy_device * phydev) dp83867_of_init() argument
666 dp83867_of_init(struct phy_device * phydev) dp83867_of_init() argument
698 dp83867_suspend(struct phy_device * phydev) dp83867_suspend() argument
709 dp83867_resume(struct phy_device * phydev) dp83867_resume() argument
722 dp83867_probe(struct phy_device * phydev) dp83867_probe() argument
736 dp83867_config_init(struct phy_device * phydev) dp83867_config_init() argument
902 dp83867_config_mdix(struct phy_device * phydev,u8 ctrl) dp83867_config_mdix() argument
924 dp83867_config_aneg(struct phy_device * phydev) dp83867_config_aneg() argument
935 dp83867_phy_reset(struct phy_device * phydev) dp83867_phy_reset() argument
968 dp83867_link_change_notify(struct phy_device * phydev) dp83867_link_change_notify() argument
994 dp83867_loopback(struct phy_device * phydev,bool enable,int speed) dp83867_loopback() argument
1004 dp83867_led_brightness_set(struct phy_device * phydev,u8 index,enum led_brightness brightness) dp83867_led_brightness_set() argument
1057 dp83867_led_hw_is_supported(struct phy_device * phydev,u8 index,unsigned long rules) dp83867_led_hw_is_supported() argument
1069 dp83867_led_hw_control_set(struct phy_device * phydev,u8 index,unsigned long rules) dp83867_led_hw_control_set() argument
1086 dp83867_led_hw_control_get(struct phy_device * phydev,u8 index,unsigned long * rules) dp83867_led_hw_control_get() argument
1141 dp83867_led_polarity_set(struct phy_device * phydev,int index,unsigned long modes) dp83867_led_polarity_set() argument
1164 dp83867_inband_caps(struct phy_device * phydev,phy_interface_t interface) dp83867_inband_caps() argument
1173 dp83867_config_inband(struct phy_device * phydev,unsigned int modes) dp83867_config_inband() argument
[all...]
/linux/include/linux/
H A Dphy.h56 * Set phydev->irq to PHY_POLL if interrupts are not supported,
388 int (*notify_phy_attach)(struct phy_device *phydev);
396 void (*notify_phy_detach)(struct phy_device *phydev);
832 void (*phy_link_change)(struct phy_device *phydev, bool up);
850 #define phy_for_each_port(phydev, port) \
851 list_for_each_entry(port, &(phydev)->ports, head)
963 * @phydev: PHY this LED is attached to
969 struct phy_device *phydev;
1170 int (*soft_reset)(struct phy_device *phydev);
1176 int (*config_init)(struct phy_device *phydev);
822 phy_for_each_port(phydev,port) global() argument
941 struct phy_device *phydev; global() member
1640 phydev_id_compare(struct phy_device * phydev,u32 id) phydev_id_compare() argument
1655 phy_is_started(struct phy_device * phydev) phy_is_started() argument
1666 phy_driver_is_genphy(struct phy_device * phydev) phy_driver_is_genphy() argument
1676 phy_disable_eee_mode(struct phy_device * phydev,u32 link_mode) phy_disable_eee_mode() argument
1691 phy_can_wakeup(struct phy_device * phydev) phy_can_wakeup() argument
1717 phy_read(struct phy_device * phydev,u32 regnum) phy_read() argument
1722 phy_read_poll_timeout(phydev,regnum,val,cond,sleep_us,timeout_us,sleep_before_read) global() argument
1743 __phy_read(struct phy_device * phydev,u32 regnum) __phy_read() argument
1758 phy_write(struct phy_device * phydev,u32 regnum,u16 val) phy_write() argument
1771 __phy_write(struct phy_device * phydev,u32 regnum,u16 val) __phy_write() argument
1789 __phy_modify_changed(struct phy_device * phydev,u32 regnum,u16 mask,u16 set) __phy_modify_changed() argument
1821 phy_read_mmd_poll_timeout(phydev,devaddr,regnum,val,cond,sleep_us,timeout_us,sleep_before_read) global() argument
1878 __phy_set_bits(struct phy_device * phydev,u32 regnum,u16 val) __phy_set_bits() argument
1891 __phy_clear_bits(struct phy_device * phydev,u32 regnum,u16 val) __phy_clear_bits() argument
1903 phy_set_bits(struct phy_device * phydev,u32 regnum,u16 val) phy_set_bits() argument
1914 phy_clear_bits(struct phy_device * phydev,u32 regnum,u16 val) phy_clear_bits() argument
1929 __phy_set_bits_mmd(struct phy_device * phydev,int devad,u32 regnum,u16 val) __phy_set_bits_mmd() argument
1945 __phy_clear_bits_mmd(struct phy_device * phydev,int devad,u32 regnum,u16 val) __phy_clear_bits_mmd() argument
1959 phy_set_bits_mmd(struct phy_device * phydev,int devad,u32 regnum,u16 val) phy_set_bits_mmd() argument
1973 phy_clear_bits_mmd(struct phy_device * phydev,int devad,u32 regnum,u16 val) phy_clear_bits_mmd() argument
1986 phy_interrupt_is_valid(struct phy_device * phydev) phy_interrupt_is_valid() argument
1996 phy_polling_mode(struct phy_device * phydev) phy_polling_mode() argument
2012 phy_has_hwtstamp(struct phy_device * phydev) phy_has_hwtstamp() argument
2021 phy_has_rxtstamp(struct phy_device * phydev) phy_has_rxtstamp() argument
2031 phy_has_tsinfo(struct phy_device * phydev) phy_has_tsinfo() argument
2040 phy_has_txtstamp(struct phy_device * phydev) phy_has_txtstamp() argument
2045 phy_hwtstamp(struct phy_device * phydev,struct kernel_hwtstamp_config * cfg,struct netlink_ext_ack * extack) phy_hwtstamp() argument
2052 phy_rxtstamp(struct phy_device * phydev,struct sk_buff * skb,int type) phy_rxtstamp() argument
2058 phy_ts_info(struct phy_device * phydev,struct kernel_ethtool_ts_info * tsinfo) phy_ts_info() argument
2064 phy_txtstamp(struct phy_device * phydev,struct sk_buff * skb,int type) phy_txtstamp() argument
2080 phy_is_default_hwtstamp(struct phy_device * phydev) phy_is_default_hwtstamp() argument
2089 phy_on_sfp(struct phy_device * phydev) phy_on_sfp() argument
2124 phy_interface_is_rgmii(struct phy_device * phydev) phy_interface_is_rgmii() argument
2134 phy_is_pseudo_fixed_link(struct phy_device * phydev) phy_is_pseudo_fixed_link() argument
2213 phy_start_cable_test(struct phy_device * phydev,struct netlink_ext_ack * extack) phy_start_cable_test() argument
2220 phy_start_cable_test_tdr(struct phy_device * phydev,struct netlink_ext_ack * extack,const struct phy_tdr_config * config) phy_start_cable_test_tdr() argument
2229 phy_device_reset(struct phy_device * phydev,int value) phy_device_reset() argument
2234 phy_device_has_reset(struct phy_device * phydev) phy_device_has_reset() argument
2254 phydev_name(const struct phy_device * phydev) phydev_name() argument
2259 phy_lock_mdio_bus(struct phy_device * phydev) phy_lock_mdio_bus() argument
2264 phy_unlock_mdio_bus(struct phy_device * phydev) phy_unlock_mdio_bus() argument
2296 genphy_config_aneg(struct phy_device * phydev) genphy_config_aneg() argument
2301 genphy_no_config_intr(struct phy_device * phydev) genphy_no_config_intr() argument
2363 phy_read_status(struct phy_device * phydev) phy_read_status() argument
[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()
366 return __phy_read(phydev, RTL821x_PAGE_SELECT); in rtl821x_read_ext_page()
369 static int rtl821x_write_page(struct phy_device *phydev, int page) in rtl821x_read_ext_page()
371 return __phy_write(phydev, RTL821x_PAGE_SELECT, 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()
379 oldpage = phy_select_page(phydev, RTL821x_SET_EXT_PAGE); in rtl821x_modify_ext_page()
381 ret = __phy_write(phydev, RTL821x_EXT_PAGE_SELECT, ext_page); in rtl821x_modify_ext_page()
383 ret = __phy_read(phydev, regnum); in rtl821x_modify_ext_page()
386 return phy_restore_page(phydev, oldpage, ret); in rtl821x_modify_ext_page()
389 static int rtl821x_modify_ext_page(struct phy_device *phydev, u1 in rtl8261x_probe()
348 rtl821x_read_page(struct phy_device * phydev) rtl821x_read_page() argument
353 rtl821x_write_page(struct phy_device * phydev,int page) rtl821x_write_page() argument
358 rtl821x_read_ext_page(struct phy_device * phydev,u16 ext_page,u32 regnum) rtl821x_read_ext_page() argument
373 rtl821x_modify_ext_page(struct phy_device * phydev,u16 ext_page,u32 regnum,u16 mask,u16 set) rtl821x_modify_ext_page() argument
388 rtl8261x_probe(struct phy_device * phydev) rtl8261x_probe() argument
429 rtl8261x_get_features(struct phy_device * phydev) rtl8261x_get_features() argument
448 rtl8261x_read_status(struct phy_device * phydev) rtl8261x_read_status() argument
474 rtl8261x_verify_firmware(struct phy_device * phydev,const struct firmware * fw) rtl8261x_verify_firmware() argument
521 rtl8261x_fw_execute_entry(struct phy_device * phydev,const struct rtl8261x_fw_entry * entry) rtl8261x_fw_execute_entry() argument
581 rtl8261x_fw_load(struct phy_device * phydev) rtl8261x_fw_load() argument
620 rtl8261x_config_intr(struct phy_device * phydev) rtl8261x_config_intr() argument
646 rtl8261x_handle_interrupt(struct phy_device * phydev) rtl8261x_handle_interrupt() argument
666 rtl8261x_config_aneg(struct phy_device * phydev) rtl8261x_config_aneg() argument
697 rtl8261x_config_init(struct phy_device * phydev) rtl8261x_config_init() argument
711 rtl821x_probe(struct phy_device * phydev) rtl821x_probe() argument
741 rtl8211f_probe(struct phy_device * phydev) rtl8211f_probe() argument
769 rtl8201_ack_interrupt(struct phy_device * phydev) rtl8201_ack_interrupt() argument
778 rtl821x_ack_interrupt(struct phy_device * phydev) rtl821x_ack_interrupt() argument
787 rtl8211f_ack_interrupt(struct phy_device * phydev) rtl8211f_ack_interrupt() argument
796 rtl8201_config_intr(struct phy_device * phydev) rtl8201_config_intr() argument
822 rtl8211b_config_intr(struct phy_device * phydev) rtl8211b_config_intr() argument
844 rtl8211e_config_intr(struct phy_device * phydev) rtl8211e_config_intr() argument
866 rtl8211f_config_intr(struct phy_device * phydev) rtl8211f_config_intr() argument
893 rtl8201_handle_interrupt(struct phy_device * phydev) rtl8201_handle_interrupt() argument
911 rtl821x_handle_interrupt(struct phy_device * phydev) rtl821x_handle_interrupt() argument
935 rtl8211f_handle_interrupt(struct phy_device * phydev) rtl8211f_handle_interrupt() argument
1020 rtl8211_config_aneg(struct phy_device * phydev) rtl8211_config_aneg() argument
1042 rtl8211c_config_init(struct phy_device * phydev) rtl8211c_config_init() argument
1049 rtl8211f_config_rgmii_delay(struct phy_device * phydev) rtl8211f_config_rgmii_delay() argument
1116 rtl8211f_config_clk_out(struct phy_device * phydev) rtl8211f_config_clk_out() argument
1145 rtl8211f_config_aldps(struct phy_device * phydev) rtl8211f_config_aldps() argument
1159 rtl8211f_disable_autonomous_eee(struct phy_device * phydev) rtl8211f_disable_autonomous_eee() argument
1165 rtl8211f_config_clkout_ssc(struct phy_device * phydev) rtl8211f_config_clkout_ssc() argument
1204 rtl8211f_config_rxc_ssc(struct phy_device * phydev) rtl8211f_config_rxc_ssc() argument
1230 rtl8211f_config_sysclk_ssc(struct phy_device * phydev) rtl8211f_config_sysclk_ssc() argument
1263 rtl8211f_config_init(struct phy_device * phydev) rtl8211f_config_init() argument
1301 rtl821x_suspend(struct phy_device * phydev) rtl821x_suspend() argument
1318 rtl8211f_suspend(struct phy_device * phydev) rtl8211f_suspend() argument
1364 rtl821x_resume(struct phy_device * phydev) rtl821x_resume() argument
1381 rtl8211f_resume(struct phy_device * phydev) rtl8211f_resume() argument
1399 rtl8211x_led_hw_is_supported(struct phy_device * phydev,u8 index,unsigned long rules) rtl8211x_led_hw_is_supported() argument
1437 rtl8211f_led_hw_control_get(struct phy_device * phydev,u8 index,unsigned long * rules) rtl8211f_led_hw_control_get() argument
1475 rtl8211f_led_hw_control_set(struct phy_device * phydev,u8 index,unsigned long rules) rtl8211f_led_hw_control_set() argument
1511 rtl8211e_led_hw_control_get(struct phy_device * phydev,u8 index,unsigned long * rules) rtl8211e_led_hw_control_get() argument
1555 rtl8211e_led_hw_control_set(struct phy_device * phydev,u8 index,unsigned long rules) rtl8211e_led_hw_control_set() argument
1601 rtl8211e_config_init(struct phy_device * phydev) rtl8211e_config_init() argument
1637 rtl8211b_suspend(struct phy_device * phydev) rtl8211b_suspend() argument
1644 rtl8211b_resume(struct phy_device * phydev) rtl8211b_resume() argument
1651 rtl8366rb_config_init(struct phy_device * phydev) rtl8366rb_config_init() argument
1666 rtlgen_decode_physr(struct phy_device * phydev,int val) rtlgen_decode_physr() argument
1714 rtlgen_read_status(struct phy_device * phydev) rtlgen_read_status() argument
1734 rtlgen_read_vend2(struct phy_device * phydev,int regnum) rtlgen_read_vend2() argument
1739 rtlgen_write_vend2(struct phy_device * phydev,int regnum,u16 val) rtlgen_write_vend2() argument
1745 rtlgen_read_mmd(struct phy_device * phydev,int devnum,u16 regnum) rtlgen_read_mmd() argument
1763 rtlgen_write_mmd(struct phy_device * phydev,int devnum,u16 regnum,u16 val) rtlgen_write_mmd() argument
1778 rtl822x_read_mmd(struct phy_device * phydev,int devnum,u16 regnum) rtl822x_read_mmd() argument
1795 rtl822x_write_mmd(struct phy_device * phydev,int devnum,u16 regnum,u16 val) rtl822x_write_mmd() argument
1809 rtl822x_probe(struct phy_device * phydev) rtl822x_probe() argument
1822 rtl822xb_read_mmd(struct phy_device * phydev,int devnum,u16 reg) rtl822xb_read_mmd() argument
1861 rtl822xb_write_mmd(struct phy_device * phydev,int devnum,u16 reg,u16 val) rtl822xb_write_mmd() argument
1901 rtl8226_set_mdi_swap(struct phy_device * phydev,bool swap_enable) rtl8226_set_mdi_swap() argument
1909 rtl8226_swap_rg_lpf_cap(struct phy_device * phydev,u32 reg_p0_p1,u32 reg_p2_p3) rtl8226_swap_rg_lpf_cap() argument
1941 rtl8226_patch_mdi_swap(struct phy_device * phydev,bool swap_enable) rtl8226_patch_mdi_swap() argument
2007 rtl8226_config_mdi_order(struct phy_device * phydev) rtl8226_config_mdi_order() argument
2034 rtl8226_probe(struct phy_device * phydev) rtl8226_probe() argument
2039 rtl822x_set_serdes_option_mode(struct phy_device * phydev,bool gen1) rtl822x_set_serdes_option_mode() argument
2099 rtl822x_config_init(struct phy_device * phydev) rtl822x_config_init() argument
2104 rtl822xb_config_init(struct phy_device * phydev) rtl822xb_config_init() argument
2109 rtl822x_serdes_write(struct phy_device * phydev,u16 reg,u16 val) rtl822x_serdes_write() argument
2133 rtl822x_config_inband(struct phy_device * phydev,unsigned int modes) rtl822x_config_inband() argument
2141 rtl822x_inband_caps(struct phy_device * phydev,phy_interface_t interface) rtl822x_inband_caps() argument
2154 rtl822xb_get_rate_matching(struct phy_device * phydev,phy_interface_t iface) rtl822xb_get_rate_matching() argument
2175 rtl822x_get_features(struct phy_device * phydev) rtl822x_get_features() argument
2193 rtl822x_config_aneg(struct phy_device * phydev) rtl822x_config_aneg() argument
2212 rtl822xb_update_interface(struct phy_device * phydev) rtl822xb_update_interface() argument
2234 rtl822x_read_status(struct phy_device * phydev) rtl822x_read_status() argument
2257 rtl822xb_read_status(struct phy_device * phydev) rtl822xb_read_status() argument
2270 rtl822x_c45_get_features(struct phy_device * phydev) rtl822x_c45_get_features() argument
2278 rtl822x_c45_config_aneg(struct phy_device * phydev) rtl822x_c45_config_aneg() argument
2306 rtl822x_c45_read_status(struct phy_device * phydev) rtl822x_c45_read_status() argument
2341 rtl822x_c45_soft_reset(struct phy_device * phydev) rtl822x_c45_soft_reset() argument
2356 rtl822xb_c45_read_status(struct phy_device * phydev) rtl822xb_c45_read_status() argument
2369 rtl822xb_led_brightness_set(struct phy_device * phydev,u8 index,enum led_brightness value) rtl822xb_led_brightness_set() argument
2399 rtl822xb_led_hw_is_supported(struct phy_device * phydev,u8 index,unsigned long rules) rtl822xb_led_hw_is_supported() argument
2427 rtl822xb_led_hw_control_get(struct phy_device * phydev,u8 index,unsigned long * rules) rtl822xb_led_hw_control_get() argument
2469 rtl822xb_led_hw_control_set(struct phy_device * phydev,u8 index,unsigned long rules) rtl822xb_led_hw_control_set() argument
2514 rtl8224_cable_test_start(struct phy_device * phydev) rtl8224_cable_test_start() argument
2541 rtl8224_sram_read(struct phy_device * phydev,u32 reg) rtl8224_sram_read() argument
2555 rtl8224_pair_len_get(struct phy_device * phydev,u32 pair) rtl8224_pair_len_get() argument
2607 rtl8224_cable_test_report_pair(struct phy_device * phydev,unsigned int pair) rtl8224_cable_test_report_pair() argument
2638 rtl8224_cable_test_report(struct phy_device * phydev,bool * finished) rtl8224_cable_test_report() argument
2657 rtl8224_cable_test_get_status(struct phy_device * phydev,bool * finished) rtl8224_cable_test_get_status() argument
2676 rtl8224_package_modify_mmd(struct phy_device * phydev,int devad,u32 regnum,u16 mask,u16 set) rtl8224_package_modify_mmd() argument
2699 rtl8224_mdi_config_order(struct phy_device * phydev) rtl8224_mdi_config_order() argument
2724 rtl8224_mdi_config_polarity(struct phy_device * phydev) rtl8224_mdi_config_polarity() argument
2749 rtl8224_config_init(struct phy_device * phydev) rtl8224_config_init() argument
2760 rtl8224_probe(struct phy_device * phydev) rtl8224_probe() argument
2767 rtlgen_supports_2_5gbps(struct phy_device * phydev) rtlgen_supports_2_5gbps() argument
2781 rtlgen_supports_mmd(struct phy_device * phydev) rtlgen_supports_mmd() argument
2795 rtlgen_match_phy_device(struct phy_device * phydev,const struct phy_driver * phydrv) rtlgen_match_phy_device() argument
2802 rtl8226_match_phy_device(struct phy_device * phydev,const struct phy_driver * phydrv) rtl8226_match_phy_device() argument
2810 rtlgen_is_c45_match(struct phy_device * phydev,unsigned int id,bool is_c45) rtlgen_is_c45_match() argument
2819 rtl8221b_match_phy_device(struct phy_device * phydev,const struct phy_driver * phydrv) rtl8221b_match_phy_device() argument
2825 rtl8221b_vb_cg_match_phy_device(struct phy_device * phydev,const struct phy_driver * phydrv) rtl8221b_vb_cg_match_phy_device() argument
2832 rtl8221b_vm_cg_match_phy_device(struct phy_device * phydev,const struct phy_driver * phydrv) rtl8221b_vm_cg_match_phy_device() argument
2839 rtl_internal_nbaset_match_phy_device(struct phy_device * phydev,const struct phy_driver * phydrv) rtl_internal_nbaset_match_phy_device() argument
2859 rtl8251b_c45_match_phy_device(struct phy_device * phydev,const struct phy_driver * phydrv) rtl8251b_c45_match_phy_device() argument
2865 rtlgen_resume(struct phy_device * phydev) rtlgen_resume() argument
2875 rtlgen_c45_resume(struct phy_device * phydev) rtlgen_c45_resume() argument
2884 rtl9000a_config_init(struct phy_device * phydev) rtl9000a_config_init() argument
2893 rtl9000a_config_aneg(struct phy_device * phydev) rtl9000a_config_aneg() argument
2919 rtl9000a_read_status(struct phy_device * phydev) rtl9000a_read_status() argument
2949 rtl9000a_ack_interrupt(struct phy_device * phydev) rtl9000a_ack_interrupt() argument
2958 rtl9000a_config_intr(struct phy_device * phydev) rtl9000a_config_intr() argument
2982 rtl9000a_handle_interrupt(struct phy_device * phydev) rtl9000a_handle_interrupt() argument
3000 rtl8221b_ack_interrupt(struct phy_device * phydev) rtl8221b_ack_interrupt() argument
3009 rtl8221b_config_intr(struct phy_device * phydev) rtl8221b_config_intr() argument
3032 rtl8221b_handle_interrupt(struct phy_device * phydev) rtl8221b_handle_interrupt() argument
3047 rtlgen_sfp_get_features(struct phy_device * phydev) rtlgen_sfp_get_features() argument
3061 rtlgen_sfp_read_status(struct phy_device * phydev) rtlgen_sfp_read_status() argument
3081 rtlgen_sfp_config_aneg(struct phy_device * phydev) rtlgen_sfp_config_aneg() argument
[all...]
/linux/drivers/net/phy/qcom/
H A Dat803x.c184 static int at803x_write_page(struct phy_device *phydev, int page) in at803x_write_page() argument
197 return __phy_modify(phydev, AT803X_REG_CHIP_CONFIG, mask, set); in at803x_write_page()
200 static int at803x_read_page(struct phy_device *phydev) in at803x_read_page() argument
202 int ccr = __phy_read(phydev, AT803X_REG_CHIP_CONFIG); in at803x_read_page()
213 static int at803x_enable_rx_delay(struct phy_device *phydev) in at803x_enable_rx_delay() argument
215 return at803x_debug_reg_mask(phydev, AT803X_DEBUG_ANALOG_TEST_CTRL, 0, in at803x_enable_rx_delay()
219 static int at803x_enable_tx_delay(struct phy_device *phydev) in at803x_enable_tx_delay() argument
221 return at803x_debug_reg_mask(phydev, AT803X_DEBUG_SYSTEM_CTRL_MODE, 0, in at803x_enable_tx_delay()
225 static int at803x_disable_rx_delay(struct phy_device *phydev) in at803x_disable_rx_delay() argument
227 return at803x_debug_reg_mask(phydev, AT803X_DEBUG_ANALOG_TEST_CTR in at803x_disable_rx_delay()
231 at803x_disable_tx_delay(struct phy_device * phydev) at803x_disable_tx_delay() argument
238 at803x_context_save(struct phy_device * phydev,struct at803x_context * context) at803x_context_save() argument
250 at803x_context_restore(struct phy_device * phydev,const struct at803x_context * context) at803x_context_restore() argument
261 at803x_suspend(struct phy_device * phydev) at803x_suspend() argument
279 at803x_resume(struct phy_device * phydev) at803x_resume() argument
284 at803x_parse_dt(struct phy_device * phydev) at803x_parse_dt() argument
363 at803x_probe(struct phy_device * phydev) at803x_probe() argument
382 at803x_get_features(struct phy_device * phydev) at803x_get_features() argument
412 at803x_smarteee_config(struct phy_device * phydev) at803x_smarteee_config() argument
444 at803x_clk_out_config(struct phy_device * phydev) at803x_clk_out_config() argument
455 at8031_pll_config(struct phy_device * phydev) at8031_pll_config() argument
470 at803x_hibernation_mode_config(struct phy_device * phydev) at803x_hibernation_mode_config() argument
485 at803x_config_init(struct phy_device * phydev) at803x_config_init() argument
531 at803x_link_change_notify(struct phy_device * phydev) at803x_link_change_notify() argument
556 at803x_config_aneg(struct phy_device * phydev) at803x_config_aneg() argument
602 at803x_cable_test_one_pair(struct phy_device * phydev,int pair) at803x_cable_test_one_pair() argument
641 at803x_cable_test_get_status(struct phy_device * phydev,bool * finished,unsigned long pair_mask) at803x_cable_test_get_status() argument
673 at803x_cable_test_autoneg(struct phy_device * phydev) at803x_cable_test_autoneg() argument
683 at803x_cable_test_start(struct phy_device * phydev) at803x_cable_test_start() argument
693 struct phy_device *phydev = rdev_get_drvdata(rdev); at8031_rgmii_reg_set_voltage_sel() local
705 struct phy_device *phydev = rdev_get_drvdata(rdev); at8031_rgmii_reg_get_voltage_sel() local
749 at8031_register_regulators(struct phy_device * phydev) at8031_register_regulators() argument
776 struct phy_device *phydev = port_phydev(port); at803x_configure_mii() local
789 at8031_attach_mii_port(struct phy_device * phydev,struct phy_port * port) at8031_attach_mii_port() argument
811 at8031_parse_dt(struct phy_device * phydev) at8031_parse_dt() argument
834 at8031_probe(struct phy_device * phydev) at8031_probe() argument
878 at8031_config_init(struct phy_device * phydev) at8031_config_init() argument
902 at8031_config_intr(struct phy_device * phydev) at8031_config_intr() argument
926 at8031_read_status(struct phy_device * phydev) at8031_read_status() argument
938 at8031_cable_test_get_status(struct phy_device * phydev,bool * finished) at8031_cable_test_get_status() argument
945 at8031_cable_test_start(struct phy_device * phydev) at8031_cable_test_start() argument
954 at8032_cable_test_get_status(struct phy_device * phydev,bool * finished) at8032_cable_test_get_status() argument
960 at8035_parse_dt(struct phy_device * phydev) at8035_parse_dt() argument
988 at8035_probe(struct phy_device * phydev) at8035_probe() argument
999 ipq5018_cable_test_start(struct phy_device * phydev) ipq5018_cable_test_start() argument
1022 ipq5018_config_init(struct phy_device * phydev) ipq5018_config_init() argument
1068 ipq5018_link_change_notify(struct phy_device * phydev) ipq5018_link_change_notify() argument
1079 ipq5018_probe(struct phy_device * phydev) ipq5018_probe() argument
[all...]
H A Dqca808x.c102 static int qca808x_phy_fast_retrain_config(struct phy_device *phydev) in qca808x_phy_fast_retrain_config()
107 ret = genphy_c45_fast_retrain(phydev, true); in qca808x_phy_fast_retrain_config()
111 phy_write_mmd(phydev, MDIO_MMD_AN, QCA808X_PHY_MMD7_TOP_OPTION1, in qca808x_phy_fast_retrain_config()
113 phy_write_mmd(phydev, MDIO_MMD_PMAPMD, QCA808X_PHY_MMD1_MSE_THRESHOLD_20DB, in qca808x_phy_fast_retrain_config()
115 phy_write_mmd(phydev, MDIO_MMD_PMAPMD, QCA808X_PHY_MMD1_MSE_THRESHOLD_17DB, in qca808x_phy_fast_retrain_config()
117 phy_write_mmd(phydev, MDIO_MMD_PMAPMD, QCA808X_PHY_MMD1_MSE_THRESHOLD_27DB, in qca808x_phy_fast_retrain_config()
119 phy_write_mmd(phydev, MDIO_MMD_PMAPMD, QCA808X_PHY_MMD1_MSE_THRESHOLD_28DB, in qca808x_phy_fast_retrain_config()
121 phy_write_mmd(phydev, MDIO_MMD_PCS, QCA808X_PHY_MMD3_DEBUG_1, in qca808x_phy_fast_retrain_config()
123 phy_write_mmd(phydev, MDIO_MMD_PCS, QCA808X_PHY_MMD3_DEBUG_4, in qca808x_phy_fast_retrain_config()
125 phy_write_mmd(phydev, MDIO_MMD_PC in qca808x_phy_fast_retrain_config()
99 qca808x_phy_fast_retrain_config(struct phy_device * phydev) qca808x_phy_fast_retrain_config() argument
134 qca808x_phy_ms_seed_enable(struct phy_device * phydev,bool enable) qca808x_phy_ms_seed_enable() argument
149 qca808x_is_prefer_master(struct phy_device * phydev) qca808x_is_prefer_master() argument
155 qca808x_has_fast_retrain_or_slave_seed(struct phy_device * phydev) qca808x_has_fast_retrain_or_slave_seed() argument
160 qca808x_is_1g_only(struct phy_device * phydev) qca808x_is_1g_only() argument
171 qca808x_fill_possible_interfaces(struct phy_device * phydev) qca808x_fill_possible_interfaces() argument
181 qca808x_probe(struct phy_device * phydev) qca808x_probe() argument
198 qca808x_config_init(struct phy_device * phydev) qca808x_config_init() argument
257 qca808x_read_status(struct phy_device * phydev) qca808x_read_status() argument
308 qca808x_soft_reset(struct phy_device * phydev) qca808x_soft_reset() argument
322 qca808x_cable_test_start(struct phy_device * phydev) qca808x_cable_test_start() argument
363 qca808x_get_features(struct phy_device * phydev) qca808x_get_features() argument
387 qca808x_config_aneg(struct phy_device * phydev) qca808x_config_aneg() argument
413 qca808x_link_change_notify(struct phy_device * phydev) qca808x_link_change_notify() argument
424 qca808x_led_parse_netdev(struct phy_device * phydev,unsigned long rules,u16 * offload_trigger) qca808x_led_parse_netdev() argument
456 qca808x_led_hw_control_enable(struct phy_device * phydev,u8 index) qca808x_led_hw_control_enable() argument
467 qca808x_led_hw_is_supported(struct phy_device * phydev,u8 index,unsigned long rules) qca808x_led_hw_is_supported() argument
478 qca808x_led_hw_control_set(struct phy_device * phydev,u8 index,unsigned long rules) qca808x_led_hw_control_set() argument
502 qca808x_led_hw_control_status(struct phy_device * phydev,u8 index) qca808x_led_hw_control_status() argument
513 qca808x_led_hw_control_get(struct phy_device * phydev,u8 index,unsigned long * rules) qca808x_led_hw_control_get() argument
549 qca808x_led_hw_control_reset(struct phy_device * phydev,u8 index) qca808x_led_hw_control_reset() argument
562 qca808x_led_brightness_set(struct phy_device * phydev,u8 index,enum led_brightness value) qca808x_led_brightness_set() argument
581 qca808x_led_blink_set(struct phy_device * phydev,u8 index,unsigned long * delay_on,unsigned long * delay_off) qca808x_led_blink_set() argument
594 qca808x_led_polarity_set(struct phy_device * phydev,int index,unsigned long modes) qca808x_led_polarity_set() argument
630 qca808x_update_stats(struct phy_device * phydev) qca808x_update_stats() argument
637 qca808x_get_phy_stats(struct phy_device * phydev,struct ethtool_eth_phy_stats * eth_stats,struct ethtool_phy_stats * stats) qca808x_get_phy_stats() argument
[all...]
H A Dqcom-phy-lib.c17 int at803x_debug_reg_read(struct phy_device *phydev, u16 reg) in at803x_debug_reg_read() argument
21 ret = phy_write(phydev, AT803X_DEBUG_ADDR, reg); in at803x_debug_reg_read()
25 return phy_read(phydev, AT803X_DEBUG_DATA); in at803x_debug_reg_read()
29 int at803x_debug_reg_mask(struct phy_device *phydev, u16 reg, in at803x_debug_reg_mask() argument
35 ret = at803x_debug_reg_read(phydev, reg); in at803x_debug_reg_mask()
43 return phy_write(phydev, AT803X_DEBUG_DATA, val); in at803x_debug_reg_mask()
47 int at803x_debug_reg_write(struct phy_device *phydev, u16 reg, u16 data) in at803x_debug_reg_write() argument
51 ret = phy_write(phydev, AT803X_DEBUG_ADDR, reg); in at803x_debug_reg_write()
55 return phy_write(phydev, AT803X_DEBUG_DATA, data); in at803x_debug_reg_write()
59 int at803x_set_wol(struct phy_device *phydev, in at803x_set_wol() argument
[all …]
/linux/drivers/net/phy/mscc/
H A Dmscc_serdes.c14 static int pll5g_detune(struct phy_device *phydev) in pll5g_detune() argument
19 rd_dat = vsc85xx_csr_read(phydev, MACRO_CTRL, PHY_S6G_PLL5G_CFG2); in pll5g_detune()
22 ret = vsc85xx_csr_write(phydev, MACRO_CTRL, in pll5g_detune()
25 dev_err(&phydev->mdio.dev, "%s: write error\n", __func__); in pll5g_detune()
29 static int pll5g_tune(struct phy_device *phydev) in pll5g_tune() argument
34 rd_dat = vsc85xx_csr_read(phydev, MACRO_CTRL, PHY_S6G_PLL5G_CFG2); in pll5g_tune()
36 ret = vsc85xx_csr_write(phydev, MACRO_CTRL, in pll5g_tune()
39 dev_err(&phydev->mdio.dev, "%s: write error\n", __func__); in pll5g_tune()
43 static int vsc85xx_sd6g_pll_cfg_wr(struct phy_device *phydev, in vsc85xx_sd6g_pll_cfg_wr() argument
50 ret = vsc85xx_csr_write(phydev, MACRO_CTRL, in vsc85xx_sd6g_pll_cfg_wr()
[all …]
/linux/drivers/net/phy/mediatek/
H A Dmtk-ge-soc.c395 static int cal_cycle(struct phy_device *phydev, int devad, in cal_cycle() argument
401 phy_modify_mmd(phydev, devad, regnum, in cal_cycle()
403 phy_set_bits_mmd(phydev, MDIO_MMD_VEND1, MTK_PHY_RG_AD_CALIN, in cal_cycle()
406 ret = phy_read_mmd_poll_timeout(phydev, MDIO_MMD_VEND1, in cal_cycle()
412 phydev_err(phydev, "Calibration cycle timeout\n"); in cal_cycle()
416 phy_clear_bits_mmd(phydev, MDIO_MMD_VEND1, MTK_PHY_RG_AD_CALIN, in cal_cycle()
418 ret = phy_read_mmd(phydev, MDIO_MMD_VEND1, MTK_PHY_RG_AD_CAL_COMP); in cal_cycle()
422 phydev_dbg(phydev, "cal_val: 0x%x, ret: %d\n", cal_val, ret); in cal_cycle()
427 static int rext_fill_result(struct phy_device *phydev, u16 *buf) in rext_fill_result() argument
429 phy_modify_mmd(phydev, MDIO_MMD_VEND in rext_fill_result()
437 rext_cal_efuse(struct phy_device * phydev,u32 * buf) rext_cal_efuse() argument
448 tx_offset_fill_result(struct phy_device * phydev,u16 * buf) tx_offset_fill_result() argument
462 tx_offset_cal_efuse(struct phy_device * phydev,u32 * buf) tx_offset_cal_efuse() argument
476 tx_amp_fill_result(struct phy_device * phydev,u16 * buf) tx_amp_fill_result() argument
581 tx_amp_cal_efuse(struct phy_device * phydev,u32 * buf) tx_amp_cal_efuse() argument
594 tx_r50_fill_result(struct phy_device * phydev,u16 tx_r50_cal_val,u8 txg_calen_x) tx_r50_fill_result() argument
627 tx_r50_cal_efuse(struct phy_device * phydev,u32 * buf,u8 txg_calen_x) tx_r50_cal_efuse() argument
653 tx_vcm_cal_sw(struct phy_device * phydev,u8 rg_txreserve_x) tx_vcm_cal_sw() argument
816 mt798x_phy_common_finetune(struct phy_device * phydev) mt798x_phy_common_finetune() argument
852 mt7981_phy_finetune(struct phy_device * phydev) mt7981_phy_finetune() argument
930 mt7988_phy_finetune(struct phy_device * phydev) mt7988_phy_finetune() argument
974 mt798x_phy_eee(struct phy_device * phydev) mt798x_phy_eee() argument
1086 cal_sw(struct phy_device * phydev,enum CAL_ITEM cal_item,u8 start_pair,u8 end_pair) cal_sw() argument
1107 cal_efuse(struct phy_device * phydev,enum CAL_ITEM cal_item,u8 start_pair,u8 end_pair,u32 * buf) cal_efuse() argument
1138 start_cal(struct phy_device * phydev,enum CAL_ITEM cal_item,enum CAL_MODE cal_mode,u8 start_pair,u8 end_pair,u32 * buf) start_cal() argument
1164 mt798x_phy_calibration(struct phy_device * phydev) mt798x_phy_calibration() argument
1210 mt798x_phy_config_init(struct phy_device * phydev) mt798x_phy_config_init() argument
1227 mt798x_phy_led_blink_set(struct phy_device * phydev,u8 index,unsigned long * delay_on,unsigned long * delay_off) mt798x_phy_led_blink_set() argument
1246 mt798x_phy_led_brightness_set(struct phy_device * phydev,u8 index,enum led_brightness value) mt798x_phy_led_brightness_set() argument
1269 mt798x_phy_led_hw_is_supported(struct phy_device * phydev,u8 index,unsigned long rules) mt798x_phy_led_hw_is_supported() argument
1276 mt798x_phy_led_hw_control_get(struct phy_device * phydev,u8 index,unsigned long * rules) mt798x_phy_led_hw_control_get() argument
1285 mt798x_phy_led_hw_control_set(struct phy_device * phydev,u8 index,unsigned long rules) mt798x_phy_led_hw_control_set() argument
1294 mt7988_phy_led_get_polarity(struct phy_device * phydev,int led_num) mt7988_phy_led_get_polarity() argument
1310 mt7988_phy_fix_leds_polarities(struct phy_device * phydev) mt7988_phy_fix_leds_polarities() argument
1332 mt7988_phy_probe_shared(struct phy_device * phydev) mt7988_phy_probe_shared() argument
1373 mt7988_phy_probe(struct phy_device * phydev) mt7988_phy_probe() argument
1414 mt7981_phy_probe(struct phy_device * phydev) mt7981_phy_probe() argument
1430 an7581_phy_probe(struct phy_device * phydev) an7581_phy_probe() argument
1450 an7581_phy_led_polarity_set(struct phy_device * phydev,int index,unsigned long modes) an7581_phy_led_polarity_set() argument
1476 an7583_phy_config_init(struct phy_device * phydev) an7583_phy_config_init() argument
1482 en7528_phy_config_init(struct phy_device * phydev) en7528_phy_config_init() argument
[all...]
/linux/drivers/net/phy/aquantia/
H A Daquantia_main.c119 static int aqr107_get_sset_count(struct phy_device *phydev) in aqr107_get_sset_count() argument
124 static void aqr107_get_strings(struct phy_device *phydev, u8 *data) in aqr107_get_strings() argument
133 static u64 aqr107_get_stat(struct phy_device *phydev, int index) in aqr107_get_stat() argument
141 val = phy_read_mmd(phydev, MDIO_MMD_C22EXT, stat->reg); in aqr107_get_stat()
147 val = phy_read_mmd(phydev, MDIO_MMD_C22EXT, stat->reg + 1); in aqr107_get_stat()
157 static void aqr107_get_stats(struct phy_device *phydev, in aqr107_get_stats() argument
160 struct aqr107_priv *priv = phydev->priv; in aqr107_get_stats()
165 val = aqr107_get_stat(phydev, i); in aqr107_get_stats()
167 phydev_err(phydev, "Reading HW Statistics failed for %s\n", in aqr107_get_stats()
176 static int aqr_set_mdix(struct phy_device *phydev, in argument
198 aqr_config_aneg(struct phy_device * phydev) aqr_config_aneg() argument
253 aqr_config_intr(struct phy_device * phydev) aqr_config_intr() argument
291 aqr_handle_interrupt(struct phy_device * phydev) aqr_handle_interrupt() argument
310 aqr_read_status(struct phy_device * phydev) aqr_read_status() argument
345 aqr105_get_features(struct phy_device * phydev) aqr105_get_features() argument
369 aqr105_setup_forced(struct phy_device * phydev) aqr105_setup_forced() argument
421 aqr105_config_aneg(struct phy_device * phydev) aqr105_config_aneg() argument
476 aqr_gen1_read_rate(struct phy_device * phydev) aqr_gen1_read_rate() argument
524 aqr_translate_interface(struct phy_device * phydev,phy_interface_t interface) aqr_translate_interface() argument
537 aqr_gen1_read_status(struct phy_device * phydev) aqr_gen1_read_status() argument
604 aqr_gen2_read_status(struct phy_device * phydev) aqr_gen2_read_status() argument
629 aqr107_get_downshift(struct phy_device * phydev,u8 * data) aqr107_get_downshift() argument
645 aqr107_set_downshift(struct phy_device * phydev,u8 cnt) aqr107_set_downshift() argument
662 aqr107_get_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,void * data) aqr107_get_tunable() argument
673 aqr107_set_tunable(struct phy_device * phydev,struct ethtool_tunable * tuna,const void * data) aqr107_set_tunable() argument
694 aqr_wait_reset_complete(struct phy_device * phydev) aqr_wait_reset_complete() argument
711 aqr_build_fingerprint(struct phy_device * phydev) aqr_build_fingerprint() argument
753 aqr107_config_mdi(struct phy_device * phydev) aqr107_config_mdi() argument
776 aqr_gen1_config_init(struct phy_device * phydev) aqr_gen1_config_init() argument
836 aqr_gen2_read_global_syscfg(struct phy_device * phydev) aqr_gen2_read_global_syscfg() argument
913 aqr_gen2_fill_interface_modes(struct phy_device * phydev) aqr_gen2_fill_interface_modes() argument
947 aqr_gen2_config_init(struct phy_device * phydev) aqr_gen2_config_init() argument
958 aqr_gen3_config_init(struct phy_device * phydev) aqr_gen3_config_init() argument
963 aqcs109_config_init(struct phy_device * phydev) aqcs109_config_init() argument
973 aqr107_link_change_notify(struct phy_device * phydev) aqr107_link_change_notify() argument
1018 aqr_gen1_wait_processor_intensive_op(struct phy_device * phydev) aqr_gen1_wait_processor_intensive_op() argument
1042 aqr_gen2_get_rate_matching(struct phy_device * phydev,phy_interface_t iface) aqr_gen2_get_rate_matching() argument
1051 aqr_gen1_suspend(struct phy_device * phydev) aqr_gen1_suspend() argument
1063 aqr_gen1_resume(struct phy_device * phydev) aqr_gen1_resume() argument
1075 aqr115c_get_features(struct phy_device * phydev) aqr115c_get_features() argument
1088 aqr111_get_features(struct phy_device * phydev) aqr111_get_features() argument
1100 aqr_gen4_config_init(struct phy_device * phydev) aqr_gen4_config_init() argument
1119 aqr_gen2_inband_caps(struct phy_device * phydev,phy_interface_t interface) aqr_gen2_inband_caps() argument
1130 aqr_gen2_config_inband(struct phy_device * phydev,unsigned int modes) aqr_gen2_config_inband() argument
1167 aqr107_probe(struct phy_device * phydev) aqr107_probe() argument
[all...]

12345678