Lines Matching refs:reg
77 int err, reg;
86 reg = TMP102_TEMP_REG;
89 reg = TMP102_TLOW_REG;
92 reg = TMP102_THIGH_REG;
98 err = regmap_read(tmp102->regmap, reg, ®val);
110 int reg;
114 reg = TMP102_TLOW_REG;
117 reg = TMP102_THIGH_REG;
124 return regmap_write(tmp102->regmap, reg, tmp102_mC_to_reg(temp));
170 static bool tmp102_is_writeable_reg(struct device *dev, unsigned int reg)
172 return reg != TMP102_TEMP_REG;
175 static bool tmp102_is_volatile_reg(struct device *dev, unsigned int reg)
177 return reg == TMP102_TEMP_REG;