Symbol: pd_uinfo
drivers/crypto/amcc/crypto4xx_core.c
1032
struct pd_uinfo *pd_uinfo;
drivers/crypto/amcc/crypto4xx_core.c
1038
pd_uinfo = &core_dev->dev->pdr_uinfo[tail];
drivers/crypto/amcc/crypto4xx_core.c
1040
if ((pd_uinfo->state & PD_ENTRY_INUSE) &&
drivers/crypto/amcc/crypto4xx_core.c
176
dev->pdr_uinfo = kzalloc_objs(struct pd_uinfo, PPC4XX_NUM_PD);
drivers/crypto/amcc/crypto4xx_core.c
198
struct pd_uinfo *pd_uinfo = &dev->pdr_uinfo[i];
drivers/crypto/amcc/crypto4xx_core.c
204
pd_uinfo->sa_va = &dev->shadow_sa_pool[i].sa;
drivers/crypto/amcc/crypto4xx_core.c
207
pd_uinfo->sr_va = &dev->shadow_sr_pool[i];
drivers/crypto/amcc/crypto4xx_core.c
208
pd_uinfo->sr_pa = dev->shadow_sr_pool_pa +
drivers/crypto/amcc/crypto4xx_core.c
253
struct pd_uinfo *pd_uinfo = &dev->pdr_uinfo[idx];
drivers/crypto/amcc/crypto4xx_core.c
258
pd_uinfo->state = PD_ENTRY_FREE;
drivers/crypto/amcc/crypto4xx_core.c
447
struct pd_uinfo *pd_uinfo,
drivers/crypto/amcc/crypto4xx_core.c
451
unsigned int first_sd = pd_uinfo->first_sd;
drivers/crypto/amcc/crypto4xx_core.c
463
last_sd = (first_sd + pd_uinfo->num_sd);
drivers/crypto/amcc/crypto4xx_core.c
488
struct pd_uinfo *pd_uinfo)
drivers/crypto/amcc/crypto4xx_core.c
491
if (pd_uinfo->num_gd) {
drivers/crypto/amcc/crypto4xx_core.c
492
for (i = 0; i < pd_uinfo->num_gd; i++)
drivers/crypto/amcc/crypto4xx_core.c
494
pd_uinfo->first_gd = 0xffffffff;
drivers/crypto/amcc/crypto4xx_core.c
495
pd_uinfo->num_gd = 0;
drivers/crypto/amcc/crypto4xx_core.c
497
if (pd_uinfo->num_sd) {
drivers/crypto/amcc/crypto4xx_core.c
498
for (i = 0; i < pd_uinfo->num_sd; i++)
drivers/crypto/amcc/crypto4xx_core.c
501
pd_uinfo->first_sd = 0xffffffff;
drivers/crypto/amcc/crypto4xx_core.c
502
pd_uinfo->num_sd = 0;
drivers/crypto/amcc/crypto4xx_core.c
507
struct pd_uinfo *pd_uinfo,
drivers/crypto/amcc/crypto4xx_core.c
513
req = skcipher_request_cast(pd_uinfo->async_req);
drivers/crypto/amcc/crypto4xx_core.c
515
if (pd_uinfo->sa_va->sa_command_0.bf.scatter) {
drivers/crypto/amcc/crypto4xx_core.c
516
crypto4xx_copy_pkt_to_dst(dev, pd, pd_uinfo,
drivers/crypto/amcc/crypto4xx_core.c
519
dst = pd_uinfo->dest_va;
drivers/crypto/amcc/crypto4xx_core.c
524
if (pd_uinfo->sa_va->sa_command_0.bf.save_iv == SA_SAVE_IV) {
drivers/crypto/amcc/crypto4xx_core.c
528
pd_uinfo->sr_va->save_iv,
drivers/crypto/amcc/crypto4xx_core.c
532
crypto4xx_ret_sg_desc(dev, pd_uinfo);
drivers/crypto/amcc/crypto4xx_core.c
534
if (pd_uinfo->state & PD_ENTRY_BUSY)
drivers/crypto/amcc/crypto4xx_core.c
540
struct pd_uinfo *pd_uinfo,
drivers/crypto/amcc/crypto4xx_core.c
543
struct aead_request *aead_req = container_of(pd_uinfo->async_req,
drivers/crypto/amcc/crypto4xx_core.c
545
struct scatterlist *dst = pd_uinfo->dest_va;
drivers/crypto/amcc/crypto4xx_core.c
551
if (pd_uinfo->sa_va->sa_command_0.bf.scatter) {
drivers/crypto/amcc/crypto4xx_core.c
552
crypto4xx_copy_pkt_to_dst(dev, pd, pd_uinfo,
drivers/crypto/amcc/crypto4xx_core.c
560
if (pd_uinfo->sa_va->sa_command_0.bf.dir == DIR_OUTBOUND) {
drivers/crypto/amcc/crypto4xx_core.c
562
crypto4xx_memcpy_from_le32(icv, pd_uinfo->sr_va->save_digest,
drivers/crypto/amcc/crypto4xx_core.c
575
if (crypto_memneq(icv, pd_uinfo->sr_va->save_digest, cp_len))
drivers/crypto/amcc/crypto4xx_core.c
579
crypto4xx_ret_sg_desc(dev, pd_uinfo);
drivers/crypto/amcc/crypto4xx_core.c
597
if (pd_uinfo->state & PD_ENTRY_BUSY)
drivers/crypto/amcc/crypto4xx_core.c
606
struct pd_uinfo *pd_uinfo = &dev->pdr_uinfo[idx];
drivers/crypto/amcc/crypto4xx_core.c
608
switch (crypto_tfm_alg_type(pd_uinfo->async_req->tfm)) {
drivers/crypto/amcc/crypto4xx_core.c
610
crypto4xx_cipher_done(dev, pd_uinfo, pd);
drivers/crypto/amcc/crypto4xx_core.c
613
crypto4xx_aead_done(dev, pd_uinfo, pd);
drivers/crypto/amcc/crypto4xx_core.c
661
struct pd_uinfo *pd_uinfo;
drivers/crypto/amcc/crypto4xx_core.c
774
pd_uinfo = &dev->pdr_uinfo[pd_entry];
drivers/crypto/amcc/crypto4xx_core.c
775
pd_uinfo->num_gd = num_gd;
drivers/crypto/amcc/crypto4xx_core.c
776
pd_uinfo->num_sd = num_sd;
drivers/crypto/amcc/crypto4xx_core.c
777
pd_uinfo->dest_va = dst;
drivers/crypto/amcc/crypto4xx_core.c
778
pd_uinfo->async_req = req;
drivers/crypto/amcc/crypto4xx_core.c
781
memcpy(pd_uinfo->sr_va->save_iv, iv, iv_len);
drivers/crypto/amcc/crypto4xx_core.c
783
sa = pd_uinfo->sa_va;
drivers/crypto/amcc/crypto4xx_core.c
788
*(u32 *)((unsigned long)sa + offset_to_sr_ptr) = pd_uinfo->sr_pa;
drivers/crypto/amcc/crypto4xx_core.c
796
pd_uinfo->first_gd = fst_gd;
drivers/crypto/amcc/crypto4xx_core.c
832
pd_uinfo->first_gd = 0xffffffff;
drivers/crypto/amcc/crypto4xx_core.c
839
pd_uinfo->first_sd = 0xffffffff;
drivers/crypto/amcc/crypto4xx_core.c
852
pd_uinfo->first_sd = fst_sd;
drivers/crypto/amcc/crypto4xx_core.c
885
pd_uinfo->state = PD_ENTRY_INUSE | (is_busy ? PD_ENTRY_BUSY : 0);
drivers/crypto/amcc/crypto4xx_core.h
98
struct pd_uinfo *pdr_uinfo;