Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/pinctrl/mediatek/
Dmtk-eint.c52 unsigned int eint_num, in mtk_eint_get_offset() argument
58 if (eint_num >= eint->hw->ap_num) in mtk_eint_get_offset()
61 reg = eint->base + offset + ((eint_num - eint_base) / 32) * 4; in mtk_eint_get_offset()
67 unsigned int eint_num) in mtk_eint_can_en_debounce() argument
70 unsigned int bit = BIT(eint_num % 32); in mtk_eint_can_en_debounce()
71 void __iomem *reg = mtk_eint_get_offset(eint, eint_num, in mtk_eint_can_en_debounce()
79 if (eint_num < eint->hw->db_cnt && sens != MTK_EINT_EDGE_SENSITIVE) in mtk_eint_can_en_debounce()
138 unsigned int eint_num) in mtk_eint_get_mask() argument
140 unsigned int bit = BIT(eint_num % 32); in mtk_eint_get_mask()
141 void __iomem *reg = mtk_eint_get_offset(eint, eint_num, in mtk_eint_get_mask()
[all …]
Dpinctrl-mtk-common.c717 mtk_find_pin_by_eint_num(struct mtk_pinctrl *pctl, unsigned int eint_num) in mtk_find_pin_by_eint_num() argument
724 if (pin->eint.eintnum == eint_num) in mtk_find_pin_by_eint_num()