Lines Matching refs:status
538 * debounce registers of any GPIO will block wake/interrupt status
604 u64 status, mask;
606 /* Read the wake status */
608 status = readl(gpio_dev->base + WAKE_INT_STATUS_REG1);
609 status <<= 32;
610 status |= readl(gpio_dev->base + WAKE_INT_STATUS_REG0);
613 /* Bit 0-45 contain the relevant status bits */
614 status &= (1ULL << 46) - 1;
616 for (mask = 1, irqnr = 0; status; mask <<= 1, regs += 4, irqnr += 4) {
617 if (!(status & mask))
619 status &= ~mask;
621 /* Each status bit covers four pins */