Home
last modified time | relevance | path

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

/drivers/acpi/pmic/
Dintel_pmic.c89 int raw_temp, temp; in pmic_read_temp() local
94 raw_temp = opregion->data->get_raw_temp(opregion->regmap, reg); in pmic_read_temp()
95 if (raw_temp < 0) in pmic_read_temp()
96 return raw_temp; in pmic_read_temp()
99 *value = raw_temp; in pmic_read_temp()
103 temp = acpi_lpat_raw_to_temp(opregion->lpat_table, raw_temp); in pmic_read_temp()
121 int raw_temp; in pmic_thermal_aux() local
130 raw_temp = acpi_lpat_temp_to_raw(opregion->lpat_table, *value); in pmic_thermal_aux()
131 if (raw_temp < 0) in pmic_thermal_aux()
132 return raw_temp; in pmic_thermal_aux()
[all …]
Dintel_pmic.h14 int (*update_aux)(struct regmap *r, int reg, int raw_temp);
/drivers/net/wireless/mediatek/mt7601u/
Dphy.c731 temp = (dev->raw_temp - dev->ee->ref_temp) * MT_EE_TEMPERATURE_SLOPE; in mt7601u_temp_comp()
821 dev->raw_temp = mt7601u_bbp_r47_get(dev, bbp_r47, BBP_R47_F_TEMP); in mt7601u_tssi_params_get()
870 p.tssi0, p.trgt_power, dev->raw_temp, pkt_type); in mt7601u_tssi_params_get()
1009 dev->raw_temp = mt7601u_read_temp(dev); in mt7601u_phy_calibrate()
1122 dev->raw_temp = mt7601u_read_bootup_temp(dev); in mt7601u_init_cal()
1123 dev->curr_temp = (dev->raw_temp - dev->ee->ref_temp) * in mt7601u_init_cal()
Ddebugfs.c163 debugfs_create_u8("temperature", S_IRUSR, dir, &dev->raw_temp); in mt7601u_init_debugfs()
Dmt7601u.h239 s8 raw_temp; member