Lines Matching defs:mvdev
135 static bool is_index_valid(struct mlx5_vdpa_dev *mvdev, u16 idx) in is_index_valid()
169 static inline bool mlx5_vdpa_is_little_endian(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_is_little_endian()
175 static u16 mlx5vdpa16_to_cpu(struct mlx5_vdpa_dev *mvdev, __virtio16 val) in mlx5vdpa16_to_cpu()
180 static __virtio16 cpu_to_mlx5vdpa16(struct mlx5_vdpa_dev *mvdev, u16 val) in cpu_to_mlx5vdpa16()
185 static u16 ctrl_vq_idx(struct mlx5_vdpa_dev *mvdev) in ctrl_vq_idx()
193 static bool is_ctrl_vq_idx(struct mlx5_vdpa_dev *mvdev, u16 idx) in is_ctrl_vq_idx()
198 static void print_status(struct mlx5_vdpa_dev *mvdev, u8 status, bool set) in print_status()
221 static void print_features(struct mlx5_vdpa_dev *mvdev, u64 features, bool set) in print_features()
272 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in create_tis() local
854 static bool counters_supported(const struct mlx5_vdpa_dev *mvdev) in counters_supported()
860 static bool msix_mode_supported(struct mlx5_vdpa_dev *mvdev) in msix_mode_supported()
871 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in create_virtqueue() local
1226 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in modify_virtqueue() local
1937 static virtio_net_ctrl_ack handle_ctrl_mac(struct mlx5_vdpa_dev *mvdev, u8 cmd) in handle_ctrl_mac()
2026 static int change_num_qps(struct mlx5_vdpa_dev *mvdev, int newqps) in change_num_qps()
2064 static virtio_net_ctrl_ack handle_ctrl_mq(struct mlx5_vdpa_dev *mvdev, u8 cmd) in handle_ctrl_mq()
2112 static virtio_net_ctrl_ack handle_ctrl_vlan(struct mlx5_vdpa_dev *mvdev, u8 cmd) in handle_ctrl_vlan()
2157 struct mlx5_vdpa_dev *mvdev; in mlx5_cvq_kick_handler() local
2226 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_kick_vq() local
2251 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_address() local
2275 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_num() local
2288 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_cb() local
2306 static void set_cvq_ready(struct mlx5_vdpa_dev *mvdev, bool ready) in set_cvq_ready()
2319 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_ready() local
2352 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vq_ready() local
2367 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_state() local
2394 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vq_state() local
2438 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vq_group() local
2448 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vq_desc_group() local
2505 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_device_features() local
2512 static int verify_driver_features(struct mlx5_vdpa_dev *mvdev, u64 features) in verify_driver_features()
2534 static int setup_virtqueues(struct mlx5_vdpa_dev *mvdev) in setup_virtqueues()
2569 static void update_cvq_info(struct mlx5_vdpa_dev *mvdev) in update_cvq_info()
2606 static bool get_link_state(struct mlx5_vdpa_dev *mvdev) in get_link_state()
2618 struct mlx5_vdpa_dev *mvdev; in update_carrier() local
2701 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_driver_features() local
2733 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_config_cb() local
2757 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_status() local
2832 static int mlx5_vdpa_change_map(struct mlx5_vdpa_dev *mvdev, in mlx5_vdpa_change_map()
2871 static int setup_driver(struct mlx5_vdpa_dev *mvdev) in setup_driver()
2957 static int setup_cvq_vring(struct mlx5_vdpa_dev *mvdev) in setup_cvq_vring()
2979 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_status() local
3019 static void init_group_to_asid_map(struct mlx5_vdpa_dev *mvdev) in init_group_to_asid_map()
3030 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_compat_reset() local
3075 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_config() local
3090 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_generation() local
3095 static int set_map_data(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *iotlb, in set_map_data()
3136 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_map() local
3148 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_reset_map() local
3160 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_get_vq_dma_dev() local
3189 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_free() local
3209 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_get_vq_notification() local
3233 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_get_vq_irq() local
3252 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_driver_features() local
3293 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vendor_vq_stats() local
3344 static void mlx5_vdpa_cvq_suspend(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_cvq_suspend()
3357 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_suspend() local
3378 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_resume() local
3396 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_set_group_asid() local
3588 struct mlx5_vdpa_dev *mvdev; in mlx5_vdpa_dev_add() local
3772 struct mlx5_vdpa_dev *mvdev = to_mvdev(dev); in mlx5_vdpa_dev_del() local