Home
last modified time | relevance | path

Searched full:temperature (Results 1 – 25 of 42) sorted by relevance

12

/qemu/hw/sensor/
H A Dtmp421.c2 * 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 Dtmp105.c2 * 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 Dlsm303dlhc_mag.c20 * 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 Dmax34451.c114 | 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 Dmax31785.c116 * | 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 Demc141x.c2 * 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 Ddps310.c5 * Infineon DPS310 temperature and humidity sensor
/qemu/include/hw/sensor/
H A Dtmp105_regs.h2 * 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 Dtmp105.h2 * 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 Demc141x_regs.h2 * SMSC EMC141X temperature sensor.
/qemu/tests/qtest/
H A Dlsm303dlhc-mag-test.c77 /* 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 Dmax34451-test.c93 /* 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 Dtmp105-test.c2 * 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 Demc141x-test.c2 * QTest testcase for the EMC141X temperature sensor
/qemu/hw/arm/
H A Dnpcm7xx_boards.c199 /* 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 Dtest_arm_aspeed_ast2600.py44 property='temperature', value=18000)
128 property='temperature', value=18000)
H A Dtest_arm_aspeed_ast2500.py34 property='temperature', value=18000)
H A Dtest_aarch64_aspeed_ast2700fc.py48 property='temperature', value=18000)
H A Dtest_aarch64_aspeed_ast2700.py64 property='temperature', value=18000)
/qemu/hw/mem/
H A Dcxl_type3_stubs.c46 int16_t temperature, in qmp_cxl_inject_memory_module_event() argument
/qemu/hw/misc/
H A Dbcm2835_thermal.c50 /* Temperature is constantly 25°C. */ in bcm2835_thermal_read()
/qemu/qapi/
H A Dcxl.json173 # @temperature: Device temperature in degrees Celsius.
190 'life-used': 'uint8', 'temperature' : 'int16',
/qemu/include/hw/cxl/
H A Dcxl_events.h162 int16_t temperature; member
/qemu/docs/system/arm/
H A Dnuvoton.rst88 * Temperature sensor interface (8XX only)
/qemu/hw/ufs/
H A Dufs.h150 uint8_t temperature; member

12