Lines Matching refs:decprot_id
93 void etzpc_configure_decprot(uint32_t decprot_id, in etzpc_configure_decprot() argument
96 uintptr_t offset = 4U * (decprot_id / IDS_PER_DECPROT_REGS); in etzpc_configure_decprot()
97 uint32_t shift = (decprot_id % IDS_PER_DECPROT_REGS) << DECPROT_SHIFT; in etzpc_configure_decprot()
100 assert(valid_decprot_id(decprot_id)); in etzpc_configure_decprot()
112 enum etzpc_decprot_attributes etzpc_get_decprot(uint32_t decprot_id) in etzpc_get_decprot() argument
114 uintptr_t offset = 4U * (decprot_id / IDS_PER_DECPROT_REGS); in etzpc_get_decprot()
115 uint32_t shift = (decprot_id % IDS_PER_DECPROT_REGS) << DECPROT_SHIFT; in etzpc_get_decprot()
119 assert(valid_decprot_id(decprot_id)); in etzpc_get_decprot()
131 void etzpc_lock_decprot(uint32_t decprot_id) in etzpc_lock_decprot() argument
133 uintptr_t offset = 4U * (decprot_id / IDS_PER_DECPROT_LOCK_REGS); in etzpc_lock_decprot()
134 uint32_t shift = BIT(decprot_id % IDS_PER_DECPROT_LOCK_REGS); in etzpc_lock_decprot()
137 assert(valid_decprot_id(decprot_id)); in etzpc_lock_decprot()