Searched refs:raw_temp (Results  1 – 10 of 10) sorted by relevance
| /Linux-v6.6/drivers/acpi/pmic/ | 
| D | intel_pmic.c | 84 	int raw_temp, temp;  in pmic_read_temp()  local89 	raw_temp = opregion->data->get_raw_temp(opregion->regmap, reg);  in pmic_read_temp()
 90 	if (raw_temp < 0)  in pmic_read_temp()
 91 		return raw_temp;  in pmic_read_temp()
 94 		*value = raw_temp;  in pmic_read_temp()
 98 	temp = opregion->data->lpat_raw_to_temp(opregion->lpat_table, raw_temp);  in pmic_read_temp()
 116 	int raw_temp;  in pmic_thermal_aux()  local
 125 		raw_temp = acpi_lpat_temp_to_raw(opregion->lpat_table, *value);  in pmic_thermal_aux()
 126 		if (raw_temp < 0)  in pmic_thermal_aux()
 127 			return raw_temp;  in pmic_thermal_aux()
 [all …]
 
 | 
| D | intel_pmic.h | 17 	int (*update_aux)(struct regmap *r, int reg, int raw_temp);
 | 
| /Linux-v6.6/drivers/iio/pressure/ | 
| D | icp10100.c | 275 				      uint32_t raw_pressure, uint16_t raw_temp)  in icp10100_get_pressure()  argument289 		raw_pressure, raw_temp);  in icp10100_get_pressure()
 292 	t = (int32_t)raw_temp - 32768;  in icp10100_get_pressure()
 342 	uint16_t raw_temp;  in icp10100_read_raw_measures()  local
 350 	ret = icp10100_get_measures(st, &raw_pressure, &raw_temp);  in icp10100_read_raw_measures()
 357 						     raw_temp);  in icp10100_read_raw_measures()
 364 		*val = raw_temp;  in icp10100_read_raw_measures()
 
 | 
| D | bmp280-core.c | 1370 	s32 raw_temp;  in bmp580_read_temp()  local1380 	raw_temp = get_unaligned_le24(data->buf);  in bmp580_read_temp()
 1381 	if (raw_temp == BMP580_TEMP_SKIPPED) {  in bmp580_read_temp()
 1391 	*val = raw_temp * 1000;  in bmp580_read_temp()
 
 | 
| /Linux-v6.6/drivers/thermal/mediatek/ | 
| D | lvts_thermal.c | 250 static int lvts_raw_to_temp(u32 raw_temp)  in lvts_raw_to_temp()  argument254 	temperature = ((s64)(raw_temp & 0xFFFF) * LVTS_COEFF_A) >> 14;  in lvts_raw_to_temp()
 262 	u32 raw_temp = ((s64)(coeff_b - temperature)) << 14;  in lvts_temp_to_raw()  local
 264 	raw_temp = div_s64(raw_temp, -LVTS_COEFF_A);  in lvts_temp_to_raw()
 266 	return raw_temp;  in lvts_temp_to_raw()
 
 | 
| /Linux-v6.6/drivers/hwmon/ | 
| D | axi-fan-control.c | 153 	long raw_temp;  in axi_fan_control_read_temp()  local157 		raw_temp = axi_ioread(ADI_REG_TEMPERATURE, ctl);  in axi_fan_control_read_temp()
 164 		*val = ((raw_temp * 501374) >> 16) - 273677;  in axi_fan_control_read_temp()
 
 | 
| /Linux-v6.6/drivers/net/wireless/mediatek/mt7601u/ | 
| D | phy.c | 726 	temp = (dev->raw_temp - dev->ee->ref_temp) * MT_EE_TEMPERATURE_SLOPE;  in mt7601u_temp_comp()817 	dev->raw_temp = mt7601u_bbp_r47_get(dev, bbp_r47, BBP_R47_F_TEMP);  in mt7601u_tssi_params_get()
 866 		p.tssi0, p.trgt_power, dev->raw_temp, pkt_type);  in mt7601u_tssi_params_get()
 1011 		dev->raw_temp = mt7601u_read_temp(dev);  in mt7601u_phy_calibrate()
 1127 	dev->raw_temp = mt7601u_read_bootup_temp(dev);  in mt7601u_init_cal()
 1128 	dev->curr_temp = (dev->raw_temp - dev->ee->ref_temp) *  in mt7601u_init_cal()
 
 | 
| D | debugfs.c | 131 	debugfs_create_u8("temperature", 0400, dir, &dev->raw_temp);  in mt7601u_init_debugfs()
 | 
| D | mt7601u.h | 235 	s8 raw_temp;  member
 | 
| /Linux-v6.6/drivers/iio/accel/ | 
| D | bma400_core.c | 417 	unsigned int raw_temp;  in bma400_get_temp_reg()  local424 	ret = regmap_read(data->regmap, BMA400_TEMP_DATA_REG, &raw_temp);  in bma400_get_temp_reg()
 428 	host_temp = sign_extend32(raw_temp, 7);  in bma400_get_temp_reg()
 
 |