/linux-6.12.1/drivers/infiniband/hw/mlx4/ |
D | mlx4_ib.h | 447 struct mlx4_ib_dev *dev; 499 struct mlx4_ib_dev *dev; 578 struct mlx4_ib_dev *dev; 610 struct mlx4_ib_dev { struct 653 struct mlx4_ib_dev *ib_dev; argument 670 static inline struct mlx4_ib_dev *to_mdev(struct ib_device *ibdev) in to_mdev() 672 return container_of(ibdev, struct mlx4_ib_dev, ib_dev); in to_mdev() 740 static inline u8 mlx4_ib_bond_next_port(struct mlx4_ib_dev *dev) in mlx4_ib_bond_next_port() 747 int mlx4_ib_init_sriov(struct mlx4_ib_dev *dev); 748 void mlx4_ib_close_sriov(struct mlx4_ib_dev *dev); [all …]
|
D | alias_GUID.c | 54 struct mlx4_ib_dev *dev ; 71 static int get_low_record_time_index(struct mlx4_ib_dev *dev, u8 port, 74 void mlx4_ib_update_cache_on_guid_change(struct mlx4_ib_dev *dev, int block_num, in mlx4_ib_update_cache_on_guid_change() 110 static __be64 get_cached_alias_guid(struct mlx4_ib_dev *dev, int port, int index) in get_cached_alias_guid() 125 void mlx4_ib_slave_alias_guid_event(struct mlx4_ib_dev *dev, int slave, in mlx4_ib_slave_alias_guid_event() 185 void mlx4_ib_notify_slaves_on_guid_change(struct mlx4_ib_dev *dev, in mlx4_ib_notify_slaves_on_guid_change() 291 struct mlx4_ib_dev *dev; in aliasguid_query_handler() 451 static void invalidate_guid_record(struct mlx4_ib_dev *dev, u8 port, int index) in invalidate_guid_record() 489 struct mlx4_ib_dev *dev = to_mdev(ibdev); in set_guid_rec() 581 static void mlx4_ib_guid_port_init(struct mlx4_ib_dev *dev, int port) in mlx4_ib_guid_port_init() [all …]
|
D | main.c | 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() [all …]
|
D | sysfs.c | 52 struct mlx4_ib_dev *mdev = port->dev; in show_admin_alias_guid() 77 struct mlx4_ib_dev *mdev = port->dev; in store_admin_alias_guid() 118 struct mlx4_ib_dev *mdev = port->dev; in show_port_gid() 147 struct mlx4_ib_dev *mdev = port->dev; in show_phys_port_pkey() 202 int add_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, in add_sysfs_port_mcg_attr() 215 void del_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, in del_sysfs_port_mcg_attr() 223 static int add_port_entries(struct mlx4_ib_dev *device, int port_num) in add_port_entries() 356 static void get_name(struct mlx4_ib_dev *dev, char *name, int i, int max) in get_name() 368 struct mlx4_ib_dev *dev; 625 static int add_port(struct mlx4_ib_dev *dev, int port_num, int slave) in add_port() [all …]
|
D | mad.c | 91 static void handle_client_rereg_event(struct mlx4_ib_dev *dev, u32 port_num); 92 static void handle_lid_change_event(struct mlx4_ib_dev *dev, u32 port_num); 93 static void __propagate_pkey_ev(struct mlx4_ib_dev *dev, int port_num, 108 int mlx4_MAD_IFC(struct mlx4_ib_dev *dev, int mad_ifc_flags, in mlx4_MAD_IFC() 189 static void update_sm_ah(struct mlx4_ib_dev *dev, u32 port_num, u16 lid, u8 sl) in update_sm_ah() 230 struct mlx4_ib_dev *dev = to_mdev(ibdev); in smp_snoop() 333 static void __propagate_pkey_ev(struct mlx4_ib_dev *dev, int port_num, in __propagate_pkey_ev() 383 static void forward_trap(struct mlx4_ib_dev *dev, u32 port_num, in forward_trap() 435 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_find_real_gid() 446 static int find_slave_port_pkey_ix(struct mlx4_ib_dev *dev, int slave, in find_slave_port_pkey_ix() [all …]
|
D | srq.c | 76 struct mlx4_ib_dev *dev = to_mdev(ib_srq->device); in mlx4_ib_create_srq() 227 struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); in mlx4_ib_modify_srq() 252 struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); in mlx4_ib_query_srq() 270 struct mlx4_ib_dev *dev = to_mdev(srq->device); in mlx4_ib_destroy_srq() 317 struct mlx4_ib_dev *mdev = to_mdev(ibsrq->device); in mlx4_ib_post_srq_recv()
|
D | cq.c | 96 struct mlx4_ib_dev *dev = to_mdev(cq->device); in mlx4_ib_modify_cq() 101 static int mlx4_ib_alloc_cq_buf(struct mlx4_ib_dev *dev, struct mlx4_ib_cq_buf *buf, int nent) in mlx4_ib_alloc_cq_buf() 133 static void mlx4_ib_free_cq_buf(struct mlx4_ib_dev *dev, struct mlx4_ib_cq_buf *buf, int cqe) in mlx4_ib_free_cq_buf() 138 static int mlx4_ib_get_cq_umem(struct mlx4_ib_dev *dev, in mlx4_ib_get_cq_umem() 181 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_create_cq() 291 static int mlx4_alloc_resize_buf(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, in mlx4_alloc_resize_buf() 315 static int mlx4_alloc_resize_umem(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, in mlx4_alloc_resize_umem() 382 struct mlx4_ib_dev *dev = to_mdev(ibcq->device); in mlx4_ib_resize_cq() 480 struct mlx4_ib_dev *dev = to_mdev(cq->device); in mlx4_ib_destroy_cq() 696 struct mlx4_ib_dev *dev = to_mdev(cq->ibcq.device); in mlx4_ib_poll_one() [all …]
|
D | qp.c | 113 static int is_tunnel_qp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_tunnel_qp() 123 static int is_sqp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_sqp() 151 static int is_qp0(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_qp0() 336 static int set_rq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, in set_rq_size() 381 static int set_kernel_sq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, in set_kernel_sq_size() 446 static int set_user_sq_size(struct mlx4_ib_dev *dev, in set_user_sq_size() 540 static void mlx4_ib_free_qp_counter(struct mlx4_ib_dev *dev, in mlx4_ib_free_qp_counter() 552 static int set_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_rss *rss_ctx, in set_qp_rss() 654 static int create_qp_rss(struct mlx4_ib_dev *dev, in create_qp_rss() 786 struct mlx4_ib_dev *dev = to_mdev(context->ibucontext.device); in mlx4_ib_alloc_wqn() [all …]
|
D | mr.c | 94 static int mlx4_ib_umem_write_mtt_block(struct mlx4_ib_dev *dev, in mlx4_ib_umem_write_mtt_block() 182 int mlx4_ib_umem_write_mtt(struct mlx4_ib_dev *dev, struct mlx4_mtt *mtt, in mlx4_ib_umem_write_mtt() 410 struct mlx4_ib_dev *dev = to_mdev(pd->device); in mlx4_ib_reg_user_mr() 463 struct mlx4_ib_dev *dev = to_mdev(mr->device); in mlx4_ib_rereg_user_mr() 615 struct mlx4_ib_dev *dev = to_mdev(ibmw->device); in mlx4_ib_alloc_mw() 647 struct mlx4_ib_dev *dev = to_mdev(pd->device); in mlx4_ib_alloc_mr()
|
D | cm.c | 51 struct mlx4_ib_dev *dev; 182 struct mlx4_ib_dev *dev = ent->dev; in id_map_ent_timeout() 485 void mlx4_ib_cm_paravirt_init(struct mlx4_ib_dev *dev) in mlx4_ib_cm_paravirt_init() 523 void mlx4_ib_cm_paravirt_clean(struct mlx4_ib_dev *dev, int slave) in mlx4_ib_cm_paravirt_clean()
|
D | mcg.c | 211 struct mlx4_ib_dev *dev = ctx->dev; in send_mad_to_wire() 231 struct mlx4_ib_dev *dev = ctx->dev; in send_mad_to_slave() 885 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_mcg_demux_handler() 934 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_mcg_multiplex_handler()
|
D | ah.c | 79 struct mlx4_ib_dev *ibdev = to_mdev(ib_ah->device); in create_iboe_ah()
|