Searched refs:bma150 (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/input/misc/ |
| H A D | bma150.c | 179 static int bma150_set_mode(struct bma150_data *bma150, u8 mode) in bma150_set_mode() argument 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() 196 bma150->mode = mode; in bma150_set_mode() 200 static int bma150_soft_reset(struct bma150_data *bma150) in bma150_soft_reset() argument 204 error = bma150_set_reg_bits(bma150->client, 1, BMA150_SW_RES_POS, in bma150_soft_reset() 213 static int bma150_set_range(struct bma150_data *bma150, u8 range) in bma150_set_range() argument 215 return bma150_set_reg_bits(bma150->client, range, BMA150_RANGE_POS, in bma150_set_range() 219 static int bma150_set_bandwidth(struct bma150_data *bma150, u8 bw) in bma150_set_bandwidth() argument 221 return bma150_set_reg_bits(bma150->client, bw, BMA150_BANDWIDTH_POS, in bma150_set_bandwidth() [all …]
|
| H A D | Makefile | 22 obj-$(CONFIG_INPUT_BMA150) += bma150.o
|
| H A D | Kconfig | 108 module will be called bma150.
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/accel/ |
| H A D | bma180.txt | 11 "bosch,bma150"
|