Searched refs:scale_table (Results 1 – 2 of 2) sorted by relevance
163 const struct bmc150_scale_info scale_table[4]; member506 for (i = 0; i < ARRAY_SIZE(data->chip_info->scale_table); ++i) { in bmc150_accel_set_scale()507 if (data->chip_info->scale_table[i].scale == val) { in bmc150_accel_set_scale()510 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()616 int st_size = ARRAY_SIZE(data->chip_info->scale_table); in bmc150_accel_read_raw()619 si = &data->chip_info->scale_table[i]; in bmc150_accel_read_raw()1014 .scale_table = { {9610, BMC150_ACCEL_DEF_RANGE_2G},1024 .scale_table = { {9610, BMC150_ACCEL_DEF_RANGE_2G},1034 .scale_table = { {9610, BMC150_ACCEL_DEF_RANGE_2G},[all …]
46 const int *scale_table; member264 if (data->part_info->scale_table[i] == val) { in bma180_set_scale()443 return bma180_show_avail(buf, data->part_info->scale_table, in bma180_show_scale_avail()