Lines Matching defs:dev
62 struct mlx5_ib_dev *dev; member
84 struct mlx5_ib_dev *dev; in mlx5_ib_get_ibdev_from_mpi() local
108 struct mlx5_ib_dev *dev = to_mdev(device); in mlx5_ib_port_link_layer() local
128 static struct mlx5_roce *mlx5_get_rep_roce(struct mlx5_ib_dev *dev, in mlx5_get_rep_roce()
475 struct mlx5_ib_dev *dev = to_mdev(device); in mlx5_query_port_roce() local
569 int set_roce_addr(struct mlx5_ib_dev *dev, u32 port_num, in set_roce_addr()
636 __be16 mlx5_get_roce_udp_sport_min(const struct mlx5_ib_dev *dev, in mlx5_get_roce_udp_sport_min()
645 static int mlx5_use_mad_ifc(struct mlx5_ib_dev *dev) in mlx5_use_mad_ifc()
670 static void get_atomic_caps(struct mlx5_ib_dev *dev, in get_atomic_caps()
692 static void get_atomic_caps_qp(struct mlx5_ib_dev *dev, in get_atomic_caps_qp()
703 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_query_system_image_guid() local
735 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_query_max_pkeys() local
756 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_query_vendor_id() local
771 static int mlx5_query_node_guid(struct mlx5_ib_dev *dev, in mlx5_query_node_guid()
803 static int mlx5_query_node_desc(struct mlx5_ib_dev *dev, char *node_desc) in mlx5_query_node_desc()
822 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_ib_query_device() local
1221 struct mlx5_ib_dev *dev = to_mdev(ibdev); in translate_active_width() local
1306 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_query_hca_port() local
1395 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_ib_query_port() local
1435 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_ib_query_gid() local
1454 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_query_hca_nic_pkey() local
1496 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_ib_modify_device() local
1522 static int set_port_caps_atomic(struct mlx5_ib_dev *dev, u32 port_num, u32 mask, in set_port_caps_atomic()
1559 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_ib_modify_port() local
1596 static void print_lib_caps(struct mlx5_ib_dev *dev, u64 caps) in print_lib_caps()
1611 static int calc_total_bfregs(struct mlx5_ib_dev *dev, bool lib_uar_4k, in calc_total_bfregs()
1649 static int allocate_uars(struct mlx5_ib_dev *dev, struct mlx5_ib_ucontext *context) in allocate_uars()
1679 static void deallocate_uars(struct mlx5_ib_dev *dev, in deallocate_uars()
1693 int mlx5_ib_enable_lb(struct mlx5_ib_dev *dev, bool td, bool qp) in mlx5_ib_enable_lb()
1716 void mlx5_ib_disable_lb(struct mlx5_ib_dev *dev, bool td, bool qp) in mlx5_ib_disable_lb()
1735 static int mlx5_ib_alloc_transport_domain(struct mlx5_ib_dev *dev, u32 *tdn, in mlx5_ib_alloc_transport_domain()
1755 static void mlx5_ib_dealloc_transport_domain(struct mlx5_ib_dev *dev, u32 tdn, in mlx5_ib_dealloc_transport_domain()
1775 struct mlx5_ib_dev *dev = to_mdev(ibdev); in set_ucontext_resp() local
1853 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_ib_alloc_ucontext() local
2015 struct mlx5_ib_dev *dev = to_mdev(ibcontext->device); in mlx5_ib_dealloc_ucontext() local
2029 static phys_addr_t uar_index2pfn(struct mlx5_ib_dev *dev, in uar_index2pfn()
2039 static u64 uar_index2paddress(struct mlx5_ib_dev *dev, in uar_index2paddress()
2092 static int mlx5_ib_mmap_clock_info_page(struct mlx5_ib_dev *dev, in mlx5_ib_mmap_clock_info_page()
2117 struct mlx5_ib_dev *dev = to_mdev(entry->ucontext->device); in mlx5_ib_mmap_free() local
2143 static int uar_mmap(struct mlx5_ib_dev *dev, enum mlx5_ib_mmap_cmd cmd, in uar_mmap()
2262 static int mlx5_ib_mmap_offset(struct mlx5_ib_dev *dev, in mlx5_ib_mmap_offset()
2305 struct mlx5_ib_dev *dev = to_mdev(ibcontext->device); in mlx5_ib_mmap() local
2394 struct mlx5_ib_dev *dev = to_mdev(ibqp->device); in mlx5_ib_mcg_attach() local
2417 struct mlx5_ib_dev *dev = to_mdev(ibqp->device); in mlx5_ib_mcg_detach() local
2431 static int init_node_data(struct mlx5_ib_dev *dev) in init_node_data()
2447 struct mlx5_ib_dev *dev = in fw_pages_show() local
2457 struct mlx5_ib_dev *dev = in reg_pages_show() local
2467 struct mlx5_ib_dev *dev = in hca_type_show() local
2477 struct mlx5_ib_dev *dev = in hw_rev_show() local
2487 struct mlx5_ib_dev *dev = in board_id_show() local
2752 static int set_has_smi_cap(struct mlx5_ib_dev *dev) in set_has_smi_cap()
2779 static void get_ext_port_caps(struct mlx5_ib_dev *dev) in get_ext_port_caps()
2799 static int mlx5_ib_dev_res_init(struct mlx5_ib_dev *dev) in mlx5_ib_dev_res_init()
2873 static void mlx5_ib_dev_res_cleanup(struct mlx5_ib_dev *dev) in mlx5_ib_dev_res_cleanup()
2898 struct mlx5_ib_dev *dev = to_mdev(ibdev); in get_core_cap_flags() local
2933 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_port_immutable() local
2978 struct mlx5_ib_dev *dev = in get_dev_fw_str() local
2985 static int mlx5_eth_lag_init(struct mlx5_ib_dev *dev) in mlx5_eth_lag_init()
3016 static void mlx5_eth_lag_cleanup(struct mlx5_ib_dev *dev) in mlx5_eth_lag_cleanup()
3072 static void mlx5_mdev_netdev_track(struct mlx5_ib_dev *dev, u32 port_num) in mlx5_mdev_netdev_track()
3081 static void mlx5_mdev_netdev_untrack(struct mlx5_ib_dev *dev, u32 port_num) in mlx5_mdev_netdev_untrack()
3089 static int mlx5_enable_eth(struct mlx5_ib_dev *dev) in mlx5_enable_eth()
3112 static void mlx5_disable_eth(struct mlx5_ib_dev *dev) in mlx5_disable_eth()
3281 static int mlx5_ib_init_multiport_master(struct mlx5_ib_dev *dev) in mlx5_ib_init_multiport_master()
3349 static void mlx5_ib_cleanup_multiport_master(struct mlx5_ib_dev *dev) in mlx5_ib_cleanup_multiport_master()
3519 struct mlx5_ib_dev *dev = to_mdev(device); in var_is_supported() local
3530 struct mlx5_ib_dev *dev; in alloc_uar_entry() local
3671 static void mlx5_ib_stage_init_cleanup(struct mlx5_ib_dev *dev) in mlx5_ib_stage_init_cleanup()
3681 static int mlx5_ib_stage_init_init(struct mlx5_ib_dev *dev) in mlx5_ib_stage_init_init()
3742 static int mlx5_ib_enable_driver(struct ib_device *dev) in mlx5_ib_enable_driver()
3850 static int mlx5_ib_init_var_table(struct mlx5_ib_dev *dev) in mlx5_ib_init_var_table()
3875 static void mlx5_ib_stage_caps_cleanup(struct mlx5_ib_dev *dev) in mlx5_ib_stage_caps_cleanup()
3880 static int mlx5_ib_stage_caps_init(struct mlx5_ib_dev *dev) in mlx5_ib_stage_caps_init()
3937 static int mlx5_ib_stage_non_default_cb(struct mlx5_ib_dev *dev) in mlx5_ib_stage_non_default_cb()
3949 static int mlx5_ib_stage_raw_eth_non_default_cb(struct mlx5_ib_dev *dev) in mlx5_ib_stage_raw_eth_non_default_cb()
3967 static int mlx5_ib_roce_init(struct mlx5_ib_dev *dev) in mlx5_ib_roce_init()
3997 static void mlx5_ib_roce_cleanup(struct mlx5_ib_dev *dev) in mlx5_ib_roce_cleanup()
4015 static int mlx5_ib_stage_cong_debugfs_init(struct mlx5_ib_dev *dev) in mlx5_ib_stage_cong_debugfs_init()
4022 static void mlx5_ib_stage_cong_debugfs_cleanup(struct mlx5_ib_dev *dev) in mlx5_ib_stage_cong_debugfs_cleanup()
4028 static int mlx5_ib_stage_uar_init(struct mlx5_ib_dev *dev) in mlx5_ib_stage_uar_init()
4034 static void mlx5_ib_stage_uar_cleanup(struct mlx5_ib_dev *dev) in mlx5_ib_stage_uar_cleanup()
4039 static int mlx5_ib_stage_bfrag_init(struct mlx5_ib_dev *dev) in mlx5_ib_stage_bfrag_init()
4054 static void mlx5_ib_stage_bfrag_cleanup(struct mlx5_ib_dev *dev) in mlx5_ib_stage_bfrag_cleanup()
4060 static int mlx5_ib_stage_ib_reg_init(struct mlx5_ib_dev *dev) in mlx5_ib_stage_ib_reg_init()
4071 static void mlx5_ib_stage_pre_ib_reg_umr_cleanup(struct mlx5_ib_dev *dev) in mlx5_ib_stage_pre_ib_reg_umr_cleanup()
4077 static void mlx5_ib_stage_ib_reg_cleanup(struct mlx5_ib_dev *dev) in mlx5_ib_stage_ib_reg_cleanup()
4082 static int mlx5_ib_stage_post_ib_reg_umr_init(struct mlx5_ib_dev *dev) in mlx5_ib_stage_post_ib_reg_umr_init()
4096 static int mlx5_ib_stage_delay_drop_init(struct mlx5_ib_dev *dev) in mlx5_ib_stage_delay_drop_init()
4126 static void mlx5_ib_stage_delay_drop_cleanup(struct mlx5_ib_dev *dev) in mlx5_ib_stage_delay_drop_cleanup()
4139 static int mlx5_ib_stage_dev_notifier_init(struct mlx5_ib_dev *dev) in mlx5_ib_stage_dev_notifier_init()
4149 static void mlx5_ib_stage_dev_notifier_cleanup(struct mlx5_ib_dev *dev) in mlx5_ib_stage_dev_notifier_cleanup()
4155 void __mlx5_ib_remove(struct mlx5_ib_dev *dev, in __mlx5_ib_remove()
4172 int __mlx5_ib_add(struct mlx5_ib_dev *dev, in __mlx5_ib_add()
4330 struct mlx5_ib_dev *dev; in mlx5r_mp_probe() local
4391 struct mlx5_ib_dev *dev; in mlx5r_probe() local
4429 struct mlx5_ib_dev *dev; in mlx5r_remove() local