Searched refs:sh_desc (Results 1 – 8 of 8) sorted by relevance
/drivers/crypto/caam/ |
D | qi.c | 319 int caam_drv_ctx_update(struct caam_drv_ctx *drv_ctx, u32 *sh_desc) in caam_drv_ctx_update() argument 326 num_words = desc_len(sh_desc); in caam_drv_ctx_update() 367 memcpy(drv_ctx->sh_desc, sh_desc, desc_bytes(sh_desc)); in caam_drv_ctx_update() 369 sizeof(drv_ctx->sh_desc) + in caam_drv_ctx_update() 397 u32 *sh_desc) in caam_drv_ctx_init() argument 405 num_words = desc_len(sh_desc); in caam_drv_ctx_init() 423 memcpy(drv_ctx->sh_desc, sh_desc, desc_bytes(sh_desc)); in caam_drv_ctx_init() 424 size = sizeof(drv_ctx->prehdr) + sizeof(drv_ctx->sh_desc); in caam_drv_ctx_init() 504 sizeof(drv_ctx->sh_desc) + sizeof(drv_ctx->prehdr), in caam_drv_ctx_rel()
|
D | qi.h | 62 u32 sh_desc[MAX_SDLEN]; member 110 u32 *sh_desc); 143 int caam_drv_ctx_update(struct caam_drv_ctx *drv_ctx, u32 *sh_desc);
|
D | caamalg_qi2.h | 160 u32 sh_desc[MAX_SDLEN]; member
|
D | caamalg_qi2.c | 233 desc = flc->sh_desc; in aead_set_sh_desc() 261 desc = flc->sh_desc; in aead_set_sh_desc() 597 desc = flc->sh_desc; in chachapoly_set_sh_desc() 606 desc = flc->sh_desc; in chachapoly_set_sh_desc() 673 desc = flc->sh_desc; in gcm_set_sh_desc() 693 desc = flc->sh_desc; in gcm_set_sh_desc() 766 desc = flc->sh_desc; in rfc4106_set_sh_desc() 786 desc = flc->sh_desc; in rfc4106_set_sh_desc() 867 desc = flc->sh_desc; in rfc4543_set_sh_desc() 887 desc = flc->sh_desc; in rfc4543_set_sh_desc() [all …]
|
D | caamalg.c | 1068 u32 *sh_desc; in init_aead_job() local 1070 sh_desc = encrypt ? ctx->sh_desc_enc : ctx->sh_desc_dec; in init_aead_job() 1073 len = desc_len(sh_desc); in init_aead_job() 1242 u32 *sh_desc; in init_skcipher_job() local 1256 sh_desc = encrypt ? ctx->sh_desc_enc : ctx->sh_desc_dec; in init_skcipher_job() 1259 len = desc_len(sh_desc); in init_skcipher_job()
|
D | caamhash.c | 694 int sg_num, u32 *sh_desc, in ahash_edesc_alloc() argument 713 init_job_desc_shared(edesc->hw_desc, sh_desc_dma, desc_len(sh_desc), in ahash_edesc_alloc()
|
/drivers/dma/sh/ |
D | shdmac.c | 287 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_start_xfer() local 291 sh_desc->hw.tcr, sh_desc->hw.sar, sh_desc->hw.dar); in sh_dmae_start_xfer() 293 dmae_set_reg(sh_chan, &sh_desc->hw); in sh_dmae_start_xfer() 381 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_desc_setup() local 387 sh_desc->hw.sar = src; in sh_dmae_desc_setup() 388 sh_desc->hw.dar = dst; in sh_dmae_desc_setup() 389 sh_desc->hw.tcr = *len; in sh_dmae_desc_setup() 420 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_get_partial() local 422 return sh_desc->hw.tcr - in sh_dmae_get_partial() 458 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_desc_completed() local [all …]
|
D | shdma.h | 56 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node) 57 #define tx_to_sh_desc(tx) container_of(tx, struct sh_desc, async_tx)
|