Searched refs:led_trigger (Results 1 – 25 of 31) sorted by relevance
12
/kernel/linux/linux-5.10/include/linux/ |
D | leds.h | 143 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 …]
|
D | power_supply.h | 301 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;
|
D | phy_led_triggers.h | 21 struct led_trigger trigger;
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | leds.c | 14 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/ |
D | led-triggers.c | 31 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/ |
D | ledtrig-panic.c | 14 static struct led_trigger *trigger; 23 struct led_trigger *trig; in led_trigger_set_panic()
|
D | ledtrig-cpu.c | 36 struct led_trigger *_trig; 41 static struct led_trigger *trig_cpu_all;
|
D | ledtrig-default-on.c | 22 static struct led_trigger defon_led_trigger = {
|
D | ledtrig-audio.c | 25 static struct led_trigger ledtrig_audio[NUM_AUDIO_LEDS] = {
|
D | ledtrig-timer.c | 130 static struct led_trigger timer_led_trigger = {
|
D | ledtrig-backlight.c | 132 static struct led_trigger bl_led_trigger = {
|
D | ledtrig-heartbeat.c | 158 static struct led_trigger heartbeat_led_trigger = {
|
D | ledtrig-oneshot.c | 190 static struct led_trigger oneshot_led_trigger = {
|
D | ledtrig-transient.c | 188 static struct led_trigger transient_trigger = {
|
D | ledtrig-gpio.c | 192 static struct led_trigger gpio_led_trigger = {
|
D | ledtrig-activity.c | 215 static struct led_trigger activity_led_trigger = {
|
/kernel/linux/linux-5.10/net/rfkill/ |
D | core.c | 55 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/ |
D | dev.h | 76 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/ |
D | led.c | 24 struct led_trigger *trig = NULL; in usb_led_activity()
|
/kernel/linux/linux-5.10/drivers/net/arcnet/ |
D | arcdevice.h | 260 struct led_trigger *tx_led_trig; 262 struct led_trigger *recon_led_trig;
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | wacom.h | 117 struct led_trigger trigger;
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_LED.c | 35 struct led_trigger netfilter_led_trigger;
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
D | cm3605.c | 51 struct led_trigger *led;
|
/kernel/linux/linux-5.10/drivers/usb/core/ |
D | ledtrig-usbport.c | 347 static struct led_trigger usbport_led_trigger = {
|
/kernel/linux/linux-5.10/include/linux/mmc/ |
D | host.h | 441 struct led_trigger *led; /* activity led */
|
12