Searched refs:raw_temp (Results 1 - 10 of 10) sorted by relevance
/linux-master/drivers/acpi/pmic/ |
H A D | intel_pmic.c | 84 int raw_temp, temp; local 89 raw_temp = opregion->data->get_raw_temp(opregion->regmap, reg); 90 if (raw_temp < 0) 91 return raw_temp; 94 *value = raw_temp; 98 temp = opregion->data->lpat_raw_to_temp(opregion->lpat_table, raw_temp); 116 int raw_temp; local 125 raw_temp = acpi_lpat_temp_to_raw(opregion->lpat_table, *value); 126 if (raw_temp < 0) 127 return raw_temp; [all...] |
H A D | intel_pmic.h | 17 int (*update_aux)(struct regmap *r, int reg, int raw_temp);
|
/linux-master/drivers/iio/pressure/ |
H A D | icp10100.c | 275 uint32_t raw_pressure, uint16_t raw_temp) 289 raw_pressure, raw_temp); 292 t = (int32_t)raw_temp - 32768; 342 uint16_t raw_temp; local 350 ret = icp10100_get_measures(st, &raw_pressure, &raw_temp); 357 raw_temp); 364 *val = raw_temp; 274 icp10100_get_pressure(struct icp10100_state *st, uint32_t raw_pressure, uint16_t raw_temp) argument
|
H A D | bmp280-core.c | 1379 s32 raw_temp; local 1389 raw_temp = get_unaligned_le24(data->buf); 1390 if (raw_temp == BMP580_TEMP_SKIPPED) { 1400 *val = raw_temp * 1000;
|
/linux-master/drivers/hwmon/ |
H A D | axi-fan-control.c | 154 long raw_temp; local 158 raw_temp = axi_ioread(ADI_REG_TEMPERATURE, ctl); 165 *val = ((raw_temp * 501374) >> 16) - 273677;
|
/linux-master/drivers/net/wireless/mediatek/mt7601u/ |
H A D | debugfs.c | 131 debugfs_create_u8("temperature", 0400, dir, &dev->raw_temp);
|
H A D | phy.c | 726 temp = (dev->raw_temp - dev->ee->ref_temp) * MT_EE_TEMPERATURE_SLOPE; 817 dev->raw_temp = mt7601u_bbp_r47_get(dev, bbp_r47, BBP_R47_F_TEMP); 866 p.tssi0, p.trgt_power, dev->raw_temp, pkt_type); 1011 dev->raw_temp = mt7601u_read_temp(dev); 1127 dev->raw_temp = mt7601u_read_bootup_temp(dev); 1128 dev->curr_temp = (dev->raw_temp - dev->ee->ref_temp) *
|
H A D | mt7601u.h | 235 s8 raw_temp; member in struct:mt7601u_dev
|
/linux-master/drivers/thermal/mediatek/ |
H A D | lvts_thermal.c | 268 static int lvts_raw_to_temp(u32 raw_temp, int temp_factor) argument 272 temperature = ((s64)(raw_temp & 0xFFFF) * temp_factor) >> 14; 280 u32 raw_temp = ((s64)(golden_temp_offset - temperature)) << 14; local 282 raw_temp = div_s64(raw_temp, -temp_factor); 284 return raw_temp;
|
/linux-master/drivers/iio/accel/ |
H A D | bma400_core.c | 417 unsigned int raw_temp; local 424 ret = regmap_read(data->regmap, BMA400_TEMP_DATA_REG, &raw_temp); 428 host_temp = sign_extend32(raw_temp, 7);
|
Completed in 169 milliseconds