Home
last modified time | relevance | path

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

/hal_espressif-latest/components/hal/esp32c6/include/hal/
Dmmu_ll.h141 uint32_t shift_code = 0; in mmu_ll_get_entry_id() local
144 shift_code = 16; in mmu_ll_get_entry_id()
147 shift_code = 15; in mmu_ll_get_entry_id()
150 shift_code = 14; in mmu_ll_get_entry_id()
153 shift_code = 13; in mmu_ll_get_entry_id()
156 HAL_ASSERT(shift_code); in mmu_ll_get_entry_id()
158 return ((vaddr & MMU_VADDR_MASK) >> shift_code); in mmu_ll_get_entry_id()
177 uint32_t shift_code = 0; in mmu_ll_format_paddr() local
180 shift_code = 16; in mmu_ll_format_paddr()
183 shift_code = 15; in mmu_ll_format_paddr()
[all …]
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Dmmu_ll.h146 uint32_t shift_code = 0; in mmu_ll_get_entry_id() local
149 shift_code = 16; in mmu_ll_get_entry_id()
152 shift_code = 15; in mmu_ll_get_entry_id()
155 shift_code = 14; in mmu_ll_get_entry_id()
158 shift_code = 13; in mmu_ll_get_entry_id()
161 HAL_ASSERT(shift_code); in mmu_ll_get_entry_id()
164 return ((vaddr & MMU_VADDR_MASK) >> shift_code); in mmu_ll_get_entry_id()
183 uint32_t shift_code = 0; in mmu_ll_format_paddr() local
186 shift_code = 16; in mmu_ll_format_paddr()
189 shift_code = 15; in mmu_ll_format_paddr()
[all …]
/hal_espressif-latest/components/hal/esp32c2/include/hal/
Dmmu_ll.h143 uint32_t shift_code = 0; in mmu_ll_get_entry_id() local
146 shift_code = 16; in mmu_ll_get_entry_id()
149 shift_code = 15; in mmu_ll_get_entry_id()
152 shift_code = 14; in mmu_ll_get_entry_id()
155 HAL_ASSERT(shift_code); in mmu_ll_get_entry_id()
158 return ((vaddr & MMU_VADDR_MASK) >> shift_code); in mmu_ll_get_entry_id()
178 uint32_t shift_code = 0; in mmu_ll_format_paddr() local
181 shift_code = 16; in mmu_ll_format_paddr()
184 shift_code = 15; in mmu_ll_format_paddr()
187 shift_code = 14; in mmu_ll_format_paddr()
[all …]
/hal_espressif-latest/components/hal/esp32/include/hal/
Dmmu_ll.h148 uint32_t shift_code = 0; in mmu_ll_get_entry_id() local
154 shift_code = 16; in mmu_ll_get_entry_id()
158 shift_code = 16; in mmu_ll_get_entry_id()
162 shift_code = 16; in mmu_ll_get_entry_id()
166 shift_code = 16; in mmu_ll_get_entry_id()
171 shift_code = 15; in mmu_ll_get_entry_id()
177 return offset + ((vaddr & vaddr_mask) >> shift_code); in mmu_ll_get_entry_id()
194 uint32_t shift_code = 0; in mmu_ll_format_paddr() local
197 shift_code = 16; in mmu_ll_format_paddr()
200 shift_code = 15; in mmu_ll_format_paddr()
[all …]
/hal_espressif-latest/components/hal/
Dmmu_hal.c38 uint32_t shift_code = 0; in mmu_hal_pages_to_bytes() local
41 shift_code = 16; in mmu_hal_pages_to_bytes()
44 shift_code = 15; in mmu_hal_pages_to_bytes()
47 shift_code = 14; in mmu_hal_pages_to_bytes()
50 HAL_ASSERT(shift_code); in mmu_hal_pages_to_bytes()
52 return page_num << shift_code; in mmu_hal_pages_to_bytes()
58 uint32_t shift_code = 0; in mmu_hal_bytes_to_pages() local
61 shift_code = 16; in mmu_hal_bytes_to_pages()
64 shift_code = 15; in mmu_hal_bytes_to_pages()
67 shift_code = 14; in mmu_hal_bytes_to_pages()
[all …]