Home
last modified time | relevance | path

Searched refs:dual_edge (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/pinctrl/mediatek/
Dmtk-eint.c133 if (eint->dual_edge[d->hwirq]) in mtk_eint_unmask()
172 eint->dual_edge[d->hwirq] = 1; in mtk_eint_set_type()
174 eint->dual_edge[d->hwirq] = 0; in mtk_eint_set_type()
192 if (eint->dual_edge[d->hwirq]) in mtk_eint_set_type()
315 int dual_edge, start_level, curr_level; in mtk_eint_irq_handler() local
341 dual_edge = eint->dual_edge[index]; in mtk_eint_irq_handler()
342 if (dual_edge) { in mtk_eint_irq_handler()
357 if (dual_edge) { in mtk_eint_irq_handler()
478 eint->dual_edge = devm_kcalloc(eint->dev, eint->hw->ap_num, in mtk_eint_do_init()
480 if (!eint->dual_edge) in mtk_eint_do_init()
Dmtk-eint.h58 int *dual_edge; member
/Linux-v5.10/drivers/pinctrl/bcm/
Dpinctrl-iproc-gpio.c252 bool dual_edge = false; in iproc_gpio_irq_set_type() local
265 dual_edge = true; in iproc_gpio_irq_set_type()
286 iproc_set_bit(chip, IPROC_GPIO_INT_DE_OFFSET, gpio, dual_edge); in iproc_gpio_irq_set_type()
299 gpio, level_triggered, dual_edge, rising_or_high); in iproc_gpio_irq_set_type()