Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common-v2.c261 bool mtk_is_virt_gpio(struct mtk_pinctrl *hw, unsigned int gpio_n) in mtk_is_virt_gpio() argument
266 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio_n]; in mtk_is_virt_gpio()
280 unsigned int *gpio_n, in mtk_xt_get_gpio_n() argument
295 *gpio_n = eint_n; in mtk_xt_get_gpio_n()
297 *gpio_n = mtk_xt_find_eint_num(hw, eint_n); in mtk_xt_get_gpio_n()
299 return *gpio_n == EINT_NA ? -EINVAL : 0; in mtk_xt_get_gpio_n()
307 unsigned int gpio_n; in mtk_xt_get_gpio_state() local
310 err = mtk_xt_get_gpio_n(hw, eint_n, &gpio_n, &gpio_chip); in mtk_xt_get_gpio_state()
314 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio_n]; in mtk_xt_get_gpio_state()
328 unsigned int gpio_n; in mtk_xt_set_gpio_as_eint() local
[all …]
H A Dmtk-eint.h61 unsigned int *gpio_n,
H A Dpinctrl-mtk-common.c957 mtk_xt_get_gpio_n(void *data, unsigned long eint_n, unsigned int *gpio_n, in mtk_xt_get_gpio_n() argument
968 *gpio_n = pin->pin.number; in mtk_xt_get_gpio_n()