Lines Matching refs:scale_table
157 const struct bmc150_scale_info scale_table[4]; member
621 for (i = 0; i < ARRAY_SIZE(data->chip_info->scale_table); ++i) { in bmc150_accel_set_scale()
622 if (data->chip_info->scale_table[i].scale == val) { in bmc150_accel_set_scale()
625 data->chip_info->scale_table[i].reg_range); in bmc150_accel_set_scale()
631 data->range = data->chip_info->scale_table[i].reg_range; in bmc150_accel_set_scale()
731 int st_size = ARRAY_SIZE(data->chip_info->scale_table); in bmc150_accel_read_raw()
734 si = &data->chip_info->scale_table[i]; in bmc150_accel_read_raw()
1152 .scale_table = { {153229, BMC150_ACCEL_DEF_RANGE_2G},
1162 .scale_table = { {153229, BMC150_ACCEL_DEF_RANGE_2G},
1172 .scale_table = { {38307, BMC150_ACCEL_DEF_RANGE_2G},
1182 .scale_table = { {9577, BMC150_ACCEL_DEF_RANGE_2G},
1192 .scale_table = { {2394, BMC150_ACCEL_DEF_RANGE_2G},