Lines Matching refs:desc
14 void split_key_done(struct device *dev, u32 *desc, u32 err, in split_key_done() argument
48 u32 *desc; in gen_split_key() local
67 desc = kmalloc(CAAM_CMD_SZ * 6 + CAAM_PTR_SZ * 2, GFP_KERNEL); in gen_split_key()
68 if (!desc) { in gen_split_key()
81 init_job_desc(desc, 0); in gen_split_key()
82 append_key(desc, dma_addr, keylen, CLASS_2 | KEY_DEST_CLASS_REG); in gen_split_key()
85 append_operation(desc, (adata->algtype & OP_ALG_ALGSEL_MASK) | in gen_split_key()
93 append_fifo_load_as_imm(desc, NULL, 0, LDST_CLASS_2_CCB | in gen_split_key()
100 append_fifo_store(desc, dma_addr, adata->keylen, in gen_split_key()
104 DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), in gen_split_key()
110 ret = caam_jr_enqueue(jrdev, desc, split_key_done, &result); in gen_split_key()
123 kfree(desc); in gen_split_key()