Lines Matching refs:vdpa_aux
170 void pds_vdpa_debugfs_add_pcidev(struct pds_vdpa_aux *vdpa_aux)
172 vdpa_aux->dentry = debugfs_create_dir(pci_name(vdpa_aux->padev->vf_pdev), dbfs_dir);
177 struct pds_vdpa_aux *vdpa_aux = seq->private;
182 dev_name(&vdpa_aux->padev->aux_dev.dev));
184 mgmt = &vdpa_aux->vdpa_mdev;
187 hw_features = le64_to_cpu(vdpa_aux->ident.hw_features);
195 void pds_vdpa_debugfs_add_ident(struct pds_vdpa_aux *vdpa_aux)
197 debugfs_create_file("identity", 0400, vdpa_aux->dentry,
198 vdpa_aux, &identity_fops);
207 memcpy_fromio(&vc, pdsv->vdpa_aux->vd_mdev.device,
224 status = vp_modern_get_status(&pdsv->vdpa_aux->vd_mdev);
257 void pds_vdpa_debugfs_add_vdpadev(struct pds_vdpa_aux *vdpa_aux)
261 debugfs_create_file("config", 0400, vdpa_aux->dentry, vdpa_aux->pdsv, &config_fops);
263 for (i = 0; i < vdpa_aux->pdsv->num_vqs; i++) {
267 debugfs_create_file(name, 0400, vdpa_aux->dentry,
268 &vdpa_aux->pdsv->vqs[i], &vq_fops);
272 void pds_vdpa_debugfs_del_vdpadev(struct pds_vdpa_aux *vdpa_aux)
274 debugfs_remove_recursive(vdpa_aux->dentry);
275 vdpa_aux->dentry = NULL;
278 void pds_vdpa_debugfs_reset_vdpadev(struct pds_vdpa_aux *vdpa_aux)
283 pds_vdpa_debugfs_del_vdpadev(vdpa_aux);
284 pds_vdpa_debugfs_add_pcidev(vdpa_aux);
285 pds_vdpa_debugfs_add_ident(vdpa_aux);