/drivers/leds/ |
D | led-core.c | 30 unsigned long delay_off) in led_set_software_blink() argument 41 led_cdev->blink_delay_off = delay_off; in led_set_software_blink() 50 if (!delay_off) { in led_set_software_blink() 61 unsigned long *delay_off) in led_blink_setup() argument 65 !led_cdev->blink_set(led_cdev, delay_on, delay_off)) in led_blink_setup() 69 if (!*delay_on && !*delay_off) in led_blink_setup() 70 *delay_on = *delay_off = 500; in led_blink_setup() 72 led_set_software_blink(led_cdev, *delay_on, *delay_off); in led_blink_setup() 77 unsigned long *delay_off) in led_blink_set() argument 84 led_blink_setup(led_cdev, delay_on, delay_off); in led_blink_set() [all …]
|
D | leds-ipaq-micro.c | 61 unsigned long *delay_off) in micro_leds_blink_set() argument 83 *delay_off > IPAQ_LED_MAX_DUTY) in micro_leds_blink_set() 86 if (*delay_on == 0 && *delay_off == 0) { in micro_leds_blink_set() 88 *delay_off = 100; in micro_leds_blink_set() 96 if (*delay_off >= IPAQ_LED_MAX_DUTY) in micro_leds_blink_set() 99 msg.tx_data[3] = (u8) DIV_ROUND_CLOSEST(*delay_off, 100); in micro_leds_blink_set()
|
D | leds-clevo-mail.c | 112 unsigned long *delay_off) in clevo_mail_led_blink() argument 118 if (*delay_on == 0 /* ms */ && *delay_off == 0 /* ms */) { in clevo_mail_led_blink() 124 *delay_off = 1000; /* ms */ in clevo_mail_led_blink() 128 } else if (*delay_on == 500 /* ms */ && *delay_off == 500 /* ms */) { in clevo_mail_led_blink() 133 } else if (*delay_on == 1000 /* ms */ && *delay_off == 1000 /* ms */) { in clevo_mail_led_blink() 141 *delay_on, *delay_off); in clevo_mail_led_blink()
|
D | leds-asic3.c | 59 unsigned long *delay_off) in blink_set() argument 68 if (*delay_on > MAX_MS || *delay_off > MAX_MS) in blink_set() 71 if (*delay_on == 0 && *delay_off == 0) { in blink_set() 77 off = MS_TO_CLK(*delay_off); in blink_set() 89 *delay_off = CLK_TO_MS(off); in blink_set()
|
D | led-triggers.c | 261 unsigned long *delay_off, in led_trigger_blink_setup() argument 273 led_blink_set_oneshot(led_cdev, delay_on, delay_off, in led_trigger_blink_setup() 276 led_blink_set(led_cdev, delay_on, delay_off); in led_trigger_blink_setup() 283 unsigned long *delay_off) in led_trigger_blink() argument 285 led_trigger_blink_setup(trig, delay_on, delay_off, 0, 0); in led_trigger_blink() 291 unsigned long *delay_off, in led_trigger_blink_oneshot() argument 294 led_trigger_blink_setup(trig, delay_on, delay_off, 1, invert); in led_trigger_blink_oneshot()
|
D | leds-lp3944.c | 229 unsigned long *delay_off) in lp3944_led_set_blink() argument 237 if (*delay_on + *delay_off > LP3944_PERIOD_MAX) in lp3944_led_set_blink() 240 if (*delay_on == 0 && *delay_off == 0) { in lp3944_led_set_blink() 246 *delay_off = 500; in lp3944_led_set_blink() 249 period = (*delay_on) + (*delay_off); in lp3944_led_set_blink()
|
D | leds-netxbig.c | 145 unsigned long delay_off, in netxbig_led_get_timer_mode() argument 153 timer[i].delay_off == delay_off) { in netxbig_led_get_timer_mode() 163 unsigned long *delay_off) in netxbig_led_blink_set() argument 172 ret = netxbig_led_get_timer_mode(&mode, *delay_on, *delay_off, in netxbig_led_blink_set()
|
D | leds-wm831x-status.c | 89 unsigned long *delay_off) in wm831x_status_blink_set() argument 96 if (*delay_on == 0 && *delay_off == 0) { in wm831x_status_blink_set() 98 *delay_off = 250; in wm831x_status_blink_set() 126 switch (*delay_off / *delay_on) { in wm831x_status_blink_set()
|
D | leds-ss4200.c | 242 unsigned long *delay_off) in nasgpio_led_set_blink() argument 245 if (!(*delay_on == 0 && *delay_off == 0) && in nasgpio_led_set_blink() 246 !(*delay_on == 500 && *delay_off == 500)) in nasgpio_led_set_blink() 252 *delay_off = 500; in nasgpio_led_set_blink()
|
D | dell-led.c | 290 unsigned long *delay_off) in dell_led_blink() argument 305 off_eighths = (*delay_off + 124) / 125; in dell_led_blink() 310 *delay_off = off_eighths * 125; in dell_led_blink()
|
D | leds-lm3533.c | 301 unsigned long *delay_off) in lm3533_led_blink_set() argument 307 *delay_on, *delay_off); in lm3533_led_blink_set() 310 *delay_off > LM3533_LED_DELAY_OFF_MAX) in lm3533_led_blink_set() 313 if (*delay_on == 0 && *delay_off == 0) { in lm3533_led_blink_set() 315 *delay_off = 500; in lm3533_led_blink_set() 322 ret = lm3533_led_delay_off_set(led, delay_off); in lm3533_led_blink_set()
|
D | leds-gpio.c | 34 unsigned long *delay_on, unsigned long *delay_off); 84 unsigned long *delay_on, unsigned long *delay_off) in gpio_blink_set() argument 91 delay_on, delay_off); in gpio_blink_set()
|
D | leds-pca9532.c | 181 unsigned long *delay_on, unsigned long *delay_off) in pca9532_set_blink() argument 188 if (*delay_on == 0 && *delay_off == 0) { in pca9532_set_blink() 191 *delay_off = 1000; in pca9532_set_blink() 193 if (*delay_on != *delay_off || *delay_on > 1690 || *delay_on < 6) in pca9532_set_blink()
|
D | leds-tca6507.c | 567 unsigned long *delay_off) in tca6507_blink_set() argument 578 if (*delay_off == 0) in tca6507_blink_set() 580 else if (delay_off != &led_cdev->blink_delay_off) in tca6507_blink_set() 582 led->offtime = *delay_off; in tca6507_blink_set() 598 *delay_off = led->offtime; in tca6507_blink_set()
|
D | leds-pca963x.c | 216 unsigned long *delay_on, unsigned long *delay_off) in pca963x_blink_set() argument 225 time_off = *delay_off; in pca963x_blink_set() 268 *delay_off = time_off; in pca963x_blink_set()
|
D | leds-bd2802.c | 546 unsigned long *delay_on, unsigned long *delay_off) \ 550 if (*delay_on == 0 || *delay_off == 0) \
|
/drivers/net/wireless/iwlwifi/dvm/ |
D | led.c | 166 unsigned long *delay_off) in iwl_led_blink_set() argument 170 return iwl_led_cmd(priv, *delay_on, *delay_off); in iwl_led_blink_set()
|
/drivers/power/ |
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()
|
/drivers/hid/ |
D | hid-sony.c | 1315 unsigned long *delay_off) in sony_led_blink_set() argument 1331 if (*delay_off > 2550) in sony_led_blink_set() 1332 *delay_off = 2550; in sony_led_blink_set() 1335 if (!*delay_on && !*delay_off) in sony_led_blink_set() 1336 *delay_on = *delay_off = 500; in sony_led_blink_set() 1339 new_off = *delay_off / 10; in sony_led_blink_set()
|
/drivers/leds/trigger/ |
D | ledtrig-timer.c | 72 static DEVICE_ATTR(delay_off, 0644, led_delay_off_show, led_delay_off_store);
|
D | ledtrig-oneshot.c | 121 static DEVICE_ATTR(delay_off, 0644, led_delay_off_show, led_delay_off_store);
|
/drivers/net/wireless/rt2x00/ |
D | rt2500usb.c | 307 unsigned long *delay_off) in rt2500usb_blink_set() argument 315 rt2x00_set_field16(®, MAC_CSR21_OFF_PERIOD, *delay_off); in rt2500usb_blink_set()
|
D | rt2400pci.c | 230 unsigned long *delay_off) in rt2400pci_blink_set() argument 238 rt2x00_set_field32(®, LEDCSR_OFF_PERIOD, *delay_off); in rt2400pci_blink_set()
|
D | rt2500pci.c | 230 unsigned long *delay_off) in rt2500pci_blink_set() argument 238 rt2x00_set_field32(®, LEDCSR_OFF_PERIOD, *delay_off); in rt2500pci_blink_set()
|
D | rt73usb.c | 235 unsigned long *delay_off) in rt73usb_blink_set() argument 243 rt2x00_set_field32(®, MAC_CSR14_OFF_PERIOD, *delay_off); in rt73usb_blink_set()
|