Searched refs:pdsv (Results 1 - 7 of 7) sorted by relevance
/linux-master/drivers/vdpa/pds/ |
H A D | cmds.h | 7 int pds_vdpa_init_hw(struct pds_vdpa_device *pdsv); 9 int pds_vdpa_cmd_reset(struct pds_vdpa_device *pdsv); 10 int pds_vdpa_cmd_set_status(struct pds_vdpa_device *pdsv, u8 status); 11 int pds_vdpa_cmd_set_mac(struct pds_vdpa_device *pdsv, u8 *mac); 12 int pds_vdpa_cmd_set_max_vq_pairs(struct pds_vdpa_device *pdsv, u16 max_vqp); 13 int pds_vdpa_cmd_init_vq(struct pds_vdpa_device *pdsv, u16 qid, u16 invert_idx, 15 int pds_vdpa_cmd_reset_vq(struct pds_vdpa_device *pdsv, u16 qid, u16 invert_idx, 17 int pds_vdpa_cmd_set_features(struct pds_vdpa_device *pdsv, u64 features);
|
H A D | vdpa_dev.c | 30 struct pds_vdpa_device *pdsv = container_of(nb, struct pds_vdpa_device, nb); local 31 struct device *dev = &pdsv->vdpa_aux->padev->aux_dev.dev; 36 if (pdsv->config_cb.callback) 37 pdsv->config_cb.callback(pdsv->config_cb.private); 43 static int pds_vdpa_register_event_handler(struct pds_vdpa_device *pdsv) argument 45 struct device *dev = &pdsv->vdpa_aux->padev->aux_dev.dev; 46 struct notifier_block *nb = &pdsv->nb; 64 static void pds_vdpa_unregister_event_handler(struct pds_vdpa_device *pdsv) argument 66 if (pdsv 75 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 86 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 93 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 101 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 117 pds_vdpa_release_irq(struct pds_vdpa_device *pdsv, int qid) argument 128 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 166 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 174 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 224 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 259 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 276 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 293 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 300 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 341 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 349 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 357 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 375 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 380 pds_vdpa_request_irqs(struct pds_vdpa_device *pdsv) argument 429 pds_vdpa_release_irqs(struct pds_vdpa_device *pdsv) argument 454 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 495 pds_vdpa_init_vqs_entry(struct pds_vdpa_device *pdsv, int qid, void __iomem *notify) argument 508 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 550 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 566 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local 615 struct pds_vdpa_device *pdsv; local 770 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); local [all...] |
H A D | cmds.c | 16 int pds_vdpa_init_hw(struct pds_vdpa_device *pdsv) argument 18 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; 22 .vdpa_init.vdpa_index = pdsv->vdpa_index, 23 .vdpa_init.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), 38 int pds_vdpa_cmd_reset(struct pds_vdpa_device *pdsv) argument 40 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; 44 .vdpa.vdpa_index = pdsv->vdpa_index, 45 .vdpa.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), 58 int pds_vdpa_cmd_set_status(struct pds_vdpa_device *pdsv, u8 status) argument 60 struct pds_auxiliary_dev *padev = pdsv 79 pds_vdpa_cmd_set_mac(struct pds_vdpa_device *pdsv, u8 *mac) argument 102 pds_vdpa_cmd_set_max_vq_pairs(struct pds_vdpa_device *pdsv, u16 max_vqp) argument 125 pds_vdpa_cmd_init_vq(struct pds_vdpa_device *pdsv, u16 qid, u16 invert_idx, struct pds_vdpa_vq_info *vq_info) argument 159 pds_vdpa_cmd_reset_vq(struct pds_vdpa_device *pdsv, u16 qid, u16 invert_idx, struct pds_vdpa_vq_info *vq_info) argument [all...] |
H A D | aux_drv.h | 16 struct pds_vdpa_device *pdsv; member in struct:pds_vdpa_aux
|
H A D | vdpa_dev.h | 28 struct pds_vdpa_device *pdsv; member in struct:pds_vdpa_vq_info 49 void pds_vdpa_release_irqs(struct pds_vdpa_device *pdsv);
|
H A D | debugfs.c | 203 struct pds_vdpa_device *pdsv = seq->private; local 207 memcpy_fromio(&vc, pdsv->vdpa_aux->vd_mdev.device, 224 status = vp_modern_get_status(&pdsv->vdpa_aux->vd_mdev); 227 seq_printf(seq, "negotiated_features: %#llx\n", pdsv->negotiated_features); 228 print_feature_bits_all(seq, pdsv->negotiated_features); 229 seq_printf(seq, "vdpa_index: %d\n", pdsv->vdpa_index); 230 seq_printf(seq, "num_vqs: %d\n", pdsv->num_vqs); 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++) { 268 &vdpa_aux->pdsv [all...] |
H A D | aux_drv.c | 96 pds_vdpa_release_irqs(vdpa_aux->pdsv);
|
Completed in 111 milliseconds