Searched refs:bma150 (Results 1 – 3 of 3) sorted by relevance
| /linux-4.4.14/drivers/input/misc/ |
| D | bma150.c | 195 static int bma150_set_mode(struct bma150_data *bma150, u8 mode) in bma150_set_mode() argument 199 error = bma150_set_reg_bits(bma150->client, mode, BMA150_WAKE_UP_POS, in bma150_set_mode() 204 error = bma150_set_reg_bits(bma150->client, mode, BMA150_SLEEP_POS, in bma150_set_mode() 212 bma150->mode = mode; in bma150_set_mode() 216 static int bma150_soft_reset(struct bma150_data *bma150) in bma150_soft_reset() argument 220 error = bma150_set_reg_bits(bma150->client, 1, BMA150_SW_RES_POS, in bma150_soft_reset() 229 static int bma150_set_range(struct bma150_data *bma150, u8 range) in bma150_set_range() argument 231 return bma150_set_reg_bits(bma150->client, range, BMA150_RANGE_POS, in bma150_set_range() 235 static int bma150_set_bandwidth(struct bma150_data *bma150, u8 bw) in bma150_set_bandwidth() argument 237 return bma150_set_reg_bits(bma150->client, bw, BMA150_BANDWIDTH_POS, in bma150_set_bandwidth() [all …]
|
| D | Makefile | 21 obj-$(CONFIG_INPUT_BMA150) += bma150.o
|
| D | Kconfig | 94 module will be called bma150.
|