Lines Matching refs:irt
216 nlm_irt_to_irq(int irt) in nlm_irt_to_irq() argument
219 return PIC_INTR_TO_IRQ(irt); in nlm_irt_to_irq()
223 nlm_pic_enable_irt(uint64_t base, int irt) in nlm_pic_enable_irt() argument
227 reg = nlm_read_reg(base, PIC_IRT_1(irt)); in nlm_pic_enable_irt()
228 nlm_write_reg(base, PIC_IRT_1(irt), reg | (1u << 31)); in nlm_pic_enable_irt()
232 nlm_pic_disable_irt(uint64_t base, int irt) in nlm_pic_disable_irt() argument
236 reg = nlm_read_reg(base, PIC_IRT_1(irt)); in nlm_pic_disable_irt()
237 nlm_write_reg(base, PIC_IRT_1(irt), reg & ~(1u << 31)); in nlm_pic_disable_irt()
252 nlm_pic_ack(uint64_t base, int irt) in nlm_pic_ack() argument
254 nlm_write_reg(base, PIC_INT_ACK, 1u << irt); in nlm_pic_ack()
258 nlm_pic_init_irt(uint64_t base, int irt, int irq, int hwt, int en) in nlm_pic_init_irt() argument
260 nlm_write_reg(base, PIC_IRT_0(irt), (1u << hwt)); in nlm_pic_init_irt()
262 nlm_write_reg(base, PIC_IRT_1(irt), in nlm_pic_init_irt()