Lines Matching defs:time
36 #define LM8323_CMD_SET_ACTIVE 0x8b /* Set active time. */
39 #define LM8323_CMD_SET_DEBOUNCE 0x8f /* Set debouncing time. */
225 * Set the chip active time (idle time before it enters halt).
227 static void lm8323_set_active_time(struct lm8323_chip *lm, int time)
229 lm8323_write(lm, 2, LM8323_CMD_SET_ACTIVE, time >> 2);
288 * during a keypress, so set active time to 0. When it's released,
289 * we can enter halt again, so set the active time back to normal.
329 * Active time must be greater than the debounce time: if it's
464 * Convert time (in ms) into a divisor (512 or 16 on a refclk of
536 int ret, time;
538 ret = kstrtoint(buf, 10, &time);
543 pwm->fade_time = time;
547 static DEVICE_ATTR(time, 0644, lm8323_pwm_show_time, lm8323_pwm_store_time);