Symbol: vdpa_device
drivers/vdpa/alibaba/eni_vdpa.c
101
static int eni_vdpa_get_vq_irq(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/alibaba/eni_vdpa.c
211
static void eni_vdpa_set_status(struct vdpa_device *vdpa, u8 status)
drivers/vdpa/alibaba/eni_vdpa.c
229
static int eni_vdpa_reset(struct vdpa_device *vdpa)
drivers/vdpa/alibaba/eni_vdpa.c
243
static u16 eni_vdpa_get_vq_num_max(struct vdpa_device *vdpa)
drivers/vdpa/alibaba/eni_vdpa.c
250
static u16 eni_vdpa_get_vq_num_min(struct vdpa_device *vdpa)
drivers/vdpa/alibaba/eni_vdpa.c
257
static u16 eni_vdpa_get_vq_size(struct vdpa_device *vdpa, u16 qid)
drivers/vdpa/alibaba/eni_vdpa.c
264
static int eni_vdpa_get_vq_state(struct vdpa_device *vdpa, u16 qid,
drivers/vdpa/alibaba/eni_vdpa.c
270
static int eni_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 qid,
drivers/vdpa/alibaba/eni_vdpa.c
288
static void eni_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 qid,
drivers/vdpa/alibaba/eni_vdpa.c
296
static void eni_vdpa_set_vq_ready(struct vdpa_device *vdpa, u16 qid,
drivers/vdpa/alibaba/eni_vdpa.c
309
static bool eni_vdpa_get_vq_ready(struct vdpa_device *vdpa, u16 qid)
drivers/vdpa/alibaba/eni_vdpa.c
316
static void eni_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 qid,
drivers/vdpa/alibaba/eni_vdpa.c
333
static int eni_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 qid,
drivers/vdpa/alibaba/eni_vdpa.c
345
static void eni_vdpa_kick_vq(struct vdpa_device *vdpa, u16 qid)
drivers/vdpa/alibaba/eni_vdpa.c
352
static u32 eni_vdpa_get_device_id(struct vdpa_device *vdpa)
drivers/vdpa/alibaba/eni_vdpa.c
359
static u32 eni_vdpa_get_vendor_id(struct vdpa_device *vdpa)
drivers/vdpa/alibaba/eni_vdpa.c
366
static u32 eni_vdpa_get_vq_align(struct vdpa_device *vdpa)
drivers/vdpa/alibaba/eni_vdpa.c
371
static size_t eni_vdpa_get_config_size(struct vdpa_device *vdpa)
drivers/vdpa/alibaba/eni_vdpa.c
377
static void eni_vdpa_get_config(struct vdpa_device *vdpa,
drivers/vdpa/alibaba/eni_vdpa.c
39
struct vdpa_device vdpa;
drivers/vdpa/alibaba/eni_vdpa.c
393
static void eni_vdpa_set_config(struct vdpa_device *vdpa,
drivers/vdpa/alibaba/eni_vdpa.c
409
static void eni_vdpa_set_config_cb(struct vdpa_device *vdpa,
drivers/vdpa/alibaba/eni_vdpa.c
49
static struct eni_vdpa *vdpa_to_eni(struct vdpa_device *vdpa)
drivers/vdpa/alibaba/eni_vdpa.c
54
static struct virtio_pci_legacy_device *vdpa_to_ldev(struct vdpa_device *vdpa)
drivers/vdpa/alibaba/eni_vdpa.c
61
static u64 eni_vdpa_get_device_features(struct vdpa_device *vdpa)
drivers/vdpa/alibaba/eni_vdpa.c
72
static int eni_vdpa_set_driver_features(struct vdpa_device *vdpa, u64 features)
drivers/vdpa/alibaba/eni_vdpa.c
87
static u64 eni_vdpa_get_driver_features(struct vdpa_device *vdpa)
drivers/vdpa/alibaba/eni_vdpa.c
94
static u8 eni_vdpa_get_status(struct vdpa_device *vdpa)
drivers/vdpa/ifcvf/ifcvf_base.h
94
struct vdpa_device vdpa;
drivers/vdpa/ifcvf/ifcvf_main.c
352
static struct ifcvf_adapter *vdpa_to_adapter(struct vdpa_device *vdpa_dev)
drivers/vdpa/ifcvf/ifcvf_main.c
357
static struct ifcvf_hw *vdpa_to_vf(struct vdpa_device *vdpa_dev)
drivers/vdpa/ifcvf/ifcvf_main.c
364
static u64 ifcvf_vdpa_get_device_features(struct vdpa_device *vdpa_dev)
drivers/vdpa/ifcvf/ifcvf_main.c
382
static int ifcvf_vdpa_set_driver_features(struct vdpa_device *vdpa_dev, u64 features)
drivers/vdpa/ifcvf/ifcvf_main.c
396
static u64 ifcvf_vdpa_get_driver_features(struct vdpa_device *vdpa_dev)
drivers/vdpa/ifcvf/ifcvf_main.c
406
static u8 ifcvf_vdpa_get_status(struct vdpa_device *vdpa_dev)
drivers/vdpa/ifcvf/ifcvf_main.c
413
static void ifcvf_vdpa_set_status(struct vdpa_device *vdpa_dev, u8 status)
drivers/vdpa/ifcvf/ifcvf_main.c
437
static int ifcvf_vdpa_reset(struct vdpa_device *vdpa_dev)
drivers/vdpa/ifcvf/ifcvf_main.c
452
static u16 ifcvf_vdpa_get_vq_num_max(struct vdpa_device *vdpa_dev)
drivers/vdpa/ifcvf/ifcvf_main.c
459
static u16 ifcvf_vdpa_get_vq_num_min(struct vdpa_device *vdpa_dev)
drivers/vdpa/ifcvf/ifcvf_main.c
464
static int ifcvf_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid,
drivers/vdpa/ifcvf/ifcvf_main.c
473
static int ifcvf_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid,
drivers/vdpa/ifcvf/ifcvf_main.c
481
static void ifcvf_vdpa_set_vq_cb(struct vdpa_device *vdpa_dev, u16 qid,
drivers/vdpa/ifcvf/ifcvf_main.c
489
static void ifcvf_vdpa_set_vq_ready(struct vdpa_device *vdpa_dev,
drivers/vdpa/ifcvf/ifcvf_main.c
497
static bool ifcvf_vdpa_get_vq_ready(struct vdpa_device *vdpa_dev, u16 qid)
drivers/vdpa/ifcvf/ifcvf_main.c
504
static void ifcvf_vdpa_set_vq_num(struct vdpa_device *vdpa_dev, u16 qid,
drivers/vdpa/ifcvf/ifcvf_main.c
512
static int ifcvf_vdpa_set_vq_address(struct vdpa_device *vdpa_dev, u16 qid,
drivers/vdpa/ifcvf/ifcvf_main.c
521
static void ifcvf_vdpa_kick_vq(struct vdpa_device *vdpa_dev, u16 qid)
drivers/vdpa/ifcvf/ifcvf_main.c
528
static u32 ifcvf_vdpa_get_generation(struct vdpa_device *vdpa_dev)
drivers/vdpa/ifcvf/ifcvf_main.c
535
static u32 ifcvf_vdpa_get_device_id(struct vdpa_device *vdpa_dev)
drivers/vdpa/ifcvf/ifcvf_main.c
542
static u32 ifcvf_vdpa_get_vendor_id(struct vdpa_device *vdpa_dev)
drivers/vdpa/ifcvf/ifcvf_main.c
550
static u32 ifcvf_vdpa_get_vq_align(struct vdpa_device *vdpa_dev)
drivers/vdpa/ifcvf/ifcvf_main.c
555
static size_t ifcvf_vdpa_get_config_size(struct vdpa_device *vdpa_dev)
drivers/vdpa/ifcvf/ifcvf_main.c
562
static u32 ifcvf_vdpa_get_vq_group(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/ifcvf/ifcvf_main.c
567
static void ifcvf_vdpa_get_config(struct vdpa_device *vdpa_dev,
drivers/vdpa/ifcvf/ifcvf_main.c
576
static void ifcvf_vdpa_set_config(struct vdpa_device *vdpa_dev,
drivers/vdpa/ifcvf/ifcvf_main.c
585
static void ifcvf_vdpa_set_config_cb(struct vdpa_device *vdpa_dev,
drivers/vdpa/ifcvf/ifcvf_main.c
594
static int ifcvf_vdpa_get_vq_irq(struct vdpa_device *vdpa_dev,
drivers/vdpa/ifcvf/ifcvf_main.c
605
static u16 ifcvf_vdpa_get_vq_size(struct vdpa_device *vdpa_dev,
drivers/vdpa/ifcvf/ifcvf_main.c
613
static struct vdpa_notification_area ifcvf_get_vq_notification(struct vdpa_device *vdpa_dev,
drivers/vdpa/ifcvf/ifcvf_main.c
698
struct vdpa_device *vdpa_dev;
drivers/vdpa/ifcvf/ifcvf_main.c
755
static void ifcvf_vdpa_dev_del(struct vdpa_mgmt_dev *mdev, struct vdpa_device *dev)
drivers/vdpa/mlx5/core/mlx5_vdpa.h
104
struct vdpa_device vdev;
drivers/vdpa/mlx5/net/mlx5_vnet.c
2437
static void mlx5_vdpa_kick_vq(struct vdpa_device *vdev, u16 idx)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2461
static int mlx5_vdpa_set_vq_address(struct vdpa_device *vdev, u16 idx, u64 desc_area,
drivers/vdpa/mlx5/net/mlx5_vnet.c
2486
static void mlx5_vdpa_set_vq_num(struct vdpa_device *vdev, u16 idx, u32 num)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2507
static void mlx5_vdpa_set_vq_cb(struct vdpa_device *vdev, u16 idx, struct vdpa_callback *cb)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2538
static void mlx5_vdpa_set_vq_ready(struct vdpa_device *vdev, u16 idx, bool ready)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2566
static bool mlx5_vdpa_get_vq_ready(struct vdpa_device *vdev, u16 idx)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2580
static int mlx5_vdpa_set_vq_state(struct vdpa_device *vdev, u16 idx,
drivers/vdpa/mlx5/net/mlx5_vnet.c
2608
static int mlx5_vdpa_get_vq_state(struct vdpa_device *vdev, u16 idx, struct vdpa_vq_state *state)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2647
static u32 mlx5_vdpa_get_vq_align(struct vdpa_device *vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2652
static u32 mlx5_vdpa_get_vq_group(struct vdpa_device *vdev, u16 idx)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2662
static u32 mlx5_vdpa_get_vq_desc_group(struct vdpa_device *vdev, u16 idx)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2719
static u64 mlx5_vdpa_get_device_features(struct vdpa_device *vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2907
static u64 mlx5_vdpa_get_backend_features(const struct vdpa_device *vdpa)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2912
static int mlx5_vdpa_set_driver_features(struct vdpa_device *vdev, u64 features)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2952
static void mlx5_vdpa_set_config_cb(struct vdpa_device *vdev, struct vdpa_callback *cb)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2961
static u16 mlx5_vdpa_get_vq_num_max(struct vdpa_device *vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2966
static u32 mlx5_vdpa_get_device_id(struct vdpa_device *vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2971
static u32 mlx5_vdpa_get_vendor_id(struct vdpa_device *vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
2976
static u8 mlx5_vdpa_get_status(struct vdpa_device *vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3187
static void mlx5_vdpa_set_status(struct vdpa_device *vdev, u8 status)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3269
static int mlx5_vdpa_compat_reset(struct vdpa_device *vdev, u32 flags)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3311
static int mlx5_vdpa_reset(struct vdpa_device *vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3316
static size_t mlx5_vdpa_get_config_size(struct vdpa_device *vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3321
static void mlx5_vdpa_get_config(struct vdpa_device *vdev, unsigned int offset, void *buf,
drivers/vdpa/mlx5/net/mlx5_vnet.c
3331
static void mlx5_vdpa_set_config(struct vdpa_device *vdev, unsigned int offset, const void *buf,
drivers/vdpa/mlx5/net/mlx5_vnet.c
3337
static u32 mlx5_vdpa_get_generation(struct vdpa_device *vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3382
static int mlx5_vdpa_set_map(struct vdpa_device *vdev, unsigned int asid,
drivers/vdpa/mlx5/net/mlx5_vnet.c
3395
static int mlx5_vdpa_reset_map(struct vdpa_device *vdev, unsigned int asid)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3407
static union virtio_map mlx5_get_vq_map(struct vdpa_device *vdev, u16 idx)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3439
static void mlx5_vdpa_free(struct vdpa_device *vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3464
static struct vdpa_notification_area mlx5_get_vq_notification(struct vdpa_device *vdev, u16 idx)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3488
static int mlx5_get_vq_irq(struct vdpa_device *vdev, u16 idx)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3507
static u64 mlx5_vdpa_get_driver_features(struct vdpa_device *vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3546
static int mlx5_vdpa_get_vendor_vq_stats(struct vdpa_device *vdev, u16 idx,
drivers/vdpa/mlx5/net/mlx5_vnet.c
3612
static int mlx5_vdpa_suspend(struct vdpa_device *vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3629
static int mlx5_vdpa_resume(struct vdpa_device *vdev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
3648
static int mlx5_set_group_asid(struct vdpa_device *vdev, u32 group,
drivers/vdpa/mlx5/net/mlx5_vnet.c
4033
static void mlx5_vdpa_dev_del(struct vdpa_mgmt_dev *v_mdev, struct vdpa_device *dev)
drivers/vdpa/mlx5/net/mlx5_vnet.c
4053
static int mlx5_vdpa_set_attr(struct vdpa_mgmt_dev *v_mdev, struct vdpa_device *dev,
drivers/vdpa/octeon_ep/octep_vdpa_main.c
188
static u64 octep_vdpa_get_device_features(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
195
static int octep_vdpa_set_driver_features(struct vdpa_device *vdpa_dev, u64 features)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
215
static u64 octep_vdpa_get_driver_features(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
222
static u8 octep_vdpa_get_status(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
229
static void octep_vdpa_set_status(struct vdpa_device *vdpa_dev, u8 status)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
247
static int octep_vdpa_reset(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
272
static u16 octep_vdpa_get_vq_num_max(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
279
static int octep_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid,
drivers/vdpa/octeon_ep/octep_vdpa_main.c
287
static int octep_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid,
drivers/vdpa/octeon_ep/octep_vdpa_main.c
295
static void octep_vdpa_set_vq_cb(struct vdpa_device *vdpa_dev, u16 qid, struct vdpa_callback *cb)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
30
struct vdpa_device vdpa;
drivers/vdpa/octeon_ep/octep_vdpa_main.c
302
static void octep_vdpa_set_vq_ready(struct vdpa_device *vdpa_dev, u16 qid, bool ready)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
309
static bool octep_vdpa_get_vq_ready(struct vdpa_device *vdpa_dev, u16 qid)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
316
static void octep_vdpa_set_vq_num(struct vdpa_device *vdpa_dev, u16 qid, u32 num)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
323
static int octep_vdpa_set_vq_address(struct vdpa_device *vdpa_dev, u16 qid, u64 desc_area,
drivers/vdpa/octeon_ep/octep_vdpa_main.c
335
static void octep_vdpa_kick_vq(struct vdpa_device *vdpa_dev, u16 qid)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
340
static void octep_vdpa_kick_vq_with_data(struct vdpa_device *vdpa_dev, u32 data)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
348
static u32 octep_vdpa_get_generation(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
355
static u32 octep_vdpa_get_device_id(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
362
static u32 octep_vdpa_get_vendor_id(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
367
static u32 octep_vdpa_get_vq_align(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
372
static size_t octep_vdpa_get_config_size(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
379
static void octep_vdpa_get_config(struct vdpa_device *vdpa_dev, unsigned int offset, void *buf,
drivers/vdpa/octeon_ep/octep_vdpa_main.c
387
static void octep_vdpa_set_config(struct vdpa_device *vdpa_dev, unsigned int offset,
drivers/vdpa/octeon_ep/octep_vdpa_main.c
393
static void octep_vdpa_set_config_cb(struct vdpa_device *vdpa_dev, struct vdpa_callback *cb)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
401
static struct vdpa_notification_area octep_get_vq_notification(struct vdpa_device *vdpa_dev,
drivers/vdpa/octeon_ep/octep_vdpa_main.c
47
static struct octep_hw *vdpa_to_octep_hw(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
560
struct vdpa_device *vdpa_dev;
drivers/vdpa/octeon_ep/octep_vdpa_main.c
619
static void octep_vdpa_dev_del(struct vdpa_mgmt_dev *mdev, struct vdpa_device *vdpa_dev)
drivers/vdpa/pds/vdpa_dev.c
126
static void pds_vdpa_set_vq_ready(struct vdpa_device *vdpa_dev, u16 qid, bool ready)
drivers/vdpa/pds/vdpa_dev.c
164
static bool pds_vdpa_get_vq_ready(struct vdpa_device *vdpa_dev, u16 qid)
drivers/vdpa/pds/vdpa_dev.c
171
static int pds_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid,
drivers/vdpa/pds/vdpa_dev.c
19
static u64 pds_vdpa_get_driver_features(struct vdpa_device *vdpa_dev);
drivers/vdpa/pds/vdpa_dev.c
21
static struct pds_vdpa_device *vdpa_to_pdsv(struct vdpa_device *vdpa_dev)
drivers/vdpa/pds/vdpa_dev.c
221
static int pds_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid,
drivers/vdpa/pds/vdpa_dev.c
257
pds_vdpa_get_vq_notification(struct vdpa_device *vdpa_dev, u16 qid)
drivers/vdpa/pds/vdpa_dev.c
274
static int pds_vdpa_get_vq_irq(struct vdpa_device *vdpa_dev, u16 qid)
drivers/vdpa/pds/vdpa_dev.c
281
static u32 pds_vdpa_get_vq_align(struct vdpa_device *vdpa_dev)
drivers/vdpa/pds/vdpa_dev.c
286
static u32 pds_vdpa_get_vq_group(struct vdpa_device *vdpa_dev, u16 idx)
drivers/vdpa/pds/vdpa_dev.c
291
static u64 pds_vdpa_get_device_features(struct vdpa_device *vdpa_dev)
drivers/vdpa/pds/vdpa_dev.c
298
static int pds_vdpa_set_driver_features(struct vdpa_device *vdpa_dev, u64 features)
drivers/vdpa/pds/vdpa_dev.c
339
static u64 pds_vdpa_get_driver_features(struct vdpa_device *vdpa_dev)
drivers/vdpa/pds/vdpa_dev.c
346
static void pds_vdpa_set_config_cb(struct vdpa_device *vdpa_dev,
drivers/vdpa/pds/vdpa_dev.c
355
static u16 pds_vdpa_get_vq_num_max(struct vdpa_device *vdpa_dev)
drivers/vdpa/pds/vdpa_dev.c
363
static u32 pds_vdpa_get_device_id(struct vdpa_device *vdpa_dev)
drivers/vdpa/pds/vdpa_dev.c
368
static u32 pds_vdpa_get_vendor_id(struct vdpa_device *vdpa_dev)
drivers/vdpa/pds/vdpa_dev.c
373
static u8 pds_vdpa_get_status(struct vdpa_device *vdpa_dev)
drivers/vdpa/pds/vdpa_dev.c
452
static void pds_vdpa_set_status(struct vdpa_device *vdpa_dev, u8 status)
drivers/vdpa/pds/vdpa_dev.c
506
static int pds_vdpa_reset(struct vdpa_device *vdpa_dev)
drivers/vdpa/pds/vdpa_dev.c
541
static size_t pds_vdpa_get_config_size(struct vdpa_device *vdpa_dev)
drivers/vdpa/pds/vdpa_dev.c
546
static void pds_vdpa_get_config(struct vdpa_device *vdpa_dev,
drivers/vdpa/pds/vdpa_dev.c
562
static void pds_vdpa_set_config(struct vdpa_device *vdpa_dev,
drivers/vdpa/pds/vdpa_dev.c
72
static int pds_vdpa_set_vq_address(struct vdpa_device *vdpa_dev, u16 qid,
drivers/vdpa/pds/vdpa_dev.c
769
struct vdpa_device *vdpa_dev)
drivers/vdpa/pds/vdpa_dev.c
84
static void pds_vdpa_set_vq_num(struct vdpa_device *vdpa_dev, u16 qid, u32 num)
drivers/vdpa/pds/vdpa_dev.c
91
static void pds_vdpa_kick_vq(struct vdpa_device *vdpa_dev, u16 qid)
drivers/vdpa/pds/vdpa_dev.c
98
static void pds_vdpa_set_vq_cb(struct vdpa_device *vdpa_dev, u16 qid,
drivers/vdpa/pds/vdpa_dev.h
34
struct vdpa_device vdpa_dev;
drivers/vdpa/solidrun/snet_main.c
105
static void snet_kick_vq(struct vdpa_device *vdev, u16 idx)
drivers/vdpa/solidrun/snet_main.c
115
static void snet_kick_vq_with_data(struct vdpa_device *vdev, u32 data)
drivers/vdpa/solidrun/snet_main.c
127
static void snet_set_vq_cb(struct vdpa_device *vdev, u16 idx, struct vdpa_callback *cb)
drivers/vdpa/solidrun/snet_main.c
135
static void snet_set_vq_ready(struct vdpa_device *vdev, u16 idx, bool ready)
drivers/vdpa/solidrun/snet_main.c
142
static bool snet_get_vq_ready(struct vdpa_device *vdev, u16 idx)
drivers/vdpa/solidrun/snet_main.c
167
static int snet_set_vq_state(struct vdpa_device *vdev, u16 idx, const struct vdpa_vq_state *state)
drivers/vdpa/solidrun/snet_main.c
186
static int snet_get_vq_state(struct vdpa_device *vdev, u16 idx, struct vdpa_vq_state *state)
drivers/vdpa/solidrun/snet_main.c
193
static int snet_get_vq_irq(struct vdpa_device *vdev, u16 idx)
drivers/vdpa/solidrun/snet_main.c
200
static u32 snet_get_vq_align(struct vdpa_device *vdev)
drivers/vdpa/solidrun/snet_main.c
248
static int snet_reset(struct vdpa_device *vdev)
drivers/vdpa/solidrun/snet_main.c
255
static size_t snet_get_config_size(struct vdpa_device *vdev)
drivers/vdpa/solidrun/snet_main.c
262
static u64 snet_get_features(struct vdpa_device *vdev)
drivers/vdpa/solidrun/snet_main.c
269
static int snet_set_drv_features(struct vdpa_device *vdev, u64 features)
drivers/vdpa/solidrun/snet_main.c
277
static u64 snet_get_drv_features(struct vdpa_device *vdev)
drivers/vdpa/solidrun/snet_main.c
284
static u16 snet_get_vq_num_max(struct vdpa_device *vdev)
drivers/vdpa/solidrun/snet_main.c
291
static void snet_set_config_cb(struct vdpa_device *vdev, struct vdpa_callback *cb)
drivers/vdpa/solidrun/snet_main.c
299
static u32 snet_get_device_id(struct vdpa_device *vdev)
drivers/vdpa/solidrun/snet_main.c
306
static u32 snet_get_vendor_id(struct vdpa_device *vdev)
drivers/vdpa/solidrun/snet_main.c
311
static u8 snet_get_status(struct vdpa_device *vdev)
drivers/vdpa/solidrun/snet_main.c
33
static struct snet *vdpa_to_snet(struct vdpa_device *vdpa)
drivers/vdpa/solidrun/snet_main.c
428
static void snet_set_status(struct vdpa_device *vdev, u8 status)
drivers/vdpa/solidrun/snet_main.c
464
static void snet_get_config(struct vdpa_device *vdev, unsigned int offset,
drivers/vdpa/solidrun/snet_main.c
481
static void snet_set_config(struct vdpa_device *vdev, unsigned int offset,
drivers/vdpa/solidrun/snet_main.c
498
static int snet_suspend(struct vdpa_device *vdev)
drivers/vdpa/solidrun/snet_main.c
512
static int snet_resume(struct vdpa_device *vdev)
drivers/vdpa/solidrun/snet_main.c
86
static int snet_set_vq_address(struct vdpa_device *vdev, u16 idx, u64 desc_area,
drivers/vdpa/solidrun/snet_main.c
98
static void snet_set_vq_num(struct vdpa_device *vdev, u16 idx, u32 num)
drivers/vdpa/solidrun/snet_vdpa.h
56
struct vdpa_device vdpa;
drivers/vdpa/vdpa.c
1073
static int vdpa_dev_blk_config_fill(struct vdpa_device *vdev,
drivers/vdpa/vdpa.c
1121
vdpa_dev_config_fill(struct vdpa_device *vdev, struct sk_buff *msg, u32 portid, u32 seq,
drivers/vdpa/vdpa.c
1185
static int vdpa_fill_stats_rec(struct vdpa_device *vdev, struct sk_buff *msg,
drivers/vdpa/vdpa.c
119
struct vdpa_device *__vdpa_alloc_device(struct device *parent,
drivers/vdpa/vdpa.c
1219
static int vendor_stats_fill(struct vdpa_device *vdev, struct sk_buff *msg,
drivers/vdpa/vdpa.c
1236
static int vdpa_dev_vendor_stats_fill(struct vdpa_device *vdev,
drivers/vdpa/vdpa.c
126
struct vdpa_device *vdev;
drivers/vdpa/vdpa.c
1288
struct vdpa_device *vdev;
drivers/vdpa/vdpa.c
1308
vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
1328
static int vdpa_dev_net_device_attr_set(struct vdpa_device *vdev,
drivers/vdpa/vdpa.c
1363
struct vdpa_device *vdev;
drivers/vdpa/vdpa.c
1381
vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
1404
struct vdpa_device *vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
1444
struct vdpa_device *vdev;
drivers/vdpa/vdpa.c
1470
vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
182
struct vdpa_device *vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
187
static int __vdpa_register_device(struct vdpa_device *vdev, u32 nvqs)
drivers/vdpa/vdpa.c
212
int _vdpa_register_device(struct vdpa_device *vdev, u32 nvqs)
drivers/vdpa/vdpa.c
229
int vdpa_register_device(struct vdpa_device *vdev, u32 nvqs)
drivers/vdpa/vdpa.c
23
void vdpa_set_status(struct vdpa_device *vdev, u8 status)
drivers/vdpa/vdpa.c
246
void _vdpa_unregister_device(struct vdpa_device *vdev)
drivers/vdpa/vdpa.c
258
void vdpa_unregister_device(struct vdpa_device *vdev)
drivers/vdpa/vdpa.c
316
struct vdpa_device *vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
337
static void vdpa_get_config_unlocked(struct vdpa_device *vdev,
drivers/vdpa/vdpa.c
35
struct vdpa_device *vdev = dev_to_vdpa(d);
drivers/vdpa/vdpa.c
359
void vdpa_get_config(struct vdpa_device *vdev, unsigned int offset,
drivers/vdpa/vdpa.c
375
void vdpa_set_config(struct vdpa_device *vdev, unsigned int offset,
drivers/vdpa/vdpa.c
60
struct vdpa_device *vdev = dev_to_vdpa(d);
drivers/vdpa/vdpa.c
671
struct vdpa_device *vdev;
drivers/vdpa/vdpa.c
687
vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
703
vdpa_dev_fill(struct vdpa_device *vdev, struct sk_buff *msg, u32 portid, u32 seq,
drivers/vdpa/vdpa.c
751
struct vdpa_device *vdev;
drivers/vdpa/vdpa.c
771
vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
802
struct vdpa_device *vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
886
static int vdpa_dev_net_config_fill(struct vdpa_device *vdev, struct sk_buff *msg)
drivers/vdpa/vdpa.c
90
struct vdpa_device *vdev = dev_to_vdpa(d);
drivers/vdpa/vdpa_sim/vdpa_sim.c
197
struct vdpa_device *vdpa;
drivers/vdpa/vdpa_sim/vdpa_sim.c
290
static int vdpasim_set_vq_address(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_sim/vdpa_sim.c
304
static void vdpasim_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num)
drivers/vdpa/vdpa_sim/vdpa_sim.c
312
static u16 vdpasim_get_vq_size(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_sim/vdpa_sim.c
323
static void vdpasim_kick_vq(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_sim/vdpa_sim.c
338
static void vdpasim_set_vq_cb(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_sim/vdpa_sim.c
348
static void vdpasim_set_vq_ready(struct vdpa_device *vdpa, u16 idx, bool ready)
drivers/vdpa/vdpa_sim/vdpa_sim.c
363
static bool vdpasim_get_vq_ready(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_sim/vdpa_sim.c
371
static int vdpasim_set_vq_state(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_sim/vdpa_sim.c
385
static int vdpasim_get_vq_state(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_sim/vdpa_sim.c
396
static int vdpasim_get_vq_stats(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_sim/vdpa_sim.c
408
static u32 vdpasim_get_vq_align(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
413
static u32 vdpasim_get_vq_group(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_sim/vdpa_sim.c
422
static u64 vdpasim_get_device_features(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
429
static u64 vdpasim_get_backend_features(const struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
434
static int vdpasim_set_driver_features(struct vdpa_device *vdpa, u64 features)
drivers/vdpa/vdpa_sim/vdpa_sim.c
447
static u64 vdpasim_get_driver_features(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
454
static void vdpasim_set_config_cb(struct vdpa_device *vdpa,
drivers/vdpa/vdpa_sim/vdpa_sim.c
460
static u16 vdpasim_get_vq_num_max(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
465
static u32 vdpasim_get_device_id(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
472
static u32 vdpasim_get_vendor_id(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
477
static u8 vdpasim_get_status(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
489
static void vdpasim_set_status(struct vdpa_device *vdpa, u8 status)
drivers/vdpa/vdpa_sim/vdpa_sim.c
499
static int vdpasim_compat_reset(struct vdpa_device *vdpa, u32 flags)
drivers/vdpa/vdpa_sim/vdpa_sim.c
511
static int vdpasim_reset(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
516
static int vdpasim_suspend(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
527
static int vdpasim_resume(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
548
static size_t vdpasim_get_config_size(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
555
static void vdpasim_get_config(struct vdpa_device *vdpa, unsigned int offset,
drivers/vdpa/vdpa_sim/vdpa_sim.c
569
static void vdpasim_set_config(struct vdpa_device *vdpa, unsigned int offset,
drivers/vdpa/vdpa_sim/vdpa_sim.c
583
static u32 vdpasim_get_generation(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
590
static struct vdpa_iova_range vdpasim_get_iova_range(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
600
static int vdpasim_set_group_asid(struct vdpa_device *vdpa, unsigned int group,
drivers/vdpa/vdpa_sim/vdpa_sim.c
621
static int vdpasim_set_map(struct vdpa_device *vdpa, unsigned int asid,
drivers/vdpa/vdpa_sim/vdpa_sim.c
655
static int vdpasim_reset_map(struct vdpa_device *vdpa, unsigned int asid)
drivers/vdpa/vdpa_sim/vdpa_sim.c
674
static int vdpasim_bind_mm(struct vdpa_device *vdpa, struct mm_struct *mm)
drivers/vdpa/vdpa_sim/vdpa_sim.c
687
static void vdpasim_unbind_mm(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
698
static int vdpasim_dma_map(struct vdpa_device *vdpa, unsigned int asid,
drivers/vdpa/vdpa_sim/vdpa_sim.c
720
static int vdpasim_dma_unmap(struct vdpa_device *vdpa, unsigned int asid,
drivers/vdpa/vdpa_sim/vdpa_sim.c
740
static void vdpasim_free(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.c
77
static struct vdpasim *vdpa_to_sim(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_sim/vdpa_sim.h
58
struct vdpa_device vdpa;
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c
453
struct vdpa_device *dev)
drivers/vdpa/vdpa_sim/vdpa_sim_net.c
417
static int vdpasim_net_set_attr(struct vdpa_mgmt_dev *mdev, struct vdpa_device *dev,
drivers/vdpa/vdpa_sim/vdpa_sim_net.c
515
struct vdpa_device *dev)
drivers/vdpa/vdpa_user/vduse_dev.c
176
static inline struct vduse_dev *vdpa_to_vduse(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
185
struct vdpa_device *vdpa = dev_to_vdpa(dev);
drivers/vdpa/vdpa_user/vduse_dev.c
2467
static void vdpa_dev_del(struct vdpa_mgmt_dev *mdev, struct vdpa_device *dev)
drivers/vdpa/vdpa_user/vduse_dev.c
537
static int vduse_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_user/vduse_dev.c
573
static void vduse_vdpa_kick_vq(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_user/vduse_dev.c
585
static void vduse_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_user/vduse_dev.c
598
static void vduse_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num)
drivers/vdpa/vdpa_user/vduse_dev.c
606
static u16 vduse_vdpa_get_vq_size(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_user/vduse_dev.c
617
static void vduse_vdpa_set_vq_ready(struct vdpa_device *vdpa,
drivers/vdpa/vdpa_user/vduse_dev.c
626
static bool vduse_vdpa_get_vq_ready(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_user/vduse_dev.c
634
static int vduse_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_user/vduse_dev.c
653
static u32 vduse_get_vq_group(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_user/vduse_dev.c
663
static union virtio_map vduse_get_vq_map(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_user/vduse_dev.c
686
static int vduse_set_group_asid(struct vdpa_device *vdpa, unsigned int group,
drivers/vdpa/vdpa_user/vduse_dev.c
710
static int vduse_vdpa_get_vq_state(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_user/vduse_dev.c
722
static u32 vduse_vdpa_get_vq_align(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
729
static u64 vduse_vdpa_get_device_features(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
736
static int vduse_vdpa_set_driver_features(struct vdpa_device *vdpa, u64 features)
drivers/vdpa/vdpa_user/vduse_dev.c
744
static u64 vduse_vdpa_get_driver_features(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
751
static void vduse_vdpa_set_config_cb(struct vdpa_device *vdpa,
drivers/vdpa/vdpa_user/vduse_dev.c
762
static u16 vduse_vdpa_get_vq_num_max(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
775
static u32 vduse_vdpa_get_device_id(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
782
static u32 vduse_vdpa_get_vendor_id(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
789
static u8 vduse_vdpa_get_status(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
796
static void vduse_vdpa_set_status(struct vdpa_device *vdpa, u8 status)
drivers/vdpa/vdpa_user/vduse_dev.c
806
static size_t vduse_vdpa_get_config_size(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
813
static void vduse_vdpa_get_config(struct vdpa_device *vdpa, unsigned int offset,
drivers/vdpa/vdpa_user/vduse_dev.c
830
static void vduse_vdpa_set_config(struct vdpa_device *vdpa, unsigned int offset,
drivers/vdpa/vdpa_user/vduse_dev.c
836
static int vduse_vdpa_reset(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
846
static u32 vduse_vdpa_get_generation(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
853
static int vduse_vdpa_set_vq_affinity(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_user/vduse_dev.c
867
vduse_vdpa_get_vq_affinity(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_user/vduse_dev.c
874
static int vduse_vdpa_set_map(struct vdpa_device *vdpa,
drivers/vdpa/vdpa_user/vduse_dev.c
88
struct vdpa_device vdpa;
drivers/vdpa/vdpa_user/vduse_dev.c
894
static void vduse_vdpa_free(struct vdpa_device *vdpa)
drivers/vdpa/virtio_pci/vp_vdpa.c
221
static void vp_vdpa_set_status(struct vdpa_device *vdpa, u8 status)
drivers/vdpa/virtio_pci/vp_vdpa.c
238
static int vp_vdpa_reset(struct vdpa_device *vdpa)
drivers/vdpa/virtio_pci/vp_vdpa.c
252
static u16 vp_vdpa_get_vq_num_max(struct vdpa_device *vdpa)
drivers/vdpa/virtio_pci/vp_vdpa.c
257
static int vp_vdpa_get_vq_state(struct vdpa_device *vdpa, u16 qid,
drivers/vdpa/virtio_pci/vp_vdpa.c
267
static int vp_vdpa_set_vq_state_split(struct vdpa_device *vdpa,
drivers/vdpa/virtio_pci/vp_vdpa.c
278
static int vp_vdpa_set_vq_state_packed(struct vdpa_device *vdpa,
drivers/vdpa/virtio_pci/vp_vdpa.c
292
static int vp_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 qid,
drivers/vdpa/virtio_pci/vp_vdpa.c
313
static void vp_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 qid,
drivers/vdpa/virtio_pci/vp_vdpa.c
321
static void vp_vdpa_set_vq_ready(struct vdpa_device *vdpa,
drivers/vdpa/virtio_pci/vp_vdpa.c
329
static bool vp_vdpa_get_vq_ready(struct vdpa_device *vdpa, u16 qid)
drivers/vdpa/virtio_pci/vp_vdpa.c
336
static void vp_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 qid,
drivers/vdpa/virtio_pci/vp_vdpa.c
344
static u16 vp_vdpa_get_vq_size(struct vdpa_device *vdpa, u16 qid)
drivers/vdpa/virtio_pci/vp_vdpa.c
35
struct vdpa_device vdpa;
drivers/vdpa/virtio_pci/vp_vdpa.c
351
static int vp_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 qid,
drivers/vdpa/virtio_pci/vp_vdpa.c
363
static void vp_vdpa_kick_vq(struct vdpa_device *vdpa, u16 qid)
drivers/vdpa/virtio_pci/vp_vdpa.c
370
static void vp_vdpa_kick_vq_with_data(struct vdpa_device *vdpa, u32 data)
drivers/vdpa/virtio_pci/vp_vdpa.c
378
static u32 vp_vdpa_get_generation(struct vdpa_device *vdpa)
drivers/vdpa/virtio_pci/vp_vdpa.c
385
static u32 vp_vdpa_get_device_id(struct vdpa_device *vdpa)
drivers/vdpa/virtio_pci/vp_vdpa.c
392
static u32 vp_vdpa_get_vendor_id(struct vdpa_device *vdpa)
drivers/vdpa/virtio_pci/vp_vdpa.c
399
static u32 vp_vdpa_get_vq_align(struct vdpa_device *vdpa)
drivers/vdpa/virtio_pci/vp_vdpa.c
404
static size_t vp_vdpa_get_config_size(struct vdpa_device *vdpa)
drivers/vdpa/virtio_pci/vp_vdpa.c
411
static void vp_vdpa_get_config(struct vdpa_device *vdpa,
drivers/vdpa/virtio_pci/vp_vdpa.c
431
static void vp_vdpa_set_config(struct vdpa_device *vdpa,
drivers/vdpa/virtio_pci/vp_vdpa.c
444
static void vp_vdpa_set_config_cb(struct vdpa_device *vdpa,
drivers/vdpa/virtio_pci/vp_vdpa.c
453
vp_vdpa_get_vq_notification(struct vdpa_device *vdpa, u16 qid)
drivers/vdpa/virtio_pci/vp_vdpa.c
52
static struct vp_vdpa *vdpa_to_vp(struct vdpa_device *vdpa)
drivers/vdpa/virtio_pci/vp_vdpa.c
57
static struct virtio_pci_modern_device *vdpa_to_mdev(struct vdpa_device *vdpa)
drivers/vdpa/virtio_pci/vp_vdpa.c
586
struct vdpa_device *dev)
drivers/vdpa/virtio_pci/vp_vdpa.c
69
static u64 vp_vdpa_get_device_features(struct vdpa_device *vdpa)
drivers/vdpa/virtio_pci/vp_vdpa.c
76
static int vp_vdpa_set_driver_features(struct vdpa_device *vdpa, u64 features)
drivers/vdpa/virtio_pci/vp_vdpa.c
85
static u64 vp_vdpa_get_driver_features(struct vdpa_device *vdpa)
drivers/vdpa/virtio_pci/vp_vdpa.c
92
static u8 vp_vdpa_get_status(struct vdpa_device *vdpa)
drivers/vdpa/virtio_pci/vp_vdpa.c
99
static int vp_vdpa_get_vq_irq(struct vdpa_device *vdpa, u16 idx)
drivers/vhost/vdpa.c
1031
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
1224
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
1247
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
1321
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
1358
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
137
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
1373
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
1489
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
1522
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
1576
static int vhost_vdpa_probe(struct vdpa_device *vdpa)
drivers/vhost/vdpa.c
1641
static void vhost_vdpa_remove(struct vdpa_device *vdpa)
drivers/vhost/vdpa.c
202
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
231
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
253
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
264
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
275
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
289
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
303
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
343
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
358
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
385
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
407
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
415
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
423
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
431
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
445
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
456
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
465
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
50
struct vdpa_device *vdpa;
drivers/vhost/vdpa.c
500
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
563
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
577
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
592
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
615
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
635
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
911
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
962
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
996
struct vdpa_device *vdpa = v->vdpa;
drivers/virtio/virtio_vdpa.c
105
struct vdpa_device *vdpa = vd_get_vdpa(vq->vdev);
drivers/virtio/virtio_vdpa.c
135
struct vdpa_device *vdpa = vd_get_vdpa(vdev);
drivers/virtio/virtio_vdpa.c
249
struct vdpa_device *vdpa = vd_dev->vdpa;
drivers/virtio/virtio_vdpa.c
29
struct vdpa_device *vdpa;
drivers/virtio/virtio_vdpa.c
334
struct vdpa_device *vdpa = vd_get_vdpa(vdev);
drivers/virtio/virtio_vdpa.c
383
struct vdpa_device *vdpa = vd_get_vdpa(vdev);
drivers/virtio/virtio_vdpa.c
39
static struct vdpa_device *vd_get_vdpa(struct virtio_device *vdev)
drivers/virtio/virtio_vdpa.c
391
struct vdpa_device *vdpa = vd_get_vdpa(vdev);
drivers/virtio/virtio_vdpa.c
402
struct vdpa_device *vdpa = vd_dev->vdpa;
drivers/virtio/virtio_vdpa.c
411
struct vdpa_device *vdpa = vd_dev->vdpa;
drivers/virtio/virtio_vdpa.c
424
struct vdpa_device *vdpa = vd_get_vdpa(vdev);
drivers/virtio/virtio_vdpa.c
459
static int virtio_vdpa_probe(struct vdpa_device *vdpa)
drivers/virtio/virtio_vdpa.c
47
struct vdpa_device *vdpa = vd_get_vdpa(vdev);
drivers/virtio/virtio_vdpa.c
498
static void virtio_vdpa_remove(struct vdpa_device *vdpa)
drivers/virtio/virtio_vdpa.c
55
struct vdpa_device *vdpa = vd_get_vdpa(vdev);
drivers/virtio/virtio_vdpa.c
62
struct vdpa_device *vdpa = vd_get_vdpa(vdev);
drivers/virtio/virtio_vdpa.c
73
struct vdpa_device *vdpa = vd_get_vdpa(vdev);
drivers/virtio/virtio_vdpa.c
81
struct vdpa_device *vdpa = vd_get_vdpa(vdev);
drivers/virtio/virtio_vdpa.c
88
struct vdpa_device *vdpa = vd_get_vdpa(vdev);
drivers/virtio/virtio_vdpa.c
95
struct vdpa_device *vdpa = vd_get_vdpa(vq->vdev);
include/linux/vdpa.h
374
int (*set_vq_address)(struct vdpa_device *vdev,
include/linux/vdpa.h
377
void (*set_vq_num)(struct vdpa_device *vdev, u16 idx, u32 num);
include/linux/vdpa.h
378
void (*kick_vq)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
379
void (*kick_vq_with_data)(struct vdpa_device *vdev, u32 data);
include/linux/vdpa.h
380
void (*set_vq_cb)(struct vdpa_device *vdev, u16 idx,
include/linux/vdpa.h
382
void (*set_vq_ready)(struct vdpa_device *vdev, u16 idx, bool ready);
include/linux/vdpa.h
383
bool (*get_vq_ready)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
384
int (*set_vq_state)(struct vdpa_device *vdev, u16 idx,
include/linux/vdpa.h
386
int (*get_vq_state)(struct vdpa_device *vdev, u16 idx,
include/linux/vdpa.h
388
int (*get_vendor_vq_stats)(struct vdpa_device *vdev, u16 idx,
include/linux/vdpa.h
392
(*get_vq_notification)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
394
int (*get_vq_irq)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
395
u16 (*get_vq_size)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
398
u32 (*get_vq_align)(struct vdpa_device *vdev);
include/linux/vdpa.h
399
u32 (*get_vq_group)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
400
u32 (*get_vq_desc_group)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
401
u64 (*get_device_features)(struct vdpa_device *vdev);
include/linux/vdpa.h
402
u64 (*get_backend_features)(const struct vdpa_device *vdev);
include/linux/vdpa.h
403
int (*set_driver_features)(struct vdpa_device *vdev, u64 features);
include/linux/vdpa.h
404
u64 (*get_driver_features)(struct vdpa_device *vdev);
include/linux/vdpa.h
405
void (*set_config_cb)(struct vdpa_device *vdev,
include/linux/vdpa.h
407
u16 (*get_vq_num_max)(struct vdpa_device *vdev);
include/linux/vdpa.h
408
u16 (*get_vq_num_min)(struct vdpa_device *vdev);
include/linux/vdpa.h
409
u32 (*get_device_id)(struct vdpa_device *vdev);
include/linux/vdpa.h
410
u32 (*get_vendor_id)(struct vdpa_device *vdev);
include/linux/vdpa.h
411
u8 (*get_status)(struct vdpa_device *vdev);
include/linux/vdpa.h
412
void (*set_status)(struct vdpa_device *vdev, u8 status);
include/linux/vdpa.h
413
int (*reset)(struct vdpa_device *vdev);
include/linux/vdpa.h
414
int (*compat_reset)(struct vdpa_device *vdev, u32 flags);
include/linux/vdpa.h
416
int (*suspend)(struct vdpa_device *vdev);
include/linux/vdpa.h
417
int (*resume)(struct vdpa_device *vdev);
include/linux/vdpa.h
418
size_t (*get_config_size)(struct vdpa_device *vdev);
include/linux/vdpa.h
419
void (*get_config)(struct vdpa_device *vdev, unsigned int offset,
include/linux/vdpa.h
421
void (*set_config)(struct vdpa_device *vdev, unsigned int offset,
include/linux/vdpa.h
423
u32 (*get_generation)(struct vdpa_device *vdev);
include/linux/vdpa.h
424
struct vdpa_iova_range (*get_iova_range)(struct vdpa_device *vdev);
include/linux/vdpa.h
425
int (*set_vq_affinity)(struct vdpa_device *vdev, u16 idx,
include/linux/vdpa.h
427
const struct cpumask *(*get_vq_affinity)(struct vdpa_device *vdev,
include/linux/vdpa.h
431
int (*set_map)(struct vdpa_device *vdev, unsigned int asid,
include/linux/vdpa.h
433
int (*dma_map)(struct vdpa_device *vdev, unsigned int asid,
include/linux/vdpa.h
435
int (*dma_unmap)(struct vdpa_device *vdev, unsigned int asid,
include/linux/vdpa.h
437
int (*reset_map)(struct vdpa_device *vdev, unsigned int asid);
include/linux/vdpa.h
438
int (*set_group_asid)(struct vdpa_device *vdev, unsigned int group,
include/linux/vdpa.h
440
union virtio_map (*get_vq_map)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
441
int (*bind_mm)(struct vdpa_device *vdev, struct mm_struct *mm);
include/linux/vdpa.h
442
void (*unbind_mm)(struct vdpa_device *vdev);
include/linux/vdpa.h
445
void (*free)(struct vdpa_device *vdev);
include/linux/vdpa.h
448
struct vdpa_device *__vdpa_alloc_device(struct device *parent,
include/linux/vdpa.h
479
int vdpa_register_device(struct vdpa_device *vdev, u32 nvqs);
include/linux/vdpa.h
480
void vdpa_unregister_device(struct vdpa_device *vdev);
include/linux/vdpa.h
482
int _vdpa_register_device(struct vdpa_device *vdev, u32 nvqs);
include/linux/vdpa.h
483
void _vdpa_unregister_device(struct vdpa_device *vdev);
include/linux/vdpa.h
493
int (*probe)(struct vdpa_device *vdev);
include/linux/vdpa.h
494
void (*remove)(struct vdpa_device *vdev);
include/linux/vdpa.h
511
static inline struct vdpa_device *dev_to_vdpa(struct device *_dev)
include/linux/vdpa.h
513
return container_of(_dev, struct vdpa_device, dev);
include/linux/vdpa.h
516
static inline void *vdpa_get_drvdata(const struct vdpa_device *vdev)
include/linux/vdpa.h
521
static inline void vdpa_set_drvdata(struct vdpa_device *vdev, void *data)
include/linux/vdpa.h
526
static inline union virtio_map vdpa_get_map(struct vdpa_device *vdev)
include/linux/vdpa.h
531
static inline int vdpa_reset(struct vdpa_device *vdev, u32 flags)
include/linux/vdpa.h
546
static inline int vdpa_set_features_unlocked(struct vdpa_device *vdev, u64 features)
include/linux/vdpa.h
557
static inline int vdpa_set_features(struct vdpa_device *vdev, u64 features)
include/linux/vdpa.h
568
void vdpa_get_config(struct vdpa_device *vdev, unsigned int offset,
include/linux/vdpa.h
570
void vdpa_set_config(struct vdpa_device *dev, unsigned int offset,
include/linux/vdpa.h
572
void vdpa_set_status(struct vdpa_device *vdev, u8 status);
include/linux/vdpa.h
599
void (*dev_del)(struct vdpa_mgmt_dev *mdev, struct vdpa_device *dev);
include/linux/vdpa.h
600
int (*dev_set_attr)(struct vdpa_mgmt_dev *mdev, struct vdpa_device *dev,