Lines Matching refs:pcf_int
114 u8 pcf_int[5], chgstat; in pcf50633_irq() local
118 ARRAY_SIZE(pcf_int), pcf_int); in pcf50633_irq()
119 if (ret != ARRAY_SIZE(pcf_int)) { in pcf50633_irq()
134 if (pcf_int[0] & (PCF50633_INT1_USBINS | PCF50633_INT1_USBREM)) { in pcf50633_irq()
137 pcf_int[0] &= ~PCF50633_INT1_USBREM; in pcf50633_irq()
139 pcf_int[0] &= ~PCF50633_INT1_USBINS; in pcf50633_irq()
143 if (pcf_int[0] & (PCF50633_INT1_ADPINS | PCF50633_INT1_ADPREM)) { in pcf50633_irq()
146 pcf_int[0] &= ~PCF50633_INT1_ADPREM; in pcf50633_irq()
148 pcf_int[0] &= ~PCF50633_INT1_ADPINS; in pcf50633_irq()
152 "INT4=0x%02x INT5=0x%02x\n", pcf_int[0], in pcf50633_irq()
153 pcf_int[1], pcf_int[2], pcf_int[3], pcf_int[4]); in pcf50633_irq()
157 if ((pcf_int[0] & PCF50633_INT1_SECOND) && pcf->onkey1s_held) { in pcf50633_irq()
165 if (pcf_int[2] & PCF50633_INT3_ONKEY1S) { in pcf50633_irq()
178 if ((pcf_int[1] & PCF50633_INT2_ONKEYR) && pcf->onkey1s_held) { in pcf50633_irq()
200 for (i = 0; i < ARRAY_SIZE(pcf_int); i++) in pcf50633_irq()
201 pcf->resume_reason[i] = pcf_int[i] & in pcf50633_irq()
206 pcf_int[1] &= ~(PCF50633_INT2_ONKEYR | PCF50633_INT2_ONKEYF); in pcf50633_irq()
209 for (i = 0; i < ARRAY_SIZE(pcf_int); i++) { in pcf50633_irq()
211 pcf_int[i] &= ~pcf->mask_regs[i]; in pcf50633_irq()
214 if (pcf_int[i] & (1 << j)) in pcf50633_irq()