Searched refs:mot_det_mult_y (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/iio/accel/ |
| H A D | sca3000.c | 210 int mot_det_mult_y[7]; member 223 .mot_det_mult_y = { 50, 100, 150, 250, 450, 850, 1750 }, 235 .mot_det_mult_y = { 50, 100, 200, 350, 700, 1350, 2700 }, 250 .mot_det_mult_y = { 100, 200, 400, 7000, 1400, 2700, 54000 }, 265 .mot_det_mult_y = { 300, 600, 1200, 2000, 4100, 7800, 15600 }, 879 ARRAY_SIZE(st->info->mot_det_mult_y)) in sca3000_read_event_value() 880 *val += st->info->mot_det_mult_y[i]; in sca3000_read_event_value() 922 i = ARRAY_SIZE(st->info->mot_det_mult_y); in sca3000_write_event_value() 924 if (val >= st->info->mot_det_mult_y[--i]) { in sca3000_write_event_value() 926 val -= st->info->mot_det_mult_y[i]; in sca3000_write_event_value()
|