Lines Matching full:fault1
194 union max22190_fault1 fault1; member
371 * @brief Check FAULT1 and FAULT2
379 /* FAULT1 */ in max22190_fault_check()
380 data->fault1.reg_raw = max22190_reg_read(dev, MAX22190_FAULT1_REG); in max22190_fault_check()
382 if (data->fault1.reg_raw) { in max22190_fault_check()
386 PRINT_ERR_BIT(data->fault1.reg_bits.max22190_CRC, in max22190_fault_check()
388 PRINT_ERR_BIT(data->fault1.reg_bits.max22190_POR, in max22190_fault_check()
390 PRINT_ERR_BIT(data->fault1.reg_bits.max22190_FAULT2, in max22190_fault_check()
392 PRINT_ERR_BIT(data->fault1.reg_bits.max22190_ALRMT2, in max22190_fault_check()
394 PRINT_ERR_BIT(data->fault1.reg_bits.max22190_ALRMT1, in max22190_fault_check()
396 PRINT_ERR_BIT(data->fault1.reg_bits.max22190_24VL, in max22190_fault_check()
398 PRINT_ERR_BIT(data->fault1.reg_bits.max22190_24VM, in max22190_fault_check()
400 PRINT_ERR_BIT(data->fault1.reg_bits.max22190_WBG, in max22190_fault_check()
403 if (data->fault1.reg_bits.max22190_WBG & data->fault1_en.reg_bits.max22190_WBGE) { in max22190_fault_check()
409 if (data->fault1.reg_bits.max22190_FAULT2) { in max22190_fault_check()
499 ret = max22190_reg_write(dev, MAX22190_FAULT1_REG, data->fault1.reg_raw); in max22190_fault_set()