Lines Matching full:group
80 uint32_t group, index; in ite_intc_isr_clear() local
86 group = irq / MAX_REGISR_IRQ_NUM; in ite_intc_isr_clear()
89 IT8XXX2_INTC_ISR(group) = BIT(index); in ite_intc_isr_clear()
94 uint32_t group, index; in ite_intc_irq_enable() local
100 group = irq / MAX_REGISR_IRQ_NUM; in ite_intc_irq_enable()
106 IT8XXX2_INTC_IER(group) |= BIT(index); in ite_intc_irq_enable()
113 uint32_t group, index; in ite_intc_irq_disable() local
119 group = irq / MAX_REGISR_IRQ_NUM; in ite_intc_irq_disable()
125 IT8XXX2_INTC_IER(group) &= ~BIT(index); in ite_intc_irq_disable()
130 IT8XXX2_INTC_IER(group); in ite_intc_irq_disable()
137 uint32_t group, index; in ite_intc_irq_polarity_set() local
147 group = irq / MAX_REGISR_IRQ_NUM; in ite_intc_irq_polarity_set()
151 IT8XXX2_INTC_IPOLR(group) &= ~BIT(index); in ite_intc_irq_polarity_set()
153 IT8XXX2_INTC_IPOLR(group) |= BIT(index); in ite_intc_irq_polarity_set()
157 IT8XXX2_INTC_IELMR(group) &= ~BIT(index); in ite_intc_irq_polarity_set()
159 IT8XXX2_INTC_IELMR(group) |= BIT(index); in ite_intc_irq_polarity_set()
165 uint32_t group, index; in ite_intc_irq_is_enable() local
171 group = irq / MAX_REGISR_IRQ_NUM; in ite_intc_irq_is_enable()
174 return IS_MASK_SET(IT8XXX2_INTC_IER(group), BIT(index)); in ite_intc_irq_is_enable()