Home
last modified time | relevance | path

Searched refs:vdpa_aux (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/vdpa/pds/
H A Daux_drv.c39 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()
47 vdpa_aux->vf_id = pci_iov_vf_id(padev->vf_pdev); in pds_vdpa_probe()
48 auxiliary_set_drvdata(aux_dev, vdpa_aux); in pds_vdpa_probe()
51 err = pds_vdpa_get_mgmt_info(vdpa_aux); in pds_vdpa_probe()
56 vdpa_aux->vd_mdev.pci_dev = padev->vf_pdev; in pds_vdpa_probe()
57 vdpa_aux in pds_vdpa_probe()
92 struct pds_vdpa_aux *vdpa_aux = auxiliary_get_drvdata(aux_dev); pds_vdpa_remove() local
[all...]
H A Dvdpa_dev.c31 struct device *dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_notify_handler()
45 struct device *dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_register_event_handler()
175 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_set_vq_state()
225 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_get_vq_state()
265 vd_mdev = &pdsv->vdpa_aux->vd_mdev; in pds_vdpa_get_vq_notification()
327 hw_features = le64_to_cpu(pdsv->vdpa_aux->ident.hw_features); in pds_vdpa_set_driver_features()
334 vp_modern_set_features(&pdsv->vdpa_aux->vd_mdev, nego_features); in pds_vdpa_set_driver_features()
360 return min_t(u16, 1024, BIT(le16_to_cpu(pdsv->vdpa_aux->ident.max_qlen))); in pds_vdpa_get_vq_num_max()
377 return vp_modern_get_status(&pdsv->vdpa_aux->vd_mdev); in pds_vdpa_get_status()
382 struct pci_dev *pdev = pdsv->vdpa_aux in pds_vdpa_request_irqs()
383 struct pds_vdpa_aux *vdpa_aux = pdsv->vdpa_aux; pds_vdpa_request_irqs() local
432 struct pds_vdpa_aux *vdpa_aux = pdsv->vdpa_aux; pds_vdpa_release_irqs() local
608 struct pds_vdpa_aux *vdpa_aux; pds_vdpa_dev_add() local
757 struct pds_vdpa_aux *vdpa_aux; pds_vdpa_dev_del() local
777 pds_vdpa_get_mgmt_info(struct pds_vdpa_aux *vdpa_aux) pds_vdpa_get_mgmt_info() argument
[all...]
H A Ddebugfs.c170 void pds_vdpa_debugfs_add_pcidev(struct pds_vdpa_aux *vdpa_aux) in pds_vdpa_debugfs_add_pcidev() argument
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
182 dev_name(&vdpa_aux->padev->aux_dev.dev)); in identity_show()
184 mgmt = &vdpa_aux->vdpa_mdev; in identity_show()
187 hw_features = le64_to_cpu(vdpa_aux->ident.hw_features); in identity_show()
195 void pds_vdpa_debugfs_add_ident(struct pds_vdpa_aux *vdpa_aux) in pds_vdpa_debugfs_add_ident() argument
197 debugfs_create_file("identity", 0400, vdpa_aux->dentry, in pds_vdpa_debugfs_add_ident()
198 vdpa_aux, in pds_vdpa_debugfs_add_ident()
257 pds_vdpa_debugfs_add_vdpadev(struct pds_vdpa_aux *vdpa_aux) pds_vdpa_debugfs_add_vdpadev() argument
272 pds_vdpa_debugfs_del_vdpadev(struct pds_vdpa_aux *vdpa_aux) pds_vdpa_debugfs_del_vdpadev() argument
278 pds_vdpa_debugfs_reset_vdpadev(struct pds_vdpa_aux *vdpa_aux) pds_vdpa_debugfs_reset_vdpadev() argument
[all...]
H A Ddebugfs.h11 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 Dcmds.c18 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()
109 .vdpa_setattr.vf_id = cpu_to_le16(pdsv->vdpa_aux in pds_vdpa_cmd_set_max_vq_pairs()
[all...]
H A Dvdpa_dev.h35 struct pds_vdpa_aux *vdpa_aux; member
49 int pds_vdpa_get_mgmt_info(struct pds_vdpa_aux *vdpa_aux);

Completed in 4 milliseconds