Searched refs:GPIO_PER_REG (Results 1 – 1 of 1) sorted by relevance
41 #define GPIO_PER_REG 32 macro227 if (*offset >= GPIO_PER_REG) { in armada_37xx_update_reg()228 *offset -= GPIO_PER_REG; in armada_37xx_update_reg()565 val |= (BIT(d->hwirq % GPIO_PER_REG)); in armada_37xx_irq_set_wake()567 val &= ~(BIT(d->hwirq % GPIO_PER_REG)); in armada_37xx_irq_set_wake()586 val &= ~(BIT(d->hwirq % GPIO_PER_REG)); in armada_37xx_irq_set_type()589 val |= (BIT(d->hwirq % GPIO_PER_REG)); in armada_37xx_irq_set_type()617 u32 reg_idx = pin_idx / GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol()618 u32 bit_num = pin_idx % GPIO_PER_REG; in armada_37xx_edge_both_irq_swap_pol()658 for (i = 0; i <= d->revmap_size / GPIO_PER_REG; i++) { in armada_37xx_irq_handler()[all …]