Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/misc/
H A Dcma3000_d0x.c62 int bit_to_mg; member
99 *datax = ((s8)*datax) * data->bit_to_mg; in decode_mg()
100 *datay = ((s8)*datay) * data->bit_to_mg; in decode_mg()
101 *dataz = ((s8)*dataz) * data->bit_to_mg; in decode_mg()
130 data->bit_to_mg = mode_to_mg[mode][range]; in cma3000_thread_irq()
133 if (data->bit_to_mg == 0) in cma3000_thread_irq()