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

/linux-4.4.14/drivers/iio/accel/
H A Dkxcjk-1013.c107 int ev_enable_state; member in struct:kxcjk1013_data
799 if (data->ev_enable_state) kxcjk1013_write_event()
823 return data->ev_enable_state; kxcjk1013_read_event_config()
835 if (state && data->ev_enable_state) kxcjk1013_write_event_config()
841 data->ev_enable_state = 0; kxcjk1013_write_event_config()
864 data->ev_enable_state = 0; kxcjk1013_write_event_config()
869 data->ev_enable_state = state; kxcjk1013_write_event_config()
1008 if (!state && data->ev_enable_state && data->motion_trigger_on) { kxcjk1013_data_rdy_trigger_set_state()
1141 if (data->ev_enable_state) kxcjk1013_data_rdy_trig_poll()
H A Dbmc150-accel-core.c203 int ev_enable_state; member in struct:bmc150_accel_data
699 if (data->ev_enable_state) bmc150_accel_write_event()
723 return data->ev_enable_state; bmc150_accel_read_event_config()
735 if (state == data->ev_enable_state) bmc150_accel_write_event_config()
747 data->ev_enable_state = state; bmc150_accel_write_event_config()
1268 if (data->ev_enable_state) { bmc150_accel_irq_thread_handler()
1309 if (data->ev_enable_state || data->fifo_mode) bmc150_accel_irq_handler()
/linux-4.4.14/drivers/iio/gyro/
H A Dbmg160_core.c108 int ev_enable_state; member in struct:bmg160_data
632 if (data->ev_enable_state) bmg160_write_event()
652 return data->ev_enable_state; bmg160_read_event_config()
664 if (state && data->ev_enable_state) bmg160_write_event_config()
670 data->ev_enable_state = 0; bmg160_write_event_config()
696 data->ev_enable_state = state; bmg160_write_event_config()
827 if (!state && data->ev_enable_state && data->motion_trigger_on) { bmg160_data_rdy_trigger_set_state()
931 if (data->ev_enable_state) bmg160_data_rdy_trig_poll()
1155 data->ev_enable_state) bmg160_resume()
/linux-4.4.14/drivers/iio/imu/
H A Dkmx61.c146 bool ev_enable_state; member in struct:kmx61_data
922 if (data->ev_enable_state) kmx61_write_event()
944 return data->ev_enable_state; kmx61_read_event_config()
956 if (state && data->ev_enable_state) kmx61_write_event_config()
962 data->ev_enable_state = false; kmx61_write_event_config()
976 data->ev_enable_state = state; kmx61_write_event_config()
1038 if (!state && data->ev_enable_state && data->motion_trig_on) { kmx61_data_rdy_trigger_set_state()
1197 if (data->ev_enable_state) kmx61_data_rdy_trig_poll()

Completed in 100 milliseconds