Lines Matching defs:phydev
201 void phy_device_free(struct phy_device *phydev) in phy_device_free()
209 struct phy_device *phydev; in phy_mdio_device_free() local
223 struct phy_device *phydev; in phy_mdio_device_remove() local
234 static bool phy_drv_wol_enabled(struct phy_device *phydev) in phy_drv_wol_enabled()
243 static void phy_link_change(struct phy_device *phydev, bool up) in phy_link_change()
274 static bool phy_uses_state_machine(struct phy_device *phydev) in phy_uses_state_machine()
283 static bool mdio_bus_phy_may_suspend(struct phy_device *phydev) in mdio_bus_phy_may_suspend()
330 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_suspend() local
362 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_phy_resume() local
507 static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup) in phy_needs_fixup()
522 static int phy_scan_fixups(struct phy_device *phydev) in phy_scan_fixups()
545 struct phy_device *phydev = to_phy_device(dev); in phy_bus_match() local
575 struct phy_device *phydev = to_phy_device(dev); in phy_id_show() local
584 struct phy_device *phydev = to_phy_device(dev); in phy_interface_show() local
600 struct phy_device *phydev = to_phy_device(dev); in phy_has_fixups_show() local
610 struct phy_device *phydev = to_phy_device(dev); in phy_dev_flags_show() local
1006 int phy_device_register(struct phy_device *phydev) in phy_device_register()
1049 void phy_device_remove(struct phy_device *phydev) in phy_device_remove()
1070 int phy_get_c45_ids(struct phy_device *phydev) in phy_get_c45_ids()
1083 struct phy_device *phydev; in phy_find_first() local
1107 static void phy_prepare_link(struct phy_device *phydev, in phy_prepare_link()
1120 int phy_connect_direct(struct net_device *dev, struct phy_device *phydev, in phy_connect_direct()
1160 struct phy_device *phydev; in phy_connect() local
1188 void phy_disconnect(struct phy_device *phydev) in phy_disconnect()
1220 static int phy_poll_reset(struct phy_device *phydev) in phy_poll_reset()
1236 int phy_init_hw(struct phy_device *phydev) in phy_init_hw()
1277 void phy_attached_info(struct phy_device *phydev) in phy_attached_info()
1284 char *phy_attached_info_irq(struct phy_device *phydev) in phy_attached_info_irq()
1306 void phy_attached_print(struct phy_device *phydev, const char *fmt, ...) in phy_attached_print()
1328 static void phy_sysfs_create_links(struct phy_device *phydev) in phy_sysfs_create_links()
1360 struct phy_device *phydev = to_phy_device(dev); in phy_standalone_show() local
1378 struct phy_device *phydev = upstream; in phy_sfp_connect_phy() local
1400 struct phy_device *phydev = upstream; in phy_sfp_disconnect_phy() local
1417 struct phy_device *phydev = upstream; in phy_sfp_attach() local
1434 struct phy_device *phydev = upstream; in phy_sfp_detach() local
1447 int phy_sfp_probe(struct phy_device *phydev, in phy_sfp_probe()
1487 int phy_attach_direct(struct net_device *dev, struct phy_device *phydev, in phy_attach_direct()
1658 struct phy_device *phydev; in phy_attach() local
1684 static bool phy_driver_is_genphy_kind(struct phy_device *phydev, in phy_driver_is_genphy_kind()
1700 bool phy_driver_is_genphy(struct phy_device *phydev) in phy_driver_is_genphy()
1707 bool phy_driver_is_genphy_10g(struct phy_device *phydev) in phy_driver_is_genphy_10g()
1742 int phy_package_join(struct phy_device *phydev, int base_addr, size_t priv_size) in phy_package_join()
1808 int of_phy_package_join(struct phy_device *phydev, size_t priv_size) in of_phy_package_join()
1853 void phy_package_leave(struct phy_device *phydev) in phy_package_leave()
1893 int devm_phy_package_join(struct device *dev, struct phy_device *phydev, in devm_phy_package_join()
1927 int devm_of_phy_package_join(struct device *dev, struct phy_device *phydev, in devm_of_phy_package_join()
1958 void phy_detach(struct phy_device *phydev) in phy_detach()
2026 int phy_suspend(struct phy_device *phydev) in phy_suspend()
2052 int __phy_resume(struct phy_device *phydev) in __phy_resume()
2070 int phy_resume(struct phy_device *phydev) in phy_resume()
2082 int phy_loopback(struct phy_device *phydev, bool enable) in phy_loopback()
2126 int phy_reset_after_clk_enable(struct phy_device *phydev) in phy_reset_after_clk_enable()
2153 static int genphy_config_advert(struct phy_device *phydev, in genphy_config_advert()
2205 static int genphy_c37_config_advert(struct phy_device *phydev) in genphy_c37_config_advert()
2237 int genphy_setup_forced(struct phy_device *phydev) in genphy_setup_forced()
2251 static int genphy_setup_master_slave(struct phy_device *phydev) in genphy_setup_master_slave()
2283 int genphy_read_master_slave(struct phy_device *phydev) in genphy_read_master_slave()
2334 int genphy_restart_aneg(struct phy_device *phydev) in genphy_restart_aneg()
2349 int genphy_check_and_restart_aneg(struct phy_device *phydev, bool restart) in genphy_check_and_restart_aneg()
2381 int __genphy_config_aneg(struct phy_device *phydev, bool changed) in __genphy_config_aneg()
2437 int genphy_c37_config_aneg(struct phy_device *phydev) in genphy_c37_config_aneg()
2484 int genphy_aneg_done(struct phy_device *phydev) in genphy_aneg_done()
2500 int genphy_update_link(struct phy_device *phydev) in genphy_update_link()
2545 int genphy_read_lpa(struct phy_device *phydev) in genphy_read_lpa()
2599 int genphy_read_status_fixed(struct phy_device *phydev) in genphy_read_status_fixed()
2631 int genphy_read_status(struct phy_device *phydev) in genphy_read_status()
2684 int genphy_c37_read_status(struct phy_device *phydev, bool *changed) in genphy_c37_read_status()
2746 int genphy_soft_reset(struct phy_device *phydev) in genphy_soft_reset()
2776 irqreturn_t genphy_handle_interrupt_no_ack(struct phy_device *phydev) in genphy_handle_interrupt_no_ack()
2798 int genphy_read_abilities(struct phy_device *phydev) in genphy_read_abilities()
2861 int genphy_suspend(struct phy_device *phydev) in genphy_suspend()
2867 int genphy_resume(struct phy_device *phydev) in genphy_resume()
2873 int genphy_loopback(struct phy_device *phydev, bool enable) in genphy_loopback()
2907 void phy_remove_link_mode(struct phy_device *phydev, u32 link_mode) in phy_remove_link_mode()
2929 void phy_advertise_supported(struct phy_device *phydev) in phy_advertise_supported()
2949 void phy_advertise_eee_all(struct phy_device *phydev) in phy_advertise_eee_all()
2975 void phy_support_eee(struct phy_device *phydev) in phy_support_eee()
2990 void phy_disable_eee(struct phy_device *phydev) in phy_disable_eee()
3007 void phy_support_sym_pause(struct phy_device *phydev) in phy_support_sym_pause()
3020 void phy_support_asym_pause(struct phy_device *phydev) in phy_support_asym_pause()
3037 void phy_set_sym_pause(struct phy_device *phydev, bool rx, bool tx, in phy_set_sym_pause()
3061 void phy_set_asym_pause(struct phy_device *phydev, bool rx, bool tx) in phy_set_asym_pause()
3083 bool phy_validate_pause(struct phy_device *phydev, in phy_validate_pause()
3111 void phy_get_pause(struct phy_device *phydev, bool *tx_pause, bool *rx_pause) in phy_get_pause()
3160 s32 phy_get_internal_delay(struct phy_device *phydev, struct device *dev, in phy_get_internal_delay()
3227 struct phy_device *phydev = phyled->phydev; in phy_led_set_brightness() local
3242 struct phy_device *phydev = phyled->phydev; in phy_led_blink_set() local
3257 struct phy_device *phydev = phyled->phydev; in phy_led_hw_control_get_device() local
3269 struct phy_device *phydev = phyled->phydev; in phy_led_hw_control_get() local
3284 struct phy_device *phydev = phyled->phydev; in phy_led_hw_control_set() local
3298 struct phy_device *phydev = phyled->phydev; in phy_led_hw_is_supported() local
3308 static void phy_leds_unregister(struct phy_device *phydev) in phy_leds_unregister()
3318 static int of_phy_led(struct phy_device *phydev, in of_phy_led()
3395 static int of_phy_leds(struct phy_device *phydev) in of_phy_leds()
3527 struct phy_device *phydev = to_phy_device(dev); in phy_probe() local
3651 struct phy_device *phydev = to_phy_device(dev); in phy_remove() local