Home
last modified time | relevance | path

Searched refs:raw_temp (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/acpi/pmic/
Dintel_pmic.c84 int raw_temp, temp; in pmic_read_temp() local
89 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 = acpi_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 …]
Dintel_pmic.h15 int (*update_aux)(struct regmap *r, int reg, int raw_temp);
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dicp10100.c273 uint32_t raw_pressure, uint16_t raw_temp) in icp10100_get_pressure() argument
287 raw_pressure, raw_temp); in icp10100_get_pressure()
290 t = (int32_t)raw_temp - 32768; in icp10100_get_pressure()
340 uint16_t raw_temp; in icp10100_read_raw_measures() local
348 ret = icp10100_get_measures(st, &raw_pressure, &raw_temp); in icp10100_read_raw_measures()
355 raw_temp); in icp10100_read_raw_measures()
362 *val = raw_temp; in icp10100_read_raw_measures()
/kernel/linux/linux-5.10/drivers/hwmon/
Daxi-fan-control.c111 long raw_temp; in axi_fan_control_read_temp() local
115 raw_temp = axi_ioread(ADI_REG_TEMPERATURE, ctl); in axi_fan_control_read_temp()
122 *val = ((raw_temp * 501374) >> 16) - 273677; in axi_fan_control_read_temp()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
Dphy.c723 temp = (dev->raw_temp - dev->ee->ref_temp) * MT_EE_TEMPERATURE_SLOPE; in mt7601u_temp_comp()
814 dev->raw_temp = mt7601u_bbp_r47_get(dev, bbp_r47, BBP_R47_F_TEMP); in mt7601u_tssi_params_get()
863 p.tssi0, p.trgt_power, dev->raw_temp, pkt_type); in mt7601u_tssi_params_get()
1008 dev->raw_temp = mt7601u_read_temp(dev); in mt7601u_phy_calibrate()
1121 dev->raw_temp = mt7601u_read_bootup_temp(dev); in mt7601u_init_cal()
1122 dev->curr_temp = (dev->raw_temp - dev->ee->ref_temp) * in mt7601u_init_cal()
Ddebugfs.c133 debugfs_create_u8("temperature", 0400, dir, &dev->raw_temp); in mt7601u_init_debugfs()
Dmt7601u.h235 s8 raw_temp; member
/kernel/linux/linux-5.10/drivers/iio/accel/
Dbma400_core.c182 unsigned int raw_temp; in bma400_get_temp_reg() local
189 ret = regmap_read(data->regmap, BMA400_TEMP_DATA_REG, &raw_temp); in bma400_get_temp_reg()
193 host_temp = sign_extend32(raw_temp, 7); in bma400_get_temp_reg()