Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dfile_ops.c82 static void init_subctxts(struct hfi1_ctxtdata *uctxt,
85 struct hfi1_ctxtdata *uctxt);
86 static void user_init(struct hfi1_ctxtdata *uctxt);
96 struct hfi1_ctxtdata *uctxt);
97 static int setup_subctxt(struct hfi1_ctxtdata *uctxt);
103 struct hfi1_ctxtdata **cd);
104 static void deallocate_ctxt(struct hfi1_ctxtdata *uctxt);
107 static int user_event_ack(struct hfi1_ctxtdata *uctxt, u16 subctxt,
109 static int set_ctxt_pkey(struct hfi1_ctxtdata *uctxt, unsigned long arg);
110 static int ctxt_reset(struct hfi1_ctxtdata *uctxt);
[all …]
Dexp_rcv.h192 hfi1_tid_group_to_idx(struct hfi1_ctxtdata *rcd, struct tid_group *grp) in hfi1_tid_group_to_idx()
203 hfi1_idx_to_tid_group(struct hfi1_ctxtdata *rcd, u16 idx) in hfi1_idx_to_tid_group()
208 int hfi1_alloc_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd);
209 void hfi1_free_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd);
210 void hfi1_exp_tid_group_init(struct hfi1_ctxtdata *rcd);
Daspm.h176 static inline void aspm_ctx_disable(struct hfi1_ctxtdata *rcd) in aspm_ctx_disable()
223 struct hfi1_ctxtdata *rcd = from_timer(rcd, t, aspm_timer); in aspm_ctx_timer_function()
238 struct hfi1_ctxtdata *rcd; in aspm_disable_all()
260 struct hfi1_ctxtdata *rcd; in aspm_enable_all()
281 static inline void aspm_ctx_init(struct hfi1_ctxtdata *rcd) in aspm_ctx_init()
292 struct hfi1_ctxtdata *rcd; in aspm_init()
Dexp_rcv.c65 void hfi1_exp_tid_group_init(struct hfi1_ctxtdata *rcd) in hfi1_exp_tid_group_init()
76 int hfi1_alloc_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd) in hfi1_alloc_ctxt_rcv_groups()
113 void hfi1_free_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd) in hfi1_free_ctxt_rcv_groups()
Dhfi.h195 struct hfi1_ctxtdata { struct
215 int (*do_interrupt)(struct hfi1_ctxtdata *rcd, int threaded); argument
329 static inline u32 rcvhdrq_size(struct hfi1_ctxtdata *rcd) in rcvhdrq_size() argument
346 struct hfi1_ctxtdata *rcd;
989 struct hfi1_ctxtdata *ctxt[HFI1_NUM_VNIC_CTXT];
1301 struct hfi1_ctxtdata **rcd;
1378 struct hfi1_ctxtdata *uctxt;
1401 static inline unsigned long uctxt_offset(struct hfi1_ctxtdata *uctxt) in uctxt_offset()
1414 void handle_user_interrupt(struct hfi1_ctxtdata *rcd);
1416 int hfi1_create_rcvhdrq(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd);
[all …]
Ddriver.c201 static inline void *get_egrbuf(const struct hfi1_ctxtdata *rcd, u64 rhf, in get_egrbuf()
211 static inline void *hfi1_get_header(struct hfi1_ctxtdata *rcd, in hfi1_get_header()
219 static inline struct ib_header *hfi1_get_msgheader(struct hfi1_ctxtdata *rcd, in hfi1_get_msgheader()
226 *hfi1_get_16B_header(struct hfi1_ctxtdata *rcd, in hfi1_get_16B_header()
252 static void rcv_hdrerr(struct hfi1_ctxtdata *rcd, struct hfi1_pportdata *ppd, in rcv_hdrerr()
413 static inline void init_packet(struct hfi1_ctxtdata *rcd, in init_packet()
507 struct hfi1_ctxtdata *rcd;
518 struct hfi1_ctxtdata *rcd = packet->rcd; in init_ps_mdata()
538 struct hfi1_ctxtdata *rcd) in ps_done()
546 struct hfi1_ctxtdata *rcd) in ps_skip()
[all …]
Duser_exp_rcv.c54 static void unlock_exp_tids(struct hfi1_ctxtdata *uctxt,
88 struct hfi1_ctxtdata *uctxt) in hfi1_user_exp_rcv_init()
159 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_free()
320 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_setup()
508 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_clear()
542 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_invalid()
684 struct hfi1_ctxtdata *uctxt = fd->uctxt; in program_rcvarray()
752 struct hfi1_ctxtdata *uctxt = fd->uctxt; in set_rcvarray_entry()
809 struct hfi1_ctxtdata *uctxt = fd->uctxt; in unprogram_rcvarray()
843 struct hfi1_ctxtdata *uctxt = fd->uctxt; in clear_tid_node()
[all …]
Dinit.c130 struct hfi1_ctxtdata *rcd; in hfi1_create_kctxt()
200 static void hfi1_rcd_init(struct hfi1_ctxtdata *rcd) in hfi1_rcd_init()
213 struct hfi1_ctxtdata *rcd = in hfi1_rcd_free()
214 container_of(kref, struct hfi1_ctxtdata, kref); in hfi1_rcd_free()
231 int hfi1_rcd_put(struct hfi1_ctxtdata *rcd) in hfi1_rcd_put()
245 void hfi1_rcd_get(struct hfi1_ctxtdata *rcd) in hfi1_rcd_get()
261 struct hfi1_ctxtdata *rcd, u16 *index) in allocate_rcd_index()
298 struct hfi1_ctxtdata *hfi1_rcd_get_by_index_safe(struct hfi1_devdata *dd, in hfi1_rcd_get_by_index_safe()
319 struct hfi1_ctxtdata *hfi1_rcd_get_by_index(struct hfi1_devdata *dd, u16 ctxt) in hfi1_rcd_get_by_index()
322 struct hfi1_ctxtdata *rcd = NULL; in hfi1_rcd_get_by_index()
[all …]
Dchip.h782 void update_usrhead(struct hfi1_ctxtdata *rcd, u32 hd, u32 updegr, u32 egrhd,
791 u32 hdrqempty(struct hfi1_ctxtdata *rcd);
818 void force_recv_intr(struct hfi1_ctxtdata *rcd);
1398 void hfi1_clear_tids(struct hfi1_ctxtdata *rcd);
1404 struct hfi1_ctxtdata *rcd);
1409 int hfi1_set_ctxt_jkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd,
1411 int hfi1_clear_ctxt_jkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt);
1412 int hfi1_set_ctxt_pkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt,
1414 int hfi1_clear_ctxt_pkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt);
Duser_sdma.h254 int hfi1_user_sdma_alloc_queues(struct hfi1_ctxtdata *uctxt,
257 struct hfi1_ctxtdata *uctxt);
Duser_exp_rcv.h89 struct hfi1_ctxtdata *uctxt);
Dvnic_main.c65 static int setup_vnic_ctxt(struct hfi1_devdata *dd, struct hfi1_ctxtdata *uctxt) in setup_vnic_ctxt()
102 struct hfi1_ctxtdata **vnic_ctxt) in allocate_vnic_ctxt()
104 struct hfi1_ctxtdata *uctxt; in allocate_vnic_ctxt()
133 struct hfi1_ctxtdata *uctxt) in deallocate_vnic_ctxt()
663 struct hfi1_ctxtdata **vnic_ctxt) in hfi1_vnic_allot_ctxt()
Dverbs.h68 struct hfi1_ctxtdata;
326 struct hfi1_ctxtdata *rcd,
Dtrace_ctxts.h62 TP_PROTO(struct hfi1_devdata *dd, struct hfi1_ctxtdata *uctxt,
Daffinity.c889 struct hfi1_ctxtdata *rcd = NULL; in get_irq_affinity()
908 rcd = (struct hfi1_ctxtdata *)msix->arg; in get_irq_affinity()
967 struct hfi1_ctxtdata *rcd; in hfi1_put_irq_affinity()
982 rcd = (struct hfi1_ctxtdata *)msix->arg; in hfi1_put_irq_affinity()
Dintr.c244 void handle_user_interrupt(struct hfi1_ctxtdata *rcd) in handle_user_interrupt()
Drc.c877 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_send_rc_ack()
1282 u64 val, struct hfi1_ctxtdata *rcd) in do_rc_ack()
1500 struct hfi1_ctxtdata *rcd) in rdma_seq_err()
1538 struct hfi1_ctxtdata *rcd = packet->rcd; in rc_rcv_resp()
1716 static inline void rc_defered_ack(struct hfi1_ctxtdata *rcd, in rc_defered_ack()
1753 int diff, struct hfi1_ctxtdata *rcd) in rc_rcv_error()
2034 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_rc_rcv()
2485 struct hfi1_ctxtdata *rcd, in hfi1_rc_hdrerr()
Dtrace_rx.h100 TP_PROTO(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd),
Ddebugfs.c139 struct hfi1_ctxtdata *rcd; in _opcode_stats_seq_show()
230 struct hfi1_ctxtdata *rcd; in _ctx_stats_seq_show()
395 struct hfi1_ctxtdata *rcd; in _rcds_seq_show()
Dfault.c92 struct hfi1_ctxtdata *rcd; in _fault_stats_seq_show()
Dverbs.c560 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_do_pkey_check()
580 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_handle_packet()
658 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_ib_rcv()
666 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_16B_rcv()
Duser_sdma.c165 int hfi1_user_sdma_alloc_queues(struct hfi1_ctxtdata *uctxt, in hfi1_user_sdma_alloc_queues()
265 struct hfi1_ctxtdata *uctxt) in hfi1_user_sdma_free_queues()
320 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_sdma_process_request()
Dchip.c6810 struct hfi1_ctxtdata *rcd; in rxe_freeze()
6833 struct hfi1_ctxtdata *rcd; in rxe_kernel_unfreeze()
8161 struct hfi1_ctxtdata *rcd; in is_rcv_avail_int()
8192 struct hfi1_ctxtdata *rcd; in is_rcv_urgent_int()
8350 static inline void clear_recv_intr(struct hfi1_ctxtdata *rcd) in clear_recv_intr()
8362 void force_recv_intr(struct hfi1_ctxtdata *rcd) in force_recv_intr()
8377 static inline int check_packet_present(struct hfi1_ctxtdata *rcd) in check_packet_present()
8406 struct hfi1_ctxtdata *rcd = data; in receive_context_interrupt()
8446 struct hfi1_ctxtdata *rcd = data; in receive_context_thread()
9916 void hfi1_clear_tids(struct hfi1_ctxtdata *rcd) in hfi1_clear_tids()
[all …]