Searched refs:uscale (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/drivers/iio/light/ |
D | isl29018.c | 72 unsigned int uscale; member 120 chip->scale.uscale == isl29018_scales[int_time][i].uscale) { in isl29018_set_integration_time() 130 static int isl29018_set_scale(struct isl29018_chip *chip, int scale, int uscale) in isl29018_set_scale() argument 138 uscale == isl29018_scales[chip->int_time][i].uscale) { in isl29018_set_scale() 203 lux_data * chip->scale.uscale / 1000000; in isl29018_read_lux() 277 isl29018_scales[chip->int_time][i].uscale); in in_illuminance_scale_available_show() 444 *val2 = chip->scale.uscale; in isl29018_read_raw() 604 chip->scale.uscale); in isl29018_chip_init()
|
D | zopt2201.c | 117 unsigned int scale, uscale; /* scale factor as integer + micro */ member 146 unsigned int scale, uscale; /* scale factor as integer + micro */ member 374 val2 == zopt2201_scale_als[i].uscale) { in zopt2201_write_scale_als() 404 val2 == zopt2201_scale_uvb[i].uscale) in zopt2201_write_scale_uvb() 460 zopt2201_scale_als[i].uscale); in zopt2201_show_als_scale_avail() 476 zopt2201_scale_uvb[i].uscale); in zopt2201_show_uvb_scale_avail()
|
D | ltr501.c | 107 int uscale; member 717 *val2 = data->chip_info->als_gain[i].uscale; in ltr501_read_raw() 723 *val2 = data->chip_info->ps_gain[i].uscale; in ltr501_read_raw() 754 if (val == gain[i].scale && val2 == gain[i].uscale) in ltr501_get_gain_index() 1122 info->ps_gain[i].uscale); in ltr501_show_proximity_scale_avail() 1144 info->als_gain[i].uscale); in ltr501_show_intensity_scale_avail()
|
D | rpr0521.c | 81 int uscale; member 593 *val2 = rpr0521_gain[chan].gain[idx].uscale; in rpr0521_get_gain() 606 val2 == rpr0521_gain[chan].gain[i].uscale) { in rpr0521_set_gain()
|
/linux-6.12.1/drivers/iio/imu/ |
D | fxos8700_core.c | 277 int uscale; member 346 enum fxos8700_sensor t, int uscale) in fxos8700_set_scale() argument 378 if (fxos8700_accel_scale[i].uscale == uscale) in fxos8700_set_scale() 393 enum fxos8700_sensor t, int *uscale) in fxos8700_get_scale() argument 399 *uscale = 1000; /* Magnetometer is locked at 0.001Gs */ in fxos8700_get_scale() 409 *uscale = fxos8700_accel_scale[i].uscale; in fxos8700_get_scale()
|
D | kmx61.c | 505 static int kmx61_set_scale(struct kmx61_data *data, u16 uscale) in kmx61_set_scale() argument 511 if (kmx61_uscale_table[i] == uscale) { in kmx61_set_scale()
|
/linux-6.12.1/drivers/iio/accel/ |
D | adxl345_i2c.c | 35 .uscale = ADXL345_USCALE, 40 .uscale = ADXL375_USCALE,
|
D | adxl345_spi.c | 49 .uscale = ADXL345_USCALE, 54 .uscale = ADXL375_USCALE,
|
D | adxl345.h | 61 int uscale; member
|
D | adxl345_core.c | 69 *val2 = data->info->uscale; in adxl345_read_raw()
|
/linux-6.12.1/drivers/iio/imu/bmi160/ |
D | bmi160_core.c | 192 int uscale; member 333 int uscale) in bmi160_set_scale() argument 338 if (bmi160_scale_table[t].tbl[i].uscale == uscale) in bmi160_set_scale() 350 int *uscale) in bmi160_get_scale() argument 360 *uscale = bmi160_scale_table[t].tbl[i].uscale; in bmi160_get_scale()
|
/linux-6.12.1/drivers/iio/adc/ |
D | ti-ads1015.c | 480 int scale, int uscale) in ads1015_set_scale() argument 483 int fullscale = div_s64((scale * 1000000LL + uscale) << in ads1015_set_scale()
|