Lines Matching refs:channel
58 uint32_t channel = rv32m1_intmux_channel(irq); in rv32m1_intmux_irq_enable() local
61 regs->CHANNEL[channel].CHn_IER_31_0 |= BIT(line); in rv32m1_intmux_irq_enable()
67 uint32_t channel = rv32m1_intmux_channel(irq); in rv32m1_intmux_irq_disable() local
70 regs->CHANNEL[channel].CHn_IER_31_0 &= ~BIT(line); in rv32m1_intmux_irq_disable()
91 uint32_t channel = rv32m1_intmux_channel(irq); in rv32m1_intmux_get_line_state() local
94 if ((regs->CHANNEL[channel].CHn_IER_31_0 & BIT(line)) != 0) { in rv32m1_intmux_get_line_state()
105 #define ISR_ENTRY(channel, line) \ argument
106 ((channel) * CONFIG_MAX_IRQ_PER_AGGREGATOR + line)
113 uint32_t channel = POINTER_TO_UINT(arg); in rv32m1_intmux_isr() local
114 uint32_t line = (regs->CHANNEL[channel].CHn_VEC >> 2); in rv32m1_intmux_isr()
130 entry = &isr_base[ISR_ENTRY(channel, (line - VECN_OFFSET))]; in rv32m1_intmux_isr()