/qemu/hw/sensor/ |
H A D | tmp421.c | 2 * Texas Instruments TMP421 temperature sensor. 8 * Texas Instruments TMP105 temperature sensor. 57 int16_t temperature[4]; member 119 if (sscanf(name, "temperature%d", &tempid) != 1) { in tmp421_get_temperature() 129 value = ((s->temperature[tempid] - offset) * 1000 + 128) / 256; in tmp421_get_temperature() 134 /* Units are 0.001 centigrades relative to 0 C. s->temperature is 8.8 156 if (sscanf(name, "temperature%d", &tempid) != 1) { in tmp421_set_temperature() 166 s->temperature[tempid] = (int16_t) ((temp * 256 - 128) / 1000) + offset; in tmp421_set_temperature() 197 s->buf[s->len++] = (((uint16_t) s->temperature[0]) >> 8); in tmp421_read() 198 s->buf[s->len++] = (((uint16_t) s->temperature[0]) >> 0) & 0xf0; in tmp421_read() [all …]
|
H A D | tmp105.c | 2 * Texas Instruments TMP105 temperature sensor. 53 * temperature rises above T_high, and expect the guest to clear in tmp105_alarm_update() 57 if (s->temperature < s->limit[0]) { in tmp105_alarm_update() 62 if (s->temperature >= s->limit[1]) { in tmp105_alarm_update() 69 * TM == 0 : Comparator mode. We signal Alert when the temperature in tmp105_alarm_update() 70 * rises above T_high, and stop signalling it when the temperature in tmp105_alarm_update() 74 if (s->temperature < s->limit[0]) { in tmp105_alarm_update() 79 if (s->temperature >= s->limit[1]) { in tmp105_alarm_update() 93 int64_t value = s->temperature * 1000 / 256; in tmp105_get_temperature() 99 * Units are 0.001 centigrades relative to 0 C. s->temperature is 8.8 [all …]
|
H A D | lsm303dlhc_mag.c | 20 * Get and set functions for 'temperature' assume that 1 = 0.001 C, so 23.6 C 66 int16_t temperature; member 188 * Get handler for the temperature property. 197 /* Convert to 1 lsb = 0.125 C to 1 = 0.001 C for 'temperature' property. */ in lsm303dlhc_mag_get_temperature() 198 value = s->temperature * 125; in lsm303dlhc_mag_get_temperature() 204 * Set handler for the temperature property. 217 /* Input temperature is in 0.001 C units. Convert to 1 lsb = 0.125 C. */ in lsm303dlhc_mag_set_temperature() 225 s->temperature = (int16_t)value; in lsm303dlhc_mag_set_temperature() 241 * that 'mag-x', 'mag-y', 'mag-z' and 'temperature' can continue to be in lsm303dlhc_mag_read() 247 s->temperature_lock = s->temperature; in lsm303dlhc_mag_read() [all …]
|
H A D | max34451.c | 114 | 16 | Internal temperature sensor. | 116 | 17 | External DS75LV temperature sensor with I2C address 90h. | 118 | 18 | External DS75LV temperature sensor with I2C address 92h. | 120 | 19 | External DS75LV temperature sensor with I2C address 94h. | 122 | 20 | External DS75LV temperature sensor with I2C address 96h. | 736 * get and set the temperature of the internal temperature sensor in in max34451_init() 740 object_property_add(obj, "temperature[*]", "uint16", in max34451_init()
|
H A D | max31785.c | 116 * | 12 | Internal Temperature Sensor | 118 * | 13 | Remote I2C Temperature Sensor with Address 0 | 120 * | 14 | Remote I2C Temperature Sensor with Address 1 | 122 * | 15 | Remote I2C Temperature Sensor with Address 2 | 124 * | 16 | Remote I2C Temperature Sensor with Address 3 | 126 * | 17 | Remote I2C Temperature Sensor with Address 4 |
|
H A D | emc141x.c | 2 * SMSC EMC141X temperature sensor. 61 if (sscanf(name, "temperature%u", &tempid) != 1) { in OBJECT_DECLARE_TYPE() 88 if (sscanf(name, "temperature%u", &tempid) != 1) { in emc141x_set_temperature()
|
H A D | dps310.c | 5 * Infineon DPS310 temperature and humidity sensor
|
/qemu/include/hw/sensor/ |
H A D | tmp105_regs.h | 2 * Texas Instruments TMP105 Temperature Sensor I2C messages 20 * @TMP105_REG_TEMPERATURE: Temperature register 22 * @TMP105_REG_T_LOW: Low temperature register (also known as T_hyst) 23 * @TMP105_REG_T_HIGH: High temperature register (also known as T_OS) 25 * The following temperature sensors are
|
H A D | tmp105.h | 2 * Texas Instruments TMP105 Temperature Sensor 27 * temperature. See Table 8 in the data sheet. 42 int16_t temperature; member 47 * The TMP105 initially looks for a temperature rising above T_high; 49 * temperature falling below T_low. This flag is false when initially
|
H A D | emc141x_regs.h | 2 * SMSC EMC141X temperature sensor.
|
/qemu/tests/qtest/ |
H A D | lsm303dlhc-mag-test.c | 77 /* Set temperature to 23.6 C and verify the value */ in send_and_receive() 79 "temperature", 23600); in send_and_receive() 81 LSM303DLHC_MAG_TEST_ID, "temperature"); in send_and_receive() 97 /* Read raw temperature registers with temp disabled (CRA = 0x10) */ in send_and_receive() 101 /* Enable temperature reads (CRA = 0x90) */ in send_and_receive()
|
H A D | max34451-test.c | 93 /* Default temperatures and temperature fault limits */ in test_defaults() 95 path = g_strdup_printf("temperature[%d]", i); in test_defaults() 100 /* Temperature sensors start on page 16 */ in test_defaults() 146 /* Test setting temperature */ 154 path = g_strdup_printf("temperature[%d]", i); in test_temperature() 163 /* temperature[0] is on page 16 */ in test_temperature() 297 /* test over temperature faults */ 306 path = g_strdup_printf("temperature[%d]", i); in test_ot_faults()
|
H A D | tmp105-test.c | 2 * QTest testcase for the TMP105 temperature sensor 27 "'property': 'temperature' } }", id); in qmp_tmp105_get_temperature() 39 "'property': 'temperature', 'value': %d } }", id, value); in qmp_tmp105_set_temperature()
|
H A D | emc141x-test.c | 2 * QTest testcase for the EMC141X temperature sensor
|
/qemu/hw/arm/ |
H A D | npcm7xx_boards.c | 199 /* lm75 temperature sensor on SVB, tmp105 is compatible */ in npcm750_evb_i2c_init() 201 /* lm75 temperature sensor on EB, tmp105 is compatible */ in npcm750_evb_i2c_init() 203 /* tmp100 temperature sensor on EB, tmp105 is compatible */ in npcm750_evb_i2c_init() 205 /* tmp100 temperature sensor on SVB, tmp105 is compatible */ in npcm750_evb_i2c_init() 235 /* GSJ machine have 4 max31725 temperature sensors, tmp105 is compatible. */ in quanta_gsj_i2c_init()
|
/qemu/tests/functional/ |
H A D | test_arm_aspeed_ast2600.py | 44 property='temperature', value=18000) 128 property='temperature', value=18000)
|
H A D | test_arm_aspeed_ast2500.py | 34 property='temperature', value=18000)
|
H A D | test_aarch64_aspeed_ast2700fc.py | 48 property='temperature', value=18000)
|
H A D | test_aarch64_aspeed_ast2700.py | 64 property='temperature', value=18000)
|
/qemu/hw/mem/ |
H A D | cxl_type3_stubs.c | 46 int16_t temperature, in qmp_cxl_inject_memory_module_event() argument
|
/qemu/hw/misc/ |
H A D | bcm2835_thermal.c | 50 /* Temperature is constantly 25°C. */ in bcm2835_thermal_read()
|
/qemu/qapi/ |
H A D | cxl.json | 173 # @temperature: Device temperature in degrees Celsius. 190 'life-used': 'uint8', 'temperature' : 'int16',
|
/qemu/include/hw/cxl/ |
H A D | cxl_events.h | 162 int16_t temperature; member
|
/qemu/docs/system/arm/ |
H A D | nuvoton.rst | 88 * Temperature sensor interface (8XX only)
|
/qemu/hw/ufs/ |
H A D | ufs.h | 150 uint8_t temperature; member
|