Home
last modified time | relevance | path

Searched refs:fault_log (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/mfd/
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()
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()
[all …]
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 …]
Dda9062-core.c293 int fault_log; in da9062_clear_fault_log() local
295 ret = regmap_read(chip->regmap, DA9062AA_FAULT_LOG, &fault_log); in da9062_clear_fault_log()
299 if (fault_log) { in da9062_clear_fault_log()
300 if (fault_log & DA9062AA_TWD_ERROR_MASK) in da9062_clear_fault_log()
302 if (fault_log & DA9062AA_POR_MASK) in da9062_clear_fault_log()
304 if (fault_log & DA9062AA_VDD_FAULT_MASK) in da9062_clear_fault_log()
306 if (fault_log & DA9062AA_VDD_START_MASK) in da9062_clear_fault_log()
308 if (fault_log & DA9062AA_TEMP_CRIT_MASK) in da9062_clear_fault_log()
310 if (fault_log & DA9062AA_KEY_RESET_MASK) in da9062_clear_fault_log()
312 if (fault_log & DA9062AA_NSHUTDOWN_MASK) in da9062_clear_fault_log()
[all …]
/kernel/linux/linux-5.10/drivers/input/misc/
Dda9063_onkey.c89 int fault_log = 0; in da9063_poll_on() local
126 &fault_log); in da9063_poll_on()
130 } else if (fault_log & config->onkey_key_reset_mask) { in da9063_poll_on()