Lines Matching refs:reg_cr0_val
107 u8 reg_cr0_val, reg_cr1_val; in max31856_init() local
113 ret = max31856_read(data, MAX31856_CR0_REG, ®_cr0_val, 1); in max31856_init()
117 reg_cr0_val &= ~MAX31856_CR0_AUTOCONVERT; in max31856_init()
118 ret = max31856_write(data, MAX31856_CR0_REG, reg_cr0_val); in max31856_init()
142 reg_cr0_val &= ~MAX31856_CR0_OCFAULT_MASK; in max31856_init()
143 reg_cr0_val |= MAX31856_CR0_OCFAULT; in max31856_init()
146 reg_cr0_val &= ~MAX31856_CR0_1SHOT; in max31856_init()
147 reg_cr0_val |= MAX31856_CR0_AUTOCONVERT; in max31856_init()
150 reg_cr0_val |= MAX31856_CR0_FILTER_50HZ; in max31856_init()
152 reg_cr0_val &= ~MAX31856_CR0_FILTER_50HZ; in max31856_init()
154 return max31856_write(data, MAX31856_CR0_REG, reg_cr0_val); in max31856_init()