Home
last modified time | relevance | path

Searched full:sensor (Results 1 – 25 of 48) sorted by relevance

12

/qemu/hw/sensor/
H A Demc141x.c2 * SMSC EMC141X temperature sensor.
28 #include "hw/sensor/emc141x_regs.h"
38 } sensor[SENSORS_COUNT_MAX]; member
71 value = s->sensor[tempid].raw_temp_current * 1000; in OBJECT_DECLARE_TYPE()
98 s->sensor[tempid].raw_temp_current = temp / 1000; in emc141x_set_temperature()
115 s->data = s->sensor[0].raw_temp_current; in emc141x_read()
118 s->data = s->sensor[1].raw_temp_current; in emc141x_read()
121 s->data = s->sensor[2].raw_temp_current; in emc141x_read()
124 s->data = s->sensor[3].raw_temp_current; in emc141x_read()
127 s->data = s->sensor[0].raw_temp_max; in emc141x_read()
[all …]
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 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()
H A Ddps310.c5 * Infineon DPS310 temperature and humidity sensor
7 * https://www.infineon.com/cms/en/product/sensor/pressure-sensors/pressure-sensors-for-iot/dps310/
H A Dtmp105.c2 * Texas Instruments TMP105 temperature sensor.
25 #include "hw/sensor/tmp105.h"
H A Dtmp421.c2 * Texas Instruments TMP421 temperature sensor.
8 * Texas Instruments TMP105 temperature sensor.
/qemu/docs/specs/
H A Dppc-spapr-hotplug.rst157 Set the state of an indicator or sensor.
159 ``arg[0]``: integer identifying sensor/indicator type.
161 ``arg[1]``: index of sensor, for DR-related sensors this is generally the DRC
164 ``arg[2]``: desired sensor value.
168 For the purpose of this document we focus on the indicator/sensor types
172 made accessible to a guest. Supported sensor values:
179 device. Supported sensor values:
193 hot plug/unplug) the pre-allocation of the resource is implied and this sensor
194 is unused. Supported sensor values:
208 ``rtas-get-sensor-state:``
[all …]
/qemu/hw/ppc/
H A Dpnv_bmc.c109 name = g_strdup_printf("sensor@%x", sdr->sensor_owner_number); in pnv_dt_bmc_sensors()
115 _FDT((fdt_setprop_string(fdt, off, "name", "sensor"))); in pnv_dt_bmc_sensors()
116 _FDT((fdt_setprop_string(fdt, off, "compatible", "ibm,ipmi-sensor"))); in pnv_dt_bmc_sensors()
117 _FDT((fdt_setprop_cell(fdt, off, "ipmi-sensor-reading-type", in pnv_dt_bmc_sensors()
123 _FDT((fdt_setprop_cell(fdt, off, "ipmi-sensor-type", in pnv_dt_bmc_sensors()
H A Dtrace-events66 spapr_rtas_get_sensor_state_not_supported(uint32_t index, uint32_t type) "sensor index: 0x%"PRIx32"…
67 spapr_rtas_get_sensor_state_invalid(uint32_t index) "sensor index: 0x%"PRIx32
/qemu/include/hw/sensor/
H A Dtmp105.h2 * Texas Instruments TMP105 Temperature Sensor
18 #include "hw/sensor/tmp105_regs.h"
H A Demc141x_regs.h2 * SMSC EMC141X temperature sensor.
H A Dtmp105_regs.h2 * Texas Instruments TMP105 Temperature Sensor I2C messages
/qemu/tests/qtest/
H A Demc141x-test.c2 * QTest testcase for the EMC141X temperature sensor
14 #include "hw/sensor/emc141x_regs.h"
H A Dtmp105-test.c2 * QTest testcase for the TMP105 temperature sensor
16 #include "hw/sensor/tmp105_regs.h"
H A Dbcm2835-i2c-test.c31 #include "hw/sensor/tmp105_regs.h"
/qemu/hw/ipmi/
H A Dipmi_bmc_sim.c514 static void sensor_set_discrete_bit(IPMIBmcSim *ibs, unsigned int sensor, in sensor_set_discrete_bit() argument
522 if (sensor >= MAX_SENSORS) { in sensor_set_discrete_bit()
530 sens = ibs->sensors + sensor; in sensor_set_discrete_bit()
539 gen_event(ibs, sensor, 0, evd1, evd2, evd3); in sensor_set_discrete_bit()
549 gen_event(ibs, sensor, 1, evd1, evd2, evd3); in sensor_set_discrete_bit()
573 continue; /* Not a sensor SDR we set from */ in ipmi_init_sensors_from_sdrs()
846 rsp_buffer_push(rsp, 0x07); /* sensor, SDR, and SEL. */ in get_device_id()
1651 event[10] = cmd[4]; /* Sensor type */ in platform_event_msg()
1652 event[11] = cmd[5]; /* Sensor number */ in platform_event_msg()
1828 * 1 sensor number
[all …]
/qemu/include/hw/misc/
H A Dbcm2835_thermal.h2 * BCM2835 dummy thermal 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()
H A Daspeed_ast27x0-fc.c111 * AST2700 EVB has a LM75 temperature sensor on I2C bus 0 at address 0x4d. in ast2700fc_ca35_init()
/qemu/hw/
H A Dmeson.build33 subdir('sensor') subdir
H A DKconfig35 source sensor/Kconfig
/qemu/include/hw/i2c/
H A Dpmbus_device.h458 * Convert sensor values to direct mode format
467 * Convert direct mode formatted data into sensor reading
476 * Convert sensor values to linear mode format
485 * Convert linear mode formatted data into sensor reading
542 * Update the status registers when sensor values change.
/qemu/docs/system/arm/
H A Draspi.rst33 * SoC thermal sensor
H A Dnuvoton.rst88 * Temperature sensor interface (8XX only)
/qemu/hw/misc/
H A Dbcm2835_thermal.c2 * BCM2835 dummy thermal sensor

12