Lines Matching defs:ctx
146 static inline uint64_t drtm_features_tpm(void *ctx)
148 SMC_RET2(ctx, 1ULL, /* TPM feature is supported */
152 static inline uint64_t drtm_features_mem_req(void *ctx)
154 SMC_RET2(ctx, 1ULL, /* memory req Feature is supported */
158 static inline uint64_t drtm_features_boot_pe_id(void *ctx)
160 SMC_RET2(ctx, 1ULL, /* Boot PE feature is supported */
164 static inline uint64_t drtm_features_dma_prot(void *ctx)
166 SMC_RET2(ctx, 1ULL, /* DMA protection feature is supported */
170 static inline uint64_t drtm_features_tcb_hashes(void *ctx)
172 SMC_RET2(ctx, 1ULL, /* TCB hash feature is supported */
176 static enum drtm_retc drtm_dl_check_caller_el(void *ctx)
178 uint64_t spsr_el3 = read_ctx_reg(get_el3state_ctx(ctx), CTX_SPSR_EL3);
561 void *ctx = cm_get_context(NON_SECURE);
563 uint64_t spsr_el3 = read_ctx_reg(get_el3state_ctx(ctx), CTX_SPSR_EL3);