Home
last modified time | relevance | path

Searched refs:pdsv (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/vdpa/pds/
A Dvdpa_dev.c37 pdsv->config_cb.callback(pdsv->config_cb.private); in pds_vdpa_notify_handler()
122 free_irq(pdsv->vqs[qid].irq, &pdsv->vqs[qid]); in pds_vdpa_release_irq()
435 if (!pdsv) in pds_vdpa_release_irqs()
480 pds_vdpa_cmd_set_mac(pdsv, pdsv->mac); in pds_vdpa_set_status()
498 memset(&pdsv->vqs[qid], 0, sizeof(pdsv->vqs[0])); in pds_vdpa_init_vqs_entry()
500 pdsv->vqs[qid].pdsv = pdsv; in pds_vdpa_init_vqs_entry()
523 err = pds_vdpa_cmd_reset_vq(pdsv, i, 0, &pdsv->vqs[i]); in pds_vdpa_reset()
535 pds_vdpa_init_vqs_entry(pdsv, i, pdsv->vqs[i].notify); in pds_vdpa_reset()
641 vdpa_aux->pdsv = pdsv; in pds_vdpa_dev_add()
719 memcpy_fromio(pdsv->mac, vc->mac, sizeof(pdsv->mac)); in pds_vdpa_dev_add()
[all …]
A Dcmds.c16 int pds_vdpa_init_hw(struct pds_vdpa_device *pdsv) in pds_vdpa_init_hw() argument
18 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_init_hw()
22 .vdpa_init.vdpa_index = pdsv->vdpa_index, in pds_vdpa_init_hw()
38 int pds_vdpa_cmd_reset(struct pds_vdpa_device *pdsv) in pds_vdpa_cmd_reset() argument
44 .vdpa.vdpa_index = pdsv->vdpa_index, in pds_vdpa_cmd_reset()
45 .vdpa.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), in pds_vdpa_cmd_reset()
64 .vdpa_status.vdpa_index = pdsv->vdpa_index, in pds_vdpa_cmd_set_status()
85 .vdpa_setattr.vdpa_index = pdsv->vdpa_index, in pds_vdpa_cmd_set_mac()
108 .vdpa_setattr.vdpa_index = pdsv->vdpa_index, in pds_vdpa_cmd_set_max_vq_pairs()
132 .vdpa_vq_init.vdpa_index = pdsv->vdpa_index, in pds_vdpa_cmd_init_vq()
[all …]
A Dcmds.h7 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,
A Ddebugfs.c203 struct pds_vdpa_device *pdsv = seq->private; in config_show() local
207 memcpy_fromio(&vc, pdsv->vdpa_aux->vd_mdev.device, in config_show()
224 status = vp_modern_get_status(&pdsv->vdpa_aux->vd_mdev); in config_show()
227 seq_printf(seq, "negotiated_features: %#llx\n", pdsv->negotiated_features); in config_show()
228 print_feature_bits_all(seq, pdsv->negotiated_features); in config_show()
229 seq_printf(seq, "vdpa_index: %d\n", pdsv->vdpa_index); in config_show()
230 seq_printf(seq, "num_vqs: %d\n", pdsv->num_vqs); in config_show()
261 debugfs_create_file("config", 0400, vdpa_aux->dentry, vdpa_aux->pdsv, &config_fops); in pds_vdpa_debugfs_add_vdpadev()
263 for (i = 0; i < vdpa_aux->pdsv->num_vqs; i++) { in pds_vdpa_debugfs_add_vdpadev()
268 &vdpa_aux->pdsv->vqs[i], &vq_fops); in pds_vdpa_debugfs_add_vdpadev()
A Dvdpa_dev.h28 struct pds_vdpa_device *pdsv; member
49 void pds_vdpa_release_irqs(struct pds_vdpa_device *pdsv);
A Daux_drv.h16 struct pds_vdpa_device *pdsv; member
A Daux_drv.c96 pds_vdpa_release_irqs(vdpa_aux->pdsv); in pds_vdpa_remove()

Completed in 14 milliseconds