Lines Matching refs:desc
34 u32 *desc; in blob_decap() local
44 desc = malloc_cache_aligned(sizeof(int) * MAX_CAAM_DESCSIZE); in blob_decap()
45 if (!desc) { in blob_decap()
58 inline_cnstr_jobdesc_blob_decap(desc, key_mod, src, dst, len); in blob_decap()
62 debug("Word[%d]: %08x\n", i, *(desc + i)); in blob_decap()
65 flush_dcache_range((unsigned long)desc, in blob_decap()
66 (unsigned long)desc + size); in blob_decap()
68 ret = run_descriptor_jr(desc); in blob_decap()
80 free(desc); in blob_decap()
99 u32 *desc; in blob_encap() local
109 desc = malloc_cache_aligned(sizeof(int) * MAX_CAAM_DESCSIZE); in blob_encap()
110 if (!desc) { in blob_encap()
123 inline_cnstr_jobdesc_blob_encap(desc, key_mod, src, dst, len); in blob_encap()
127 debug("Word[%d]: %08x\n", i, *(desc + i)); in blob_encap()
130 flush_dcache_range((unsigned long)desc, in blob_encap()
131 (unsigned long)desc + size); in blob_encap()
133 ret = run_descriptor_jr(desc); in blob_encap()
145 free(desc); in blob_encap()
153 u32 *desc; in blob_dek() local
158 desc = memalign(ARCH_DMA_MINALIGN, in blob_dek()
160 if (!desc) { in blob_dek()
165 ret = inline_cnstr_jobdesc_blob_dek(desc, src, dst, len); in blob_dek()
171 flush_dcache_range((unsigned long)desc, in blob_dek()
172 (unsigned long)desc + size); in blob_dek()
177 ret = run_descriptor_jr(desc); in blob_dek()
194 free(desc); in blob_dek()