Lines Matching refs:vrc5477_irq
119 void ll_vrc5477_irq_route(int vrc5477_irq, int ip) in ll_vrc5477_irq_route() argument
125 db_assert(vrc5477_irq >= 0); in ll_vrc5477_irq_route()
126 db_assert(vrc5477_irq < NUM_5477_IRQ); in ll_vrc5477_irq_route()
130 reg_index = DDB_INTCTRL0 + vrc5477_irq/8*4; in ll_vrc5477_irq_route()
132 reg_bitmask = 7 << (vrc5477_irq % 8 * 4); in ll_vrc5477_irq_route()
134 reg_value |= ip << (vrc5477_irq % 8 * 4); in ll_vrc5477_irq_route()
138 void ll_vrc5477_irq_enable(int vrc5477_irq) in ll_vrc5477_irq_enable() argument
144 db_assert(vrc5477_irq >= 0); in ll_vrc5477_irq_enable()
145 db_assert(vrc5477_irq < NUM_5477_IRQ); in ll_vrc5477_irq_enable()
147 reg_index = DDB_INTCTRL0 + vrc5477_irq/8*4; in ll_vrc5477_irq_enable()
149 reg_bitmask = 8 << (vrc5477_irq % 8 * 4); in ll_vrc5477_irq_enable()
154 void ll_vrc5477_irq_disable(int vrc5477_irq) in ll_vrc5477_irq_disable() argument
160 db_assert(vrc5477_irq >= 0); in ll_vrc5477_irq_disable()
161 db_assert(vrc5477_irq < NUM_5477_IRQ); in ll_vrc5477_irq_disable()
163 reg_index = DDB_INTCTRL0 + vrc5477_irq/8*4; in ll_vrc5477_irq_disable()
165 reg_bitmask = 8 << (vrc5477_irq % 8 * 4); in ll_vrc5477_irq_disable()