Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pinctrl/mediatek/
Dmtk-eint.c68 unsigned int eint_num, in mtk_eint_get_offset() argument
74 if (eint_num >= eint->hw->ap_num) in mtk_eint_get_offset()
77 reg = eint->base + offset + ((eint_num - eint_base) / 32) * 4; in mtk_eint_get_offset()
83 unsigned int eint_num) in mtk_eint_can_en_debounce() argument
86 unsigned int bit = BIT(eint_num % 32); in mtk_eint_can_en_debounce()
87 void __iomem *reg = mtk_eint_get_offset(eint, eint_num, in mtk_eint_can_en_debounce()
95 if (eint_num < eint->hw->db_cnt && sens != MTK_EINT_EDGE_SENSITIVE) in mtk_eint_can_en_debounce()
154 unsigned int eint_num) in mtk_eint_get_mask() argument
156 unsigned int bit = BIT(eint_num % 32); in mtk_eint_get_mask()
157 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()