Searched refs:vdpa_aux (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/vdpa/pds/ |
H A D | aux_drv.c | 39 struct pds_vdpa_aux *vdpa_aux; in pds_vdpa_probe() local 42 vdpa_aux = kzalloc(sizeof(*vdpa_aux), GFP_KERNEL); in pds_vdpa_probe() 43 if (!vdpa_aux) in pds_vdpa_probe() 46 vdpa_aux->padev = padev; in pds_vdpa_probe() 51 err = pds_vdpa_get_mgmt_info(vdpa_aux); in pds_vdpa_probe() 74 pds_vdpa_debugfs_add_pcidev(vdpa_aux); in pds_vdpa_probe() 75 pds_vdpa_debugfs_add_ident(vdpa_aux); in pds_vdpa_probe() 80 vp_modern_remove(&vdpa_aux->vd_mdev); in pds_vdpa_probe() 84 kfree(vdpa_aux); in pds_vdpa_probe() 96 vp_modern_remove(&vdpa_aux->vd_mdev); in pds_vdpa_remove() [all …]
|
H A D | debugfs.c | 172 vdpa_aux->dentry = debugfs_create_dir(pci_name(vdpa_aux->padev->vf_pdev), dbfs_dir); in pds_vdpa_debugfs_add_pcidev() 177 struct pds_vdpa_aux *vdpa_aux = seq->private; in identity_show() local 184 mgmt = &vdpa_aux->vdpa_mdev; in identity_show() 198 vdpa_aux, &identity_fops); in pds_vdpa_debugfs_add_ident() 261 debugfs_create_file("config", 0400, vdpa_aux->dentry, vdpa_aux->pdsv, &config_fops); in pds_vdpa_debugfs_add_vdpadev() 268 &vdpa_aux->pdsv->vqs[i], &vq_fops); in pds_vdpa_debugfs_add_vdpadev() 274 debugfs_remove_recursive(vdpa_aux->dentry); in pds_vdpa_debugfs_del_vdpadev() 275 vdpa_aux->dentry = NULL; in pds_vdpa_debugfs_del_vdpadev() 283 pds_vdpa_debugfs_del_vdpadev(vdpa_aux); in pds_vdpa_debugfs_reset_vdpadev() 284 pds_vdpa_debugfs_add_pcidev(vdpa_aux); in pds_vdpa_debugfs_reset_vdpadev() [all …]
|
H A D | vdpa_dev.c | 383 struct pds_vdpa_aux *vdpa_aux = pdsv->vdpa_aux; in pds_vdpa_request_irqs() local 424 vdpa_aux->nintrs = 0; in pds_vdpa_request_irqs() 432 struct pds_vdpa_aux *vdpa_aux = pdsv->vdpa_aux; in pds_vdpa_release_irqs() local 435 if (!vdpa_aux->nintrs) in pds_vdpa_release_irqs() 443 vdpa_aux->nintrs = 0; in pds_vdpa_release_irqs() 622 if (vdpa_aux->pdsv) { in pds_vdpa_dev_add() 634 vdpa_aux->pdsv = pdsv; in pds_vdpa_dev_add() 635 pdsv->vdpa_aux = vdpa_aux; in pds_vdpa_dev_add() 749 vdpa_aux->pdsv = NULL; in pds_vdpa_dev_add() 767 vdpa_aux->pdsv = NULL; in pds_vdpa_dev_del() [all …]
|
H A D | debugfs.h | 11 void pds_vdpa_debugfs_add_pcidev(struct pds_vdpa_aux *vdpa_aux); 12 void pds_vdpa_debugfs_add_ident(struct pds_vdpa_aux *vdpa_aux); 13 void pds_vdpa_debugfs_add_vdpadev(struct pds_vdpa_aux *vdpa_aux); 14 void pds_vdpa_debugfs_del_vdpadev(struct pds_vdpa_aux *vdpa_aux); 15 void pds_vdpa_debugfs_reset_vdpadev(struct pds_vdpa_aux *vdpa_aux);
|
H A D | cmds.c | 18 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_init_hw() 23 .vdpa_init.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), in pds_vdpa_init_hw() 40 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_cmd_reset() 45 .vdpa.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), in pds_vdpa_cmd_reset() 60 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_cmd_set_status() 65 .vdpa_status.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), in pds_vdpa_cmd_set_status() 81 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_cmd_set_mac() 86 .vdpa_setattr.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), in pds_vdpa_cmd_set_mac() 104 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_cmd_set_max_vq_pairs() 128 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_cmd_init_vq() [all …]
|
H A D | vdpa_dev.h | 35 struct pds_vdpa_aux *vdpa_aux; member 49 int pds_vdpa_get_mgmt_info(struct pds_vdpa_aux *vdpa_aux);
|