Home
last modified time | relevance | path

Searched refs:led_link_trigger (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/net/phy/
Dphy_led_triggers.c24 led_trigger_event(&phy->led_link_trigger->trigger, LED_OFF); in phy_led_trigger_no_link()
49 led_trigger_event(&phy->led_link_trigger->trigger, in phy_led_trigger_change_speed()
94 phy->led_link_trigger = devm_kzalloc(&phy->mdio.dev, in phy_led_triggers_register()
95 sizeof(*phy->led_link_trigger), in phy_led_triggers_register()
97 if (!phy->led_link_trigger) { in phy_led_triggers_register()
102 err = phy_led_trigger_register(phy, phy->led_link_trigger, 0, "link"); in phy_led_triggers_register()
132 phy_led_trigger_unregister(phy->led_link_trigger); in phy_led_triggers_register()
134 devm_kfree(&phy->mdio.dev, phy->led_link_trigger); in phy_led_triggers_register()
135 phy->led_link_trigger = NULL; in phy_led_triggers_register()
149 if (phy->led_link_trigger) in phy_led_triggers_unregister()
[all …]
/Linux-v5.15/include/linux/
Dphy.h629 struct phy_led_trigger *led_link_trigger; member