Searched refs:led_trigger (Results 1 – 25 of 31) sorted by relevance
12
/linux-6.6.21/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()
|
/linux-6.6.21/include/linux/ |
D | leds.h | 189 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 …]
|
D | power_supply.h | 311 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;
|
D | phy_led_triggers.h | 21 struct led_trigger trigger;
|
/linux-6.6.21/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() 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/ |
D | ledtrig-panic.c | 15 static struct led_trigger *trigger; 24 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-tty.c | 178 static struct led_trigger ledtrig_tty = {
|
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-heartbeat.c | 159 static struct led_trigger heartbeat_led_trigger = {
|
D | ledtrig-gpio.c | 192 static struct led_trigger gpio_led_trigger = {
|
D | ledtrig-activity.c | 216 static struct led_trigger activity_led_trigger = {
|
D | ledtrig-pattern.c | 440 static struct led_trigger pattern_led_trigger = {
|
/linux-6.6.21/net/rfkill/ |
D | core.c | 57 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/ |
D | led.c | 22 struct led_trigger *trig = NULL; in usb_led_activity()
|
/linux-6.6.21/drivers/net/arcnet/ |
D | arcdevice.h | 262 struct led_trigger *tx_led_trig; 264 struct led_trigger *recon_led_trig;
|
/linux-6.6.21/net/netfilter/ |
D | xt_LED.c | 35 struct led_trigger netfilter_led_trigger;
|
/linux-6.6.21/drivers/hid/ |
D | wacom.h | 115 struct led_trigger trigger;
|
/linux-6.6.21/drivers/iio/light/ |
D | cm3605.c | 52 struct led_trigger *led;
|
/linux-6.6.21/drivers/usb/core/ |
D | ledtrig-usbport.c | 347 static struct led_trigger usbport_led_trigger = {
|
12