Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/vdpa/pds/
H A Dvdpa_dev.c30 struct pds_vdpa_device *pdsv = container_of(nb, struct pds_vdpa_device, nb); in pds_vdpa_notify_handler() local
31 struct device *dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_notify_handler()
36 if (pdsv->config_cb.callback) in pds_vdpa_notify_handler()
37 pdsv->config_cb.callback(pdsv->config_cb.private); in pds_vdpa_notify_handler()
43 static int pds_vdpa_register_event_handler(struct pds_vdpa_device *pdsv) in pds_vdpa_register_event_handler() argument
45 struct device *dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_register_event_handler()
46 struct notifier_block *nb = &pdsv->nb; in pds_vdpa_register_event_handler()
64 static void pds_vdpa_unregister_event_handler(struct pds_vdpa_device *pdsv) in pds_vdpa_unregister_event_handler() argument
66 if (pdsv in pds_vdpa_unregister_event_handler()
75 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_set_vq_address() local
86 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_set_vq_num() local
93 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_kick_vq() local
101 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_set_vq_cb() local
117 pds_vdpa_release_irq(struct pds_vdpa_device *pdsv, int qid) pds_vdpa_release_irq() argument
128 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_set_vq_ready() local
166 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_get_vq_ready() local
174 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_set_vq_state() local
224 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_get_vq_state() local
259 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_get_vq_notification() local
276 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_get_vq_irq() local
293 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_get_device_features() local
300 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_set_driver_features() local
341 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_get_driver_features() local
349 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_set_config_cb() local
357 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_get_vq_num_max() local
375 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_get_status() local
380 pds_vdpa_request_irqs(struct pds_vdpa_device *pdsv) pds_vdpa_request_irqs() argument
429 pds_vdpa_release_irqs(struct pds_vdpa_device *pdsv) pds_vdpa_release_irqs() argument
448 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_set_status() local
489 pds_vdpa_init_vqs_entry(struct pds_vdpa_device *pdsv, int qid, void __iomem *notify) pds_vdpa_init_vqs_entry() argument
502 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_reset() local
544 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_get_config() local
560 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_set_config() local
609 struct pds_vdpa_device *pdsv; pds_vdpa_dev_add() local
756 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); pds_vdpa_dev_del() local
[all...]
H 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()
23 .vdpa_init.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), in pds_vdpa_init_hw()
38 int pds_vdpa_cmd_reset(struct pds_vdpa_device *pdsv) in pds_vdpa_cmd_reset() argument
40 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_cmd_reset()
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()
58 int pds_vdpa_cmd_set_status(struct pds_vdpa_device *pdsv, u8 status) in pds_vdpa_cmd_set_status() argument
60 struct pds_auxiliary_dev *padev = pdsv in pds_vdpa_cmd_set_status()
79 pds_vdpa_cmd_set_mac(struct pds_vdpa_device *pdsv, u8 *mac) pds_vdpa_cmd_set_mac() argument
102 pds_vdpa_cmd_set_max_vq_pairs(struct pds_vdpa_device *pdsv, u16 max_vqp) pds_vdpa_cmd_set_max_vq_pairs() argument
125 pds_vdpa_cmd_init_vq(struct pds_vdpa_device *pdsv, u16 qid, u16 invert_idx, struct pds_vdpa_vq_info *vq_info) pds_vdpa_cmd_init_vq() argument
159 pds_vdpa_cmd_reset_vq(struct pds_vdpa_device *pdsv, u16 qid, u16 invert_idx, struct pds_vdpa_vq_info *vq_info) pds_vdpa_cmd_reset_vq() argument
[all...]
H 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,
17 int pds_vdpa_cmd_set_features(struct pds_vdpa_device *pdsv, u64 features);
H 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 in pds_vdpa_debugfs_add_vdpadev()
[all...]
H A Daux_drv.h16 struct pds_vdpa_device *pdsv; member
H A Dvdpa_dev.h28 struct pds_vdpa_device *pdsv; member

Completed in 3 milliseconds