Home
last modified time | relevance | path

Searched refs:MILLI (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/drivers/iio/adc/
Dqcom-spmi-rradc.c351 *result_ohms = (int)(r_id * MILLI); in rradc_post_process_batt_id()
617 *val = MILLI; in rradc_read_scale()
631 *val = RR_ADC_VOLT_INPUT_FACTOR * RR_ADC_FS_VOLTAGE_MV * MILLI; in rradc_read_scale()
646 MILLI); in rradc_read_scale()
674 (MILLI / RR_ADC_BATT_THERM_LSB_K)); in rradc_read_offset()
692 offset2 += ((int64_t)MILLI * RR_ADC_TEMP_FS_VOLTAGE_NUM) / 2; in rradc_read_offset()
694 offset2, ((int64_t)MILLI * RR_ADC_TEMP_FS_VOLTAGE_NUM)); in rradc_read_offset()
Dti-ads1100.c146 gain = DIV_ROUND_CLOSEST(microvolts, BIT(15)) * MILLI / val2; in ads1100_set_scale()
172 return regulator_get_voltage(data->reg_vdd) / (MICRO / MILLI); in ads1100_get_vdd_millivolts()
Dmt6370-adc.c88 ADC_CONV_TIME_MS * MILLI * 3); in mt6370_adc_read_channel()
Dti-tsc2046.c787 priv->vref_mv = ret / MILLI; in tsc2046_adc_configure_regulator()
Dad4130.c1756 st->scale_tbls[i][j][1] = div_u64(nv >> (pow + j), MILLI); in ad4130_fill_scale_tbls()
/linux-6.6.21/drivers/thermal/
Dloongson2_thermal.c89 return loongson2_thermal_set(data, low/MILLI, high/MILLI, true); in loongson2_thermal_set_trips()
/linux-6.6.21/drivers/fpga/
Ddfl-fme-main.c235 *val = (long)(FIELD_GET(FPGA_TEMPERATURE, v) * MILLI); in thermal_hwmon_read()
239 *val = (long)(FIELD_GET(TEMP_THRESHOLD1, v) * MILLI); in thermal_hwmon_read()
243 *val = (long)(FIELD_GET(TEMP_THRESHOLD2, v) * MILLI); in thermal_hwmon_read()
247 *val = (long)(FIELD_GET(TRIP_THRESHOLD, v) * MILLI); in thermal_hwmon_read()
/linux-6.6.21/include/linux/
Dunits.h17 #define MILLI 1000UL macro
/linux-6.6.21/drivers/leds/
Dleds-aw200xx.c97 (((592UL * USEC_PER_SEC) / 600500UL) * (MILLI / (rows)) / MILLI)
230 do_div(led_imax_uA, MILLI); in aw200xx_imax_from_global()
/linux-6.6.21/drivers/power/supply/
Drt9467-charger.c442 MILLI, RT9467_ADCCONV_TIME_MS * MILLI); in rt9467_get_adc_raw_data()
/linux-6.6.21/drivers/hwmon/
Dasus_wmi_sensors.c412 return value * MILLI; in asus_wmi_scale_sensor_value()
Dasus-ec-sensors.c836 return value * MILLI; in scale_sensor_value()
Dhp-wmi-sensors.c741 val -= MILLI * 32; in scale_numeric_sensor()
/linux-6.6.21/drivers/iio/magnetometer/
Dyamaha-yas530.c1302 intrvl = (YAS537_DEFAULT_SENSOR_DELAY_MS * MILLI in yas537_power_on()