Searched refs:leftalign8 (Results 1 – 1 of 1) sorted by relevance
115 static inline uint8_t leftalign8(uint8_t val, uint8_t shift) in leftalign8() function154 const uint8_t prio = leftalign8(MIN(pri, max_prio), intctlbits); in riscv_clic_irq_priority_set()155 const uint8_t level = leftalign8(MIN((irq_get_level(irq) - 1), max_level), nlbits); in riscv_clic_irq_priority_set()182 intctrl_mask = leftalign8(mask8(intctlbits), intctlbits); in nuclei_eclic_init()