Searched refs:sh_desc (Results 1 – 4 of 4) sorted by relevance
| /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() 508 sizeof(drv_ctx->sh_desc) + sizeof(drv_ctx->prehdr), in caam_drv_ctx_rel()
|
| /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() 389 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_desc_setup() local 395 sh_desc->hw.sar = src; in sh_dmae_desc_setup() 396 sh_desc->hw.dar = dst; in sh_dmae_desc_setup() 397 sh_desc->hw.tcr = *len; in sh_dmae_desc_setup() 428 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_get_partial() local 430 return sh_desc->hw.tcr - in sh_dmae_get_partial() 466 struct sh_dmae_desc *sh_desc = container_of(sdesc, in sh_dmae_desc_completed() local [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)
|