Lines Matching refs:hwirq
66 int hwirq;
101 for_each_set_bit(hwirq, &pending, 32)
102 generic_handle_domain_irq(hlwd->gpioc.irq.domain, hwirq);
112 iowrite32be(BIT(data->hwirq), hlwd->regs + HW_GPIOB_INTFLAG);
124 mask &= ~BIT(data->hwirq);
140 mask |= BIT(data->hwirq);
151 static void hlwd_gpio_irq_setup_emulation(struct hlwd_gpio *hlwd, int hwirq,
158 state = ioread32be(hlwd->regs + HW_GPIOB_IN) & BIT(hwirq);
159 level &= ~BIT(hwirq);
160 level |= state ^ BIT(hwirq);
163 hlwd->edge_emulation |= BIT(hwirq);
164 hlwd->rising_edge &= ~BIT(hwirq);
165 hlwd->falling_edge &= ~BIT(hwirq);
167 hlwd->rising_edge |= BIT(hwirq);
169 hlwd->falling_edge |= BIT(hwirq);
181 hlwd->edge_emulation &= ~BIT(data->hwirq);
186 level |= BIT(data->hwirq);
191 level &= ~BIT(data->hwirq);
197 hlwd_gpio_irq_setup_emulation(hlwd, data->hwirq, flow_type);