Lines Matching defs:otx2_cptpf_dev
26 struct otx2_cptpf_dev { struct
27 void __iomem *reg_base; /* CPT PF registers start address */
28 void __iomem *afpf_mbox_base; /* PF-AF mbox start address */
29 void __iomem *vfpf_mbox_base; /* VF-PF mbox start address */
30 struct pci_dev *pdev; /* PCI device handle */
31 struct otx2_cptvf_info vf[OTX2_CPT_MAX_VFS_NUM];
32 struct otx2_cpt_eng_grps eng_grps;/* Engine groups information */
33 struct otx2_cptlfs_info lfs; /* CPT LFs attached to this PF */
35 union otx2_cpt_eng_caps eng_caps[OTX2_CPT_MAX_ENG_TYPES];
36 bool is_eng_caps_discovered;
39 struct otx2_mbox afpf_mbox;
40 struct work_struct afpf_mbox_work;
41 struct workqueue_struct *afpf_mbox_wq;
44 struct otx2_mbox vfpf_mbox;
45 struct workqueue_struct *vfpf_mbox_wq;
47 struct workqueue_struct *flr_wq;
48 struct cptpf_flr_work *flr_work;
49 struct mutex lock; /* serialize mailbox access */
51 unsigned long cap_flag;
52 u8 pf_id; /* RVU PF number */
53 u8 max_vfs; /* Maximum number of VFs supported by CPT */
54 u8 enabled_vfs; /* Number of enabled VFs */
55 u8 kvf_limits; /* Kernel crypto limits */
56 bool has_cpt1;
59 struct devlink *dl;