Searched refs:mot_det_mult_y (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/accel/ |
H A D | sca3000.c | 209 int mot_det_mult_y[7]; member 237 .mot_det_mult_y = {50, 100, 150, 250, 450, 850, 1750}, 247 .mot_det_mult_y = {50, 100, 200, 350, 700, 1350, 2700}, 260 .mot_det_mult_y = {100, 200, 400, 7000, 1400, 2700, 54000}, 273 .mot_det_mult_y = {300, 600, 1200, 2000, 4100, 7800, 15600}, 895 ARRAY_SIZE(st->info->mot_det_mult_y)) in sca3000_read_event_value() 896 *val += st->info->mot_det_mult_y[i]; in sca3000_read_event_value() 938 i = ARRAY_SIZE(st->info->mot_det_mult_y); in sca3000_write_event_value() 940 if (val >= st->info->mot_det_mult_y[--i]) { in sca3000_write_event_value() 942 val -= st->info->mot_det_mult_y[i]; in sca3000_write_event_value()
|