mlx4_ib_dev 79 drivers/infiniband/hw/mlx4/ah.c struct mlx4_ib_dev *ibdev = to_mdev(ib_ah->device); mlx4_ib_dev 55 drivers/infiniband/hw/mlx4/alias_GUID.c struct mlx4_ib_dev *dev ; mlx4_ib_dev 72 drivers/infiniband/hw/mlx4/alias_GUID.c static int get_low_record_time_index(struct mlx4_ib_dev *dev, u8 port, mlx4_ib_dev 75 drivers/infiniband/hw/mlx4/alias_GUID.c void mlx4_ib_update_cache_on_guid_change(struct mlx4_ib_dev *dev, int block_num, mlx4_ib_dev 111 drivers/infiniband/hw/mlx4/alias_GUID.c static __be64 get_cached_alias_guid(struct mlx4_ib_dev *dev, int port, int index) mlx4_ib_dev 126 drivers/infiniband/hw/mlx4/alias_GUID.c void mlx4_ib_slave_alias_guid_event(struct mlx4_ib_dev *dev, int slave, mlx4_ib_dev 186 drivers/infiniband/hw/mlx4/alias_GUID.c void mlx4_ib_notify_slaves_on_guid_change(struct mlx4_ib_dev *dev, mlx4_ib_dev 292 drivers/infiniband/hw/mlx4/alias_GUID.c struct mlx4_ib_dev *dev; mlx4_ib_dev 452 drivers/infiniband/hw/mlx4/alias_GUID.c static void invalidate_guid_record(struct mlx4_ib_dev *dev, u8 port, int index) mlx4_ib_dev 490 drivers/infiniband/hw/mlx4/alias_GUID.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 582 drivers/infiniband/hw/mlx4/alias_GUID.c static void mlx4_ib_guid_port_init(struct mlx4_ib_dev *dev, int port) mlx4_ib_dev 606 drivers/infiniband/hw/mlx4/alias_GUID.c void mlx4_ib_invalidate_all_guid_record(struct mlx4_ib_dev *dev, int port) mlx4_ib_dev 641 drivers/infiniband/hw/mlx4/alias_GUID.c static void set_required_record(struct mlx4_ib_dev *dev, u8 port, mlx4_ib_dev 691 drivers/infiniband/hw/mlx4/alias_GUID.c static int get_low_record_time_index(struct mlx4_ib_dev *dev, u8 port, mlx4_ib_dev 723 drivers/infiniband/hw/mlx4/alias_GUID.c static int get_next_record_to_update(struct mlx4_ib_dev *dev, u8 port, mlx4_ib_dev 756 drivers/infiniband/hw/mlx4/alias_GUID.c struct mlx4_ib_dev *dev = container_of(ib_sriov, struct mlx4_ib_dev, sriov); mlx4_ib_dev 775 drivers/infiniband/hw/mlx4/alias_GUID.c void mlx4_ib_init_alias_guid_work(struct mlx4_ib_dev *dev, int port) mlx4_ib_dev 797 drivers/infiniband/hw/mlx4/alias_GUID.c void mlx4_ib_destroy_alias_guid_service(struct mlx4_ib_dev *dev) mlx4_ib_dev 833 drivers/infiniband/hw/mlx4/alias_GUID.c int mlx4_ib_init_alias_guid_service(struct mlx4_ib_dev *dev) mlx4_ib_dev 51 drivers/infiniband/hw/mlx4/cm.c struct mlx4_ib_dev *dev; mlx4_ib_dev 172 drivers/infiniband/hw/mlx4/cm.c struct mlx4_ib_dev *dev = ent->dev; mlx4_ib_dev 372 drivers/infiniband/hw/mlx4/cm.c void mlx4_ib_cm_paravirt_init(struct mlx4_ib_dev *dev) mlx4_ib_dev 382 drivers/infiniband/hw/mlx4/cm.c void mlx4_ib_cm_paravirt_clean(struct mlx4_ib_dev *dev, int slave) mlx4_ib_dev 96 drivers/infiniband/hw/mlx4/cq.c struct mlx4_ib_dev *dev = to_mdev(cq->device); mlx4_ib_dev 101 drivers/infiniband/hw/mlx4/cq.c static int mlx4_ib_alloc_cq_buf(struct mlx4_ib_dev *dev, struct mlx4_ib_cq_buf *buf, int nent) mlx4_ib_dev 133 drivers/infiniband/hw/mlx4/cq.c static void mlx4_ib_free_cq_buf(struct mlx4_ib_dev *dev, struct mlx4_ib_cq_buf *buf, int cqe) mlx4_ib_dev 138 drivers/infiniband/hw/mlx4/cq.c static int mlx4_ib_get_cq_umem(struct mlx4_ib_dev *dev, struct ib_udata *udata, mlx4_ib_dev 181 drivers/infiniband/hw/mlx4/cq.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 291 drivers/infiniband/hw/mlx4/cq.c static int mlx4_alloc_resize_buf(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, mlx4_ib_dev 315 drivers/infiniband/hw/mlx4/cq.c static int mlx4_alloc_resize_umem(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, mlx4_ib_dev 382 drivers/infiniband/hw/mlx4/cq.c struct mlx4_ib_dev *dev = to_mdev(ibcq->device); mlx4_ib_dev 480 drivers/infiniband/hw/mlx4/cq.c struct mlx4_ib_dev *dev = to_mdev(cq->device); mlx4_ib_dev 700 drivers/infiniband/hw/mlx4/cq.c struct mlx4_ib_dev *dev = to_mdev(cq->ibcq.device); mlx4_ib_dev 887 drivers/infiniband/hw/mlx4/cq.c struct mlx4_ib_dev *mdev = to_mdev(cq->ibcq.device); mlx4_ib_dev 91 drivers/infiniband/hw/mlx4/mad.c static void handle_client_rereg_event(struct mlx4_ib_dev *dev, u8 port_num); mlx4_ib_dev 92 drivers/infiniband/hw/mlx4/mad.c static void handle_lid_change_event(struct mlx4_ib_dev *dev, u8 port_num); mlx4_ib_dev 93 drivers/infiniband/hw/mlx4/mad.c static void __propagate_pkey_ev(struct mlx4_ib_dev *dev, int port_num, mlx4_ib_dev 108 drivers/infiniband/hw/mlx4/mad.c int mlx4_MAD_IFC(struct mlx4_ib_dev *dev, int mad_ifc_flags, mlx4_ib_dev 189 drivers/infiniband/hw/mlx4/mad.c static void update_sm_ah(struct mlx4_ib_dev *dev, u8 port_num, u16 lid, u8 sl) mlx4_ib_dev 230 drivers/infiniband/hw/mlx4/mad.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 333 drivers/infiniband/hw/mlx4/mad.c static void __propagate_pkey_ev(struct mlx4_ib_dev *dev, int port_num, mlx4_ib_dev 383 drivers/infiniband/hw/mlx4/mad.c static void forward_trap(struct mlx4_ib_dev *dev, u8 port_num, const struct ib_mad *mad) mlx4_ib_dev 434 drivers/infiniband/hw/mlx4/mad.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 445 drivers/infiniband/hw/mlx4/mad.c static int find_slave_port_pkey_ix(struct mlx4_ib_dev *dev, int slave, mlx4_ib_dev 503 drivers/infiniband/hw/mlx4/mad.c int mlx4_ib_send_to_slave(struct mlx4_ib_dev *dev, int slave, u8 port, mlx4_ib_dev 668 drivers/infiniband/hw/mlx4/mad.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 942 drivers/infiniband/hw/mlx4/mad.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 991 drivers/infiniband/hw/mlx4/mad.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 1031 drivers/infiniband/hw/mlx4/mad.c int mlx4_ib_mad_init(struct mlx4_ib_dev *dev) mlx4_ib_dev 1067 drivers/infiniband/hw/mlx4/mad.c void mlx4_ib_mad_cleanup(struct mlx4_ib_dev *dev) mlx4_ib_dev 1086 drivers/infiniband/hw/mlx4/mad.c static void handle_lid_change_event(struct mlx4_ib_dev *dev, u8 port_num) mlx4_ib_dev 1095 drivers/infiniband/hw/mlx4/mad.c static void handle_client_rereg_event(struct mlx4_ib_dev *dev, u8 port_num) mlx4_ib_dev 1127 drivers/infiniband/hw/mlx4/mad.c static void propagate_pkey_ev(struct mlx4_ib_dev *dev, int port_num, mlx4_ib_dev 1134 drivers/infiniband/hw/mlx4/mad.c static void handle_slaves_guid_change(struct mlx4_ib_dev *dev, u8 port_num, mlx4_ib_dev 1188 drivers/infiniband/hw/mlx4/mad.c struct mlx4_ib_dev *dev = ew->ib_dev; mlx4_ib_dev 1287 drivers/infiniband/hw/mlx4/mad.c void mlx4_ib_dispatch_event(struct mlx4_ib_dev *dev, u8 port_num, mlx4_ib_dev 1303 drivers/infiniband/hw/mlx4/mad.c struct mlx4_ib_dev *dev = to_mdev(ctx->ib_dev); mlx4_ib_dev 1352 drivers/infiniband/hw/mlx4/mad.c static int is_proxy_qp0(struct mlx4_ib_dev *dev, int qpn, int slave) mlx4_ib_dev 1360 drivers/infiniband/hw/mlx4/mad.c int mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u8 port, mlx4_ib_dev 1464 drivers/infiniband/hw/mlx4/mad.c static int get_slave_base_gid_ix(struct mlx4_ib_dev *dev, int slave, int port) mlx4_ib_dev 1471 drivers/infiniband/hw/mlx4/mad.c static void fill_in_real_sgid_index(struct mlx4_ib_dev *dev, int slave, int port, mlx4_ib_dev 1483 drivers/infiniband/hw/mlx4/mad.c struct mlx4_ib_dev *dev = to_mdev(ctx->ib_dev); mlx4_ib_dev 1953 drivers/infiniband/hw/mlx4/mad.c static int alloc_pv_object(struct mlx4_ib_dev *dev, int slave, int port, mlx4_ib_dev 1970 drivers/infiniband/hw/mlx4/mad.c static void free_pv_object(struct mlx4_ib_dev *dev, int slave, int port) mlx4_ib_dev 2088 drivers/infiniband/hw/mlx4/mad.c static void destroy_pv_resources(struct mlx4_ib_dev *dev, int slave, int port, mlx4_ib_dev 2113 drivers/infiniband/hw/mlx4/mad.c static int mlx4_ib_tunnels_update(struct mlx4_ib_dev *dev, int slave, mlx4_ib_dev 2152 drivers/infiniband/hw/mlx4/mad.c static int mlx4_ib_alloc_demux_ctx(struct mlx4_ib_dev *dev, mlx4_ib_dev 2249 drivers/infiniband/hw/mlx4/mad.c struct mlx4_ib_dev *dev = to_mdev(ctx->ib_dev); mlx4_ib_dev 2268 drivers/infiniband/hw/mlx4/mad.c static void mlx4_ib_master_tunnels(struct mlx4_ib_dev *dev, int do_init) mlx4_ib_dev 2280 drivers/infiniband/hw/mlx4/mad.c int mlx4_ib_init_sriov(struct mlx4_ib_dev *dev) mlx4_ib_dev 2356 drivers/infiniband/hw/mlx4/mad.c void mlx4_ib_close_sriov(struct mlx4_ib_dev *dev) mlx4_ib_dev 82 drivers/infiniband/hw/mlx4/main.c static void do_slave_init(struct mlx4_ib_dev *ibdev, int slave, int do_init); mlx4_ib_dev 134 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *ibdev = to_mdev(device); mlx4_ib_dev 162 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *ibdev, mlx4_ib_dev 195 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *ibdev, mlx4_ib_dev 240 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *ibdev, mlx4_ib_dev 258 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *ibdev = to_mdev(attr->device); mlx4_ib_dev 344 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *ibdev = to_mdev(attr->device); mlx4_ib_dev 394 drivers/infiniband/hw/mlx4/main.c int mlx4_ib_gid_index_to_real_index(struct mlx4_ib_dev *ibdev, mlx4_ib_dev 437 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 757 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *mdev = to_mdev(ibdev); mlx4_ib_dev 840 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 939 drivers/infiniband/hw/mlx4/main.c static void mlx4_init_sl2vl_tbl(struct mlx4_ib_dev *mdev) mlx4_ib_dev 1032 drivers/infiniband/hw/mlx4/main.c static int mlx4_ib_SET_PORT(struct mlx4_ib_dev *dev, u8 port, int reset_qkey_viols, mlx4_ib_dev 1061 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *mdev = to_mdev(ibdev); mlx4_ib_dev 1096 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 1154 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *dev = to_mdev(context->device); mlx4_ib_dev 1271 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); mlx4_ib_dev 1291 drivers/infiniband/hw/mlx4/main.c static void mlx4_ib_delete_counters_table(struct mlx4_ib_dev *ibdev, mlx4_ib_dev 1307 drivers/infiniband/hw/mlx4/main.c int mlx4_ib_add_mc(struct mlx4_ib_dev *mdev, struct mlx4_ib_qp *mqp, mlx4_ib_dev 1487 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *mdev, mlx4_ib_dev 1533 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *mdev = to_mdev(qp->device); mlx4_ib_dev 1836 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *mdev = to_mdev(flow_id->qp->device); mlx4_ib_dev 1859 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); mlx4_ib_dev 1937 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); mlx4_ib_dev 1997 drivers/infiniband/hw/mlx4/main.c static int init_node_data(struct mlx4_ib_dev *dev) mlx4_ib_dev 2038 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *dev = mlx4_ib_dev 2039 drivers/infiniband/hw/mlx4/main.c rdma_device_to_drv_device(device, struct mlx4_ib_dev, ib_dev); mlx4_ib_dev 2047 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *dev = mlx4_ib_dev 2048 drivers/infiniband/hw/mlx4/main.c rdma_device_to_drv_device(device, struct mlx4_ib_dev, ib_dev); mlx4_ib_dev 2056 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *dev = mlx4_ib_dev 2057 drivers/infiniband/hw/mlx4/main.c rdma_device_to_drv_device(device, struct mlx4_ib_dev, ib_dev); mlx4_ib_dev 2120 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 2135 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 2156 drivers/infiniband/hw/mlx4/main.c static int __mlx4_ib_alloc_diag_counters(struct mlx4_ib_dev *ibdev, mlx4_ib_dev 2189 drivers/infiniband/hw/mlx4/main.c static void mlx4_ib_fill_diag_counters(struct mlx4_ib_dev *ibdev, mlx4_ib_dev 2222 drivers/infiniband/hw/mlx4/main.c static int mlx4_ib_alloc_diag_counters(struct mlx4_ib_dev *ibdev) mlx4_ib_dev 2261 drivers/infiniband/hw/mlx4/main.c static void mlx4_ib_diag_cleanup(struct mlx4_ib_dev *ibdev) mlx4_ib_dev 2272 drivers/infiniband/hw/mlx4/main.c static void mlx4_ib_update_qps(struct mlx4_ib_dev *ibdev, mlx4_ib_dev 2329 drivers/infiniband/hw/mlx4/main.c static void mlx4_ib_scan_netdevs(struct mlx4_ib_dev *ibdev, mlx4_ib_dev 2390 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *ibdev; mlx4_ib_dev 2395 drivers/infiniband/hw/mlx4/main.c ibdev = container_of(this, struct mlx4_ib_dev, iboe.nb); mlx4_ib_dev 2401 drivers/infiniband/hw/mlx4/main.c static void init_pkeys(struct mlx4_ib_dev *ibdev) mlx4_ib_dev 2434 drivers/infiniband/hw/mlx4/main.c static void mlx4_ib_alloc_eqs(struct mlx4_dev *dev, struct mlx4_ib_dev *ibdev) mlx4_ib_dev 2465 drivers/infiniband/hw/mlx4/main.c static void mlx4_ib_free_eqs(struct mlx4_dev *dev, struct mlx4_ib_dev *ibdev) mlx4_ib_dev 2488 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *mdev = to_mdev(ibdev); mlx4_ib_dev 2518 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *dev = mlx4_ib_dev 2519 drivers/infiniband/hw/mlx4/main.c container_of(device, struct mlx4_ib_dev, ib_dev); mlx4_ib_dev 2620 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *ibdev; mlx4_ib_dev 2641 drivers/infiniband/hw/mlx4/main.c ibdev = ib_alloc_device(mlx4_ib_dev, ib_dev); mlx4_ib_dev 2947 drivers/infiniband/hw/mlx4/main.c int mlx4_ib_steer_qp_alloc(struct mlx4_ib_dev *dev, int count, int *qpn) mlx4_ib_dev 2963 drivers/infiniband/hw/mlx4/main.c void mlx4_ib_steer_qp_free(struct mlx4_ib_dev *dev, u32 qpn, int count) mlx4_ib_dev 2979 drivers/infiniband/hw/mlx4/main.c int mlx4_ib_steer_qp_reg(struct mlx4_ib_dev *mdev, struct mlx4_ib_qp *mqp, mlx4_ib_dev 3015 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *ibdev = ibdev_ptr; mlx4_ib_dev 3053 drivers/infiniband/hw/mlx4/main.c static void do_slave_init(struct mlx4_ib_dev *ibdev, int slave, int do_init) mlx4_ib_dev 3103 drivers/infiniband/hw/mlx4/main.c static void mlx4_ib_handle_catas_error(struct mlx4_ib_dev *ibdev) mlx4_ib_dev 3168 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *ibdev = ew->ib_dev; mlx4_ib_dev 3200 drivers/infiniband/hw/mlx4/main.c void mlx4_ib_sl2vl_update(struct mlx4_ib_dev *mdev, int port) mlx4_ib_dev 3217 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *mdev = ew->ib_dev; mlx4_ib_dev 3225 drivers/infiniband/hw/mlx4/main.c void mlx4_sched_ib_sl2vl_update_work(struct mlx4_ib_dev *ibdev, mlx4_ib_dev 3243 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_dev *ibdev = to_mdev((struct ib_device *) ibdev_ptr); mlx4_ib_dev 211 drivers/infiniband/hw/mlx4/mcg.c struct mlx4_ib_dev *dev = ctx->dev; mlx4_ib_dev 231 drivers/infiniband/hw/mlx4/mcg.c struct mlx4_ib_dev *dev = ctx->dev; mlx4_ib_dev 885 drivers/infiniband/hw/mlx4/mcg.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 934 drivers/infiniband/hw/mlx4/mcg.c struct mlx4_ib_dev *dev = to_mdev(ibdev); mlx4_ib_dev 423 drivers/infiniband/hw/mlx4/mlx4_ib.h struct mlx4_ib_dev *dev; mlx4_ib_dev 473 drivers/infiniband/hw/mlx4/mlx4_ib.h struct mlx4_ib_dev *dev; mlx4_ib_dev 550 drivers/infiniband/hw/mlx4/mlx4_ib.h struct mlx4_ib_dev *dev; mlx4_ib_dev 624 drivers/infiniband/hw/mlx4/mlx4_ib.h struct mlx4_ib_dev *ib_dev; mlx4_ib_dev 641 drivers/infiniband/hw/mlx4/mlx4_ib.h static inline struct mlx4_ib_dev *to_mdev(struct ib_device *ibdev) mlx4_ib_dev 643 drivers/infiniband/hw/mlx4/mlx4_ib.h return container_of(ibdev, struct mlx4_ib_dev, ib_dev); mlx4_ib_dev 716 drivers/infiniband/hw/mlx4/mlx4_ib.h static inline u8 mlx4_ib_bond_next_port(struct mlx4_ib_dev *dev) mlx4_ib_dev 723 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_init_sriov(struct mlx4_ib_dev *dev); mlx4_ib_dev 724 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_close_sriov(struct mlx4_ib_dev *dev); mlx4_ib_dev 731 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_umem_write_mtt(struct mlx4_ib_dev *dev, struct mlx4_mtt *mtt, mlx4_ib_dev 786 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_MAD_IFC(struct mlx4_ib_dev *dev, int mad_ifc_flags, mlx4_ib_dev 794 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_mad_init(struct mlx4_ib_dev *dev); mlx4_ib_dev 795 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_mad_cleanup(struct mlx4_ib_dev *dev); mlx4_ib_dev 834 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_add_mc(struct mlx4_ib_dev *mdev, struct mlx4_ib_qp *mqp, mlx4_ib_dev 837 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_dispatch_event(struct mlx4_ib_dev *dev, u8 port_num, mlx4_ib_dev 842 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_send_to_slave(struct mlx4_ib_dev *dev, int slave, u8 port, mlx4_ib_dev 846 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u8 port, mlx4_ib_dev 859 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_cm_paravirt_init(struct mlx4_ib_dev *dev); mlx4_ib_dev 860 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_cm_paravirt_clean(struct mlx4_ib_dev *dev, int slave_id); mlx4_ib_dev 863 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_init_alias_guid_work(struct mlx4_ib_dev *dev, int port); mlx4_ib_dev 864 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_init_alias_guid_service(struct mlx4_ib_dev *dev); mlx4_ib_dev 865 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_destroy_alias_guid_service(struct mlx4_ib_dev *dev); mlx4_ib_dev 866 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_invalidate_all_guid_record(struct mlx4_ib_dev *dev, int port); mlx4_ib_dev 868 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_notify_slaves_on_guid_change(struct mlx4_ib_dev *dev, mlx4_ib_dev 872 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_update_cache_on_guid_change(struct mlx4_ib_dev *dev, mlx4_ib_dev 876 drivers/infiniband/hw/mlx4/mlx4_ib.h int add_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, mlx4_ib_dev 878 drivers/infiniband/hw/mlx4/mlx4_ib.h void del_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, mlx4_ib_dev 881 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_slave_alias_guid_event(struct mlx4_ib_dev *dev, int slave, mlx4_ib_dev 884 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_device_register_sysfs(struct mlx4_ib_dev *device) ; mlx4_ib_dev 886 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_device_unregister_sysfs(struct mlx4_ib_dev *device); mlx4_ib_dev 890 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_steer_qp_alloc(struct mlx4_ib_dev *dev, int count, int *qpn); mlx4_ib_dev 891 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_steer_qp_free(struct mlx4_ib_dev *dev, u32 qpn, int count); mlx4_ib_dev 892 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_steer_qp_reg(struct mlx4_ib_dev *mdev, struct mlx4_ib_qp *mqp, mlx4_ib_dev 898 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_gid_index_to_real_index(struct mlx4_ib_dev *ibdev, mlx4_ib_dev 901 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_sched_ib_sl2vl_update_work(struct mlx4_ib_dev *ibdev, mlx4_ib_dev 904 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_sl2vl_update(struct mlx4_ib_dev *mdev, int port); mlx4_ib_dev 94 drivers/infiniband/hw/mlx4/mr.c static int mlx4_ib_umem_write_mtt_block(struct mlx4_ib_dev *dev, mlx4_ib_dev 182 drivers/infiniband/hw/mlx4/mr.c int mlx4_ib_umem_write_mtt(struct mlx4_ib_dev *dev, struct mlx4_mtt *mtt, mlx4_ib_dev 408 drivers/infiniband/hw/mlx4/mr.c struct mlx4_ib_dev *dev = to_mdev(pd->device); mlx4_ib_dev 464 drivers/infiniband/hw/mlx4/mr.c struct mlx4_ib_dev *dev = to_mdev(mr->device); mlx4_ib_dev 617 drivers/infiniband/hw/mlx4/mr.c struct mlx4_ib_dev *dev = to_mdev(pd->device); mlx4_ib_dev 660 drivers/infiniband/hw/mlx4/mr.c struct mlx4_ib_dev *dev = to_mdev(pd->device); mlx4_ib_dev 704 drivers/infiniband/hw/mlx4/mr.c struct mlx4_ib_dev *dev = to_mdev(pd->device); mlx4_ib_dev 739 drivers/infiniband/hw/mlx4/mr.c struct mlx4_ib_dev *dev = to_mdev(ifmr->ibfmr.device); mlx4_ib_dev 783 drivers/infiniband/hw/mlx4/mr.c struct mlx4_ib_dev *dev = to_mdev(ibfmr->device); mlx4_ib_dev 131 drivers/infiniband/hw/mlx4/qp.c static int is_tunnel_qp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) mlx4_ib_dev 141 drivers/infiniband/hw/mlx4/qp.c static int is_sqp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) mlx4_ib_dev 169 drivers/infiniband/hw/mlx4/qp.c static int is_qp0(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) mlx4_ib_dev 327 drivers/infiniband/hw/mlx4/qp.c static int set_rq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, mlx4_ib_dev 372 drivers/infiniband/hw/mlx4/qp.c static int set_kernel_sq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, mlx4_ib_dev 437 drivers/infiniband/hw/mlx4/qp.c static int set_user_sq_size(struct mlx4_ib_dev *dev, mlx4_ib_dev 527 drivers/infiniband/hw/mlx4/qp.c static void mlx4_ib_free_qp_counter(struct mlx4_ib_dev *dev, mlx4_ib_dev 539 drivers/infiniband/hw/mlx4/qp.c static int set_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_rss *rss_ctx, mlx4_ib_dev 641 drivers/infiniband/hw/mlx4/qp.c static int create_qp_rss(struct mlx4_ib_dev *dev, mlx4_ib_dev 783 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev = to_mdev(context->ibucontext.device); mlx4_ib_dev 833 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev = to_mdev(context->ibucontext.device); mlx4_ib_dev 861 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev = to_mdev(pd->device); mlx4_ib_dev 994 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev = to_mdev(pd->device); mlx4_ib_dev 1386 drivers/infiniband/hw/mlx4/qp.c static void destroy_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) mlx4_ib_dev 1416 drivers/infiniband/hw/mlx4/qp.c static void destroy_qp_common(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp, mlx4_ib_dev 1515 drivers/infiniband/hw/mlx4/qp.c static u32 get_sqp_num(struct mlx4_ib_dev *dev, struct ib_qp_init_attr *attr) mlx4_ib_dev 1650 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev = to_mdev(device); mlx4_ib_dev 1681 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev = to_mdev(qp->device); mlx4_ib_dev 1725 drivers/infiniband/hw/mlx4/qp.c static int to_mlx4_st(struct mlx4_ib_dev *dev, enum mlx4_ib_qp_type type) mlx4_ib_dev 1795 drivers/infiniband/hw/mlx4/qp.c static int _mlx4_set_path(struct mlx4_ib_dev *dev, mlx4_ib_dev 1913 drivers/infiniband/hw/mlx4/qp.c static int mlx4_set_path(struct mlx4_ib_dev *dev, const struct ib_qp_attr *qp, mlx4_ib_dev 1925 drivers/infiniband/hw/mlx4/qp.c static int mlx4_set_alt_path(struct mlx4_ib_dev *dev, mlx4_ib_dev 1937 drivers/infiniband/hw/mlx4/qp.c static void update_mcg_macs(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) mlx4_ib_dev 1949 drivers/infiniband/hw/mlx4/qp.c static int handle_eth_ud_smac_index(struct mlx4_ib_dev *dev, mlx4_ib_dev 1973 drivers/infiniband/hw/mlx4/qp.c static int create_qp_lb_counter(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) mlx4_ib_dev 2141 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev; mlx4_ib_dev 2721 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev = to_mdev(ibqp->device); mlx4_ib_dev 2884 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *mdev = to_mdev(sqp->qp.ibqp.device); mlx4_ib_dev 2996 drivers/infiniband/hw/mlx4/qp.c static u8 sl_to_vl(struct mlx4_ib_dev *dev, u8 sl, int port_num) mlx4_ib_dev 3012 drivers/infiniband/hw/mlx4/qp.c static int fill_gid_by_hw_index(struct mlx4_ib_dev *ibdev, u8 port_num, mlx4_ib_dev 3036 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *ibdev = to_mdev(ib_dev); mlx4_ib_dev 3383 drivers/infiniband/hw/mlx4/qp.c static void set_tunnel_datagram_seg(struct mlx4_ib_dev *dev, mlx4_ib_dev 3551 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); mlx4_ib_dev 3866 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); mlx4_ib_dev 3988 drivers/infiniband/hw/mlx4/qp.c static void to_rdma_ah_attr(struct mlx4_ib_dev *ibdev, mlx4_ib_dev 4025 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev = to_mdev(ibqp->device); mlx4_ib_dev 4332 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev = to_mdev(ibwq->device); mlx4_ib_dev 4430 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev) mlx4_ib_dev 4491 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev = to_mdev(qp->device); mlx4_ib_dev 4520 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev = to_mdev(qp->device); mlx4_ib_dev 76 drivers/infiniband/hw/mlx4/srq.c struct mlx4_ib_dev *dev = to_mdev(ib_srq->device); mlx4_ib_dev 221 drivers/infiniband/hw/mlx4/srq.c struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); mlx4_ib_dev 246 drivers/infiniband/hw/mlx4/srq.c struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); mlx4_ib_dev 264 drivers/infiniband/hw/mlx4/srq.c struct mlx4_ib_dev *dev = to_mdev(srq->device); mlx4_ib_dev 310 drivers/infiniband/hw/mlx4/srq.c struct mlx4_ib_dev *mdev = to_mdev(ibsrq->device); mlx4_ib_dev 52 drivers/infiniband/hw/mlx4/sysfs.c struct mlx4_ib_dev *mdev = port->dev; mlx4_ib_dev 77 drivers/infiniband/hw/mlx4/sysfs.c struct mlx4_ib_dev *mdev = port->dev; mlx4_ib_dev 118 drivers/infiniband/hw/mlx4/sysfs.c struct mlx4_ib_dev *mdev = port->dev; mlx4_ib_dev 145 drivers/infiniband/hw/mlx4/sysfs.c struct mlx4_ib_dev *mdev = port->dev; mlx4_ib_dev 200 drivers/infiniband/hw/mlx4/sysfs.c int add_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, mlx4_ib_dev 213 drivers/infiniband/hw/mlx4/sysfs.c void del_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, mlx4_ib_dev 221 drivers/infiniband/hw/mlx4/sysfs.c static int add_port_entries(struct mlx4_ib_dev *device, int port_num) mlx4_ib_dev 354 drivers/infiniband/hw/mlx4/sysfs.c static void get_name(struct mlx4_ib_dev *dev, char *name, int i, int max) mlx4_ib_dev 366 drivers/infiniband/hw/mlx4/sysfs.c struct mlx4_ib_dev *dev; mlx4_ib_dev 635 drivers/infiniband/hw/mlx4/sysfs.c static int add_port(struct mlx4_ib_dev *dev, int port_num, int slave) mlx4_ib_dev 704 drivers/infiniband/hw/mlx4/sysfs.c static int register_one_pkey_tree(struct mlx4_ib_dev *dev, int slave) mlx4_ib_dev 768 drivers/infiniband/hw/mlx4/sysfs.c static int register_pkey_tree(struct mlx4_ib_dev *device) mlx4_ib_dev 781 drivers/infiniband/hw/mlx4/sysfs.c static void unregister_pkey_tree(struct mlx4_ib_dev *device) mlx4_ib_dev 809 drivers/infiniband/hw/mlx4/sysfs.c int mlx4_ib_device_register_sysfs(struct mlx4_ib_dev *dev) mlx4_ib_dev 851 drivers/infiniband/hw/mlx4/sysfs.c static void unregister_alias_guid_tree(struct mlx4_ib_dev *device) mlx4_ib_dev 875 drivers/infiniband/hw/mlx4/sysfs.c void mlx4_ib_device_unregister_sysfs(struct mlx4_ib_dev *device)