Home
last modified time | relevance | path

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

/linux-6.1.9/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()
106 phy->phy_led_triggers = devm_kcalloc(&phy->mdio.dev, in phy_led_triggers_register()
110 if (!phy->phy_led_triggers) { in phy_led_triggers_register()
116 err = phy_led_trigger_register(phy, &phy->phy_led_triggers[i], in phy_led_triggers_register()
129 phy_led_trigger_unregister(&phy->phy_led_triggers[i]); in phy_led_triggers_register()
130 devm_kfree(&phy->mdio.dev, phy->phy_led_triggers); in phy_led_triggers_register()
147 phy_led_trigger_unregister(&phy->phy_led_triggers[i]); in phy_led_triggers_unregister()
DMakefile22 libphy-$(CONFIG_LED_TRIGGER_PHY) += phy_led_triggers.o
/linux-6.1.9/include/linux/
Dphy.h682 struct phy_led_trigger *phy_led_triggers; member