Home
last modified time | relevance | path

Searched refs:led_trigger (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.6.21/net/bluetooth/
Dleds.c14 struct led_trigger led_trigger; member
19 struct hci_basic_led_trigger, led_trigger)
56 static struct led_trigger *led_allocate_basic(struct hci_dev *hdev, in led_allocate_basic()
67 htrig->led_trigger.activate = activate; in led_allocate_basic()
68 htrig->led_trigger.name = devm_kasprintf(&hdev->dev, GFP_KERNEL, in led_allocate_basic()
71 if (!htrig->led_trigger.name) in led_allocate_basic()
74 if (devm_led_trigger_register(&hdev->dev, &htrig->led_trigger)) in led_allocate_basic()
77 return &htrig->led_trigger; in led_allocate_basic()
80 devm_kfree(&hdev->dev, (void *)htrig->led_trigger.name); in led_allocate_basic()
/linux-6.6.21/include/linux/
Dleds.h189 struct led_trigger *trigger;
464 #define DEFINE_LED_TRIGGER(x) static struct led_trigger *x;
465 #define DEFINE_LED_TRIGGER_GLOBAL(x) struct led_trigger *x;
471 struct led_trigger { struct
500 int led_trigger_register(struct led_trigger *trigger);
501 void led_trigger_unregister(struct led_trigger *trigger);
503 struct led_trigger *trigger);
506 struct led_trigger **trigger);
507 void led_trigger_unregister_simple(struct led_trigger *trigger);
508 void led_trigger_event(struct led_trigger *trigger, enum led_brightness event);
[all …]
Dpower_supply.h311 struct led_trigger *charging_full_trig;
313 struct led_trigger *charging_trig;
315 struct led_trigger *full_trig;
317 struct led_trigger *online_trig;
319 struct led_trigger *charging_blink_full_solid_trig;
Dphy_led_triggers.h21 struct led_trigger trigger;
/linux-6.6.21/drivers/leds/
Dled-triggers.c31 trigger_relevant(struct led_classdev *led_cdev, struct led_trigger *trig) in trigger_relevant()
42 struct led_trigger *trig; in led_trigger_write()
97 struct led_trigger *trig; in led_trigger_format()
158 int led_trigger_set(struct led_classdev *led_cdev, struct led_trigger *trig) in led_trigger_set()
252 struct led_trigger *trig; in led_trigger_set_default()
272 void led_trigger_rename_static(const char *name, struct led_trigger *trig) in led_trigger_rename_static()
287 int led_trigger_register(struct led_trigger *trig) in led_trigger_register()
290 struct led_trigger *_trig; in led_trigger_register()
327 void led_trigger_unregister(struct led_trigger *trig) in led_trigger_unregister()
353 led_trigger_unregister(*(struct led_trigger **)res); in devm_led_trigger_release()
[all …]
/linux-6.6.21/drivers/leds/trigger/
Dledtrig-panic.c15 static struct led_trigger *trigger;
24 struct led_trigger *trig; in led_trigger_set_panic()
Dledtrig-cpu.c36 struct led_trigger *_trig;
41 static struct led_trigger *trig_cpu_all;
Dledtrig-default-on.c22 static struct led_trigger defon_led_trigger = {
Dledtrig-audio.c25 static struct led_trigger ledtrig_audio[NUM_AUDIO_LEDS] = {
Dledtrig-timer.c130 static struct led_trigger timer_led_trigger = {
Dledtrig-backlight.c132 static struct led_trigger bl_led_trigger = {
Dledtrig-tty.c178 static struct led_trigger ledtrig_tty = {
Dledtrig-oneshot.c190 static struct led_trigger oneshot_led_trigger = {
Dledtrig-transient.c188 static struct led_trigger transient_trigger = {
Dledtrig-heartbeat.c159 static struct led_trigger heartbeat_led_trigger = {
Dledtrig-gpio.c192 static struct led_trigger gpio_led_trigger = {
Dledtrig-activity.c216 static struct led_trigger activity_led_trigger = {
Dledtrig-pattern.c440 static struct led_trigger pattern_led_trigger = {
/linux-6.6.21/net/rfkill/
Dcore.c57 struct led_trigger led_trigger; member
122 struct led_trigger *trigger; in rfkill_led_trigger_event()
127 trigger = &rfkill->led_trigger; in rfkill_led_trigger_event()
139 rfkill = container_of(led->trigger, struct rfkill, led_trigger); in rfkill_led_trigger_activate()
148 return rfkill->led_trigger.name; in rfkill_get_led_trigger_name()
162 rfkill->led_trigger.name = rfkill->ledtrigname in rfkill_led_trigger_register()
164 rfkill->led_trigger.activate = rfkill_led_trigger_activate; in rfkill_led_trigger_register()
165 return led_trigger_register(&rfkill->led_trigger); in rfkill_led_trigger_register()
170 led_trigger_unregister(&rfkill->led_trigger); in rfkill_led_trigger_unregister()
173 static struct led_trigger rfkill_any_led_trigger;
[all …]
/linux-6.6.21/drivers/usb/common/
Dled.c22 struct led_trigger *trig = NULL; in usb_led_activity()
/linux-6.6.21/drivers/net/arcnet/
Darcdevice.h262 struct led_trigger *tx_led_trig;
264 struct led_trigger *recon_led_trig;
/linux-6.6.21/net/netfilter/
Dxt_LED.c35 struct led_trigger netfilter_led_trigger;
/linux-6.6.21/drivers/hid/
Dwacom.h115 struct led_trigger trigger;
/linux-6.6.21/drivers/iio/light/
Dcm3605.c52 struct led_trigger *led;
/linux-6.6.21/drivers/usb/core/
Dledtrig-usbport.c347 static struct led_trigger usbport_led_trigger = {

12