Home
last modified time | relevance | path

Searched refs:hfi1_ibdev (Results 1 – 16 of 16) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/hfi1/
Dfault.h17 struct hfi1_ibdev;
36 int hfi1_fault_init_debugfs(struct hfi1_ibdev *ibd);
39 bool hfi1_dbg_fault_suppress_err(struct hfi1_ibdev *ibd);
40 void hfi1_fault_exit_debugfs(struct hfi1_ibdev *ibd);
44 static inline int hfi1_fault_init_debugfs(struct hfi1_ibdev *ibd) in hfi1_fault_init_debugfs()
60 static inline bool hfi1_dbg_fault_suppress_err(struct hfi1_ibdev *ibd) in hfi1_dbg_fault_suppress_err()
65 static inline void hfi1_fault_exit_debugfs(struct hfi1_ibdev *ibd) in hfi1_fault_exit_debugfs()
Ddebugfs.h9 struct hfi1_ibdev;
47 void hfi1_dbg_ibdev_init(struct hfi1_ibdev *ibd);
48 void hfi1_dbg_ibdev_exit(struct hfi1_ibdev *ibd);
53 static inline void hfi1_dbg_ibdev_init(struct hfi1_ibdev *ibd) in hfi1_dbg_ibdev_init()
57 static inline void hfi1_dbg_ibdev_exit(struct hfi1_ibdev *ibd) in hfi1_dbg_ibdev_exit()
Dverbs_txreq.h29 struct hfi1_ibdev;
30 struct verbs_txreq *__get_txreq(struct hfi1_ibdev *dev,
34 static inline struct verbs_txreq *get_txreq(struct hfi1_ibdev *dev, in get_txreq()
76 int verbs_txreq_init(struct hfi1_ibdev *dev);
77 void verbs_txreq_exit(struct hfi1_ibdev *dev);
Ddebugfs.c95 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _opcode_stats_seq_show()
134 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _tx_opcode_stats_seq_show()
152 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _ctx_stats_seq_start()
164 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _ctx_stats_seq_next()
186 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _ctx_stats_seq_show()
282 struct hfi1_ibdev *ibd; in _sdes_seq_start()
285 ibd = (struct hfi1_ibdev *)s->private; in _sdes_seq_start()
294 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _sdes_seq_next()
309 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _sdes_seq_show()
324 struct hfi1_ibdev *ibd; in _rcds_seq_start()
[all …]
Dsysfs.c409 struct hfi1_ibdev *dev = in hw_rev_show()
410 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in hw_rev_show()
419 struct hfi1_ibdev *dev = in board_id_show()
420 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in board_id_show()
433 struct hfi1_ibdev *dev = in boardversion_show()
434 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in boardversion_show()
445 struct hfi1_ibdev *dev = in nctxts_show()
446 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in nctxts_show()
464 struct hfi1_ibdev *dev = in nfreectxts_show()
465 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in nfreectxts_show()
[all …]
Dverbs_txreq.c15 struct hfi1_ibdev *dev; in hfi1_put_txreq()
51 struct verbs_txreq *__get_txreq(struct hfi1_ibdev *dev, in __get_txreq()
80 int verbs_txreq_init(struct hfi1_ibdev *dev) in verbs_txreq_init()
95 void verbs_txreq_exit(struct hfi1_ibdev *dev) in verbs_txreq_exit()
Dfault.c48 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _fault_stats_seq_show()
209 void hfi1_fault_exit_debugfs(struct hfi1_ibdev *ibd) in hfi1_fault_exit_debugfs()
217 int hfi1_fault_init_debugfs(struct hfi1_ibdev *ibd) in hfi1_fault_init_debugfs()
267 bool hfi1_dbg_fault_suppress_err(struct hfi1_ibdev *ibd) in hfi1_dbg_fault_suppress_err()
274 static bool __hfi1_should_fault(struct hfi1_ibdev *ibd, u32 opcode, in __hfi1_should_fault()
309 struct hfi1_ibdev *ibd = to_idev(qp->ibqp.device); in hfi1_dbg_should_fault_tx()
321 struct hfi1_ibdev *ibd = &packet->rcd->dd->verbs_dev; in hfi1_dbg_should_fault_rx()
Dverbs.h191 struct hfi1_ibdev *dev;
235 struct hfi1_ibdev { struct
265 static inline struct hfi1_ibdev *to_idev(struct ib_device *ibdev) in to_idev() argument
270 return container_of(rdi, struct hfi1_ibdev, rdi); in to_idev()
Dqp.c164 struct hfi1_ibdev *dev = to_idev(ibqp->device); in hfi1_check_modify_qp()
709 struct hfi1_ibdev *verbs_dev = container_of(rdi, in free_all_qps()
710 struct hfi1_ibdev, in free_all_qps()
802 struct hfi1_ibdev *verbs_dev = container_of(rdi, in mtu_from_qp()
803 struct hfi1_ibdev, in mtu_from_qp()
825 struct hfi1_ibdev *verbs_dev = container_of(rdi, in get_pmtu_from_attr()
826 struct hfi1_ibdev, in get_pmtu_from_attr()
922 struct hfi1_ibdev *dev = &ppd->dd->verbs_dev; in hfi1_error_port_qps()
Dverbs.c557 struct hfi1_ibdev *dev = from_timer(dev, t, mem_timer); in mem_timer()
614 struct hfi1_ibdev *dev = to_idev(ibdev); in hfi1_wait_kmem()
627 static int wait_kmem(struct hfi1_ibdev *dev, in wait_kmem()
805 struct hfi1_ibdev *dev = ps->dev; in hfi1_verbs_send_dma()
903 struct hfi1_ibdev *dev = &dd->verbs_dev; in pio_wait()
1371 struct hfi1_ibdev *verbs_dev = dev_from_rdi(rdi); in query_port()
1447 struct hfi1_ibdev *verbs_dev = dev_from_rdi(rdi); in shut_down_port()
1582 struct hfi1_ibdev *dev = dev_from_rdi(rdi); in hfi1_get_dev_fw_str()
1766 struct hfi1_ibdev *dev = &dd->verbs_dev; in hfi1_register_ib_device()
1908 struct hfi1_ibdev *dev = &dd->verbs_dev; in hfi1_unregister_ib_device()
Dhfi.h1020 struct hfi1_ibdev verbs_dev; /* must be first */
1909 static inline struct hfi1_devdata *dd_from_dev(struct hfi1_ibdev *dev) in dd_from_dev()
1924 static inline struct hfi1_ibdev *dev_from_rdi(struct rvt_dev_info *rdi) in dev_from_rdi()
1926 return container_of(rdi, struct hfi1_ibdev, rdi); in dev_from_rdi()
Ddriver.c120 struct hfi1_ibdev *ibdev = container_of(rdi, struct hfi1_ibdev, rdi); in get_pci_dev()
215 struct hfi1_ibdev *verbs_dev = &dd->verbs_dev; in rcv_hdrerr()
Dtid_rdma.c323 struct hfi1_ibdev *verbs_dev = container_of(rdi, in qp_to_rcd()
324 struct hfi1_ibdev, in qp_to_rcd()
1991 struct hfi1_ibdev *dev = to_idev(qp->ibqp.device); in tid_rdma_rcv_error()
4278 struct hfi1_ibdev *dev = to_idev(qp->ibqp.device); in hfi1_rc_rcv_tid_rdma_write_data()
4875 struct hfi1_ibdev *dev = to_idev(qp->ibqp.device); in hfi1_rc_rcv_tid_rdma_resync()
5192 struct hfi1_ibdev *dev = to_idev(qp->ibqp.device); in make_tid_rdma_ack()
5469 struct hfi1_ibdev *dev = to_idev(qp->ibqp.device); in hfi1_tid_rdma_ack_interlock()
Daffinity.c478 struct hfi1_ibdev *verbs_dev = dev_from_rdi(rdi); in hfi1_comp_vect_mappings_lookup()
Drc.c67 static int make_rc_ack(struct hfi1_ibdev *dev, struct rvt_qp *qp, in make_rc_ack()
391 struct hfi1_ibdev *dev = to_idev(qp->ibqp.device); in hfi1_make_rc_req()
Dmad.c479 struct hfi1_ibdev *verbs_dev = dev_from_rdi(rdi); in hfi1_cap_mask_chg()