Symbol: pd_uinfo
drivers/crypto/amcc/crypto4xx_core.c
1022
struct pd_uinfo *pd_uinfo;
drivers/crypto/amcc/crypto4xx_core.c
1028
pd_uinfo = &core_dev->dev->pdr_uinfo[tail];
drivers/crypto/amcc/crypto4xx_core.c
1030
if ((pd_uinfo->state & PD_ENTRY_INUSE) &&
drivers/crypto/amcc/crypto4xx_core.c
174
dev->pdr_uinfo = kzalloc_objs(struct pd_uinfo, PPC4XX_NUM_PD);
drivers/crypto/amcc/crypto4xx_core.c
196
struct pd_uinfo *pd_uinfo = &dev->pdr_uinfo[i];
drivers/crypto/amcc/crypto4xx_core.c
202
pd_uinfo->sa_va = &dev->shadow_sa_pool[i].sa;
drivers/crypto/amcc/crypto4xx_core.c
205
pd_uinfo->sr_va = &dev->shadow_sr_pool[i];
drivers/crypto/amcc/crypto4xx_core.c
206
pd_uinfo->sr_pa = dev->shadow_sr_pool_pa +
drivers/crypto/amcc/crypto4xx_core.c
251
struct pd_uinfo *pd_uinfo = &dev->pdr_uinfo[idx];
drivers/crypto/amcc/crypto4xx_core.c
256
pd_uinfo->state = PD_ENTRY_FREE;
drivers/crypto/amcc/crypto4xx_core.c
445
struct pd_uinfo *pd_uinfo,
drivers/crypto/amcc/crypto4xx_core.c
449
unsigned int first_sd = pd_uinfo->first_sd;
drivers/crypto/amcc/crypto4xx_core.c
461
last_sd = (first_sd + pd_uinfo->num_sd);
drivers/crypto/amcc/crypto4xx_core.c
486
struct pd_uinfo *pd_uinfo)
drivers/crypto/amcc/crypto4xx_core.c
489
if (pd_uinfo->num_gd) {
drivers/crypto/amcc/crypto4xx_core.c
490
for (i = 0; i < pd_uinfo->num_gd; i++)
drivers/crypto/amcc/crypto4xx_core.c
492
pd_uinfo->first_gd = 0xffffffff;
drivers/crypto/amcc/crypto4xx_core.c
493
pd_uinfo->num_gd = 0;
drivers/crypto/amcc/crypto4xx_core.c
495
if (pd_uinfo->num_sd) {
drivers/crypto/amcc/crypto4xx_core.c
496
for (i = 0; i < pd_uinfo->num_sd; i++)
drivers/crypto/amcc/crypto4xx_core.c
499
pd_uinfo->first_sd = 0xffffffff;
drivers/crypto/amcc/crypto4xx_core.c
500
pd_uinfo->num_sd = 0;
drivers/crypto/amcc/crypto4xx_core.c
505
struct pd_uinfo *pd_uinfo,
drivers/crypto/amcc/crypto4xx_core.c
511
req = skcipher_request_cast(pd_uinfo->async_req);
drivers/crypto/amcc/crypto4xx_core.c
513
if (pd_uinfo->sa_va->sa_command_0.bf.scatter) {
drivers/crypto/amcc/crypto4xx_core.c
514
crypto4xx_copy_pkt_to_dst(dev, pd, pd_uinfo,
drivers/crypto/amcc/crypto4xx_core.c
517
dst = pd_uinfo->dest_va;
drivers/crypto/amcc/crypto4xx_core.c
522
if (pd_uinfo->sa_va->sa_command_0.bf.save_iv == SA_SAVE_IV) {
drivers/crypto/amcc/crypto4xx_core.c
526
pd_uinfo->sr_va->save_iv,
drivers/crypto/amcc/crypto4xx_core.c
530
crypto4xx_ret_sg_desc(dev, pd_uinfo);
drivers/crypto/amcc/crypto4xx_core.c
532
if (pd_uinfo->state & PD_ENTRY_BUSY)
drivers/crypto/amcc/crypto4xx_core.c
538
struct pd_uinfo *pd_uinfo,
drivers/crypto/amcc/crypto4xx_core.c
541
struct aead_request *aead_req = container_of(pd_uinfo->async_req,
drivers/crypto/amcc/crypto4xx_core.c
543
struct scatterlist *dst = pd_uinfo->dest_va;
drivers/crypto/amcc/crypto4xx_core.c
549
if (pd_uinfo->sa_va->sa_command_0.bf.scatter) {
drivers/crypto/amcc/crypto4xx_core.c
550
crypto4xx_copy_pkt_to_dst(dev, pd, pd_uinfo,
drivers/crypto/amcc/crypto4xx_core.c
558
if (pd_uinfo->sa_va->sa_command_0.bf.dir == DIR_OUTBOUND) {
drivers/crypto/amcc/crypto4xx_core.c
560
crypto4xx_memcpy_from_le32(icv, pd_uinfo->sr_va->save_digest,
drivers/crypto/amcc/crypto4xx_core.c
573
if (crypto_memneq(icv, pd_uinfo->sr_va->save_digest, cp_len))
drivers/crypto/amcc/crypto4xx_core.c
577
crypto4xx_ret_sg_desc(dev, pd_uinfo);
drivers/crypto/amcc/crypto4xx_core.c
595
if (pd_uinfo->state & PD_ENTRY_BUSY)
drivers/crypto/amcc/crypto4xx_core.c
604
struct pd_uinfo *pd_uinfo = &dev->pdr_uinfo[idx];
drivers/crypto/amcc/crypto4xx_core.c
606
switch (crypto_tfm_alg_type(pd_uinfo->async_req->tfm)) {
drivers/crypto/amcc/crypto4xx_core.c
608
crypto4xx_cipher_done(dev, pd_uinfo, pd);
drivers/crypto/amcc/crypto4xx_core.c
611
crypto4xx_aead_done(dev, pd_uinfo, pd);
drivers/crypto/amcc/crypto4xx_core.c
659
struct pd_uinfo *pd_uinfo;
drivers/crypto/amcc/crypto4xx_core.c
772
pd_uinfo = &dev->pdr_uinfo[pd_entry];
drivers/crypto/amcc/crypto4xx_core.c
773
pd_uinfo->num_gd = num_gd;
drivers/crypto/amcc/crypto4xx_core.c
774
pd_uinfo->num_sd = num_sd;
drivers/crypto/amcc/crypto4xx_core.c
775
pd_uinfo->dest_va = dst;
drivers/crypto/amcc/crypto4xx_core.c
776
pd_uinfo->async_req = req;
drivers/crypto/amcc/crypto4xx_core.c
779
memcpy(pd_uinfo->sr_va->save_iv, iv, iv_len);
drivers/crypto/amcc/crypto4xx_core.c
781
sa = pd_uinfo->sa_va;
drivers/crypto/amcc/crypto4xx_core.c
786
*(u32 *)((unsigned long)sa + offset_to_sr_ptr) = pd_uinfo->sr_pa;
drivers/crypto/amcc/crypto4xx_core.c
794
pd_uinfo->first_gd = fst_gd;
drivers/crypto/amcc/crypto4xx_core.c
830
pd_uinfo->first_gd = 0xffffffff;
drivers/crypto/amcc/crypto4xx_core.c
837
pd_uinfo->first_sd = 0xffffffff;
drivers/crypto/amcc/crypto4xx_core.c
850
pd_uinfo->first_sd = fst_sd;
drivers/crypto/amcc/crypto4xx_core.c
883
pd_uinfo->state = PD_ENTRY_INUSE | (is_busy ? PD_ENTRY_BUSY : 0);
drivers/crypto/amcc/crypto4xx_core.h
96
struct pd_uinfo *pdr_uinfo;