Home
last modified time | relevance | path

Searched refs:locIrq (Results 1 – 1 of 1) sorted by relevance

/device/qemu/riscv32_virt/liteos_m/board/driver/
Dplic.c86 UINT32 locIrq = vector - RISCV_SYS_MAX_IRQ; in PlicIrqEnable() local
89 plicReg += (locIrq >> 5); /* 5: The PLIC interrupt controls the bit width */ in PlicIrqEnable()
91 irqValue |= (1 << (locIrq & 31)); /* 31: plic irq mask */ in PlicIrqEnable()
98 UINT32 locIrq = vector - RISCV_SYS_MAX_IRQ; in PlicIrqDisable() local
101 plicReg += (locIrq >> 5); /* 5: The PLIC interrupt controls the bit width */ in PlicIrqDisable()
103 irqValue &= ~(1 << (locIrq & 31)); /* 31: plic irq mask */ in PlicIrqDisable()