Home
last modified time | relevance | path

Searched refs:eint_num (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/pinctrl/mediatek/
Dmtk-eint.c51 unsigned int eint_num, in mtk_eint_get_offset() argument
57 if (eint_num >= eint->hw->ap_num) in mtk_eint_get_offset()
60 reg = eint->base + offset + ((eint_num - eint_base) / 32) * 4; in mtk_eint_get_offset()
66 unsigned int eint_num) in mtk_eint_can_en_debounce() argument
69 unsigned int bit = BIT(eint_num % 32); in mtk_eint_can_en_debounce()
70 void __iomem *reg = mtk_eint_get_offset(eint, eint_num, in mtk_eint_can_en_debounce()
78 if (eint_num < eint->hw->db_cnt && sens != MTK_EINT_EDGE_SENSITIVE) in mtk_eint_can_en_debounce()
137 unsigned int eint_num) in mtk_eint_get_mask() argument
139 unsigned int bit = BIT(eint_num % 32); in mtk_eint_get_mask()
140 void __iomem *reg = mtk_eint_get_offset(eint, eint_num, in mtk_eint_get_mask()
[all …]
Dpinctrl-mtk-common.c698 mtk_find_pin_by_eint_num(struct mtk_pinctrl *pctl, unsigned int eint_num) in mtk_find_pin_by_eint_num() argument
705 if (pin->eint.eintnum == eint_num) in mtk_find_pin_by_eint_num()