Lines Matching refs:mlx4_ib_dev
82 static void do_slave_init(struct mlx4_ib_dev *ibdev, int slave, int do_init);
129 struct mlx4_ib_dev *ibdev = to_mdev(device); in mlx4_ib_get_netdev()
161 struct mlx4_ib_dev *ibdev, in mlx4_ib_update_gids_v1()
194 struct mlx4_ib_dev *ibdev, in mlx4_ib_update_gids_v1_v2()
239 struct mlx4_ib_dev *ibdev, in mlx4_ib_update_gids()
257 struct mlx4_ib_dev *ibdev = to_mdev(attr->device); in mlx4_ib_add_gid()
349 struct mlx4_ib_dev *ibdev = to_mdev(attr->device); in mlx4_ib_del_gid()
399 int mlx4_ib_gid_index_to_real_index(struct mlx4_ib_dev *ibdev, in mlx4_ib_gid_index_to_real_index()
439 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_query_device()
755 struct mlx4_ib_dev *mdev = to_mdev(ibdev); in eth_link_query_port()
839 struct mlx4_ib_dev *dev = to_mdev(ibdev); in __mlx4_ib_query_gid()
939 static void mlx4_init_sl2vl_tbl(struct mlx4_ib_dev *mdev) in mlx4_init_sl2vl_tbl()
1033 static int mlx4_ib_SET_PORT(struct mlx4_ib_dev *dev, u32 port, in mlx4_ib_SET_PORT()
1062 struct mlx4_ib_dev *mdev = to_mdev(ibdev); in mlx4_ib_modify_port()
1097 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_alloc_ucontext()
1155 struct mlx4_ib_dev *dev = to_mdev(context->device); in mlx4_ib_mmap()
1223 struct mlx4_ib_dev *dev = to_mdev(ibxrcd->device); in mlx4_ib_alloc_xrcd()
1268 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in add_gid_entry()
1288 static void mlx4_ib_delete_counters_table(struct mlx4_ib_dev *ibdev, in mlx4_ib_delete_counters_table()
1304 int mlx4_ib_add_mc(struct mlx4_ib_dev *mdev, struct mlx4_ib_qp *mqp, in mlx4_ib_add_mc()
1483 struct mlx4_ib_dev *mdev, in __mlx4_ib_create_default_rules()
1529 struct mlx4_ib_dev *mdev = to_mdev(qp->device); in __mlx4_ib_create_flow()
1816 struct mlx4_ib_dev *mdev = to_mdev(flow_id->qp->device); in mlx4_ib_destroy_flow()
1839 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in mlx4_ib_mcg_attach()
1917 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in mlx4_ib_mcg_detach()
1975 static int init_node_data(struct mlx4_ib_dev *dev) in init_node_data()
2016 struct mlx4_ib_dev *dev = in hca_type_show()
2017 rdma_device_to_drv_device(device, struct mlx4_ib_dev, ib_dev); in hca_type_show()
2026 struct mlx4_ib_dev *dev = in hw_rev_show()
2027 rdma_device_to_drv_device(device, struct mlx4_ib_dev, ib_dev); in hw_rev_show()
2036 struct mlx4_ib_dev *dev = in board_id_show()
2037 rdma_device_to_drv_device(device, struct mlx4_ib_dev, ib_dev); in board_id_show()
2099 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_alloc_hw_device_stats()
2112 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_alloc_hw_port_stats()
2126 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_get_hw_stats()
2147 static int __mlx4_ib_alloc_diag_counters(struct mlx4_ib_dev *ibdev, in __mlx4_ib_alloc_diag_counters()
2179 static void mlx4_ib_fill_diag_counters(struct mlx4_ib_dev *ibdev, in mlx4_ib_fill_diag_counters()
2217 static int mlx4_ib_alloc_diag_counters(struct mlx4_ib_dev *ibdev) in mlx4_ib_alloc_diag_counters()
2263 static void mlx4_ib_diag_cleanup(struct mlx4_ib_dev *ibdev) in mlx4_ib_diag_cleanup()
2274 static void mlx4_ib_update_qps(struct mlx4_ib_dev *ibdev, in mlx4_ib_update_qps()
2328 static void mlx4_ib_scan_netdev(struct mlx4_ib_dev *ibdev, in mlx4_ib_scan_netdev()
2381 struct mlx4_ib_dev *ibdev; in mlx4_ib_netdev_event()
2386 ibdev = container_of(this, struct mlx4_ib_dev, iboe.nb); in mlx4_ib_netdev_event()
2392 static void init_pkeys(struct mlx4_ib_dev *ibdev) in init_pkeys()
2425 static void mlx4_ib_alloc_eqs(struct mlx4_dev *dev, struct mlx4_ib_dev *ibdev) in mlx4_ib_alloc_eqs()
2456 static void mlx4_ib_free_eqs(struct mlx4_dev *dev, struct mlx4_ib_dev *ibdev) in mlx4_ib_free_eqs()
2479 struct mlx4_ib_dev *mdev = to_mdev(ibdev); in mlx4_port_immutable()
2509 struct mlx4_ib_dev *dev = in get_fw_ver_str()
2510 container_of(device, struct mlx4_ib_dev, ib_dev); in get_fw_ver_str()
2616 struct mlx4_ib_dev *ibdev; in mlx4_ib_probe()
2637 ibdev = ib_alloc_device(mlx4_ib_dev, ib_dev); in mlx4_ib_probe()
2911 int mlx4_ib_steer_qp_alloc(struct mlx4_ib_dev *dev, int count, int *qpn) in mlx4_ib_steer_qp_alloc()
2927 void mlx4_ib_steer_qp_free(struct mlx4_ib_dev *dev, u32 qpn, int count) in mlx4_ib_steer_qp_free()
2943 int mlx4_ib_steer_qp_reg(struct mlx4_ib_dev *mdev, struct mlx4_ib_qp *mqp, in mlx4_ib_steer_qp_reg()
2979 struct mlx4_ib_dev *ibdev = auxiliary_get_drvdata(adev); in mlx4_ib_remove()
3019 static void do_slave_init(struct mlx4_ib_dev *ibdev, int slave, int do_init) in do_slave_init()
3069 static void mlx4_ib_handle_catas_error(struct mlx4_ib_dev *ibdev) in mlx4_ib_handle_catas_error()
3134 struct mlx4_ib_dev *ibdev = ew->ib_dev; in handle_bonded_port_state_event()
3166 void mlx4_ib_sl2vl_update(struct mlx4_ib_dev *mdev, int port) in mlx4_ib_sl2vl_update()
3183 struct mlx4_ib_dev *mdev = ew->ib_dev; in ib_sl2vl_update_work()
3191 void mlx4_sched_ib_sl2vl_update_work(struct mlx4_ib_dev *ibdev, in mlx4_sched_ib_sl2vl_update_work()
3208 struct mlx4_ib_dev *ibdev = in mlx4_ib_event()
3209 container_of(this, struct mlx4_ib_dev, mlx_nb); in mlx4_ib_event()