Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 phy_led_trigger_format_name(phy, phy->led_link_trigger->name, in phy_led_triggers_register()
103 sizeof(phy->led_link_trigger->name), in phy_led_triggers_register()
105 phy->led_link_trigger->trigger.name = phy->led_link_trigger->name; in phy_led_triggers_register()
107 err = led_trigger_register(&phy->led_link_trigger->trigger); in phy_led_triggers_register()
136 phy_led_trigger_unregister(phy->led_link_trigger); in phy_led_triggers_register()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dphy.h604 struct phy_led_trigger *led_link_trigger; member