Lines Matching defs:mvdev

147 static bool is_index_valid(struct mlx5_vdpa_dev *mvdev, u16 idx)  in is_index_valid()
180 static inline bool mlx5_vdpa_is_little_endian(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_is_little_endian()
186 static u16 mlx5vdpa16_to_cpu(struct mlx5_vdpa_dev *mvdev, __virtio16 val) in mlx5vdpa16_to_cpu()
191 static __virtio16 cpu_to_mlx5vdpa16(struct mlx5_vdpa_dev *mvdev, u16 val) in cpu_to_mlx5vdpa16()
196 static u16 ctrl_vq_idx(struct mlx5_vdpa_dev *mvdev) in ctrl_vq_idx()
204 static bool is_ctrl_vq_idx(struct mlx5_vdpa_dev *mvdev, u16 idx) in is_ctrl_vq_idx()
209 static void print_status(struct mlx5_vdpa_dev *mvdev, u8 status, bool set) in print_status()
232 static void print_features(struct mlx5_vdpa_dev *mvdev, u64 features, bool set) in print_features()
283 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in create_tis() local
865 static bool counters_supported(const struct mlx5_vdpa_dev *mvdev) in counters_supported()
871 static bool msix_mode_supported(struct mlx5_vdpa_dev *mvdev) in msix_mode_supported()
884 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in create_virtqueue() local
1226 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in query_virtqueues() local
1311 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in fill_modify_virtqueue_cmd() local
1381 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in modify_virtqueue_end() local
1559 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in modify_virtqueues() local
2130 static virtio_net_ctrl_ack handle_ctrl_mac(struct mlx5_vdpa_dev *mvdev, u8 cmd) in handle_ctrl_mac()
2219 static int change_num_qps(struct mlx5_vdpa_dev *mvdev, int newqps) in change_num_qps()
2268 static virtio_net_ctrl_ack handle_ctrl_mq(struct mlx5_vdpa_dev *mvdev, u8 cmd) in handle_ctrl_mq()
2316 static virtio_net_ctrl_ack handle_ctrl_vlan(struct mlx5_vdpa_dev *mvdev, u8 cmd) in handle_ctrl_vlan()
2361 struct mlx5_vdpa_dev *mvdev; in mlx5_cvq_kick_handler() local
2430 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_kick_vq() local
2455 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_address() local
2479 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_num() local
2500 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_cb() local
2518 static void set_cvq_ready(struct mlx5_vdpa_dev *mvdev, bool ready) in set_cvq_ready()
2531 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_ready() local
2559 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vq_ready() local
2574 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_state() local
2601 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vq_state() local
2645 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vq_group() local
2655 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vq_desc_group() local
2712 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_device_features() local
2719 static int verify_driver_features(struct mlx5_vdpa_dev *mvdev, u64 features) in verify_driver_features()
2741 static int setup_virtqueues(struct mlx5_vdpa_dev *mvdev, bool filled) in setup_virtqueues()
2770 static void update_cvq_info(struct mlx5_vdpa_dev *mvdev) in update_cvq_info()
2807 static bool get_link_state(struct mlx5_vdpa_dev *mvdev) in get_link_state()
2819 struct mlx5_vdpa_dev *mvdev; in update_carrier() local
2905 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_driver_features() local
2945 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_config_cb() local
2969 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_status() local
3044 static int mlx5_vdpa_change_map(struct mlx5_vdpa_dev *mvdev, in mlx5_vdpa_change_map()
3085 struct mlx5_vdpa_dev *mvdev = &ndev->mvdev; in setup_vq_resources() local
3158 static int setup_cvq_vring(struct mlx5_vdpa_dev *mvdev) in setup_cvq_vring()
3180 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_status() local
3232 static void init_group_to_asid_map(struct mlx5_vdpa_dev *mvdev) in init_group_to_asid_map()
3241 static bool needs_vqs_reset(const struct mlx5_vdpa_dev *mvdev) in needs_vqs_reset()
3262 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_compat_reset() local
3315 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_config() local
3330 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_generation() local
3335 static int set_map_data(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *iotlb, in set_map_data()
3376 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_map() local
3388 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_reset_map() local
3400 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_get_vq_dma_dev() local
3429 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_free() local
3452 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_get_vq_notification() local
3476 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_get_vq_irq() local
3495 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_driver_features() local
3536 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_get_vendor_vq_stats() local
3587 static void mlx5_vdpa_cvq_suspend(struct mlx5_vdpa_dev *mvdev) in mlx5_vdpa_cvq_suspend()
3600 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_suspend() local
3617 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_resume() local
3637 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_set_group_asid() local
3824 struct mlx5_vdpa_dev *mvdev; in mlx5_vdpa_dev_add() local
4021 struct mlx5_vdpa_dev *mvdev = to_mvdev(dev); in mlx5_vdpa_dev_del() local
4043 struct mlx5_vdpa_dev *mvdev; in mlx5_vdpa_set_attr() local