Lines Matching refs:eint_n
851 unsigned long eint_n; in mtk_gpio_to_irq() local
857 eint_n = pin->eint.eintnum; in mtk_gpio_to_irq()
859 return mtk_eint_find_irq(pctl->eint, eint_n); in mtk_gpio_to_irq()
867 unsigned long eint_n; in mtk_gpio_set_config() local
878 eint_n = pin->eint.eintnum; in mtk_gpio_set_config()
880 return mtk_eint_set_debounce(pctl->eint, eint_n, debounce); in mtk_gpio_set_config()
949 mtk_xt_get_gpio_n(void *data, unsigned long eint_n, unsigned int *gpio_n, in mtk_xt_get_gpio_n() argument
955 pin = mtk_find_pin_by_eint_num(pctl, eint_n); in mtk_xt_get_gpio_n()
965 static int mtk_xt_get_gpio_state(void *data, unsigned long eint_n) in mtk_xt_get_gpio_state() argument
970 pin = mtk_find_pin_by_eint_num(pctl, eint_n); in mtk_xt_get_gpio_state()
977 static int mtk_xt_set_gpio_as_eint(void *data, unsigned long eint_n) in mtk_xt_set_gpio_as_eint() argument
982 pin = mtk_find_pin_by_eint_num(pctl, eint_n); in mtk_xt_set_gpio_as_eint()