Searched refs:scale_table (Results 1 – 2 of 2) sorted by relevance
160 const struct bmc150_scale_info scale_table[4]; member505 for (i = 0; i < ARRAY_SIZE(data->chip_info->scale_table); ++i) { in bmc150_accel_set_scale()506 if (data->chip_info->scale_table[i].scale == val) { in bmc150_accel_set_scale()509 data->chip_info->scale_table[i].reg_range); in bmc150_accel_set_scale()516 data->range = data->chip_info->scale_table[i].reg_range; in bmc150_accel_set_scale()614 int st_size = ARRAY_SIZE(data->chip_info->scale_table); in bmc150_accel_read_raw()617 si = &data->chip_info->scale_table[i]; in bmc150_accel_read_raw()1026 .scale_table = { {9610, BMC150_ACCEL_DEF_RANGE_2G},1036 .scale_table = { {9610, BMC150_ACCEL_DEF_RANGE_2G},1046 .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()