Searched refs:g_job (Results 1 – 1 of 1) sorted by relevance
68 static struct caam_job* g_job; variable189 g_job = memalign(MAX_DSC_NUM * sizeof(uint32_t), sizeof(struct caam_job)); in init_caam_env()190 if (!g_job) { in init_caam_env()238 assert(sizeof(rng_inst_dsc) <= sizeof(g_job->dsc)); in caam_open()239 memcpy(g_job->dsc, rng_inst_dsc, sizeof(rng_inst_dsc)); in caam_open()240 g_job->dsc_used = countof(rng_inst_dsc); in caam_open()242 run_job(g_job); in caam_open()244 if (g_job->status & JOB_RING_STS) { in caam_open()245 TLOGE("job failed (0x%08x)\n", g_job->status); in caam_open()296 g_job->dsc[0] = 0xB0800008; in caam_decap_blob()[all …]