Searched refs:mBusFd (Results 1 – 2 of 2) sorted by relevance
129 int32_t value = i2c_smbus_read_byte_data(mBusFd, statusReg); in readSensor()386 mBusFd = open(devPath.c_str(), O_RDWR | O_CLOEXEC); in ChassisIntrusionPchSensor()387 if (mBusFd < 0) in ChassisIntrusionPchSensor()393 if (ioctl(mBusFd, I2C_SLAVE_FORCE, mSlaveAddr) < 0) in ChassisIntrusionPchSensor()401 if (ioctl(mBusFd, I2C_FUNCS, &funcs) < 0) in ChassisIntrusionPchSensor()482 if (close(mBusFd) < 0) in ~ChassisIntrusionPchSensor()484 std::cerr << "Failed to close fd " << std::to_string(mBusFd); in ~ChassisIntrusionPchSensor()
53 int mBusFd{-1}; member in ChassisIntrusionPchSensor