Home
last modified time | relevance | path

Searched refs:bma150 (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/input/misc/
H A Dbma150.c179 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 DMakefile26 obj-$(CONFIG_INPUT_BMA150) += bma150.o
H A DKconfig148 module will be called bma150.