Lines Matching refs:p
115 .as.p.enable = en, \
116 .as.p.lock = 0, \
117 .as.p.mbz = 0, \
118 .as.p.start_addr = (saddr >> XTENSA_MPU_ENTRY_START_ADDR_SHIFT), \
119 .at.p.segment = 0, \
120 .at.p.mbz1 = 0, \
121 .at.p.access_rights = rights, \
122 .at.p.memory_type = memtype, \
123 .at.p.mbz2 = 0, \
201 return (entry->as.p.start_addr << XTENSA_MPU_ENTRY_REG_START_ADDR_SHIFT); in xtensa_mpu_entry_start_address_get()
213 entry->as.p.start_addr = addr >> XTENSA_MPU_ENTRY_REG_START_ADDR_SHIFT; in xtensa_mpu_entry_start_address_set()
227 return entry->as.p.lock != 0; in xtensa_mpu_entry_lock_get()
239 entry->as.p.lock = lock ? 1 : 0; in xtensa_mpu_entry_lock_set()
253 return entry->as.p.enable != 0; in xtensa_mpu_entry_enable_get()
265 entry->as.p.enable = en ? 1 : 0; in xtensa_mpu_entry_enable_set()
278 return entry->at.p.access_rights; in xtensa_mpu_entry_access_rights_get()
290 entry->at.p.access_rights = access_rights; in xtensa_mpu_entry_access_rights_set()
303 return entry->at.p.memory_type; in xtensa_mpu_entry_memory_type_get()
315 entry->at.p.memory_type = memory_type; in xtensa_mpu_entry_memory_type_set()
351 uint8_t segment = entry->at.p.segment; in xtensa_mpu_entry_set()
362 entry->at.p.segment = segment; in xtensa_mpu_entry_set()
377 return entry1->at.p.access_rights == entry2->at.p.access_rights; in xtensa_mpu_entries_has_same_access_rights()
392 return entry1->at.p.memory_type == entry2->at.p.memory_type; in xtensa_mpu_entries_has_same_memory_type()