Searched refs:GPIO_PER_REG (Results 1 – 1 of 1) sorted by relevance
41 #define GPIO_PER_REG 32 macro224 if (offset >= GPIO_PER_REG) { in armada_37xx_update_reg()225 offset -= GPIO_PER_REG; in armada_37xx_update_reg()562 val |= (BIT(d->hwirq % GPIO_PER_REG)); in armada_37xx_irq_set_wake()564 val &= ~(BIT(d->hwirq % GPIO_PER_REG)); in armada_37xx_irq_set_wake()583 val &= ~(BIT(d->hwirq % GPIO_PER_REG)); in armada_37xx_irq_set_type()586 val |= (BIT(d->hwirq % GPIO_PER_REG)); in armada_37xx_irq_set_type()614 u32 reg_idx = pin_idx / GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol()615 u32 bit_num = pin_idx % GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol()655 for (i = 0; i <= d->revmap_size / GPIO_PER_REG; i++) { in armada_37xx_irq_handler()[all …]