Lines Matching refs:reg
185 MPL3115A2::getPressureReg(int reg) { in getPressureReg() argument
186 return ((i2cReadReg_16(reg) << 8)|(uint32_t)i2cReadReg_8(reg+2))*100/64; in getPressureReg()
190 MPL3115A2::getTempReg(int reg) { in getTempReg() argument
191 return (int32_t)((int16_t)i2cReadReg_16(reg)) * 1000 / 256; in getTempReg()
298 MPL3115A2::i2cWriteReg (uint8_t reg, uint8_t value) { in i2cWriteReg() argument
301 uint8_t data[2] = { reg, value }; in i2cWriteReg()
312 MPL3115A2::i2cReadReg_16 (int reg) { in i2cReadReg_16() argument
316 data = (uint16_t)m_i2ControlCtx.readReg(reg) << 8; in i2cReadReg_16()
317 data |= (uint16_t)m_i2ControlCtx.readReg(reg+1); in i2cReadReg_16()
323 MPL3115A2::i2cReadReg_8 (int reg) { in i2cReadReg_8() argument
325 return m_i2ControlCtx.readReg(reg); in i2cReadReg_8()