Lines Matching refs:state
215 static int bma180_set_new_data_intr_state(struct bma180_data *data, bool state)
218 data->part_info->int_enable_mask, state);
229 "failed to set new data interrupt state %d\n", state);
233 static int bma180_set_sleep_state(struct bma180_data *data, bool state)
236 data->part_info->sleep_mask, state);
240 "failed to set sleep state %d\n", state);
243 data->sleep_state = state;
248 static int bma180_set_ee_writing_state(struct bma180_data *data, bool state)
250 int ret = bma180_set_bits(data, BMA180_CTRL_REG0, BMA180_EE_W, state);
254 "failed to set ee writing state %d\n", state);
899 bool state)
904 return bma180_set_new_data_intr_state(data, state);