Searched refs:event_en (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/staging/iio/
H A Diio_simple_dummy.h29 * @event_en: cache of whether event is enabled
48 bool event_en; member in struct:iio_dummy_state
H A Diio_simple_dummy_events.c40 return st->event_en; iio_simple_dummy_read_event_config()
72 st->event_en = state; iio_simple_dummy_write_event_config()
82 st->event_en = state; iio_simple_dummy_write_event_config()
91 st->event_en = state; iio_simple_dummy_write_event_config()
/linux-4.4.14/drivers/iio/light/
H A Dgp2ap020a00f.c1029 bool event_en = false; gp2ap020a00f_write_event_val() local
1046 event_en = test_bit(GP2AP020A00F_FLAG_ALS_RISING_EV, gp2ap020a00f_write_event_val()
1050 event_en = test_bit(GP2AP020A00F_FLAG_ALS_FALLING_EV, gp2ap020a00f_write_event_val()
1058 event_en = test_bit(GP2AP020A00F_FLAG_PROX_RISING_EV, gp2ap020a00f_write_event_val()
1066 event_en = test_bit(GP2AP020A00F_FLAG_PROX_FALLING_EV, gp2ap020a00f_write_event_val()
1073 event_en); gp2ap020a00f_write_event_val()
1205 int event_en = 0; gp2ap020a00f_read_event_config() local
1212 event_en = test_bit(GP2AP020A00F_FLAG_PROX_RISING_EV, gp2ap020a00f_read_event_config()
1215 event_en = test_bit(GP2AP020A00F_FLAG_PROX_FALLING_EV, gp2ap020a00f_read_event_config()
1220 event_en = test_bit(GP2AP020A00F_FLAG_ALS_RISING_EV, gp2ap020a00f_read_event_config()
1223 event_en = test_bit(GP2AP020A00F_FLAG_ALS_FALLING_EV, gp2ap020a00f_read_event_config()
1227 event_en = -EINVAL; gp2ap020a00f_read_event_config()
1233 return event_en; gp2ap020a00f_read_event_config()
H A Dcm36651.c556 int event_en; cm36651_read_prox_event_config() local
560 event_en = test_bit(CM36651_PROXIMITY_EV_EN, &cm36651->flags); cm36651_read_prox_event_config()
564 return event_en; cm36651_read_prox_event_config()

Completed in 217 milliseconds