Searched refs:scale_table (Results 1 – 2 of 2) sorted by relevance
147 const struct bmc150_scale_info scale_table[4]; member561 for (i = 0; i < ARRAY_SIZE(data->chip_info->scale_table); ++i) { in bmc150_accel_set_scale()562 if (data->chip_info->scale_table[i].scale == val) { in bmc150_accel_set_scale()566 data->chip_info->scale_table[i].reg_range); in bmc150_accel_set_scale()573 data->range = data->chip_info->scale_table[i].reg_range; in bmc150_accel_set_scale()668 int st_size = ARRAY_SIZE(data->chip_info->scale_table); in bmc150_accel_read_raw()671 si = &data->chip_info->scale_table[i]; in bmc150_accel_read_raw()917 .scale_table = { {9610, BMC150_ACCEL_DEF_RANGE_2G},926 .scale_table = { {9610, BMC150_ACCEL_DEF_RANGE_2G},935 .scale_table = { {9610, BMC150_ACCEL_DEF_RANGE_2G},[all …]
45 const int *scale_table; member263 if (data->part_info->scale_table[i] == val) { in bma180_set_scale()442 return bma180_show_avail(buf, data->part_info->scale_table, in bma180_show_scale_avail()