Lines Matching refs:pd

540 				      struct ce_pd *pd,  in crypto4xx_copy_pkt_to_dst()  argument
628 struct ce_pd *pd) in crypto4xx_ablkcipher_done() argument
639 crypto4xx_copy_pkt_to_dst(dev, pd, pd_uinfo, ablk_req->nbytes, in crypto4xx_ablkcipher_done()
674 struct ce_pd *pd; in crypto4xx_pd_done() local
677 pd = dev->pdr + sizeof(struct ce_pd)*idx; in crypto4xx_pd_done()
681 return crypto4xx_ablkcipher_done(dev, pd_uinfo, pd); in crypto4xx_pd_done()
733 u32 pd_entry, struct ce_pd *pd, in crypto4xx_return_pd() argument
738 pd->pd_ctl.w = 0; in crypto4xx_return_pd()
739 pd->pd_ctl_len.w = 0; in crypto4xx_return_pd()
771 struct ce_pd *pd; in crypto4xx_build_pd() local
836 pd = crypto4xx_get_pdp(dev, &pd_dma, pd_entry); in crypto4xx_build_pd()
843 pd->sa = pd_uinfo->sa_pa; in crypto4xx_build_pd()
857 pd->sa = ctx->sa_in_dma_addr; in crypto4xx_build_pd()
860 pd->sa = ctx->sa_out_dma_addr; in crypto4xx_build_pd()
864 pd->sa_len = ctx->sa_len; in crypto4xx_build_pd()
871 pd->src = gd_dma; in crypto4xx_build_pd()
893 pd->src = (u32)dma_map_page(dev->core_dev->device, sg_page(src), in crypto4xx_build_pd()
917 pd->dest = virt_to_phys((void *)dst); in crypto4xx_build_pd()
919 pd->dest = (u32)dma_map_page(dev->core_dev->device, in crypto4xx_build_pd()
932 pd->dest = sd_dma; in crypto4xx_build_pd()
960 pd->pd_ctl.w = ctx->pd_ctl; in crypto4xx_build_pd()
961 pd->pd_ctl_len.w = 0x00400000 | (ctx->bypass << 24) | datalen; in crypto4xx_build_pd()
1066 struct ce_pd *pd; in crypto4xx_bh_tasklet_cb() local
1073 pd = core_dev->dev->pdr + sizeof(struct ce_pd) * tail; in crypto4xx_bh_tasklet_cb()
1075 pd->pd_ctl.bf.pe_done && in crypto4xx_bh_tasklet_cb()
1076 !pd->pd_ctl.bf.host_ready) { in crypto4xx_bh_tasklet_cb()
1077 pd->pd_ctl.bf.pe_done = 0; in crypto4xx_bh_tasklet_cb()