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