Searched refs:calib_data (Results 1 – 5 of 5) sorted by relevance
/drivers/iio/adc/ |
D | sc27xx_adc.c | 157 static int sc27xx_adc_get_calib_data(u32 calib_data, int calib_adc) in sc27xx_adc_get_calib_data() argument 159 return ((calib_data & 0xff) + calib_adc - 128) * 4; in sc27xx_adc_get_calib_data() 196 u32 calib_data = 0; in sc27xx_adc_scale_calibration() local 208 calib_data = adc_nvmem_cell_calib_data(data, cell_name); in sc27xx_adc_scale_calibration() 211 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0); in sc27xx_adc_scale_calibration() 212 graph->adc1 = sc27xx_adc_get_calib_data(calib_data >> 8, in sc27xx_adc_scale_calibration()
|
/drivers/iio/chemical/ |
D | sunrise_co2.c | 198 } calib_data[] = { variable 255 ret = sunrise_calibrate(sunrise, &calib_data[SUNRISE_CALIBRATION_FACTORY]); in sunrise_cal_factory_write() 280 ret = sunrise_calibrate(sunrise, &calib_data[SUNRISE_CALIBRATION_BACKGROUND]); in sunrise_cal_background_write()
|
/drivers/power/supply/ |
D | sc27xx_fuel_gauge.c | 961 int calib_data, cal_4200mv; in sc27xx_fgu_calibration() local 975 memcpy(&calib_data, buf, min(len, sizeof(u32))); in sc27xx_fgu_calibration() 982 cal_4200mv = (calib_data & 0x1ff) + 6963 - 4096 - 256; in sc27xx_fgu_calibration()
|
/drivers/hid/ |
D | hid-playstation.c | 1158 int calib_data = mult_frac(ds->gyro_calib_data[i].sens_numer, in dualsense_parse_report() local 1162 input_report_abs(ds->sensors, ds->gyro_calib_data[i].abs_code, calib_data); in dualsense_parse_report() 1168 int calib_data = mult_frac(ds->accel_calib_data[i].sens_numer, in dualsense_parse_report() local 1172 input_report_abs(ds->sensors, ds->accel_calib_data[i].abs_code, calib_data); in dualsense_parse_report()
|
D | hid-sony.c | 1135 int calib_data = mult_frac(calib->sens_numer, in dualshock4_parse_report() local 1139 input_report_abs(sc->sensor_dev, calib->abs_code, calib_data); in dualshock4_parse_report()
|