Lines Matching refs:value
74 void ChassisIntrusionSensor::updateValue(const size_t& value) in updateValue() argument
76 std::string newValue = value != 0 ? hwIntrusionValStr : normalValStr; in updateValue()
129 int32_t value = i2c_smbus_read_byte_data(mBusFd, statusReg); in readSensor() local
132 std::cout << "Pch type: raw value is " << value << "\n"; in readSensor()
135 if (value < 0) in readSensor()
142 value &= statusMask; in readSensor()
146 std::cout << "Pch type: masked raw value is " << value << "\n"; in readSensor()
148 return value; in readSensor()
173 int value = self->readSensor(); in pollSensorStatus() local
174 if (value < 0) in pollSensorStatus()
181 self->updateValue(value); in pollSensorStatus()
192 auto value = mGpioLine.get_value(); in readSensor() local
195 std::cout << "Gpio type: raw value is " << value << "\n"; in readSensor()
197 return value; in readSensor()
217 int value = readSensor(); in pollSensorStatus() local
218 if (value >= 0) in pollSensorStatus()
220 updateValue(value); in pollSensorStatus()
230 int value = 0; in readSensor() local
248 value = std::stoi(line); in readSensor()
251 std::cout << "Hwmon type: raw value is " << value << "\n"; in readSensor()
264 return value; in readSensor()
289 int value = self->readSensor(); in pollSensorStatus() local
290 if (value < 0) in pollSensorStatus()
297 self->updateValue(value); in pollSensorStatus()