Lines Matching full:dim
12 * This helper chip can drive up to 8 leds, with two programmable DIM modes;
16 * The DIM modes are used to set _blink_ patterns for leds, the pattern is
95 * lp3944_dim_set_period() - Set the period for DIM status
98 * @dim: either LP3944_DIM0 or LP3944_DIM1
101 static int lp3944_dim_set_period(struct i2c_client *client, u8 dim, u16 period) in lp3944_dim_set_period() argument
107 if (dim == LP3944_DIM0) in lp3944_dim_set_period()
109 else if (dim == LP3944_DIM1) in lp3944_dim_set_period()
126 * lp3944_dim_set_dutycycle - Set the duty cycle for DIM status
129 * @dim: either LP3944_DIM0 or LP3944_DIM1
132 static int lp3944_dim_set_dutycycle(struct i2c_client *client, u8 dim, in lp3944_dim_set_dutycycle() argument
139 if (dim == LP3944_DIM0) in lp3944_dim_set_dutycycle()
141 else if (dim == LP3944_DIM1) in lp3944_dim_set_dutycycle()
256 /* NOTE: using always the first DIM mode, this means that all leds in lp3944_led_set_blink()