/dports/benchmarks/phoronix-test-suite/phoronix-test-suite-10.6.1/pts-core/objects/phodevi/sensors/ |
H A D | cpu_temp.php | 110 …$raw_temp = phodevi_linux_parser::read_sysfs_node('/sys/class/hwmon/hwmon*/temp*_input', 'POSITIVE… 112 if($raw_temp == -1) 114 …$raw_temp = phodevi_linux_parser::read_sysfs_node('/sys/class/hwmon/hwmon*/temp*_input', 'POSITIVE… 117 if($raw_temp == -1) 122 if($raw_temp == -1) 128 if($raw_temp == -1) 131 …$raw_temp = phodevi_linux_parser::read_sysfs_node('/sys/class/thermal/thermal_zone*/temp', 'POSITI… 134 if($raw_temp != -1) 136 if($raw_temp > 1000) 138 $raw_temp = $raw_temp / 1000; [all …]
|
H A D | sys_temp.php | 50 …$raw_temp = phodevi_linux_parser::read_sysfs_node('/sys/class/hwmon/hwmon*/device/temp3_input', 'P… 52 if($raw_temp == -1) 54 …$raw_temp = phodevi_linux_parser::read_sysfs_node('/sys/class/hwmon/hwmon*/device/temp2_input', 'P… 57 if($raw_temp == -1) 59 …$raw_temp = phodevi_linux_parser::read_sysfs_node('/sys/class/hwmon/hwmon*/device/temp1_input', 'P… 62 if($raw_temp == -1) 67 if($raw_temp != -1) 69 if($raw_temp > 1000) 71 $raw_temp = $raw_temp / 1000; 74 $temp_c = pts_math::set_precision($raw_temp, 2);
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/acpi/pmic/ |
H A D | intel_pmic.c | 84 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 …]
|
H A D | intel_pmic.h | 15 int (*update_aux)(struct regmap *r, int reg, int raw_temp);
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/acpi/pmic/ |
H A D | intel_pmic.c | 84 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 …]
|
H A D | intel_pmic.h | 15 int (*update_aux)(struct regmap *r, int reg, int raw_temp);
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/acpi/pmic/ |
H A D | intel_pmic.c | 84 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 …]
|
H A D | intel_pmic.h | 15 int (*update_aux)(struct regmap *r, int reg, int raw_temp);
|
/dports/comms/rtl-433/rtl_433-21.12/src/devices/ |
H A D | lacrosse_breezepro.c | 92 int raw_temp, humidity, raw_speed, direction; in lacrosse_breezepro_decode() local 130 raw_temp = b[4] << 4 | ((b[5] & 0xf0) >> 4); in lacrosse_breezepro_decode() 136 temp_c = (raw_temp - 400) * 0.1f; in lacrosse_breezepro_decode()
|
H A D | lacrosse_th3.c | 74 int raw_temp, humidity; in lacrosse_th_decode() local 130 raw_temp = b[4] << 4 | ((b[5] & 0xf0) >> 4); in lacrosse_th_decode() 134 temp_c = (raw_temp - 400) * 0.1f; in lacrosse_th_decode()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/iio/pressure/ |
H A D | icp10100.c | 273 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()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/iio/pressure/ |
H A D | icp10100.c | 273 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()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/iio/pressure/ |
H A D | icp10100.c | 273 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()
|
/dports/lang/micropython/micropython-1.17/ports/nrf/modules/machine/ |
H A D | temp.c | 86 int32_t raw_temp = nrfx_temp_result_get(); in temp_read() local 87 int32_t temp_c = nrfx_temp_calculate(raw_temp); in temp_read()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/hwmon/ |
H A D | axi-fan-control.c | 111 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()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/hwmon/ |
H A D | axi-fan-control.c | 111 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()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/hwmon/ |
H A D | axi-fan-control.c | 111 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()
|
/dports/devel/indi/indi-1.9.1/drivers/focuser/ |
H A D | microtouch.cpp | 168 double raw_temp = 0, raw_coeff = 0, tcomp_coeff = 0; in updateTemperature() local 173 raw_temp = ((double)ttemp) / 16; in updateTemperature() 183 TemperatureN[0].value = raw_temp + raw_coeff; in updateTemperature()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/mediatek/mt7601u/ |
H A 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() 1124 dev->raw_temp = mt7601u_read_bootup_temp(dev); in mt7601u_init_cal() 1125 dev->curr_temp = (dev->raw_temp - dev->ee->ref_temp) * in mt7601u_init_cal()
|
H A D | debugfs.c | 133 debugfs_create_u8("temperature", 0400, dir, &dev->raw_temp); in mt7601u_init_debugfs()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/mediatek/mt7601u/ |
H A 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() 1124 dev->raw_temp = mt7601u_read_bootup_temp(dev); in mt7601u_init_cal() 1125 dev->curr_temp = (dev->raw_temp - dev->ee->ref_temp) * in mt7601u_init_cal()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/mediatek/mt7601u/ |
H A 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() 1124 dev->raw_temp = mt7601u_read_bootup_temp(dev); in mt7601u_init_cal() 1125 dev->curr_temp = (dev->raw_temp - dev->ee->ref_temp) * in mt7601u_init_cal()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/iio/accel/ |
H A D | bma400_core.c | 182 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()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/iio/accel/ |
H A D | bma400_core.c | 182 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()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/iio/accel/ |
H A D | bma400_core.c | 182 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()
|