Lines Matching refs:state
115 /* brightness 0 means off-state */
176 unsigned int state;
178 ret = kstrtouint(buf, 10, &state);
181 if (state != 0)
182 state = 0x01 << TORCH_PIN_EN_SHIFT;
184 chip->torch_pin = state;
187 state);
223 unsigned int state;
225 ret = kstrtouint(buf, 10, &state);
228 if (state != 0)
229 state = 0x01 << STROBE_PIN_EN_SHIFT;
231 chip->strobe_pin = state;
234 state);