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()
791 struct ce_pd *pd; in crypto4xx_build_pd() local
856 pd = crypto4xx_get_pdp(dev, &pd_dma, pd_entry); in crypto4xx_build_pd()
863 pd->sa = pd_uinfo->sa_pa; in crypto4xx_build_pd()
877 pd->sa = ctx->sa_in_dma_addr; in crypto4xx_build_pd()
880 pd->sa = ctx->sa_out_dma_addr; in crypto4xx_build_pd()
884 pd->sa_len = ctx->sa_len; in crypto4xx_build_pd()
891 pd->src = gd_dma; in crypto4xx_build_pd()
913 pd->src = (u32)dma_map_page(dev->core_dev->device, sg_page(src), in crypto4xx_build_pd()
937 pd->dest = virt_to_phys((void *)dst); in crypto4xx_build_pd()
939 pd->dest = (u32)dma_map_page(dev->core_dev->device, in crypto4xx_build_pd()
952 pd->dest = sd_dma; in crypto4xx_build_pd()
980 pd->pd_ctl.w = ctx->pd_ctl; in crypto4xx_build_pd()
981 pd->pd_ctl_len.w = 0x00400000 | (ctx->bypass << 24) | datalen; in crypto4xx_build_pd()
1086 struct ce_pd *pd; in crypto4xx_bh_tasklet_cb() local
1093 pd = core_dev->dev->pdr + sizeof(struct ce_pd) * tail; in crypto4xx_bh_tasklet_cb()
1095 pd->pd_ctl.bf.pe_done && in crypto4xx_bh_tasklet_cb()
1096 !pd->pd_ctl.bf.host_ready) { in crypto4xx_bh_tasklet_cb()
1097 pd->pd_ctl.bf.pe_done = 0; in crypto4xx_bh_tasklet_cb()