Lines Matching +full:16 +full:- +full:bit +full:- +full:masked

2  * SPDX-License-Identifier: Apache-2.0
6 #include <zephyr/sys/libc-hooks.h>
39 * associated with one[1] of 16 "groups", each of which directs to a
50 * 0-5 0-5 1 (L1 is shared w/exceptions, poor choice)
51 * 6-7 7-8 1
52 * 8-10 9-11 2
53 * 11-13 16-18 3
75 * 16: UART_BT 36: PWR_ON_C0_IRQ 56: L2SRAM_SETERR
97 struct intc64 groups[16]; /* set bit == "member of group" */
98 struct intc64 group_status[16]; /* status, but masked by group */
103 static void set_group_bit(volatile struct intc64 *g, uint32_t bit, bool val) in set_group_bit() argument
105 volatile uint32_t *p = bit < 32 ? &g->lo : &g->hi; in set_group_bit()
106 volatile uint32_t mask = BIT(bit & 0x1f); in set_group_bit()
113 for (int i = 0; i < 16; i++) { in mt8196_intc_set_irq_group()
184 /* Note: we set the linked/in-use-by-zephyr regions of both in enable_mpu()
203 * non-monotonic segment at the current instruction fetch. The in enable_mpu()
209 for (int32_t i = 31; i >= 32 - nseg; i--) { in enable_mpu()
210 int32_t mpuidx = i - (32 - nseg); in enable_mpu()
216 * the same cache line. Jumping to an aligned-by-8 in enable_mpu()
217 * address ensures that the following two (3-byte) in enable_mpu()
218 * instructions are in the same 8 byte-aligned region. in enable_mpu()
230 * backend. This simply appends a null-terminated string to an
239 * even if this device has a ton of usably-mapped DRAM
250 const size_t max = LOG_LEN - 4; in arch_printk_char_out()
262 extern char _bss_start, _bss_end, z_xtensa_vecbase; /* Linker-emitted */ in c_boot()
299 memset(_mtk_adsp_sram_end, 0, SRAM_END - (uint32_t)&_mtk_adsp_sram_end); in c_boot()
300 memset(_mtk_adsp_dram_end, 0, DRAM_END - (uint32_t)&_mtk_adsp_dram_end); in c_boot()