Searched refs:pcf_int (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/mfd/
H A Dpcf50633-irq.c118 u8 pcf_int[5], chgstat; pcf50633_irq() local
122 ARRAY_SIZE(pcf_int), pcf_int); pcf50633_irq()
123 if (ret != ARRAY_SIZE(pcf_int)) { pcf50633_irq()
138 if (pcf_int[0] & (PCF50633_INT1_USBINS | PCF50633_INT1_USBREM)) { pcf50633_irq()
141 pcf_int[0] &= ~PCF50633_INT1_USBREM; pcf50633_irq()
143 pcf_int[0] &= ~PCF50633_INT1_USBINS; pcf50633_irq()
147 if (pcf_int[0] & (PCF50633_INT1_ADPINS | PCF50633_INT1_ADPREM)) { pcf50633_irq()
150 pcf_int[0] &= ~PCF50633_INT1_ADPREM; pcf50633_irq()
152 pcf_int[0] &= ~PCF50633_INT1_ADPINS; pcf50633_irq()
156 "INT4=0x%02x INT5=0x%02x\n", pcf_int[0], pcf50633_irq()
157 pcf_int[1], pcf_int[2], pcf_int[3], pcf_int[4]); pcf50633_irq()
161 if ((pcf_int[0] & PCF50633_INT1_SECOND) && pcf->onkey1s_held) { pcf50633_irq()
169 if (pcf_int[2] & PCF50633_INT3_ONKEY1S) { pcf50633_irq()
182 if ((pcf_int[1] & PCF50633_INT2_ONKEYR) && pcf->onkey1s_held) { pcf50633_irq()
204 for (i = 0; i < ARRAY_SIZE(pcf_int); i++) pcf50633_irq()
205 pcf->resume_reason[i] = pcf_int[i] & pcf50633_irq()
210 pcf_int[1] &= ~(PCF50633_INT2_ONKEYR | PCF50633_INT2_ONKEYF); pcf50633_irq()
213 for (i = 0; i < ARRAY_SIZE(pcf_int); i++) { pcf50633_irq()
215 pcf_int[i] &= ~pcf->mask_regs[i]; pcf50633_irq()
218 if (pcf_int[i] & (1 << j)) pcf50633_irq()

Completed in 90 milliseconds