Lines Matching refs:desc
31 u32 *desc; in blob_decap() local
41 desc = malloc_cache_aligned(sizeof(int) * MAX_CAAM_DESCSIZE); in blob_decap()
42 if (!desc) { in blob_decap()
55 inline_cnstr_jobdesc_blob_decap(desc, key_mod, src, dst, len); in blob_decap()
59 debug("Word[%d]: %08x\n", i, *(desc + i)); in blob_decap()
62 flush_dcache_range((unsigned long)desc, in blob_decap()
63 (unsigned long)desc + size); in blob_decap()
65 ret = run_descriptor_jr(desc); in blob_decap()
77 free(desc); in blob_decap()
96 u32 *desc; in blob_encap() local
106 desc = malloc_cache_aligned(sizeof(int) * MAX_CAAM_DESCSIZE); in blob_encap()
107 if (!desc) { in blob_encap()
120 inline_cnstr_jobdesc_blob_encap(desc, key_mod, src, dst, len); in blob_encap()
124 debug("Word[%d]: %08x\n", i, *(desc + i)); in blob_encap()
127 flush_dcache_range((unsigned long)desc, in blob_encap()
128 (unsigned long)desc + size); in blob_encap()
130 ret = run_descriptor_jr(desc); in blob_encap()
142 free(desc); in blob_encap()
150 u32 *desc; in blob_dek() local
155 desc = memalign(ARCH_DMA_MINALIGN, in blob_dek()
157 if (!desc) { in blob_dek()
162 ret = inline_cnstr_jobdesc_blob_dek(desc, src, dst, len); in blob_dek()
168 flush_dcache_range((unsigned long)desc, in blob_dek()
169 (unsigned long)desc + size); in blob_dek()
174 ret = run_descriptor_jr(desc); in blob_dek()
191 free(desc); in blob_dek()