Searched refs:convert_double_to_sensor_val (Results 1 – 1 of 1) sorted by relevance
300 static void convert_double_to_sensor_val(double d, struct sensor_value *val) in convert_double_to_sensor_val() function315 convert_double_to_sensor_val(MMC56X3_TEMP_BASE + (data->temp * MMC56X3_TEMP_RES), in mmc56x3_channel_get()319 convert_double_to_sensor_val(data->magn_x * MMC56X3_MAGN_GAUSS_RES, val); in mmc56x3_channel_get()322 convert_double_to_sensor_val(data->magn_y * MMC56X3_MAGN_GAUSS_RES, val); in mmc56x3_channel_get()325 convert_double_to_sensor_val(data->magn_z * MMC56X3_MAGN_GAUSS_RES, val); in mmc56x3_channel_get()328 convert_double_to_sensor_val(data->magn_x * MMC56X3_MAGN_GAUSS_RES, val); in mmc56x3_channel_get()329 convert_double_to_sensor_val(data->magn_y * MMC56X3_MAGN_GAUSS_RES, val + 1); in mmc56x3_channel_get()330 convert_double_to_sensor_val(data->magn_z * MMC56X3_MAGN_GAUSS_RES, val + 2); in mmc56x3_channel_get()