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
748
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
138
static u64 octep_vdpa_get_device_features(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
145
static int octep_vdpa_set_driver_features(struct vdpa_device *vdpa_dev, u64 features)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
165
static u64 octep_vdpa_get_driver_features(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
172
static u8 octep_vdpa_get_status(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
179
static void octep_vdpa_set_status(struct vdpa_device *vdpa_dev, u8 status)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
197
static int octep_vdpa_reset(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
220
static u16 octep_vdpa_get_vq_num_max(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
227
static int octep_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid,
drivers/vdpa/octeon_ep/octep_vdpa_main.c
23
struct vdpa_device vdpa;
drivers/vdpa/octeon_ep/octep_vdpa_main.c
235
static int octep_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid,
drivers/vdpa/octeon_ep/octep_vdpa_main.c
243
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
250
static void octep_vdpa_set_vq_ready(struct vdpa_device *vdpa_dev, u16 qid, bool ready)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
257
static bool octep_vdpa_get_vq_ready(struct vdpa_device *vdpa_dev, u16 qid)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
264
static void octep_vdpa_set_vq_num(struct vdpa_device *vdpa_dev, u16 qid, u32 num)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
271
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
283
static void octep_vdpa_kick_vq(struct vdpa_device *vdpa_dev, u16 qid)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
288
static void octep_vdpa_kick_vq_with_data(struct vdpa_device *vdpa_dev, u32 data)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
296
static u32 octep_vdpa_get_generation(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
303
static u32 octep_vdpa_get_device_id(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
310
static u32 octep_vdpa_get_vendor_id(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
315
static u32 octep_vdpa_get_vq_align(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
320
static size_t octep_vdpa_get_config_size(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
327
static void octep_vdpa_get_config(struct vdpa_device *vdpa_dev, unsigned int offset, void *buf,
drivers/vdpa/octeon_ep/octep_vdpa_main.c
335
static void octep_vdpa_set_config(struct vdpa_device *vdpa_dev, unsigned int offset,
drivers/vdpa/octeon_ep/octep_vdpa_main.c
341
static void octep_vdpa_set_config_cb(struct vdpa_device *vdpa_dev, struct vdpa_callback *cb)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
349
static struct vdpa_notification_area octep_get_vq_notification(struct vdpa_device *vdpa_dev,
drivers/vdpa/octeon_ep/octep_vdpa_main.c
38
static struct octep_hw *vdpa_to_octep_hw(struct vdpa_device *vdpa_dev)
drivers/vdpa/octeon_ep/octep_vdpa_main.c
506
struct vdpa_device *vdpa_dev;
drivers/vdpa/octeon_ep/octep_vdpa_main.c
563
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
1112
static int vdpa_dev_blk_config_fill(struct vdpa_device *vdev,
drivers/vdpa/vdpa.c
1160
vdpa_dev_config_fill(struct vdpa_device *vdev, struct sk_buff *msg, u32 portid, u32 seq,
drivers/vdpa/vdpa.c
1224
static int vdpa_fill_stats_rec(struct vdpa_device *vdev, struct sk_buff *msg,
drivers/vdpa/vdpa.c
1258
static int vendor_stats_fill(struct vdpa_device *vdev, struct sk_buff *msg,
drivers/vdpa/vdpa.c
1275
static int vdpa_dev_vendor_stats_fill(struct vdpa_device *vdev,
drivers/vdpa/vdpa.c
128
struct vdpa_device *vdev = dev_to_vdpa(d);
drivers/vdpa/vdpa.c
1327
struct vdpa_device *vdev;
drivers/vdpa/vdpa.c
1347
vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
1367
static int vdpa_dev_net_device_attr_set(struct vdpa_device *vdev,
drivers/vdpa/vdpa.c
1402
struct vdpa_device *vdev;
drivers/vdpa/vdpa.c
1420
vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
1443
struct vdpa_device *vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
1483
struct vdpa_device *vdev;
drivers/vdpa/vdpa.c
1509
vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
158
struct vdpa_device *__vdpa_alloc_device(struct device *parent,
drivers/vdpa/vdpa.c
165
struct vdpa_device *vdev;
drivers/vdpa/vdpa.c
221
struct vdpa_device *vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
226
static int __vdpa_register_device(struct vdpa_device *vdev, u32 nvqs)
drivers/vdpa/vdpa.c
24
void vdpa_set_status(struct vdpa_device *vdev, u8 status)
drivers/vdpa/vdpa.c
251
int _vdpa_register_device(struct vdpa_device *vdev, u32 nvqs)
drivers/vdpa/vdpa.c
268
int vdpa_register_device(struct vdpa_device *vdev, u32 nvqs)
drivers/vdpa/vdpa.c
285
void _vdpa_unregister_device(struct vdpa_device *vdev)
drivers/vdpa/vdpa.c
297
void vdpa_unregister_device(struct vdpa_device *vdev)
drivers/vdpa/vdpa.c
355
struct vdpa_device *vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
36
struct vdpa_device *vdev = dev_to_vdpa(d);
drivers/vdpa/vdpa.c
376
static void vdpa_get_config_unlocked(struct vdpa_device *vdev,
drivers/vdpa/vdpa.c
398
void vdpa_get_config(struct vdpa_device *vdev, unsigned int offset,
drivers/vdpa/vdpa.c
414
void vdpa_set_config(struct vdpa_device *vdev, unsigned int offset,
drivers/vdpa/vdpa.c
61
struct vdpa_device *vdev = dev_to_vdpa(d);
drivers/vdpa/vdpa.c
70
struct vdpa_device *vdev = dev_to_vdpa(dev);
drivers/vdpa/vdpa.c
710
struct vdpa_device *vdev;
drivers/vdpa/vdpa.c
726
vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
742
vdpa_dev_fill(struct vdpa_device *vdev, struct sk_buff *msg, u32 portid, u32 seq,
drivers/vdpa/vdpa.c
790
struct vdpa_device *vdev;
drivers/vdpa/vdpa.c
810
vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
84
struct vdpa_device *vdev = dev_to_vdpa(dev);
drivers/vdpa/vdpa.c
841
struct vdpa_device *vdev = container_of(dev, struct vdpa_device, dev);
drivers/vdpa/vdpa.c
925
static int vdpa_dev_net_config_fill(struct vdpa_device *vdev, struct sk_buff *msg)
drivers/vdpa/vdpa.c
97
struct vdpa_device *vdev = dev_to_vdpa(dev);
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
460
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
522
struct vdpa_device *dev)
drivers/vdpa/vdpa_user/vduse_dev.c
177
static inline struct vduse_dev *vdpa_to_vduse(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
186
struct vdpa_device *vdpa = dev_to_vdpa(dev);
drivers/vdpa/vdpa_user/vduse_dev.c
2331
static void vdpa_dev_del(struct vdpa_mgmt_dev *mdev, struct vdpa_device *dev)
drivers/vdpa/vdpa_user/vduse_dev.c
515
static int vduse_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_user/vduse_dev.c
551
static void vduse_vdpa_kick_vq(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_user/vduse_dev.c
563
static void vduse_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_user/vduse_dev.c
576
static void vduse_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num)
drivers/vdpa/vdpa_user/vduse_dev.c
584
static u16 vduse_vdpa_get_vq_size(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_user/vduse_dev.c
595
static void vduse_vdpa_set_vq_ready(struct vdpa_device *vdpa,
drivers/vdpa/vdpa_user/vduse_dev.c
604
static bool vduse_vdpa_get_vq_ready(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_user/vduse_dev.c
612
static int vduse_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_user/vduse_dev.c
631
static u32 vduse_get_vq_group(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_user/vduse_dev.c
641
static union virtio_map vduse_get_vq_map(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_user/vduse_dev.c
664
static int vduse_set_group_asid(struct vdpa_device *vdpa, unsigned int group,
drivers/vdpa/vdpa_user/vduse_dev.c
688
static int vduse_vdpa_get_vq_state(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_user/vduse_dev.c
700
static u32 vduse_vdpa_get_vq_align(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
707
static u64 vduse_vdpa_get_device_features(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
714
static int vduse_vdpa_set_driver_features(struct vdpa_device *vdpa, u64 features)
drivers/vdpa/vdpa_user/vduse_dev.c
722
static u64 vduse_vdpa_get_driver_features(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
729
static void vduse_vdpa_set_config_cb(struct vdpa_device *vdpa,
drivers/vdpa/vdpa_user/vduse_dev.c
740
static u16 vduse_vdpa_get_vq_num_max(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
753
static u32 vduse_vdpa_get_device_id(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
760
static u32 vduse_vdpa_get_vendor_id(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
767
static u8 vduse_vdpa_get_status(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
774
static void vduse_vdpa_set_status(struct vdpa_device *vdpa, u8 status)
drivers/vdpa/vdpa_user/vduse_dev.c
784
static size_t vduse_vdpa_get_config_size(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
791
static void vduse_vdpa_get_config(struct vdpa_device *vdpa, unsigned int offset,
drivers/vdpa/vdpa_user/vduse_dev.c
808
static void vduse_vdpa_set_config(struct vdpa_device *vdpa, unsigned int offset,
drivers/vdpa/vdpa_user/vduse_dev.c
814
static int vduse_vdpa_reset(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
824
static u32 vduse_vdpa_get_generation(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
831
static int vduse_vdpa_set_vq_affinity(struct vdpa_device *vdpa, u16 idx,
drivers/vdpa/vdpa_user/vduse_dev.c
845
vduse_vdpa_get_vq_affinity(struct vdpa_device *vdpa, u16 idx)
drivers/vdpa/vdpa_user/vduse_dev.c
852
static int vduse_vdpa_set_map(struct vdpa_device *vdpa,
drivers/vdpa/vdpa_user/vduse_dev.c
872
static void vduse_vdpa_free(struct vdpa_device *vdpa)
drivers/vdpa/vdpa_user/vduse_dev.c
89
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
1488
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
1506
struct vdpa_device *vdpa = v->vdpa;
drivers/vhost/vdpa.c
1561
static int vhost_vdpa_probe(struct vdpa_device *vdpa)
drivers/vhost/vdpa.c
1626
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
378
int (*set_vq_address)(struct vdpa_device *vdev,
include/linux/vdpa.h
381
void (*set_vq_num)(struct vdpa_device *vdev, u16 idx, u32 num);
include/linux/vdpa.h
382
void (*kick_vq)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
383
void (*kick_vq_with_data)(struct vdpa_device *vdev, u32 data);
include/linux/vdpa.h
384
void (*set_vq_cb)(struct vdpa_device *vdev, u16 idx,
include/linux/vdpa.h
386
void (*set_vq_ready)(struct vdpa_device *vdev, u16 idx, bool ready);
include/linux/vdpa.h
387
bool (*get_vq_ready)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
388
int (*set_vq_state)(struct vdpa_device *vdev, u16 idx,
include/linux/vdpa.h
390
int (*get_vq_state)(struct vdpa_device *vdev, u16 idx,
include/linux/vdpa.h
392
int (*get_vendor_vq_stats)(struct vdpa_device *vdev, u16 idx,
include/linux/vdpa.h
396
(*get_vq_notification)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
398
int (*get_vq_irq)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
399
u16 (*get_vq_size)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
402
u32 (*get_vq_align)(struct vdpa_device *vdev);
include/linux/vdpa.h
403
u32 (*get_vq_group)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
404
u32 (*get_vq_desc_group)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
405
u64 (*get_device_features)(struct vdpa_device *vdev);
include/linux/vdpa.h
406
u64 (*get_backend_features)(const struct vdpa_device *vdev);
include/linux/vdpa.h
407
int (*set_driver_features)(struct vdpa_device *vdev, u64 features);
include/linux/vdpa.h
408
u64 (*get_driver_features)(struct vdpa_device *vdev);
include/linux/vdpa.h
409
void (*set_config_cb)(struct vdpa_device *vdev,
include/linux/vdpa.h
411
u16 (*get_vq_num_max)(struct vdpa_device *vdev);
include/linux/vdpa.h
412
u16 (*get_vq_num_min)(struct vdpa_device *vdev);
include/linux/vdpa.h
413
u32 (*get_device_id)(struct vdpa_device *vdev);
include/linux/vdpa.h
414
u32 (*get_vendor_id)(struct vdpa_device *vdev);
include/linux/vdpa.h
415
u8 (*get_status)(struct vdpa_device *vdev);
include/linux/vdpa.h
416
void (*set_status)(struct vdpa_device *vdev, u8 status);
include/linux/vdpa.h
417
int (*reset)(struct vdpa_device *vdev);
include/linux/vdpa.h
418
int (*compat_reset)(struct vdpa_device *vdev, u32 flags);
include/linux/vdpa.h
420
int (*suspend)(struct vdpa_device *vdev);
include/linux/vdpa.h
421
int (*resume)(struct vdpa_device *vdev);
include/linux/vdpa.h
422
size_t (*get_config_size)(struct vdpa_device *vdev);
include/linux/vdpa.h
423
void (*get_config)(struct vdpa_device *vdev, unsigned int offset,
include/linux/vdpa.h
425
void (*set_config)(struct vdpa_device *vdev, unsigned int offset,
include/linux/vdpa.h
427
u32 (*get_generation)(struct vdpa_device *vdev);
include/linux/vdpa.h
428
struct vdpa_iova_range (*get_iova_range)(struct vdpa_device *vdev);
include/linux/vdpa.h
429
int (*set_vq_affinity)(struct vdpa_device *vdev, u16 idx,
include/linux/vdpa.h
431
const struct cpumask *(*get_vq_affinity)(struct vdpa_device *vdev,
include/linux/vdpa.h
435
int (*set_map)(struct vdpa_device *vdev, unsigned int asid,
include/linux/vdpa.h
437
int (*dma_map)(struct vdpa_device *vdev, unsigned int asid,
include/linux/vdpa.h
439
int (*dma_unmap)(struct vdpa_device *vdev, unsigned int asid,
include/linux/vdpa.h
441
int (*reset_map)(struct vdpa_device *vdev, unsigned int asid);
include/linux/vdpa.h
442
int (*set_group_asid)(struct vdpa_device *vdev, unsigned int group,
include/linux/vdpa.h
444
union virtio_map (*get_vq_map)(struct vdpa_device *vdev, u16 idx);
include/linux/vdpa.h
445
int (*bind_mm)(struct vdpa_device *vdev, struct mm_struct *mm);
include/linux/vdpa.h
446
void (*unbind_mm)(struct vdpa_device *vdev);
include/linux/vdpa.h
449
void (*free)(struct vdpa_device *vdev);
include/linux/vdpa.h
452
struct vdpa_device *__vdpa_alloc_device(struct device *parent,
include/linux/vdpa.h
483
int vdpa_register_device(struct vdpa_device *vdev, u32 nvqs);
include/linux/vdpa.h
484
void vdpa_unregister_device(struct vdpa_device *vdev);
include/linux/vdpa.h
486
int _vdpa_register_device(struct vdpa_device *vdev, u32 nvqs);
include/linux/vdpa.h
487
void _vdpa_unregister_device(struct vdpa_device *vdev);
include/linux/vdpa.h
497
int (*probe)(struct vdpa_device *vdev);
include/linux/vdpa.h
498
void (*remove)(struct vdpa_device *vdev);
include/linux/vdpa.h
515
static inline struct vdpa_device *dev_to_vdpa(struct device *_dev)
include/linux/vdpa.h
517
return container_of(_dev, struct vdpa_device, dev);
include/linux/vdpa.h
520
static inline void *vdpa_get_drvdata(const struct vdpa_device *vdev)
include/linux/vdpa.h
525
static inline void vdpa_set_drvdata(struct vdpa_device *vdev, void *data)
include/linux/vdpa.h
530
static inline union virtio_map vdpa_get_map(struct vdpa_device *vdev)
include/linux/vdpa.h
535
static inline int vdpa_reset(struct vdpa_device *vdev, u32 flags)
include/linux/vdpa.h
550
static inline int vdpa_set_features_unlocked(struct vdpa_device *vdev, u64 features)
include/linux/vdpa.h
561
static inline int vdpa_set_features(struct vdpa_device *vdev, u64 features)
include/linux/vdpa.h
572
void vdpa_get_config(struct vdpa_device *vdev, unsigned int offset,
include/linux/vdpa.h
574
void vdpa_set_config(struct vdpa_device *dev, unsigned int offset,
include/linux/vdpa.h
576
void vdpa_set_status(struct vdpa_device *vdev, u8 status);
include/linux/vdpa.h
603
void (*dev_del)(struct vdpa_mgmt_dev *mdev, struct vdpa_device *dev);
include/linux/vdpa.h
604
int (*dev_set_attr)(struct vdpa_mgmt_dev *mdev, struct vdpa_device *dev,