Lines Matching full:dim
16 * This helper chip can drive up to 8 leds, with two programmable DIM modes;
20 * The DIM modes are used to set _blink_ patterns for leds, the pattern is
99 * Set the period for DIM status
102 * @dim: either LP3944_DIM0 or LP3944_DIM1
105 static int lp3944_dim_set_period(struct i2c_client *client, u8 dim, u16 period) in lp3944_dim_set_period() argument
111 if (dim == LP3944_DIM0) in lp3944_dim_set_period()
113 else if (dim == LP3944_DIM1) in lp3944_dim_set_period()
130 * Set the duty cycle for DIM status
133 * @dim: either LP3944_DIM0 or LP3944_DIM1
136 static int lp3944_dim_set_dutycycle(struct i2c_client *client, u8 dim, in lp3944_dim_set_dutycycle() argument
143 if (dim == LP3944_DIM0) in lp3944_dim_set_dutycycle()
145 else if (dim == LP3944_DIM1) in lp3944_dim_set_dutycycle()
260 /* NOTE: using always the first DIM mode, this means that all leds in lp3944_led_set_blink()