Searched refs:bma180_set_bits (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/accel/ |
H A D | bma180.c | 193 static int bma180_set_bits(struct bma180_data *data, u8 reg, u8 mask, u8 val) in bma180_set_bits() function 206 int ret = bma180_set_bits(data, data->part_info->int_reset_reg, in bma180_reset_intr() 217 int ret = bma180_set_bits(data, data->part_info->int_enable_reg, in bma180_set_new_data_intr_state() 235 int ret = bma180_set_bits(data, data->part_info->sleep_reg, in bma180_set_sleep_state() 250 int ret = bma180_set_bits(data, BMA180_CTRL_REG0, BMA180_EE_W, state); in bma180_set_ee_writing_state() 268 ret = bma180_set_bits(data, data->part_info->bw_reg, in bma180_set_bw() 293 ret = bma180_set_bits(data, data->part_info->scale_reg, in bma180_set_scale() 310 int ret = bma180_set_bits(data, data->part_info->power_reg, in bma180_set_pmode() 389 ret = bma180_set_bits(data, BMA180_CTRL_REG0, BMA180_DIS_WAKE_UP, 1); in bma180_chip_config() 395 ret = bma180_set_bits(data, BMA180_OFFSET_LSB1, BMA180_SMP_SKIP, 1); in bma180_chip_config() [all …]
|