Home
last modified time | relevance | path

Searched refs:phy_led_triggers (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/phy/
Dphy_led_triggers.c14 if (phy->phy_led_triggers[i].speed == speed) in phy_speed_to_led_trigger()
15 return &phy->phy_led_triggers[i]; in phy_speed_to_led_trigger()
111 phy->phy_led_triggers = devm_kcalloc(&phy->mdio.dev, in phy_led_triggers_register()
115 if (!phy->phy_led_triggers) { in phy_led_triggers_register()
121 err = phy_led_trigger_register(phy, &phy->phy_led_triggers[i], in phy_led_triggers_register()
133 phy_led_trigger_unregister(&phy->phy_led_triggers[i]); in phy_led_triggers_register()
134 devm_kfree(&phy->mdio.dev, phy->phy_led_triggers); in phy_led_triggers_register()
151 phy_led_trigger_unregister(&phy->phy_led_triggers[i]); in phy_led_triggers_unregister()
DMakefile22 libphy-$(CONFIG_LED_TRIGGER_PHY) += phy_led_triggers.o
/kernel/linux/linux-5.10/include/linux/
Dphy.h600 struct phy_led_trigger *phy_led_triggers; member