Searched refs:__convert_to_raw (Results 1 – 1 of 1) sorted by relevance
310 static u32 __convert_to_raw(const u64 val, const u32 resolution) in __convert_to_raw() function324 __res = __convert_to_raw(__res, resolution); in __convert_to_raw_sign()488 temp = __convert_to_raw(temp, 1024); in __ltc2983_custom_sensor_new()492 temp = __convert_to_raw(temp, resolution); in __ltc2983_custom_sensor_new()1122 diode->ideal_factor_value = __convert_to_raw(temp, 1048576); in ltc2983_diode_new()1157 rsense->r_sense_val = __convert_to_raw((u64)temp * 1000, 1024); in ltc2983_r_sense_new()