Lines Matching refs:irq_group_num
23 uint32_t irq_group_num, irq_bit_num; in z_vim_irq_get_active() local
39 irq_group_num = VIM_GET_IRQ_GROUP_NUM(actirq & VIM_PRIIRQ_NUM_MASK); in z_vim_irq_get_active()
43 sys_write32(BIT(irq_bit_num), VIM_IRQSTS(irq_group_num)); in z_vim_irq_get_active()
45 if (irq_group_num > VIM_MAX_GROUP_NUM) { in z_vim_irq_get_active()
66 uint32_t irq_group_num, irq_bit_num, regval; in z_vim_irq_priority_set() local
77 irq_group_num = VIM_GET_IRQ_GROUP_NUM(irq); in z_vim_irq_priority_set()
80 regval = sys_read32(VIM_INTTYPE(irq_group_num)); in z_vim_irq_priority_set()
88 sys_write32(regval, VIM_INTTYPE(irq_group_num)); in z_vim_irq_priority_set()
93 uint32_t irq_group_num, irq_bit_num; in z_vim_irq_enable() local
100 irq_group_num = VIM_GET_IRQ_GROUP_NUM(irq); in z_vim_irq_enable()
103 sys_write32(BIT(irq_bit_num), VIM_INTR_EN_SET(irq_group_num)); in z_vim_irq_enable()
108 uint32_t irq_group_num, irq_bit_num; in z_vim_irq_disable() local
115 irq_group_num = VIM_GET_IRQ_GROUP_NUM(irq); in z_vim_irq_disable()
118 sys_write32(BIT(irq_bit_num), VIM_INTR_EN_CLR(irq_group_num)); in z_vim_irq_disable()
123 uint32_t irq_group_num, irq_bit_num, regval; in z_vim_irq_is_enabled() local
130 irq_group_num = VIM_GET_IRQ_GROUP_NUM(irq); in z_vim_irq_is_enabled()
133 regval = sys_read32(VIM_INTR_EN_SET(irq_group_num)); in z_vim_irq_is_enabled()
140 uint32_t irq_group_num, irq_bit_num; in z_vim_arm_enter_irq() local
147 irq_group_num = VIM_GET_IRQ_GROUP_NUM(irq); in z_vim_arm_enter_irq()
150 sys_write32(BIT(irq_bit_num), VIM_RAW(irq_group_num)); in z_vim_arm_enter_irq()