Lines Matching full:fault_log
116 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()
143 if (fault_log & DA9063_NSHUTDOWN) in da9063_clear_fault_log()
146 if (fault_log & DA9063_WAIT_SHUT) in da9063_clear_fault_log()
153 fault_log); in da9063_clear_fault_log()
156 "Cannot reset FAULT_LOG values %d\n", ret); in da9063_clear_fault_log()