Home
last modified time | relevance | path

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

/Zephyr-latest/arch/xtensa/include/
Dxtensa_mpu_priv.h199 uintptr_t xtensa_mpu_entry_start_address_get(const struct xtensa_mpu_entry *entry) in xtensa_mpu_entry_start_address_get()
211 void xtensa_mpu_entry_start_address_set(struct xtensa_mpu_entry *entry, uintptr_t addr) in xtensa_mpu_entry_start_address_set()
225 bool xtensa_mpu_entry_lock_get(const struct xtensa_mpu_entry *entry) in xtensa_mpu_entry_lock_get()
237 void xtensa_mpu_entry_lock_set(struct xtensa_mpu_entry *entry, bool lock) in xtensa_mpu_entry_lock_set()
251 bool xtensa_mpu_entry_enable_get(const struct xtensa_mpu_entry *entry) in xtensa_mpu_entry_enable_get()
263 void xtensa_mpu_entry_enable_set(struct xtensa_mpu_entry *entry, bool en) in xtensa_mpu_entry_enable_set()
276 uint8_t xtensa_mpu_entry_access_rights_get(const struct xtensa_mpu_entry *entry) in xtensa_mpu_entry_access_rights_get()
288 void xtensa_mpu_entry_access_rights_set(struct xtensa_mpu_entry *entry, uint8_t access_rights) in xtensa_mpu_entry_access_rights_set()
301 uint16_t xtensa_mpu_entry_memory_type_get(const struct xtensa_mpu_entry *entry) in xtensa_mpu_entry_memory_type_get()
313 void xtensa_mpu_entry_memory_type_set(struct xtensa_mpu_entry *entry, uint16_t memory_type) in xtensa_mpu_entry_memory_type_set()
[all …]
/Zephyr-latest/arch/xtensa/core/
Dmpu.c156 struct xtensa_mpu_entry *check_addr_in_mpu_entries(const struct xtensa_mpu_entry *entries, in check_addr_in_mpu_entries()
160 const struct xtensa_mpu_entry *ret = NULL; in check_addr_in_mpu_entries()
218 static inline uint8_t find_first_enabled_entry(const struct xtensa_mpu_entry *entries) in find_first_enabled_entry()
247 struct xtensa_mpu_entry *e_a = (struct xtensa_mpu_entry *)a; in compare_entries()
248 struct xtensa_mpu_entry *e_b = (struct xtensa_mpu_entry *)b; in compare_entries()
268 static void sort_entries(struct xtensa_mpu_entry *entries) in sort_entries()
288 static uint8_t consolidate_entries(struct xtensa_mpu_entry *entries, in consolidate_entries()
298 struct xtensa_mpu_entry *entry_0 = &entries[idx_0]; in consolidate_entries()
299 struct xtensa_mpu_entry *entry_1 = &entries[idx_1]; in consolidate_entries()
351 struct xtensa_mpu_entry *entry_rd = &entries[read_idx]; in consolidate_entries()
[all …]
/Zephyr-latest/include/zephyr/arch/xtensa/
Dmpu.h89 struct xtensa_mpu_entry { struct
190 struct xtensa_mpu_entry entries[XTENSA_MPU_NUM_ENTRIES]; argument