Home
last modified time | relevance | path

Searched refs:uscale (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/iio/light/
Disl29018.c80 unsigned int uscale; member
127 chip->scale.uscale == isl29018_scales[int_time][i].uscale) { in isl29018_set_integration_time()
137 static int isl29018_set_scale(struct isl29018_chip *chip, int scale, int uscale) in isl29018_set_scale() argument
145 uscale == isl29018_scales[chip->int_time][i].uscale) { in isl29018_set_scale()
210 lux_data * chip->scale.uscale / 1000000; in isl29018_read_lux()
284 isl29018_scales[chip->int_time][i].uscale); in in_illuminance_scale_available_show()
451 *val2 = chip->scale.uscale; in isl29018_read_raw()
611 chip->scale.uscale); in isl29018_chip_init()
Dzopt2201.c118 unsigned int scale, uscale; /* scale factor as integer + micro */ member
147 unsigned int scale, uscale; /* scale factor as integer + micro */ member
375 val2 == zopt2201_scale_als[i].uscale) { in zopt2201_write_scale_als()
405 val2 == zopt2201_scale_uvb[i].uscale) in zopt2201_write_scale_uvb()
461 zopt2201_scale_als[i].uscale); in zopt2201_show_als_scale_avail()
477 zopt2201_scale_uvb[i].uscale); in zopt2201_show_uvb_scale_avail()
Dltr501.c107 int uscale; member
695 *val2 = data->chip_info->als_gain[i].uscale; in ltr501_read_raw()
701 *val2 = data->chip_info->ps_gain[i].uscale; in ltr501_read_raw()
732 if (val == gain[i].scale && val2 == gain[i].uscale) in ltr501_get_gain_index()
1100 info->ps_gain[i].uscale); in ltr501_show_proximity_scale_avail()
1122 info->als_gain[i].uscale); in ltr501_show_intensity_scale_avail()
Drpr0521.c84 int uscale; member
601 *val2 = rpr0521_gain[chan].gain[idx].uscale; in rpr0521_get_gain()
614 val2 == rpr0521_gain[chan].gain[i].uscale) { in rpr0521_set_gain()
/linux-4.19.296/drivers/iio/imu/bmi160/
Dbmi160_core.c166 int uscale; member
293 int uscale) in bmi160_set_scale() argument
298 if (bmi160_scale_table[t].tbl[i].uscale == uscale) in bmi160_set_scale()
310 int *uscale) in bmi160_get_scale() argument
320 *uscale = bmi160_scale_table[t].tbl[i].uscale; in bmi160_get_scale()
/linux-4.19.296/drivers/iio/adc/
Dti-ads1015.c426 int scale, int uscale) in ads1015_set_scale() argument
429 int fullscale = div_s64((scale * 1000000LL + uscale) << in ads1015_set_scale()
/linux-4.19.296/drivers/iio/imu/
Dkmx61.c509 static int kmx61_set_scale(struct kmx61_data *data, u16 uscale) in kmx61_set_scale() argument
515 if (kmx61_uscale_table[i] == uscale) { in kmx61_set_scale()