Searched refs:bma150_set_reg_bits (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/drivers/input/misc/ |
D | bma150.c | 166 static int bma150_set_reg_bits(struct i2c_client *client, in bma150_set_reg_bits() function 183 error = bma150_set_reg_bits(bma150->client, mode, BMA150_WAKE_UP_POS, in bma150_set_mode() 188 error = bma150_set_reg_bits(bma150->client, mode, BMA150_SLEEP_POS, in bma150_set_mode() 204 error = bma150_set_reg_bits(bma150->client, 1, BMA150_SW_RES_POS, in bma150_soft_reset() 215 return bma150_set_reg_bits(bma150->client, range, BMA150_RANGE_POS, in bma150_set_range() 221 return bma150_set_reg_bits(bma150->client, bw, BMA150_BANDWIDTH_POS, in bma150_set_bandwidth() 230 error = bma150_set_reg_bits(bma150->client, hyst, in bma150_set_low_g_interrupt() 244 return bma150_set_reg_bits(bma150->client, !!enable, in bma150_set_low_g_interrupt() 254 error = bma150_set_reg_bits(bma150->client, hyst, in bma150_set_high_g_interrupt() 270 return bma150_set_reg_bits(bma150->client, !!enable, in bma150_set_high_g_interrupt() [all …]
|