Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A Dloongson2_thermal.c89 return loongson2_thermal_set(data, low/MILLI, high/MILLI, true); in loongson2_thermal_set_trips()
/openbmc/linux/drivers/iio/adc/
H A 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()
H A 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()
H A Dmt6370-adc.c88 ADC_CONV_TIME_MS * MILLI * 3); in mt6370_adc_read_channel()
H A Dti-tsc2046.c787 priv->vref_mv = ret / MILLI; in tsc2046_adc_configure_regulator()
H A Dad4130.c1756 st->scale_tbls[i][j][1] = div_u64(nv >> (pow + j), MILLI); in ad4130_fill_scale_tbls()
/openbmc/linux/include/linux/
H A Dunits.h17 #define MILLI 1000UL macro
/openbmc/linux/drivers/fpga/
H A 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()
/openbmc/linux/drivers/leds/
H A Dleds-aw200xx.c97 (((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 Drt9467-charger.c442 MILLI, RT9467_ADCCONV_TIME_MS * MILLI); in rt9467_get_adc_raw_data()
/openbmc/linux/drivers/hwmon/
H A Dasus_wmi_sensors.c412 return value * MILLI; in asus_wmi_scale_sensor_value()
H A Dasus-ec-sensors.c836 return value * MILLI; in scale_sensor_value()
H A Dhp-wmi-sensors.c741 val -= MILLI * 32; in scale_numeric_sensor()
/openbmc/linux/drivers/iio/magnetometer/
H A Dyamaha-yas530.c1302 intrvl = (YAS537_DEFAULT_SENSOR_DELAY_MS * MILLI in yas537_power_on()