Lines Matching full:irq1
52 #define RT9455_REG_IRQ1 0x08 /* IRQ1 reg address */
77 F_TSDI, F_VINOVPI, F_BATAB, /* IRQ1 reg fields */
416 dev_err(dev, "Failed to read IRQ1 register\n"); in rt9455_charger_get_health()
855 unsigned int irq1, mask1, mask2; in rt9455_irq_handler_check_irq1_register() local
861 ret = regmap_read(info->regmap, RT9455_REG_IRQ1, &irq1); in rt9455_irq_handler_check_irq1_register()
863 dev_err(dev, "Failed to read IRQ1 register\n"); in rt9455_irq_handler_check_irq1_register()
873 if (irq1 & GET_MASK(F_TSDI)) { in rt9455_irq_handler_check_irq1_register()
878 if (irq1 & GET_MASK(F_VINOVPI)) { in rt9455_irq_handler_check_irq1_register()
883 if (irq1 & GET_MASK(F_BATAB)) { in rt9455_irq_handler_check_irq1_register()
1145 * case: interrupt occurs only in IRQ1 register, in rt9455_irq_handler_thread()
1154 dev_err(dev, "Failed to handle IRQ1 register\n"); in rt9455_irq_handler_thread()
1501 unsigned int irq1, mask1; in rt9455_batt_presence_work_callback() local
1504 ret = regmap_read(info->regmap, RT9455_REG_IRQ1, &irq1); in rt9455_batt_presence_work_callback()
1506 dev_err(dev, "Failed to read IRQ1 register\n"); in rt9455_batt_presence_work_callback()
1514 if (irq1 & GET_MASK(F_BATAB)) { in rt9455_batt_presence_work_callback()