Lines Matching refs:eint_n
856 unsigned long eint_n; in mtk_gpio_to_irq() local
862 eint_n = pin->eint.eintnum; in mtk_gpio_to_irq()
864 return mtk_eint_find_irq(pctl->eint, eint_n); in mtk_gpio_to_irq()
872 unsigned long eint_n; in mtk_gpio_set_config() local
883 eint_n = pin->eint.eintnum; in mtk_gpio_set_config()
885 return mtk_eint_set_debounce(pctl->eint, eint_n, debounce); in mtk_gpio_set_config()
952 mtk_xt_get_gpio_n(void *data, unsigned long eint_n, unsigned int *gpio_n, in mtk_xt_get_gpio_n() argument
958 pin = mtk_find_pin_by_eint_num(pctl, eint_n); in mtk_xt_get_gpio_n()
968 static int mtk_xt_get_gpio_state(void *data, unsigned long eint_n) in mtk_xt_get_gpio_state() argument
973 pin = mtk_find_pin_by_eint_num(pctl, eint_n); in mtk_xt_get_gpio_state()
980 static int mtk_xt_set_gpio_as_eint(void *data, unsigned long eint_n) in mtk_xt_set_gpio_as_eint() argument
985 pin = mtk_find_pin_by_eint_num(pctl, eint_n); in mtk_xt_set_gpio_as_eint()