Searched refs:start_offset (Results 1 – 4 of 4) sorted by relevance
/hal_rpi_pico-latest/src/rp2_common/hardware_xip_cache/ |
D | xip_cache.c | 27 __force_inline static void check_xip_offset_range(uintptr_t start_offset, uintptr_t size_bytes) { in check_xip_offset_range() argument 30 (void)start_offset; in check_xip_offset_range() 32 valid_params_if(HARDWARE_XIP_CACHE, start_offset <= XIP_CACHE_ADDRESS_SPACE_SIZE); in check_xip_offset_range() 33 valid_params_if(HARDWARE_XIP_CACHE, start_offset + size_bytes <= XIP_CACHE_ADDRESS_SPACE_SIZE); in check_xip_offset_range() 35 valid_params_if(HARDWARE_XIP_CACHE, start_offset + size_bytes >= start_offset); in check_xip_offset_range() 40 static void __no_inline_not_in_flash_func(xip_cache_maintain)(uintptr_t start_offset, uintptr_t siz… in __no_inline_not_in_flash_func() 41 check_xip_offset_range(start_offset, size_bytes); in __no_inline_not_in_flash_func() 42 valid_params_if(HARDWARE_XIP_CACHE, (start_offset & (XIP_CACHE_LINE_SIZE - 1u)) == 0); in __no_inline_not_in_flash_func() 46 uintptr_t end = start_offset + size_bytes; in __no_inline_not_in_flash_func() 47 for (uintptr_t offset = start_offset; offset < end; offset += XIP_CACHE_LINE_SIZE) { in __no_inline_not_in_flash_func() [all …]
|
/hal_rpi_pico-latest/src/rp2_common/hardware_xip_cache/include/hardware/ |
D | xip_cache.h | 125 void xip_cache_invalidate_range(uintptr_t start_offset, uintptr_t size_bytes); 169 void xip_cache_clean_range(uintptr_t start_offset, uintptr_t size_bytes); 174 static inline void xip_cache_clean_range(uintptr_t start_offset, uintptr_t size_bytes) { in xip_cache_clean_range() argument 175 (void)start_offset; in xip_cache_clean_range() 201 void xip_cache_pin_range(uintptr_t start_offset, uintptr_t size_bytes);
|
/hal_rpi_pico-latest/src/rp2_common/pico_bootrom/ |
D | bootrom.c | 99 int rom_add_flash_runtime_partition(uint32_t start_offset, uint32_t size, uint32_t permissions) { in rom_add_flash_runtime_partition() argument 100 if ((start_offset) & 4095 || (size & 4095)) return PICO_ERROR_BAD_ALIGNMENT; in rom_add_flash_runtime_partition() 101 if (!size || start_offset + size > 32 * 1024 * 1024) return PICO_ERROR_INVALID_ARG; in rom_add_flash_runtime_partition() 120 ((start_offset / 4096) << PICOBIN_PARTITION_LOCATION_FIRST_SECTOR_LSB) | in rom_add_flash_runtime_partition() 121 ((start_offset + size - 4096) / 4096) << PICOBIN_PARTITION_LOCATION_LAST_SECTOR_LSB; in rom_add_flash_runtime_partition()
|
/hal_rpi_pico-latest/src/rp2_common/pico_bootrom/include/pico/ |
D | bootrom.h | 1066 int rom_add_flash_runtime_partition(uint32_t start_offset, uint32_t size, uint32_t permissions);
|