/linux-6.3-rc2/drivers/leds/ |
A D | leds-ipaq-micro.c | 59 unsigned long *delay_off) in micro_leds_blink_set() argument 81 *delay_off > IPAQ_LED_MAX_DUTY) in micro_leds_blink_set() 84 if (*delay_on == 0 && *delay_off == 0) { in micro_leds_blink_set() 86 *delay_off = 100; in micro_leds_blink_set() 94 if (*delay_off >= IPAQ_LED_MAX_DUTY) in micro_leds_blink_set() 97 msg.tx_data[3] = (u8) DIV_ROUND_CLOSEST(*delay_off, 100); in micro_leds_blink_set()
|
A D | leds-clevo-mail.c | 113 unsigned long *delay_off) in clevo_mail_led_blink() argument 119 if (*delay_on == 0 /* ms */ && *delay_off == 0 /* ms */) { in clevo_mail_led_blink() 125 *delay_off = 1000; /* ms */ in clevo_mail_led_blink() 129 } else if (*delay_on == 500 /* ms */ && *delay_off == 500 /* ms */) { in clevo_mail_led_blink() 134 } else if (*delay_on == 1000 /* ms */ && *delay_off == 1000 /* ms */) { in clevo_mail_led_blink() 142 *delay_on, *delay_off); in clevo_mail_led_blink()
|
A D | led-core.c | 142 unsigned long delay_off) in led_set_software_blink() argument 153 led_cdev->blink_delay_off = delay_off; in led_set_software_blink() 162 if (!delay_off) { in led_set_software_blink() 175 unsigned long *delay_off) in led_blink_setup() argument 179 !led_cdev->blink_set(led_cdev, delay_on, delay_off)) in led_blink_setup() 183 if (!*delay_on && !*delay_off) in led_blink_setup() 184 *delay_on = *delay_off = 500; in led_blink_setup() 199 unsigned long *delay_off) in led_blink_set() argument 207 led_blink_setup(led_cdev, delay_on, delay_off); in led_blink_set() 213 unsigned long *delay_off, in led_blink_set_oneshot() argument [all …]
|
A D | leds-ariel.c | 60 unsigned long *delay_on, unsigned long *delay_off) in ariel_blink_set() argument 64 if (*delay_on == 0 && *delay_off == 0) in ariel_blink_set() 69 } else if (*delay_off == 0) { in ariel_blink_set() 73 *delay_off = 500; in ariel_blink_set()
|
A D | led-triggers.c | 397 unsigned long *delay_off, in led_trigger_blink_setup() argument 409 led_blink_set_oneshot(led_cdev, delay_on, delay_off, in led_trigger_blink_setup() 412 led_blink_set(led_cdev, delay_on, delay_off); in led_trigger_blink_setup() 419 unsigned long *delay_off) in led_trigger_blink() argument 421 led_trigger_blink_setup(trig, delay_on, delay_off, 0, 0); in led_trigger_blink() 427 unsigned long *delay_off, in led_trigger_blink_oneshot() argument 430 led_trigger_blink_setup(trig, delay_on, delay_off, 1, invert); in led_trigger_blink_oneshot()
|
A D | leds-aw2013.c | 196 unsigned long *delay_on, unsigned long *delay_off) in aw2013_blink_set() argument 203 if (!*delay_off && !*delay_on) { in aw2013_blink_set() 204 *delay_off = 500; in aw2013_blink_set() 224 if (!*delay_off) { in aw2013_blink_set() 231 off = min(5, ilog2((*delay_off - 1) / AW2013_TIME_STEP) + 1); in aw2013_blink_set() 234 *delay_off = BIT(off) * AW2013_TIME_STEP; in aw2013_blink_set()
|
A D | leds-lp3944.c | 225 unsigned long *delay_off) in lp3944_led_set_blink() argument 233 if (*delay_on + *delay_off > LP3944_PERIOD_MAX) in lp3944_led_set_blink() 236 if (*delay_on == 0 && *delay_off == 0) { in lp3944_led_set_blink() 242 *delay_off = 500; in lp3944_led_set_blink() 245 period = (*delay_on) + (*delay_off); in lp3944_led_set_blink()
|
A D | leds-mlxreg.c | 156 unsigned long *delay_off) in mlxreg_led_blink_set() argument 166 if (!(*delay_on == 0 && *delay_off == 0) && in mlxreg_led_blink_set() 168 *delay_off == MLXREG_LED_BLINK_3HZ) && in mlxreg_led_blink_set() 170 *delay_off == MLXREG_LED_BLINK_6HZ)) in mlxreg_led_blink_set()
|
A D | leds-wm831x-status.c | 84 unsigned long *delay_off) in wm831x_status_blink_set() argument 91 if (*delay_on == 0 && *delay_off == 0) { in wm831x_status_blink_set() 93 *delay_off = 250; in wm831x_status_blink_set() 121 switch (*delay_off / *delay_on) { in wm831x_status_blink_set()
|
A D | leds-netxbig.c | 41 unsigned long delay_off; member 122 unsigned long delay_off, in netxbig_led_get_timer_mode() argument 130 timer[i].delay_off == delay_off) { in netxbig_led_get_timer_mode() 140 unsigned long *delay_off) in netxbig_led_blink_set() argument 149 ret = netxbig_led_get_timer_mode(&mode, *delay_on, *delay_off, in netxbig_led_blink_set() 489 timers[i].delay_off = tmp; in netxbig_leds_get_of_pdata()
|
A D | leds-mlxcpld.c | 299 unsigned long *delay_off) in mlxcpld_led_blink_set() argument 307 if (!(*delay_on == 0 && *delay_off == 0) && in mlxcpld_led_blink_set() 309 *delay_off == MLXCPLD_LED_BLINK_3HZ) && in mlxcpld_led_blink_set() 311 *delay_off == MLXCPLD_LED_BLINK_6HZ)) in mlxcpld_led_blink_set()
|
A D | leds-ss4200.c | 243 unsigned long *delay_off) in nasgpio_led_set_blink() argument 246 if (!(*delay_on == 0 && *delay_off == 0) && in nasgpio_led_set_blink() 247 !(*delay_on == 500 && *delay_off == 500)) in nasgpio_led_set_blink() 253 *delay_off = 500; in nasgpio_led_set_blink()
|
A D | leds-lm3533.c | 283 unsigned long *delay_off) in lm3533_led_blink_set() argument 289 *delay_on, *delay_off); in lm3533_led_blink_set() 292 *delay_off > LM3533_LED_DELAY_OFF_MAX) in lm3533_led_blink_set() 295 if (*delay_on == 0 && *delay_off == 0) { in lm3533_led_blink_set() 297 *delay_off = 500; in lm3533_led_blink_set() 304 ret = lm3533_led_delay_off_set(led, delay_off); in lm3533_led_blink_set()
|
A D | leds-bcm6328.c | 163 unsigned long *delay_on, unsigned long *delay_off) in bcm6328_blink_set() argument 172 if (!*delay_off) in bcm6328_blink_set() 173 *delay_off = BCM6328_LED_DEF_DELAY; in bcm6328_blink_set() 176 if (delay != bcm6328_blink_delay(*delay_off)) { in bcm6328_blink_set()
|
A D | leds-mt6323.c | 242 unsigned long *delay_off) in mt6323_led_set_blink() argument 257 if (!*delay_on && !*delay_off) { in mt6323_led_set_blink() 259 *delay_off = 500; in mt6323_led_set_blink() 266 period = *delay_on + *delay_off; in mt6323_led_set_blink()
|
A D | leds-an30259a.c | 124 unsigned long *delay_off, unsigned long *delay_on) in an30259a_blink_set() argument 129 unsigned long off = *delay_off, on = *delay_on; in an30259a_blink_set() 150 *delay_off = off = 500; in an30259a_blink_set()
|
A D | leds-tca6507.c | 558 unsigned long *delay_off) in tca6507_blink_set() argument 569 if (*delay_off == 0) in tca6507_blink_set() 571 else if (delay_off != &led_cdev->blink_delay_off) in tca6507_blink_set() 573 led->offtime = *delay_off; in tca6507_blink_set() 589 *delay_off = led->offtime; in tca6507_blink_set()
|
/linux-6.3-rc2/include/linux/ |
A D | leds.h | 145 unsigned long *delay_off); 262 unsigned long *delay_off); 278 unsigned long *delay_on, unsigned long *delay_off, 419 unsigned long *delay_off); 422 unsigned long *delay_off, 473 unsigned long *delay_off) {} in led_trigger_blink() argument 476 unsigned long *delay_off, in led_trigger_blink_oneshot() argument 540 unsigned long *delay_off);
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A D | sysfs-class-led-trigger-oneshot | 10 What: /sys/class/leds/<led>/delay_off 25 delay_on ms, then blink off for delay_off ms, leaving the LED 26 normally off. If set to 1, blink off for delay_off ms, then
|
/linux-6.3-rc2/drivers/platform/x86/dell/ |
A D | dell-wmi-led.c | 132 unsigned long *delay_on, unsigned long *delay_off) in dell_led_blink() argument 146 off_eighths = DIV_ROUND_UP(*delay_off, 125); in dell_led_blink() 148 *delay_off = off_eighths * 125; in dell_led_blink()
|
/linux-6.3-rc2/drivers/leds/blink/ |
A D | leds-bcm63138.c | 143 unsigned long *delay_off) in bcm63138_leds_blink_set() argument 150 if (!*delay_on && !*delay_off) { in bcm63138_leds_blink_set() 152 *delay_off = 640; in bcm63138_leds_blink_set() 155 if (*delay_on != *delay_off) { in bcm63138_leds_blink_set()
|
A D | leds-lgm-sso.c | 275 unsigned long *delay_off) in delay_to_freq_idx() argument 282 if (!*delay_on && !*delay_off) { in delay_to_freq_idx() 283 *delay_on = *delay_off = (1000 / priv->freq[0]) / 2; in delay_to_freq_idx() 287 delay = *delay_on + *delay_off; in delay_to_freq_idx() 295 *delay_on = *delay_off = delay / 2; in delay_to_freq_idx() 298 *delay_on = *delay_off = 1; in delay_to_freq_idx() 305 unsigned long *delay_off) in sso_led_blink_set() argument 313 freq_idx = delay_to_freq_idx(led, delay_on, delay_off); in sso_led_blink_set()
|
/linux-6.3-rc2/drivers/power/supply/ |
A D | power_supply_leds.c | 26 unsigned long delay_off = 0; in power_supply_update_bat_leds() local 46 &delay_on, &delay_off); in power_supply_update_bat_leds()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | led.c | 148 unsigned long *delay_off) in iwl_led_blink_set() argument 152 return iwl_led_cmd(priv, *delay_on, *delay_off); in iwl_led_blink_set()
|
/linux-6.3-rc2/arch/arm/plat-orion/include/plat/ |
A D | orion-gpio.h | 26 unsigned long *delay_on, unsigned long *delay_off);
|