Lines Matching refs:state
68 * interrupt state by reading SX_COMMON_REG_IRQ_SRC.
82 /* Read proximity state on all channels */
265 * @state: State of the event.
272 enum iio_event_direction dir, int state)
278 /* If the state hasn't changed, there's nothing to do. */
279 if (!!(data->chan_event & BIT(chan->channel)) == state)
283 if (state) {
309 static int sx_common_set_trigger_state(struct iio_trigger *trig, bool state)
317 if (state)
324 data->trigger_enabled = state;
465 /* Clear reset interrupt state by reading SX_COMMON_REG_IRQ_SRC. */