Home
last modified time | relevance | path

Searched refs:hfi1_ctxtdata (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dhfi.h160 struct hfi1_ctxtdata;
171 struct hfi1_ctxtdata { struct
337 struct hfi1_ctxtdata *rcd;
1309 struct hfi1_ctxtdata **rcd;
1386 struct hfi1_ctxtdata *uctxt;
1422 void handle_user_interrupt(struct hfi1_ctxtdata *rcd);
1425 int hfi1_setup_eagerbufs(struct hfi1_ctxtdata *rcd);
1428 struct hfi1_ctxtdata **rcd);
1429 void hfi1_free_ctxt(struct hfi1_ctxtdata *rcd);
1433 int hfi1_rcd_put(struct hfi1_ctxtdata *rcd);
[all …]
H A Dfile_ops.c45 struct hfi1_ctxtdata *uctxt);
56 struct hfi1_ctxtdata *uctxt);
63 struct hfi1_ctxtdata **cd);
611 struct hfi1_ctxtdata *uctxt; in hfi1_poll()
779 struct hfi1_ctxtdata *uctxt = NULL; in assign_ctxt()
909 struct hfi1_ctxtdata *uctxt; in find_sub_ctxt()
933 struct hfi1_ctxtdata **rcd) in allocate_ctxt()
935 struct hfi1_ctxtdata *uctxt; in allocate_ctxt()
1170 struct hfi1_ctxtdata *uctxt) in init_user_ctxt()
1186 struct hfi1_ctxtdata *uctxt) in setup_base_ctxt()
[all …]
H A Dexp_rcv.h151 hfi1_tid_group_to_idx(struct hfi1_ctxtdata *rcd, struct tid_group *grp) in hfi1_tid_group_to_idx()
162 hfi1_idx_to_tid_group(struct hfi1_ctxtdata *rcd, u16 idx) in hfi1_idx_to_tid_group()
167 int hfi1_alloc_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd);
168 void hfi1_free_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd);
169 void hfi1_exp_tid_group_init(struct hfi1_ctxtdata *rcd);
H A Dexp_rcv.c23 void hfi1_exp_tid_group_init(struct hfi1_ctxtdata *rcd) in hfi1_exp_tid_group_init()
34 int hfi1_alloc_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd) in hfi1_alloc_ctxt_rcv_groups()
71 void hfi1_free_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd) in hfi1_free_ctxt_rcv_groups()
H A Daspm.c129 void __aspm_ctx_disable(struct hfi1_ctxtdata *rcd) in __aspm_ctx_disable()
172 struct hfi1_ctxtdata *rcd = from_timer(rcd, t, aspm_timer); in aspm_ctx_timer_function()
187 struct hfi1_ctxtdata *rcd; in aspm_disable_all()
209 struct hfi1_ctxtdata *rcd; in aspm_enable_all()
230 static void aspm_ctx_init(struct hfi1_ctxtdata *rcd) in aspm_ctx_init()
241 struct hfi1_ctxtdata *rcd; in aspm_init()
H A Dmsix.h16 int msix_request_rcd_irq(struct hfi1_ctxtdata *rcd);
22 int msix_netdev_request_rcd_irq(struct hfi1_ctxtdata *rcd);
H A Daspm.h22 void __aspm_ctx_disable(struct hfi1_ctxtdata *rcd);
26 static inline void aspm_ctx_disable(struct hfi1_ctxtdata *rcd) in aspm_ctx_disable()
H A Dtid_rdma.h99 struct hfi1_ctxtdata *rcd;
209 int hfi1_kern_exp_rcv_init(struct hfi1_ctxtdata *rcd, int reinit);
236 int hfi1_kern_setup_hw_flow(struct hfi1_ctxtdata *rcd, struct rvt_qp *qp);
237 void hfi1_kern_clear_hw_flow(struct hfi1_ctxtdata *rcd, struct rvt_qp *qp);
238 void hfi1_kern_init_ctxt_generations(struct hfi1_ctxtdata *rcd);
255 bool hfi1_handle_kdeth_eflags(struct hfi1_ctxtdata *rcd,
H A Ddriver.c493 struct hfi1_ctxtdata *rcd;
504 struct hfi1_ctxtdata *rcd = packet->rcd; in init_ps_mdata()
524 struct hfi1_ctxtdata *rcd) in ps_done()
532 struct hfi1_ctxtdata *rcd) in ps_skip()
545 struct hfi1_ctxtdata *rcd) in update_ps_mdata()
572 struct hfi1_ctxtdata *rcd = packet->rcd; in __prescan_rxq()
638 struct hfi1_ctxtdata *rcd = packet->rcd; in process_rcv_qp_work()
933 struct hfi1_ctxtdata *rcd; in set_all_slowpath()
1177 struct hfi1_ctxtdata *rcd; in receive_interrupt_work()
1534 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_setup_bypass_packet()
[all …]
H A Duser_exp_rcv.c51 struct hfi1_ctxtdata *uctxt) in hfi1_user_exp_rcv_init()
105 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_free()
250 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_setup()
487 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_clear()
521 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_invalid()
661 struct hfi1_ctxtdata *uctxt = fd->uctxt; in program_rcvarray()
729 struct hfi1_ctxtdata *uctxt = fd->uctxt; in set_rcvarray_entry()
790 struct hfi1_ctxtdata *uctxt = fd->uctxt; in unprogram_rcvarray()
820 struct hfi1_ctxtdata *uctxt = fd->uctxt; in __clear_tid_node()
843 struct hfi1_ctxtdata *uctxt = fd->uctxt; in clear_tid_node()
[all …]
H A Dmsix.c126 static int msix_request_rcd_irq_common(struct hfi1_ctxtdata *rcd, in msix_request_rcd_irq_common()
154 int msix_request_rcd_irq(struct hfi1_ctxtdata *rcd) in msix_request_rcd_irq()
170 int msix_netdev_request_rcd_irq(struct hfi1_ctxtdata *rcd) in msix_netdev_request_rcd_irq()
268 struct hfi1_ctxtdata *rcd = hfi1_rcd_get_by_index_safe(dd, i); in msix_request_irqs()
341 struct hfi1_ctxtdata *rcd = hfi1_netdev_get_ctxt(dd, i); in msix_netdev_synchronize_irq()
H A Dinit.c88 struct hfi1_ctxtdata *rcd; in hfi1_create_kctxt()
175 struct hfi1_ctxtdata *rcd = in hfi1_rcd_free()
193 int hfi1_rcd_put(struct hfi1_ctxtdata *rcd) in hfi1_rcd_put()
210 int hfi1_rcd_get(struct hfi1_ctxtdata *rcd) in hfi1_rcd_get()
287 struct hfi1_ctxtdata *rcd = NULL; in hfi1_rcd_get_by_index()
305 struct hfi1_ctxtdata **context) in hfi1_create_ctxtdata()
308 struct hfi1_ctxtdata *rcd; in hfi1_create_ctxtdata()
680 struct hfi1_ctxtdata *rcd; in init_after_reset()
702 struct hfi1_ctxtdata *rcd; in enable_chip()
848 struct hfi1_ctxtdata *rcd; in hfi1_init()
[all …]
H A Dnetdev.h25 struct hfi1_ctxtdata *rcd;
71 struct hfi1_ctxtdata *hfi1_netdev_get_ctxt(struct hfi1_devdata *dd, int ctxt) in hfi1_netdev_get_ctxt()
H A Drc.h25 static inline void rc_defered_ack(struct hfi1_ctxtdata *rcd, in rc_defered_ack()
55 struct hfi1_ctxtdata *rcd);
H A Dnetdev_rx.c21 struct hfi1_ctxtdata *uctxt) in hfi1_netdev_setup_ctxt()
59 struct hfi1_ctxtdata **ctxt) in hfi1_netdev_allocate_ctxt()
61 struct hfi1_ctxtdata *uctxt; in hfi1_netdev_allocate_ctxt()
92 struct hfi1_ctxtdata *uctxt) in hfi1_netdev_deallocate_ctxt()
122 struct hfi1_ctxtdata **ctxt) in hfi1_netdev_allot_ctxt()
H A Dchip.h759 void update_usrhead(struct hfi1_ctxtdata *rcd, u32 hd, u32 updegr, u32 egrhd,
768 u32 hdrqempty(struct hfi1_ctxtdata *rcd);
771 bool is_urg_masked(struct hfi1_ctxtdata *rcd);
791 void force_recv_intr(struct hfi1_ctxtdata *rcd);
1378 void hfi1_clear_tids(struct hfi1_ctxtdata *rcd);
1384 struct hfi1_ctxtdata *rcd);
1389 int hfi1_set_ctxt_jkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd,
1391 int hfi1_clear_ctxt_jkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt);
1392 int hfi1_set_ctxt_pkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt,
1394 int hfi1_clear_ctxt_pkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt);
H A Duser_sdma.h194 int hfi1_user_sdma_alloc_queues(struct hfi1_ctxtdata *uctxt,
197 struct hfi1_ctxtdata *uctxt);
H A Dverbs.h26 struct hfi1_ctxtdata;
119 struct hfi1_ctxtdata *rcd; /* QP's receive context */
370 struct hfi1_ctxtdata *rcd,
H A Duser_exp_rcv.h52 struct hfi1_ctxtdata *uctxt);
H A Dtid_rdma.c133 struct hfi1_ctxtdata *rcd,
1466 struct hfi1_ctxtdata *rcd = req->rcd; in hfi1_kern_exp_rcv_setup()
1557 struct hfi1_ctxtdata *rcd = req->rcd; in hfi1_kern_exp_rcv_clear()
2230 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_rc_rcv_tid_rdma_read_req()
2454 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_rc_rcv_tid_rdma_read_resp()
3468 struct hfi1_ctxtdata *rcd = qpriv->rcd; in hfi1_tid_write_alloc_resources()
3659 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_rc_rcv_tid_rdma_write_req()
4043 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_rc_rcv_tid_rdma_write_resp()
4273 struct hfi1_ctxtdata *rcd = priv->rcd; in hfi1_rc_rcv_tid_rdma_write_data()
4874 struct hfi1_ctxtdata *rcd = qpriv->rcd; in hfi1_rc_rcv_tid_rdma_resync()
[all …]
H A Dtrace_rx.h59 TP_PROTO(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd),
H A Dtrace_ctxts.h21 TP_PROTO(struct hfi1_devdata *dd, struct hfi1_ctxtdata *uctxt,
H A Daffinity.c840 struct hfi1_ctxtdata *rcd = NULL; in get_irq_affinity()
859 rcd = (struct hfi1_ctxtdata *)msix->arg; in get_irq_affinity()
867 rcd = (struct hfi1_ctxtdata *)msix->arg; in get_irq_affinity()
937 struct hfi1_ctxtdata *rcd = msix->arg; in hfi1_put_irq_affinity()
H A Dintr.c202 void handle_user_interrupt(struct hfi1_ctxtdata *rcd) in handle_user_interrupt()
H A Dverbs.c329 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_kdeth_eager_rcv()
383 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_kdeth_expected_rcv()
437 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_do_pkey_check()
457 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_handle_packet()
537 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_ib_rcv()
545 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_16B_rcv()

12