Searched refs:MILLI (Results 1 – 14 of 14) sorted by relevance
/linux-6.6.21/drivers/iio/adc/ |
D | qcom-spmi-rradc.c | 351 *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()
|
D | ti-ads1100.c | 146 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()
|
D | mt6370-adc.c | 88 ADC_CONV_TIME_MS * MILLI * 3); in mt6370_adc_read_channel()
|
D | ti-tsc2046.c | 787 priv->vref_mv = ret / MILLI; in tsc2046_adc_configure_regulator()
|
D | ad4130.c | 1756 st->scale_tbls[i][j][1] = div_u64(nv >> (pow + j), MILLI); in ad4130_fill_scale_tbls()
|
/linux-6.6.21/drivers/thermal/ |
D | loongson2_thermal.c | 89 return loongson2_thermal_set(data, low/MILLI, high/MILLI, true); in loongson2_thermal_set_trips()
|
/linux-6.6.21/drivers/fpga/ |
D | dfl-fme-main.c | 235 *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/ |
D | units.h | 17 #define MILLI 1000UL macro
|
/linux-6.6.21/drivers/leds/ |
D | leds-aw200xx.c | 97 (((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/ |
D | rt9467-charger.c | 442 MILLI, RT9467_ADCCONV_TIME_MS * MILLI); in rt9467_get_adc_raw_data()
|
/linux-6.6.21/drivers/hwmon/ |
D | asus_wmi_sensors.c | 412 return value * MILLI; in asus_wmi_scale_sensor_value()
|
D | asus-ec-sensors.c | 836 return value * MILLI; in scale_sensor_value()
|
D | hp-wmi-sensors.c | 741 val -= MILLI * 32; in scale_numeric_sensor()
|
/linux-6.6.21/drivers/iio/magnetometer/ |
D | yamaha-yas530.c | 1302 intrvl = (YAS537_DEFAULT_SENSOR_DELAY_MS * MILLI in yas537_power_on()
|