Home
last modified time | relevance | path

Searched defs:sensor (Results 1 – 25 of 158) sorted by relevance

1234567

/openbmc/linux/drivers/media/i2c/ccs/
Dccs-quirk.c
/openbmc/phosphor-fan-presence/monitor/
H A Dfan.cpp86 for (auto& sensor : _sensors) in Fan() local
180 std::for_each(_sensors.begin(), _sensors.end(), [this](auto& sensor) { in startMonitor()
230 void Fan::tachChanged(TachSensor& sensor) in tachChanged()
254 void Fan::countTimerExpired(TachSensor& sensor) in countTimerExpired()
263 void Fan::process(TachSensor& sensor) in process()
354 bool Fan::outOfRange(const TachSensor& sensor) in outOfRange()
368 void Fan::updateState(TachSensor& sensor) in updateState()
482 std::for_each(_sensors.begin(), _sensors.end(), [](auto& sensor) { in presenceChanged()
505 void Fan::sensorErrorTimerExpired(const TachSensor& sensor) in sensorErrorTimerExpired()
522 std::for_each(_sensors.begin(), _sensors.end(), [this](auto& sensor) { in powerStateChanged()
[all …]
H A Dtrust_group.hpp19 std::shared_ptr<monitor::TachSensor> sensor; member
67 void registerSensor(std::shared_ptr<monitor::TachSensor>& sensor) in registerSensor()
89 bool inGroup(const monitor::TachSensor& sensor) in inGroup()
139 auto checkTrust(const monitor::TachSensor& sensor) in checkTrust()
H A Dsystem.cpp141 for (const auto& sensor : fan->sensors()) in subscribeSensorsToServices() local
160 for (const auto& sensor : fan->sensors()) in subscribeSensorsToServices() local
314 for (auto& sensor : sensorItr->second) in tachSignalOffline() local
325 for (const auto& sensor : fan.sensors()) in updateFanHealth() local
425 void System::sensorErrorTimerExpired(const Fan& fan, const TachSensor& sensor) in sensorErrorTimerExpired()
505 for (const auto& sensor : fan->sensors()) in captureSensorData() local
H A Dtrust_manager.hpp84 bool checkTrust(const monitor::TachSensor& sensor) in checkTrust()
122 void registerSensor(std::shared_ptr<monitor::TachSensor>& sensor) in registerSensor()
/openbmc/linux/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_shub.c
/openbmc/telemetry/src/
H A Don_change_threshold.cpp15 for (auto& sensor : sensors) in initialize() local
26 for (const auto& sensor : newSensors) in updateSensors() local
45 for (auto& sensor : oldSensors) in updateSensors() local
54 void OnChangeThreshold::sensorUpdated(interfaces::Sensor& sensor, in sensorUpdated()
H A Dmetric.cpp42 for (const auto& sensor : sensors) in initialize() local
50 for (const auto& sensor : sensors) in deinitialize() local
112 [&notifier](const auto& sensor) { return sensor.get() == &notifier; }); in findAssociatedData()
119 auto sensorPath = utils::transform(sensors, [](const auto& sensor) { in dumpConfiguration()
H A Ddiscrete_threshold.cpp21 for (const auto& sensor : sensorsIn) in DiscreteThreshold() local
38 const interfaces::Sensor& sensor) in getDetails()
49 void DiscreteThreshold::sensorUpdated(interfaces::Sensor& sensor, in sensorUpdated()
H A Dnumeric_threshold.cpp16 for (const auto& sensor : sensorsIn) in NumericThreshold() local
33 const interfaces::Sensor& sensor) in getDetails()
44 void NumericThreshold::sensorUpdated(interfaces::Sensor& sensor, in sensorUpdated()
/openbmc/linux/drivers/input/rmi4/
Drmi_2d_sensor.c
/openbmc/linux/drivers/hwmon/
Dscmi-hwmon.c
Dscpi-hwmon.c
/openbmc/dbus-sensors/src/nvme/
H A DNVMeContext.hpp35 void addSensor(const std::shared_ptr<NVMeSensor>& sensor) in addSensor()
43 for (auto& sensor : sensors) in getSensorAtPath() local
56 void removeSensor(const std::shared_ptr<NVMeSensor>& sensor) in removeSensor()
/openbmc/phosphor-pid-control/sensors/
H A Dbuilder.cpp160 auto sensor = std::make_unique<PluggableSensor>( in buildSensors() local
181 auto sensor = HostSensor::createTemp( in buildSensors() local
189 auto sensor = std::make_unique<PluggableSensor>( in buildSensors() local
/openbmc/phosphor-hwmon/
H A Denv.hpp58 inline std::string getEnv(const char* prefix, const SensorSet::key_type& sensor, in getEnv()
83 SensorSet::key_type sensor{type, id}; in getEnv() local
98 const SensorSet::key_type& sensor) in getIndirectID()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/
Dbase.c
/openbmc/linux/drivers/thermal/
Dthermal_mmio.c
/openbmc/phosphor-hwmon/test/
H A Dsensor_unittest.cpp65 auto sensor = in TEST_F() local
102 auto sensor = in TEST_F() local
129 auto sensor = in TEST_F() local
/openbmc/ipmitool/lib/
H A Dipmi_sensor.c56 struct sdr_record_full_sensor * sensor, in ipmi_sensor_get_sensor_reading_factors()
107 uint8_t sensor, in ipmi_sensor_set_sensor_thresholds()
160 struct sdr_record_common_sensor *sensor, in ipmi_sensor_print_fc_discrete()
247 struct sdr_record_common_sensor *sensor, in ipmi_sensor_print_fc_threshold()
408 struct sdr_record_common_sensor *sensor, in ipmi_sensor_print_fc()
833 struct sdr_record_common_sensor *sensor = sdr->record.common; in ipmi_sensor_get_reading() local
H A Dipmi_sdr.c185 sdr_convert_sensor_reading(struct sdr_record_full_sensor *sensor, uint8_t val) in sdr_convert_sensor_reading()
267 sdr_convert_sensor_hysterisis(struct sdr_record_full_sensor *sensor, uint8_t val) in sdr_convert_sensor_hysterisis()
342 sdr_convert_sensor_tolerance(struct sdr_record_full_sensor *sensor, uint8_t val) in sdr_convert_sensor_tolerance()
416 sdr_convert_sensor_value_to_raw(struct sdr_record_full_sensor * sensor, in sdr_convert_sensor_value_to_raw()
454 ipmi_sdr_get_sensor_thresholds(struct ipmi_intf *intf, uint8_t sensor, in ipmi_sdr_get_sensor_thresholds()
497 ipmi_sdr_get_sensor_hysteresis(struct ipmi_intf *intf, uint8_t sensor, in ipmi_sdr_get_sensor_hysteresis()
541 ipmi_sdr_get_sensor_reading(struct ipmi_intf *intf, uint8_t sensor) in ipmi_sdr_get_sensor_reading()
566 ipmi_sdr_get_sensor_reading_ipmb(struct ipmi_intf *intf, uint8_t sensor, in ipmi_sdr_get_sensor_reading_ipmb()
613 ipmi_sdr_get_sensor_event_status(struct ipmi_intf *intf, uint8_t sensor, in ipmi_sdr_get_sensor_event_status()
655 ipmi_sdr_get_sensor_event_enable(struct ipmi_intf *intf, uint8_t sensor, in ipmi_sdr_get_sensor_event_enable()
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Danyof.cpp43 for (auto& sensor : s) in AnyOf() local
60 void AnyOf::stateChanged(bool present, PresenceSensor& sensor) in stateChanged()
114 auto& sensor = std::get<sensorPos>(s); in monitor() local
/openbmc/linux/drivers/comedi/drivers/
Djr3_pci.c
/openbmc/entity-manager/test/
H A Dtest_gpio_presence.cpp32 gpio_presence::GPIOPresenceManager sensor(ctx); in TEST() local
60 gpio_presence::GPIOPresenceManager sensor(ctx); in testDevicePresentDbus() local
105 gpio_presence::GPIOPresenceManager sensor(ctx); in testDevicePresentThenDisappearDbus() local
/openbmc/dbus-sensors/src/
H A DThresholds.cpp211 void updateThresholds(Sensor* sensor) in updateThresholds()
254 static std::vector<ChangeParam> checkThresholds(Sensor* sensor, double value) in checkThresholds()
396 bool checkThresholds(Sensor* sensor) in checkThresholds()
423 Sensor* sensor = sensorPtr.get(); in checkThresholdsPowerDelay() local
453 void assertThresholds(Sensor* sensor, double assertValue, in assertThresholds()

1234567