Lines Matching defs:mvdev
128 static bool is_index_valid(struct mlx5_vdpa_dev *mvdev, u16 idx) in is_index_valid()
162 static inline bool mlx5_vdpa_is_little_endian(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_is_little_endian()
168 static u16 mlx5vdpa16_to_cpu(struct mlx5_vdpa_dev *mvdev, __virtio16 val) in mlx5vdpa16_to_cpu()
173 static __virtio16 cpu_to_mlx5vdpa16(struct mlx5_vdpa_dev *mvdev, u16 val) in cpu_to_mlx5vdpa16()
178 static u16 ctrl_vq_idx(struct mlx5_vdpa_dev *mvdev) in ctrl_vq_idx()
186 static bool is_ctrl_vq_idx(struct mlx5_vdpa_dev *mvdev, u16 idx) in is_ctrl_vq_idx()
191 static void print_status(struct mlx5_vdpa_dev *mvdev, u8 status, bool set) in print_status()
214 static void print_features(struct mlx5_vdpa_dev *mvdev, u64 features, bool set) in print_features()
265 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in create_tis() local
847 static bool counters_supported(const struct mlx5_vdpa_dev *mvdev) in counters_supported()
853 static bool msix_mode_supported(struct mlx5_vdpa_dev *mvdev) in msix_mode_supported()
1798 static virtio_net_ctrl_ack handle_ctrl_mac(struct mlx5_vdpa_dev *mvdev, u8 cmd) in handle_ctrl_mac()
1887 static int change_num_qps(struct mlx5_vdpa_dev *mvdev, int newqps) in change_num_qps()
1925 static virtio_net_ctrl_ack handle_ctrl_mq(struct mlx5_vdpa_dev *mvdev, u8 cmd) in handle_ctrl_mq()
1973 static virtio_net_ctrl_ack handle_ctrl_vlan(struct mlx5_vdpa_dev *mvdev, u8 cmd) in handle_ctrl_vlan()
2018 struct mlx5_vdpa_dev *mvdev; in mlx5_cvq_kick_handler() local
2087 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_kick_vq() local
2112 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_address() local
2135 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_num() local
2148 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_cb() local
2166 static void set_cvq_ready(struct mlx5_vdpa_dev *mvdev, bool ready) in set_cvq_ready()
2179 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_ready() local
2212 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vq_ready() local
2227 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_state() local
2252 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vq_state() local
2296 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vq_group() local
2353 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_device_features() local
2360 static int verify_driver_features(struct mlx5_vdpa_dev *mvdev, u64 features) in verify_driver_features()
2382 static int setup_virtqueues(struct mlx5_vdpa_dev *mvdev) in setup_virtqueues()
2417 static void update_cvq_info(struct mlx5_vdpa_dev *mvdev) in update_cvq_info()
2454 static bool get_link_state(struct mlx5_vdpa_dev *mvdev) in get_link_state()
2466 struct mlx5_vdpa_dev *mvdev; in update_carrier() local
2544 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_driver_features() local
2576 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_config_cb() local
2600 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_status() local
2675 static int mlx5_vdpa_change_map(struct mlx5_vdpa_dev *mvdev, in mlx5_vdpa_change_map()
2709 static int setup_driver(struct mlx5_vdpa_dev *mvdev) in setup_driver()
2793 static int setup_cvq_vring(struct mlx5_vdpa_dev *mvdev) in setup_cvq_vring()
2815 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_status() local
2855 static void init_group_to_asid_map(struct mlx5_vdpa_dev *mvdev) in init_group_to_asid_map()
2866 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_reset() local
2904 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_config() local
2919 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_generation() local
2924 static int set_map_data(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *iotlb, in set_map_data()
2945 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_map() local
2957 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_get_vq_dma_dev() local
2986 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_free() local
3006 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_get_vq_notification() local
3030 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_get_vq_irq() local
3049 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_driver_features() local
3090 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vendor_vq_stats() local
3141 static void mlx5_vdpa_cvq_suspend(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_cvq_suspend()
3154 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_suspend() local
3176 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_set_group_asid() local
3355 struct mlx5_vdpa_dev *mvdev; in mlx5_vdpa_dev_add() local
3537 struct mlx5_vdpa_dev *mvdev = to_mvdev(dev); in mlx5_vdpa_dev_del() local