Home
last modified time | relevance | path

Searched refs:REG_CR2 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dmax31760.c16 #define REG_CR2 0x01 macro
200 ret = regmap_read(state->regmap, REG_CR2, &regval); in max31760_read()
285 return regmap_set_bits(state->regmap, REG_CR2, CR2_DFC); in max31760_write()
288 return regmap_clear_bits(state->regmap, REG_CR2, CR2_DFC); in max31760_write()
537 ret = regmap_set_bits(state->regmap, REG_CR2, CR2_ALERTS); in max31760_probe()
567 return regmap_set_bits(state->regmap, REG_CR2, CR2_STBY); in max31760_suspend()
574 return regmap_clear_bits(state->regmap, REG_CR2, CR2_STBY); in max31760_resume()
/openbmc/linux/arch/x86/um/shared/sysdep/
H A Dmcontext.h24 (fi).cr2 = (mc)->gregs[REG_CR2]; \