Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/include/linux/
Dleds.h143 struct led_trigger *trigger;
342 #define DEFINE_LED_TRIGGER(x) static struct led_trigger *x;
343 #define DEFINE_LED_TRIGGER_GLOBAL(x) struct led_trigger *x;
349 struct led_trigger { struct
378 int led_trigger_register(struct led_trigger *trigger);
379 void led_trigger_unregister(struct led_trigger *trigger);
381 struct led_trigger *trigger);
384 struct led_trigger **trigger);
385 void led_trigger_unregister_simple(struct led_trigger *trigger);
386 void led_trigger_event(struct led_trigger *trigger, enum led_brightness event);
[all …]
Dpower_supply.h301 struct led_trigger *charging_full_trig;
303 struct led_trigger *charging_trig;
305 struct led_trigger *full_trig;
307 struct led_trigger *online_trig;
309 struct led_trigger *charging_blink_full_solid_trig;
Dphy_led_triggers.h21 struct led_trigger trigger;
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
248 struct led_trigger *trig; in led_trigger_set_default()
268 void led_trigger_rename_static(const char *name, struct led_trigger *trig) in led_trigger_rename_static()
283 int led_trigger_register(struct led_trigger *trig) in led_trigger_register()
286 struct led_trigger *_trig; in led_trigger_register()
323 void led_trigger_unregister(struct led_trigger *trig) in led_trigger_unregister()
349 led_trigger_unregister(*(struct led_trigger **)res); in devm_led_trigger_release()
[all …]
/kernel/linux/linux-5.10/drivers/leds/trigger/
Dledtrig-panic.c14 static struct led_trigger *trigger;
23 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-heartbeat.c158 static struct led_trigger heartbeat_led_trigger = {
Dledtrig-oneshot.c190 static struct led_trigger oneshot_led_trigger = {
Dledtrig-transient.c188 static struct led_trigger transient_trigger = {
Dledtrig-gpio.c192 static struct led_trigger gpio_led_trigger = {
Dledtrig-activity.c215 static struct led_trigger activity_led_trigger = {
/kernel/linux/linux-5.10/net/rfkill/
Dcore.c55 struct led_trigger led_trigger; member
119 struct led_trigger *trigger; in rfkill_led_trigger_event()
124 trigger = &rfkill->led_trigger; in rfkill_led_trigger_event()
136 rfkill = container_of(led->trigger, struct rfkill, led_trigger); in rfkill_led_trigger_activate()
145 return rfkill->led_trigger.name; in rfkill_get_led_trigger_name()
159 rfkill->led_trigger.name = rfkill->ledtrigname in rfkill_led_trigger_register()
161 rfkill->led_trigger.activate = rfkill_led_trigger_activate; in rfkill_led_trigger_register()
162 return led_trigger_register(&rfkill->led_trigger); in rfkill_led_trigger_register()
167 led_trigger_unregister(&rfkill->led_trigger); in rfkill_led_trigger_unregister()
170 static struct led_trigger rfkill_any_led_trigger;
[all …]
/kernel/linux/linux-5.10/include/linux/can/
Ddev.h76 struct led_trigger *tx_led_trig;
78 struct led_trigger *rx_led_trig;
80 struct led_trigger *rxtx_led_trig;
/kernel/linux/linux-5.10/drivers/usb/common/
Dled.c24 struct led_trigger *trig = NULL; in usb_led_activity()
/kernel/linux/linux-5.10/drivers/net/arcnet/
Darcdevice.h260 struct led_trigger *tx_led_trig;
262 struct led_trigger *recon_led_trig;
/kernel/linux/linux-5.10/drivers/hid/
Dwacom.h117 struct led_trigger trigger;
/kernel/linux/linux-5.10/net/netfilter/
Dxt_LED.c35 struct led_trigger netfilter_led_trigger;
/kernel/linux/linux-5.10/drivers/iio/light/
Dcm3605.c51 struct led_trigger *led;
/kernel/linux/linux-5.10/drivers/usb/core/
Dledtrig-usbport.c347 static struct led_trigger usbport_led_trigger = {
/kernel/linux/linux-5.10/include/linux/mmc/
Dhost.h441 struct led_trigger *led; /* activity led */

12