/openbmc/phosphor-hwmon/ |
H A D | util.hpp | 29 inline bool isAverageEnvSet(const SensorSet::key_type& sensor) in isAverageEnvSet() argument 31 return env::getEnv("AVERAGE", sensor.first, sensor.second) == "true"; in isAverageEnvSet()
|
H A D | sensor.cpp | 24 namespace sensor namespace 31 Sensor::Sensor(const SensorSet::key_type& sensor, in Sensor() argument 34 _sensor(sensor), _ioAccess(ioAccess), _devPath(devPath), _scale(0), in Sensor() 37 auto chip = env::getEnv("GPIOCHIP", sensor); in Sensor() 38 auto access = env::getEnv("GPIO", sensor); in Sensor() 50 auto gain = env::getEnv("GAIN", sensor); in Sensor() 56 auto offset = env::getEnv("OFFSET", sensor); in Sensor() 61 auto senRmRCs = env::getEnv("REMOVERCS", sensor); in Sensor() 319 const std::string& type, const std::string& id, const std::string& sensor, in asyncRead() argument 332 ioAccess, type, id, sensor, retries, delay); in asyncRead()
|
/openbmc/openbmc-test-automation/redfish/systems/ |
H A D | test_sensor_monitoring.robot | 2 Documentation Test Redfish sensor monitoring. 21 [Documentation] Verify the redfish sensor monitoring according to the BMC 27 # Check sensor reading is not equal to null. 107 # sensor_info_list A list of a specified sensor info return by a redfish 110 # An example of a sensor redfish request: 169 # sensor_info_list A list of a specified sensor info return by a redfish 171 # reading_unit A string represents the reading value in sensor info 173 # different sensor unit of sensor info. 176 ${sensor}= Set Variable ${sensor_info['MemberId']} 191 # sensor_info_list A list of a specified sensor info return by a redfish [all …]
|
/openbmc/pldm/ |
H A D | meson.options | 180 'default-sensor-update-interval', 184 description: '''The default sensor polling interval in milliseconds. 186 in the PLDM sensor PDRs use `updateInterval` field. `pldmd` 187 will send `GetSensorReading` to get the PLDM sensor values 197 'sensor-polling-time', 201 description: '''The configured timeout in milliseconds of the common sensor 203 terminus sensor reading task. The task will check 204 whether the sensor in the terminus sensors list need to 205 be updated by comparing the sensor `updateInterval` with the 207 timestamp of the sensor. The task will send [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_hwmon.c | 30 igb_attr->sensor->location); in igb_hwmon_show_location() 44 value = igb_attr->sensor->temp; in igb_hwmon_show_temp() 58 unsigned int value = igb_attr->sensor->caution_thresh; in igb_hwmon_show_cautionthresh() 72 unsigned int value = igb_attr->sensor->max_op_thresh; in igb_hwmon_show_maxopthresh() 126 igb_attr->sensor = in igb_add_hwmon_attr() 127 &adapter->hw.mac.thermal_sensor_data.sensor[offset]; in igb_add_hwmon_attr() 182 if (adapter->hw.mac.thermal_sensor_data.sensor[i].location == 0) in igb_sysfs_init()
|
/openbmc/linux/drivers/media/usb/gspca/ |
H A D | vc032x.c | 31 u8 sensor; member 3147 int sensor; in sd_init() local 3165 sensor = sd->sensor; in sd_init() 3167 switch (sensor) { in sd_init() 3203 sd->sensor = sensor; in sd_init() 3210 switch (sensor) { in sd_init() 3290 switch (sd->sensor) { in sethvflip() 3335 switch (sd->sensor) { in setsharpness() 3456 switch (sd->sensor) { in sd_start() 3564 switch (sd->sensor) { in sd_start() [all …]
|
H A D | zc3xx.c | 6006 switch (sensor) { in send_unknown() 6297 int sensor; in zcxx_probeSensor() local 6307 if (sensor >= 0) in zcxx_probeSensor() 6308 return sensor; in zcxx_probeSensor() 6312 if (sensor >= 0) in zcxx_probeSensor() 6313 return sensor; in zcxx_probeSensor() 6474 if (sd->sensor == SENSOR_HV7131R || sd->sensor == SENSOR_OV7620) in sd_init_controls() 6484 int sensor; in sd_init() local 6508 if (sensor >= 0) in sd_init() 6533 sensor); in sd_init() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/ |
H A D | common.yaml | 18 When referenced from sensor tree bindings the properties defined in this 19 document are defined as follows. The sensor tree bindings are responsible for 27 device depends on parameters like sensor position, covering glass and 29 sensor readings this is the case. 33 sensor).
|
/openbmc/linux/Documentation/devicetree/bindings/thermal/ |
H A D | qcom,spmi-temp-alarm.yaml | 18 - $ref: thermal-sensor.yaml# 38 '#thermal-sensor-cells': 45 - '#thermal-sensor-cells' 57 pm8350_temp_alarm: temperature-sensor@a00 { 61 #thermal-sensor-cells = <0>;
|
H A D | qcom-tsens.yaml | 216 "#thermal-sensor-cells": 226 - "#thermal-sensor-cells" 303 tsens: thermal-sensor { 319 thermal-sensor@4a9000 { 343 #thermal-sensor-cells = <1>; 349 tsens1: thermal-sensor@4a9000 { 361 #thermal-sensor-cells = <1>; 367 tsens2: thermal-sensor@4a9000 { 379 #thermal-sensor-cells = <1>; 385 tsens3: thermal-sensor@c263000 { [all …]
|
H A D | brcm,ns-thermal.yaml | 13 Thermal sensor that is part of Northstar's DMU (Device Management Unit). 16 - $ref: thermal-sensor.yaml# 26 "#thermal-sensor-cells": 39 #thermal-sensor-cells = <0>;
|
H A D | brcm,avs-tmon.yaml | 15 - $ref: thermal-sensor.yaml# 37 "#thermal-sensor-cells": 45 - "#thermal-sensor-cells" 55 #thermal-sensor-cells = <0>;
|
/openbmc/telemetry/tests/src/ |
H A D | test_discrete_threshold.cpp | 60 for (auto& sensor : sensorMocks) in TEST_F() local 62 EXPECT_CALL(*sensor, in TEST_F() 132 size_t sensor; member 136 UpdateParams(size_t sensor, double value, in UpdateParams() 138 sensor(sensor), value(value), sleepAfter(sleepAfter) in UpdateParams() 144 size_t sensor; member 148 ExpectedParams(size_t sensor, double value, in ExpectedParams() 150 sensor(sensor), value(value), waitMin(waitMin) in ExpectedParams()
|
/openbmc/dbus-sensors/src/ |
H A D | HwmonTempMain.cpp | 434 auto& sensor = sensors[sensorName]; in createSensors() local 437 sensor = nullptr; in createSensors() 447 if (sensor != nullptr) in createSensors() 458 sensor->setupRead(); in createSensors() 503 auto& sensor = sensors[sensorName]; in createSensors() local 506 sensor = nullptr; in createSensors() 509 if (sensor != nullptr) in createSensors() 520 sensor->setupRead(); in createSensors() 589 for (auto& [path, sensor] : sensors) in powerStateChanged() 591 if (sensor != nullptr && sensor->readState == type) in powerStateChanged() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/chemical/ |
H A D | plantower,pms7003.yaml | 7 title: Plantower PMS7003 air pollution sensor 13 Air pollution sensor capable of measuring mass concentration of dust 27 description: regulator that provides power to the sensor 46 air-pollution-sensor {
|
/openbmc/linux/Documentation/hwmon/ |
H A D | sht3x.rst | 23 and temperature sensor. Temperature is measured in degrees celsius, relative 31 Even if sht3x sensor supports clock-strech(blocking mode) and non-strench 34 The sht3x sensor supports a single shot mode as well as 5 periodic measure 47 In the periodic measure mode, the sensor automatically triggers a measurement 50 the alert pin on the sensor is set to high. 52 values, the alert bit is set to 0 and the alert pin on the sensor is set to 74 sensor: 80 by the sensor, the next faster interval is chosen
|
H A D | lan966x.rst | 8 * Microchip LAN9668 (sensor in SoC) 22 temperature sensor as well as its fan controller. It provides one 23 temperature sensor and one fan controller. The temperature range 24 of the sensor is specified from -40 to +125 degrees Celsius and
|
H A D | hwmon-kernel-api.rst | 158 Supported sensor types are 164 hwmon_in Voltage sensor 165 hwmon_curr Current sensor 166 hwmon_power Power sensor 179 sensor chip. The chip has a single temperature sensor. The driver wants to 265 The sensor type. 272 The sensor channel number. 287 The sensor type. 294 The sensor channel number. 310 The sensor type. [all …]
|
/openbmc/openbmc/meta-quanta/meta-s6q/recipes-phosphor/dbus/chassis-intrusion-monitor/ |
H A D | config.yaml | 58 - start intrusion sensor 65 - stop intrusion sensor 83 - name: stop intrusion sensor 85 'Stop intrusion sensor.' 98 - name: start intrusion sensor 100 'Start intrusion sensor.'
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/fans/ |
H A D | phosphor-fan_git.bb | 15 PACKAGECONFIG ?= "presence control monitor sensor-monitor" 55 # ${PN}-sensor-monitor specific configuration 56 PACKAGECONFIG[sensor-monitor] = "-Dsensor-monitor-service=enabled,-Dsensor-monitor-service=disabled" 93 SYSTEMD_SERVICE:${PN}-sensor-monitor += "sensor-monitor.service" 94 SYSTEMD_LINK:${PN}-sensor-monitor += "../sensor-monitor.service:${MULTI_USR_TGT}.wants/sensor-monit… 117 FILES:${PN}-sensor-monitor += " ${bindir}/sensor-monitor" 130 ${PN}-sensor-monitor \
|
/openbmc/linux/drivers/hwmon/ |
H A D | ibmpex.c | 177 data->tx_msg_data[1] = sensor; in ibmpex_query_sensor_name() 192 data->tx_msg_data[1] = sensor; in ibmpex_query_sensor_data() 200 sensor); in ibmpex_query_sensor_data() 328 int counter, int sensor, int func) in create_sensor() argument 344 sysfs_attr_init(&data->sensors[sensor].attr[func].dev_attr.attr); in create_sensor() 345 data->sensors[sensor].attr[func].dev_attr.attr.name = n; in create_sensor() 346 data->sensors[sensor].attr[func].dev_attr.attr.mode = 0444; in create_sensor() 348 data->sensors[sensor].attr[func].index = sensor; in create_sensor() 349 data->sensors[sensor].attr[func].nr = func; in create_sensor() 352 &data->sensors[sensor].attr[func].dev_attr); in create_sensor() [all …]
|
/openbmc/phosphor-virtual-sensor/ |
H A D | meson.build | 2 'phosphor-virtual-sensor', 25 'virtual-sensor', 55 input: 'phosphor-virtual-sensor.service.in', 56 output: 'phosphor-virtual-sensor.service',
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/ |
H A D | phosphor-ipmi-sensor-inventory-mrw-native.bb | 1 SUMMARY = "sensor config for phosphor-host-ipmid" 14 phosphor-ipmi-sensor-config-native \ 15 phosphor-ipmi-sensor-inventory-mrw-config-native \ 19 PROVIDES += "virtual/phosphor-ipmi-sensor-inventory" 32 -o ${DEST}/sensor.yaml
|
/openbmc/linux/Documentation/devicetree/bindings/iio/temperature/ |
H A D | melexis,mlx90632.yaml | 7 title: Melexis MLX90632 contactless Infra Red temperature sensor 16 sensor and MLX90632 is most suitable for consumer applications where 23 Be aware that electronics surrounding the sensor can increase ambient 39 description: provide VDD power to the sensor. 53 temp-sensor@3a {
|
/openbmc/phosphor-pid-control/sensors/ |
H A D | builder.cpp | 161 auto sensor = std::make_unique<PluggableSensor>( in buildSensors() local 163 mgmr.addSensor(info->type, name, std::move(sensor)); in buildSensors() 181 auto sensor = HostSensor::createTemp( in buildSensors() local 184 mgmr.addSensor(info->type, name, std::move(sensor)); in buildSensors() 189 auto sensor = std::make_unique<PluggableSensor>( in buildSensors() local 191 mgmr.addSensor(info->type, name, std::move(sensor)); in buildSensors()
|