Searched refs:sh_desc (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/crypto/caam/ |
H A D | qi.h | 65 u32 sh_desc[MAX_SDLEN]; member 114 u32 *sh_desc); 147 int caam_drv_ctx_update(struct caam_drv_ctx *drv_ctx, u32 *sh_desc);
|
H A D | qi.c | 326 int caam_drv_ctx_update(struct caam_drv_ctx *drv_ctx, u32 *sh_desc) in caam_drv_ctx_update() argument 333 num_words = desc_len(sh_desc); in caam_drv_ctx_update() 374 memcpy(drv_ctx->sh_desc, sh_desc, desc_bytes(sh_desc)); in caam_drv_ctx_update() 376 sizeof(drv_ctx->sh_desc) + in caam_drv_ctx_update() 404 u32 *sh_desc) in caam_drv_ctx_init() argument 412 num_words = desc_len(sh_desc); in caam_drv_ctx_init() 430 memcpy(drv_ctx->sh_desc, sh_desc, desc_bytes(sh_desc)); in caam_drv_ctx_init() 431 size = sizeof(drv_ctx->prehdr) + sizeof(drv_ctx->sh_desc); in caam_drv_ctx_init() 511 sizeof(drv_ctx->sh_desc) + sizeof(drv_ctx->prehdr), in caam_drv_ctx_rel()
|
H A D | caamalg_qi2.h | 158 u32 sh_desc[MAX_SDLEN]; member
|
H A D | caamalg_qi2.c | 238 desc = flc->sh_desc; in aead_set_sh_desc() 266 desc = flc->sh_desc; in aead_set_sh_desc() 602 desc = flc->sh_desc; in chachapoly_set_sh_desc() 611 desc = flc->sh_desc; in chachapoly_set_sh_desc() 678 desc = flc->sh_desc; in gcm_set_sh_desc() 698 desc = flc->sh_desc; in gcm_set_sh_desc() 771 desc = flc->sh_desc; in rfc4106_set_sh_desc() 791 desc = flc->sh_desc; in rfc4106_set_sh_desc() 872 desc = flc->sh_desc; in rfc4543_set_sh_desc() 892 desc = flc->sh_desc; in rfc4543_set_sh_desc() [all …]
|
H A D | caamalg.c | 1083 u32 *sh_desc; in init_aead_job() local 1085 sh_desc = encrypt ? ctx->sh_desc_enc : ctx->sh_desc_dec; in init_aead_job() 1088 len = desc_len(sh_desc); in init_aead_job() 1258 u32 *sh_desc; in init_skcipher_job() local 1272 sh_desc = encrypt ? ctx->sh_desc_enc : ctx->sh_desc_dec; in init_skcipher_job() 1275 len = desc_len(sh_desc); in init_skcipher_job()
|
H A D | caamhash.c | 703 int sg_num, u32 *sh_desc, in ahash_edesc_alloc() argument 718 init_job_desc_shared(edesc->hw_desc, sh_desc_dma, desc_len(sh_desc), in ahash_edesc_alloc()
|
/openbmc/linux/drivers/dma/sh/ |
H A D | shdmac.c | 286 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_start_xfer() local 290 sh_desc->hw.tcr, sh_desc->hw.sar, sh_desc->hw.dar); in sh_dmae_start_xfer() 292 dmae_set_reg(sh_chan, &sh_desc->hw); in sh_dmae_start_xfer() 380 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_desc_setup() local 386 sh_desc->hw.sar = src; in sh_dmae_desc_setup() 387 sh_desc->hw.dar = dst; in sh_dmae_desc_setup() 388 sh_desc->hw.tcr = *len; in sh_dmae_desc_setup() 419 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_get_partial() local 421 return sh_desc->hw.tcr - in sh_dmae_get_partial() 463 (sh_desc->hw.dar + sh_desc->hw.tcr) == dar_buf) || in sh_dmae_desc_completed() [all …]
|
H A 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)
|