Home
last modified time | relevance | path

Searched defs:ibdev (Results 1 – 25 of 111) sorted by relevance

12345

/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_mad.c208 struct qib_ibdev *ibdev = container_of(rdi, struct qib_ibdev, rdi); in qib_cap_mask_chg() local
268 struct ib_device *ibdev) in subn_get_nodedescription()
278 static int subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_nodeinfo()
313 static int subn_get_guidinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_guidinfo()
454 static int subn_get_portinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_portinfo()
596 static int subn_get_pkeytable(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_pkeytable()
620 static int subn_set_guidinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_set_guidinfo()
653 static int subn_set_portinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_set_portinfo()
1039 static int subn_set_pkeytable(struct ib_smp *smp, struct ib_device *ibdev, in subn_set_pkeytable()
1057 static int subn_get_sl_to_vl(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_sl_to_vl()
[all …]
Dqib_sysfs.c43 struct ib_device *ibdev = ib_port_sysfs_get_ibdev_kobj(kobj, &port_num); in qib_get_pportdata_kobj() local
52 static ssize_t hrtbt_enable_show(struct ib_device *ibdev, u32 port_num, in hrtbt_enable_show()
61 static ssize_t hrtbt_enable_store(struct ib_device *ibdev, u32 port_num, in hrtbt_enable_store()
88 static ssize_t loopback_store(struct ib_device *ibdev, u32 port_num, in loopback_store()
104 static ssize_t led_override_store(struct ib_device *ibdev, u32 port_num, in led_override_store()
124 static ssize_t status_show(struct ib_device *ibdev, u32 port_num, in status_show()
155 static ssize_t status_str_show(struct ib_device *ibdev, u32 port_num, in status_str_show()
308 static ssize_t sl2vl_attr_show(struct ib_device *ibdev, u32 port_num, in sl2vl_attr_show()
376 static ssize_t diagc_attr_show(struct ib_device *ibdev, u32 port_num, in diagc_attr_show()
387 static ssize_t diagc_attr_store(struct ib_device *ibdev, u32 port_num, in diagc_attr_store()
[all …]
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dmain.c129 struct mlx4_ib_dev *ibdev = to_mdev(device); in mlx4_ib_get_netdev() local
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() local
349 struct mlx4_ib_dev *ibdev = to_mdev(attr->device); in mlx4_ib_del_gid() local
399 int mlx4_ib_gid_index_to_real_index(struct mlx4_ib_dev *ibdev, in mlx4_ib_gid_index_to_real_index()
435 static int mlx4_ib_query_device(struct ib_device *ibdev, in mlx4_ib_query_device()
655 static int ib_link_query_port(struct ib_device *ibdev, u32 port, in ib_link_query_port()
751 static int eth_link_query_port(struct ib_device *ibdev, u32 port, in eth_link_query_port()
[all …]
Dcm.c145 static union ib_gid gid_from_req_msg(struct ib_device *ibdev, struct ib_mad *mad) in gid_from_req_msg()
154 id_map_find_by_sl_id(struct ib_device *ibdev, u32 slave_id, u32 sl_cm_id) in id_map_find_by_sl_id()
199 static void sl_id_map_add(struct ib_device *ibdev, struct id_map_entry *new) in sl_id_map_add()
232 id_map_alloc(struct ib_device *ibdev, int slave_id, u32 sl_cm_id) in id_map_alloc()
265 id_map_get(struct ib_device *ibdev, int *pv_cm_id, int slave_id, int sl_cm_id) in id_map_get()
282 static void schedule_delayed(struct ib_device *ibdev, struct id_map_entry *id) in schedule_delayed()
302 int mlx4_ib_multiplex_cm_handler(struct ib_device *ibdev, int port, int slave_id, in mlx4_ib_multiplex_cm_handler()
426 int mlx4_ib_demux_cm_handler(struct ib_device *ibdev, int port, int *slave, in mlx4_ib_demux_cm_handler()
/linux-6.6.21/drivers/infiniband/core/
Dsysfs.c66 struct ib_device *ibdev; member
151 struct ib_device *ibdev = container_of(dev, struct ib_device, dev); in hw_stat_device_show() local
163 struct ib_device *ibdev = container_of(dev, struct ib_device, dev); in hw_stat_device_store() local
170 static ssize_t hw_stat_port_show(struct ib_device *ibdev, u32 port_num, in hw_stat_port_show()
182 static ssize_t hw_stat_port_store(struct ib_device *ibdev, u32 port_num, in hw_stat_port_store()
213 static ssize_t state_show(struct ib_device *ibdev, u32 port_num, in state_show()
239 static ssize_t lid_show(struct ib_device *ibdev, u32 port_num, in lid_show()
252 static ssize_t lid_mask_count_show(struct ib_device *ibdev, u32 port_num, in lid_mask_count_show()
265 static ssize_t sm_lid_show(struct ib_device *ibdev, u32 port_num, in sm_lid_show()
278 static ssize_t sm_sl_show(struct ib_device *ibdev, u32 port_num, in sm_sl_show()
[all …]
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c65 int pvrdma_query_device(struct ib_device *ibdev, in pvrdma_query_device()
128 int pvrdma_query_port(struct ib_device *ibdev, u32 port, in pvrdma_query_port()
186 int pvrdma_query_gid(struct ib_device *ibdev, u32 port, int index, in pvrdma_query_gid()
208 int pvrdma_query_pkey(struct ib_device *ibdev, u32 port, u16 index, in pvrdma_query_pkey()
234 enum rdma_link_layer pvrdma_port_link_layer(struct ib_device *ibdev, in pvrdma_port_link_layer()
240 int pvrdma_modify_device(struct ib_device *ibdev, int mask, in pvrdma_modify_device()
277 int pvrdma_modify_port(struct ib_device *ibdev, u32 port, int mask, in pvrdma_modify_port()
315 struct ib_device *ibdev = uctx->device; in pvrdma_alloc_ucontext() local
429 struct ib_device *ibdev = ibpd->device; in pvrdma_alloc_pd() local
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Dprovider.c79 struct ib_device *ibdev = ucontext->device; in c4iw_alloc_ucontext() local
212 struct ib_device *ibdev = pd->device; in c4iw_allocate_pd() local
241 static int c4iw_query_gid(struct ib_device *ibdev, u32 port, int index, in c4iw_query_gid()
256 static int c4iw_query_device(struct ib_device *ibdev, struct ib_device_attr *props, in c4iw_query_device()
303 static int c4iw_query_port(struct ib_device *ibdev, u32 port, in c4iw_query_port()
385 static struct rdma_hw_stats *c4iw_alloc_device_stats(struct ib_device *ibdev) in c4iw_alloc_device_stats()
394 static int c4iw_get_mib(struct ib_device *ibdev, in c4iw_get_mib()
425 static int c4iw_port_immutable(struct ib_device *ibdev, u32 port_num, in c4iw_port_immutable()
/linux-6.6.21/drivers/infiniband/hw/mana/
Dmain.c77 struct ib_device *ibdev = ibpd->device; in mana_ib_alloc_pd() local
118 struct ib_device *ibdev = ibpd->device; in mana_ib_dealloc_pd() local
206 struct ib_device *ibdev = ibcontext->device; in mana_ib_alloc_ucontext() local
235 struct ib_device *ibdev = ibcontext->device; in mana_ib_dealloc_ucontext() local
442 struct ib_device *ibdev = ibcontext->device; in mana_ib_mmap() local
474 int mana_ib_get_port_immutable(struct ib_device *ibdev, u32 port_num, in mana_ib_get_port_immutable()
486 int mana_ib_query_device(struct ib_device *ibdev, struct ib_device_attr *props, in mana_ib_query_device()
507 int mana_ib_query_port(struct ib_device *ibdev, u32 port, in mana_ib_query_port()
514 int mana_ib_query_gid(struct ib_device *ibdev, u32 port, int index, in mana_ib_query_gid()
Dcq.c12 struct ib_device *ibdev = ibcq->device; in mana_ib_create_cq() local
70 struct ib_device *ibdev = ibcq->device; in mana_ib_destroy_cq() local
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dmad.c246 int mlx5_ib_process_mad(struct ib_device *ibdev, int mad_flags, u32 port_num, in mlx5_ib_process_mad()
338 static int mlx5_query_mad_ifc_smp_attr_node_info(struct ib_device *ibdev, in mlx5_query_mad_ifc_smp_attr_node_info()
358 int mlx5_query_mad_ifc_system_image_guid(struct ib_device *ibdev, in mlx5_query_mad_ifc_system_image_guid()
380 int mlx5_query_mad_ifc_max_pkeys(struct ib_device *ibdev, in mlx5_query_mad_ifc_max_pkeys()
402 int mlx5_query_mad_ifc_vendor_id(struct ib_device *ibdev, in mlx5_query_mad_ifc_vendor_id()
474 int mlx5_query_mad_ifc_pkey(struct ib_device *ibdev, u32 port, u16 index, in mlx5_query_mad_ifc_pkey()
503 int mlx5_query_mad_ifc_gids(struct ib_device *ibdev, u32 port, int index, in mlx5_query_mad_ifc_gids()
543 int mlx5_query_mad_ifc_port(struct ib_device *ibdev, u32 port, in mlx5_query_mad_ifc_port()
Dmain.c114 static int get_port_state(struct ib_device *ibdev, in get_port_state()
171 struct mlx5_ib_dev *ibdev; in mlx5_netdev_event() local
251 struct mlx5_ib_dev *ibdev = to_mdev(device); in mlx5_ib_get_netdev() local
276 struct mlx5_core_dev *mlx5_ib_get_native_port_mdev(struct mlx5_ib_dev *ibdev, in mlx5_ib_get_native_port_mdev()
312 void mlx5_ib_put_native_port_mdev(struct mlx5_ib_dev *ibdev, u32 port_num) in mlx5_ib_put_native_port_mdev()
658 static int mlx5_get_vport_access_method(struct ib_device *ibdev) in mlx5_get_vport_access_method()
700 static int mlx5_query_system_image_guid(struct ib_device *ibdev, in mlx5_query_system_image_guid()
732 static int mlx5_query_max_pkeys(struct ib_device *ibdev, in mlx5_query_max_pkeys()
753 static int mlx5_query_vendor_id(struct ib_device *ibdev, in mlx5_query_vendor_id()
817 static int mlx5_ib_query_device(struct ib_device *ibdev, in mlx5_ib_query_device()
[all …]
Dcounters.c256 mlx5_ib_alloc_hw_device_stats(struct ib_device *ibdev) in mlx5_ib_alloc_hw_device_stats()
265 mlx5_ib_alloc_hw_port_stats(struct ib_device *ibdev, u32 port_num) in mlx5_ib_alloc_hw_port_stats()
364 static int do_get_hw_stats(struct ib_device *ibdev, in do_get_hw_stats()
426 static int do_get_op_stat(struct ib_device *ibdev, in do_get_op_stat()
457 static int do_get_op_stats(struct ib_device *ibdev, in do_get_op_stats()
478 static int mlx5_ib_get_hw_stats(struct ib_device *ibdev, in mlx5_ib_get_hw_stats()
840 static int read_flow_counters(struct ib_device *ibdev, in read_flow_counters()
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_provider.c53 static int mthca_query_device(struct ib_device *ibdev, struct ib_device_attr *props, in mthca_query_device()
121 static int mthca_query_port(struct ib_device *ibdev, in mthca_query_port()
170 static int mthca_modify_device(struct ib_device *ibdev, in mthca_modify_device()
188 static int mthca_modify_port(struct ib_device *ibdev, in mthca_modify_port()
217 static int mthca_query_pkey(struct ib_device *ibdev, in mthca_query_pkey()
246 static int mthca_query_gid(struct ib_device *ibdev, u32 port, in mthca_query_gid()
289 struct ib_device *ibdev = uctx->device; in mthca_alloc_ucontext() local
350 struct ib_device *ibdev = ibpd->device; in mthca_alloc_pd() local
579 struct ib_device *ibdev = ibcq->device; in mthca_create_cq() local
1028 static int mthca_port_immutable(struct ib_device *ibdev, u32 port_num, in mthca_port_immutable()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dmad.c541 u8 *data, struct ib_device *ibdev, in __subn_get_opa_nodedesc()
562 struct ib_device *ibdev, u32 port, in __subn_get_opa_nodeinfo()
601 static int subn_get_nodeinfo(struct ib_smp *smp, struct ib_device *ibdev, in subn_get_nodeinfo()
755 struct ib_device *ibdev, u32 port, in __subn_get_opa_portinfo()
980 struct ib_device *ibdev, u32 port, in __subn_get_opa_pkeytable()
1310 struct ib_device *ibdev, u32 port, in __subn_set_opa_portinfo()
1679 struct ib_device *ibdev, u32 port, in __subn_set_opa_pkeytable()
1786 struct ib_device *ibdev, u32 port, in __subn_get_opa_sl_to_sc()
1809 struct ib_device *ibdev, u32 port, in __subn_set_opa_sl_to_sc()
1838 struct ib_device *ibdev, u32 port, in __subn_get_opa_sc_to_sl()
[all …]
Dsysfs.c16 struct ib_device *ibdev = ib_port_sysfs_get_ibdev_kobj(kobj, &port_num); in hfi1_get_pportdata_kobj() local
104 static ssize_t cc_prescan_show(struct ib_device *ibdev, u32 port_num, in cc_prescan_show()
113 static ssize_t cc_prescan_store(struct ib_device *ibdev, u32 port_num, in cc_prescan_store()
146 static ssize_t sc2vl_attr_show(struct ib_device *ibdev, u32 port_num, in sc2vl_attr_show()
243 static ssize_t sl2sc_attr_show(struct ib_device *ibdev, u32 port_num, in sl2sc_attr_show()
342 static ssize_t vl2mtu_attr_show(struct ib_device *ibdev, u32 port_num, in vl2mtu_attr_show()
Dverbs.c613 struct ib_device *ibdev = ibqp->device; in hfi1_wait_kmem() local
1471 u8 ah_to_sc(struct ib_device *ibdev, struct rdma_ah_attr *ah) in ah_to_sc()
1478 static int hfi1_check_ah(struct ib_device *ibdev, struct rdma_ah_attr *ah_attr) in hfi1_check_ah()
1506 static void hfi1_notify_new_ah(struct ib_device *ibdev, in hfi1_notify_new_ah()
1577 static void hfi1_get_dev_fw_str(struct ib_device *ibdev, char *str) in hfi1_get_dev_fw_str()
1648 static struct rdma_hw_stats *hfi1_alloc_hw_device_stats(struct ib_device *ibdev) in hfi1_alloc_hw_device_stats()
1669 static struct rdma_hw_stats *hfi_alloc_hw_port_stats(struct ib_device *ibdev, in hfi_alloc_hw_port_stats()
1700 static int get_hw_stats(struct ib_device *ibdev, struct rdma_hw_stats *stats, in get_hw_stats()
1751 struct ib_device *ibdev = &dev->rdi.ibdev; in hfi1_register_ib_device() local
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dvt.c77 static int rvt_query_device(struct ib_device *ibdev, in rvt_query_device()
92 static int rvt_get_numa_node(struct ib_device *ibdev) in rvt_get_numa_node()
119 static int rvt_query_port(struct ib_device *ibdev, u32 port_num, in rvt_query_port()
151 static int rvt_modify_port(struct ib_device *ibdev, u32 port_num, in rvt_modify_port()
187 static int rvt_query_pkey(struct ib_device *ibdev, u32 port_num, u16 index, in rvt_query_pkey()
217 static int rvt_query_gid(struct ib_device *ibdev, u32 port_num, in rvt_query_gid()
259 static int rvt_get_port_immutable(struct ib_device *ibdev, u32 port_num, in rvt_get_port_immutable()
/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_cq.c107 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_create_cqc() local
134 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_cqc() local
202 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_cq_buf() local
282 struct ib_device *ibdev = &hr_dev->ib_dev; in verify_cq_create_attr() local
302 struct ib_device *ibdev = hr_cq->ib_cq.device; in get_cq_ucmd() local
362 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_create_cq() local
Dhns_roce_mr.c54 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_mr_key() local
92 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_mr_pbl() local
125 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_mr_free() local
421 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_map_mr_sg() local
532 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_alloc_mw() local
668 struct ib_device *ibdev = &hr_dev->ib_dev; in mtr_alloc_bufs() local
701 struct ib_device *ibdev = &hr_dev->ib_dev; in mtr_map_bufs() local
748 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_mtr_map() local
997 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_mtr_create() local
Dhns_roce_qp.c620 struct ib_device *ibdev = &hr_dev->ib_dev; in set_user_sq_size() local
698 struct ib_device *ibdev = &hr_dev->ib_dev; in set_kernel_sq_size() local
748 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_qp_buf() local
847 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_user_qp_db() local
885 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_kernel_qp_db() local
972 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_kernel_wrid() local
1012 struct ib_device *ibdev = &hr_dev->ib_dev; in set_qp_param() local
1066 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_create_qp_common() local
1211 struct ib_device *ibdev = qp->device; in hns_roce_create_qp() local
Dhns_roce_srq.c87 struct ib_device *ibdev = &hr_dev->ib_dev; in hns_roce_create_srqc() local
116 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_srqc() local
169 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_srq_idx() local
222 struct ib_device *ibdev = &hr_dev->ib_dev; in alloc_srq_wqe_buf() local
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_hw_counters.c27 int rxe_ib_get_hw_stats(struct ib_device *ibdev, in rxe_ib_get_hw_stats()
43 struct rdma_hw_stats *rxe_ib_alloc_hw_port_stats(struct ib_device *ibdev, in rxe_ib_alloc_hw_port_stats()
/linux-6.6.21/drivers/nvme/host/
Drdma.c176 static void nvme_rdma_free_qe(struct ib_device *ibdev, struct nvme_rdma_qe *qe, in nvme_rdma_free_qe()
183 static int nvme_rdma_alloc_qe(struct ib_device *ibdev, struct nvme_rdma_qe *qe, in nvme_rdma_alloc_qe()
200 static void nvme_rdma_free_ring(struct ib_device *ibdev, in nvme_rdma_free_ring()
211 static struct nvme_rdma_qe *nvme_rdma_alloc_ring(struct ib_device *ibdev, in nvme_rdma_alloc_ring()
424 struct ib_device *ibdev; in nvme_rdma_destroy_queue_ib() local
450 static int nvme_rdma_get_max_fr_pages(struct ib_device *ibdev, bool pi_support) in nvme_rdma_get_max_fr_pages()
462 static int nvme_rdma_create_cq(struct ib_device *ibdev, in nvme_rdma_create_cq()
491 struct ib_device *ibdev; in nvme_rdma_create_queue_ib() local
1211 static void nvme_rdma_dma_unmap_req(struct ib_device *ibdev, struct request *rq) in nvme_rdma_dma_unmap_req()
1232 struct ib_device *ibdev = dev->dev; in nvme_rdma_unmap_data() local
[all …]
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dhw_counters.c297 int bnxt_re_ib_get_hw_stats(struct ib_device *ibdev, in bnxt_re_ib_get_hw_stats()
378 struct rdma_hw_stats *bnxt_re_ib_alloc_hw_port_stats(struct ib_device *ibdev, in bnxt_re_ib_alloc_hw_port_stats()
/linux-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c277 int usnic_ib_query_device(struct ib_device *ibdev, in usnic_ib_query_device()
335 int usnic_ib_query_port(struct ib_device *ibdev, u32 port, in usnic_ib_query_port()
423 int usnic_ib_query_gid(struct ib_device *ibdev, u32 port, int index, in usnic_ib_query_gid()
635 struct ib_device *ibdev = uctx->device; in usnic_ib_alloc_ucontext() local

12345