Searched refs:eint_num (Results 1 – 2 of 2) sorted by relevance
52 unsigned int eint_num, in mtk_eint_get_offset() argument58 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() argument70 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() argument140 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 …]
717 mtk_find_pin_by_eint_num(struct mtk_pinctrl *pctl, unsigned int eint_num) in mtk_find_pin_by_eint_num() argument724 if (pin->eint.eintnum == eint_num) in mtk_find_pin_by_eint_num()