Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dfault.h57 struct hfi1_ibdev;
76 int hfi1_fault_init_debugfs(struct hfi1_ibdev *ibd);
79 bool hfi1_dbg_fault_suppress_err(struct hfi1_ibdev *ibd);
80 void hfi1_fault_exit_debugfs(struct hfi1_ibdev *ibd);
84 static inline int hfi1_fault_init_debugfs(struct hfi1_ibdev *ibd) in hfi1_fault_init_debugfs()
100 static inline bool hfi1_dbg_fault_suppress_err(struct hfi1_ibdev *ibd) in hfi1_dbg_fault_suppress_err()
105 static inline void hfi1_fault_exit_debugfs(struct hfi1_ibdev *ibd) in hfi1_fault_exit_debugfs()
Ddebugfs.h50 struct hfi1_ibdev;
88 void hfi1_dbg_ibdev_init(struct hfi1_ibdev *ibd);
89 void hfi1_dbg_ibdev_exit(struct hfi1_ibdev *ibd);
94 static inline void hfi1_dbg_ibdev_init(struct hfi1_ibdev *ibd) in hfi1_dbg_ibdev_init()
98 static inline void hfi1_dbg_ibdev_exit(struct hfi1_ibdev *ibd) in hfi1_dbg_ibdev_exit()
Dverbs_txreq.h71 struct hfi1_ibdev;
72 struct verbs_txreq *__get_txreq(struct hfi1_ibdev *dev,
76 static inline struct verbs_txreq *get_txreq(struct hfi1_ibdev *dev, in get_txreq()
123 int verbs_txreq_init(struct hfi1_ibdev *dev);
124 void verbs_txreq_exit(struct hfi1_ibdev *dev);
Ddebugfs.c137 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _opcode_stats_seq_show()
176 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _tx_opcode_stats_seq_show()
194 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _ctx_stats_seq_start()
206 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _ctx_stats_seq_next()
228 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _ctx_stats_seq_show()
324 struct hfi1_ibdev *ibd; in _sdes_seq_start()
327 ibd = (struct hfi1_ibdev *)s->private; in _sdes_seq_start()
336 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _sdes_seq_next()
351 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _sdes_seq_show()
366 struct hfi1_ibdev *ibd; in _rcds_seq_start()
[all …]
Dsysfs.c500 struct hfi1_ibdev *dev = in hw_rev_show()
501 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in hw_rev_show()
510 struct hfi1_ibdev *dev = in board_id_show()
511 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in board_id_show()
526 struct hfi1_ibdev *dev = in boardversion_show()
527 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in boardversion_show()
538 struct hfi1_ibdev *dev = in nctxts_show()
539 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in nctxts_show()
557 struct hfi1_ibdev *dev = in nfreectxts_show()
558 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in nfreectxts_show()
[all …]
Dverbs_txreq.c57 struct hfi1_ibdev *dev; in hfi1_put_txreq()
93 struct verbs_txreq *__get_txreq(struct hfi1_ibdev *dev, in __get_txreq()
122 int verbs_txreq_init(struct hfi1_ibdev *dev) in verbs_txreq_init()
137 void verbs_txreq_exit(struct hfi1_ibdev *dev) in verbs_txreq_exit()
Dfault.c90 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _fault_stats_seq_show()
251 void hfi1_fault_exit_debugfs(struct hfi1_ibdev *ibd) in hfi1_fault_exit_debugfs()
259 int hfi1_fault_init_debugfs(struct hfi1_ibdev *ibd) in hfi1_fault_init_debugfs()
309 bool hfi1_dbg_fault_suppress_err(struct hfi1_ibdev *ibd) in hfi1_dbg_fault_suppress_err()
316 static bool __hfi1_should_fault(struct hfi1_ibdev *ibd, u32 opcode, in __hfi1_should_fault()
351 struct hfi1_ibdev *ibd = to_idev(qp->ibqp.device); in hfi1_dbg_should_fault_tx()
363 struct hfi1_ibdev *ibd = &packet->rcd->dd->verbs_dev; in hfi1_dbg_should_fault_rx()
Dverbs.h233 struct hfi1_ibdev *dev;
277 struct hfi1_ibdev { struct
307 static inline struct hfi1_ibdev *to_idev(struct ib_device *ibdev) in to_idev() argument
312 return container_of(rdi, struct hfi1_ibdev, rdi); in to_idev()
Dqp.c206 struct hfi1_ibdev *dev = to_idev(ibqp->device); in hfi1_check_modify_qp()
750 struct hfi1_ibdev *verbs_dev = container_of(rdi, in free_all_qps()
751 struct hfi1_ibdev, in free_all_qps()
843 struct hfi1_ibdev *verbs_dev = container_of(rdi, in mtu_from_qp()
844 struct hfi1_ibdev, in mtu_from_qp()
866 struct hfi1_ibdev *verbs_dev = container_of(rdi, in get_pmtu_from_attr()
867 struct hfi1_ibdev, in get_pmtu_from_attr()
963 struct hfi1_ibdev *dev = &ppd->dd->verbs_dev; in hfi1_error_port_qps()
Dverbs.c599 struct hfi1_ibdev *dev = from_timer(dev, t, mem_timer); in mem_timer()
656 struct hfi1_ibdev *dev = to_idev(ibdev); in hfi1_wait_kmem()
669 static int wait_kmem(struct hfi1_ibdev *dev, in wait_kmem()
847 struct hfi1_ibdev *dev = ps->dev; in hfi1_verbs_send_dma()
945 struct hfi1_ibdev *dev = &dd->verbs_dev; in pio_wait()
1413 struct hfi1_ibdev *verbs_dev = dev_from_rdi(rdi); in query_port()
1490 struct hfi1_ibdev *verbs_dev = dev_from_rdi(rdi); in shut_down_port()
1625 struct hfi1_ibdev *dev = dev_from_rdi(rdi); in hfi1_get_dev_fw_str()
1808 struct hfi1_ibdev *dev = &dd->verbs_dev; in hfi1_register_ib_device()
1953 struct hfi1_ibdev *dev = &dd->verbs_dev; in hfi1_unregister_ib_device()
Dhfi.h1070 struct hfi1_ibdev verbs_dev; /* must be first */
1958 static inline struct hfi1_devdata *dd_from_dev(struct hfi1_ibdev *dev) in dd_from_dev()
1973 static inline struct hfi1_ibdev *dev_from_rdi(struct rvt_dev_info *rdi) in dev_from_rdi()
1975 return container_of(rdi, struct hfi1_ibdev, rdi); in dev_from_rdi()
Ddriver.c167 struct hfi1_ibdev *ibdev = container_of(rdi, struct hfi1_ibdev, rdi); in get_pci_dev()
262 struct hfi1_ibdev *verbs_dev = &dd->verbs_dev; in rcv_hdrerr()
Dtid_rdma.c322 struct hfi1_ibdev *verbs_dev = container_of(rdi, in qp_to_rcd()
323 struct hfi1_ibdev, in qp_to_rcd()
1984 struct hfi1_ibdev *dev = to_idev(qp->ibqp.device); in tid_rdma_rcv_error()
4266 struct hfi1_ibdev *dev = to_idev(qp->ibqp.device); in hfi1_rc_rcv_tid_rdma_write_data()
4863 struct hfi1_ibdev *dev = to_idev(qp->ibqp.device); in hfi1_rc_rcv_tid_rdma_resync()
5180 struct hfi1_ibdev *dev = to_idev(qp->ibqp.device); in make_tid_rdma_ack()
5457 struct hfi1_ibdev *dev = to_idev(qp->ibqp.device); in hfi1_tid_rdma_ack_interlock()
Daffinity.c520 struct hfi1_ibdev *verbs_dev = dev_from_rdi(rdi); in hfi1_comp_vect_mappings_lookup()
Drc.c109 static int make_rc_ack(struct hfi1_ibdev *dev, struct rvt_qp *qp, in make_rc_ack()
432 struct hfi1_ibdev *dev = to_idev(qp->ibqp.device); in hfi1_make_rc_req()
Dmad.c521 struct hfi1_ibdev *verbs_dev = dev_from_rdi(rdi); in hfi1_cap_mask_chg()