Home
last modified time | relevance | path

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

/kernel/liteos_a/arch/arm/gic/
Dgic_v3.c181 UINT32 newPri = GIC_REG_32(GICD_IPRIORITYR(pos)); in GicdSetPmr() local
184 newPri &= ~(GIC_PRIORITY_MASK << ((irq % 4) * GIC_PRIORITY_OFFSET)); in GicdSetPmr()
185 newPri |= priority << ((irq % 4) * GIC_PRIORITY_OFFSET); in GicdSetPmr()
187 GIC_REG_32(GICD_IPRIORITYR(pos)) = newPri; in GicdSetPmr()
194 UINT32 newPri = GIC_REG_32(GICR_IPRIORITYR0(cpu) + pos * 4); in GicrSetPmr() local
197 newPri &= ~(GIC_PRIORITY_MASK << ((irq % 4) * GIC_PRIORITY_OFFSET)); in GicrSetPmr()
198 newPri |= priority << ((irq % 4) * GIC_PRIORITY_OFFSET); in GicrSetPmr()
200 GIC_REG_32(GICR_IPRIORITYR0(cpu) + pos * 4) = newPri; in GicrSetPmr()