Home
last modified time | relevance | path

Searched full:fault_log (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/mfd/
H A Dda9063-core.c116 int fault_log = 0; in da9063_clear_fault_log() local
118 ret = regmap_read(da9063->regmap, DA9063_REG_FAULT_LOG, &fault_log); in da9063_clear_fault_log()
120 dev_err(da9063->dev, "Cannot read FAULT_LOG.\n"); in da9063_clear_fault_log()
124 if (fault_log) { in da9063_clear_fault_log()
125 if (fault_log & DA9063_TWD_ERROR) in da9063_clear_fault_log()
128 if (fault_log & DA9063_POR) in da9063_clear_fault_log()
131 if (fault_log & DA9063_VDD_FAULT) in da9063_clear_fault_log()
134 if (fault_log & DA9063_VDD_START) in da9063_clear_fault_log()
137 if (fault_log & DA9063_TEMP_CRIT) in da9063_clear_fault_log()
140 if (fault_log & DA9063_KEY_RESET) in da9063_clear_fault_log()
[all …]
H A Dda9052-core.c548 int fault_log = 0; in da9052_clear_fault_log() local
550 fault_log = da9052_reg_read(da9052, DA9052_FAULTLOG_REG); in da9052_clear_fault_log()
551 if (fault_log < 0) { in da9052_clear_fault_log()
553 "Cannot read FAULT_LOG %d\n", fault_log); in da9052_clear_fault_log()
554 return fault_log; in da9052_clear_fault_log()
557 if (fault_log) { in da9052_clear_fault_log()
558 if (fault_log & DA9052_FAULTLOG_TWDERROR) in da9052_clear_fault_log()
561 if (fault_log & DA9052_FAULTLOG_VDDFAULT) in da9052_clear_fault_log()
564 if (fault_log & DA9052_FAULTLOG_VDDSTART) in da9052_clear_fault_log()
567 if (fault_log & DA9052_FAULTLOG_TEMPOVER) in da9052_clear_fault_log()
[all …]
H A Dda9062-core.c268 int fault_log; in da9062_clear_fault_log() local
270 ret = regmap_read(chip->regmap, DA9062AA_FAULT_LOG, &fault_log); in da9062_clear_fault_log()
274 if (fault_log) { in da9062_clear_fault_log()
275 if (fault_log & DA9062AA_TWD_ERROR_MASK) in da9062_clear_fault_log()
277 if (fault_log & DA9062AA_POR_MASK) in da9062_clear_fault_log()
279 if (fault_log & DA9062AA_VDD_FAULT_MASK) in da9062_clear_fault_log()
281 if (fault_log & DA9062AA_VDD_START_MASK) in da9062_clear_fault_log()
283 if (fault_log & DA9062AA_TEMP_CRIT_MASK) in da9062_clear_fault_log()
285 if (fault_log & DA9062AA_KEY_RESET_MASK) in da9062_clear_fault_log()
287 if (fault_log & DA9062AA_NSHUTDOWN_MASK) in da9062_clear_fault_log()
[all …]
/linux/drivers/input/misc/
H A Dda9063_onkey.c85 int fault_log = 0; in da9063_poll_on() local
122 &fault_log); in da9063_poll_on()
125 "Cannot read FAULT_LOG: %d\n", error); in da9063_poll_on()
126 } else if (fault_log & config->onkey_key_reset_mask) { in da9063_poll_on()
/linux/Documentation/devicetree/bindings/hwmon/
H A Dadi,ltc4282.yaml103 If set, enables the FAULT_LOG and ADC_ALERT_LOG registers to be written
106 the EE_FAULT_LOG register - the one in EEPROM - into FAULT_LOG at boot).