Lines Matching defs:state
238 static int bma180_set_new_data_intr_state(struct bma180_data *data, bool state)
241 data->part_info->int_enable_mask, state);
252 "failed to set new data interrupt state %d\n", state);
256 static int bma180_set_sleep_state(struct bma180_data *data, bool state)
259 data->part_info->sleep_mask, state);
263 "failed to set sleep state %d\n", state);
266 data->sleep_state = state;
271 static int bma180_set_ee_writing_state(struct bma180_data *data, bool state)
273 int ret = bma180_set_bits(data, BMA180_CTRL_REG0, BMA180_EE_W, state);
277 "failed to set ee writing state %d\n", state);
963 bool state)
968 return bma180_set_new_data_intr_state(data, state);