/drivers/infiniband/hw/hfi1/ |
D | file_ops.c | 82 static void init_subctxts(struct hfi1_ctxtdata *uctxt, 85 struct hfi1_ctxtdata *uctxt); 86 static void user_init(struct hfi1_ctxtdata *uctxt); 92 struct hfi1_ctxtdata *uctxt); 93 static int setup_subctxt(struct hfi1_ctxtdata *uctxt); 99 struct hfi1_ctxtdata **cd); 100 static void deallocate_ctxt(struct hfi1_ctxtdata *uctxt); 103 static int user_event_ack(struct hfi1_ctxtdata *uctxt, u16 subctxt, 105 static int set_ctxt_pkey(struct hfi1_ctxtdata *uctxt, u16 subctxt, u16 pkey); 106 static int manage_rcvq(struct hfi1_ctxtdata *uctxt, u16 subctxt, [all …]
|
D | aspm.h | 176 static inline void aspm_ctx_disable(struct hfi1_ctxtdata *rcd) in aspm_ctx_disable() 223 struct hfi1_ctxtdata *rcd = (struct hfi1_ctxtdata *)data; 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() 293 struct hfi1_ctxtdata *rcd; in aspm_init()
|
D | hfi.h | 196 struct hfi1_ctxtdata { struct 313 int (*do_interrupt)(struct hfi1_ctxtdata *rcd, int threaded); argument 333 struct hfi1_ctxtdata *rcd; argument 939 struct hfi1_ctxtdata *ctxt[HFI1_NUM_VNIC_CTXT]; 1280 struct hfi1_ctxtdata **rcd; 1360 struct hfi1_ctxtdata *uctxt; 1394 void handle_user_interrupt(struct hfi1_ctxtdata *rcd); 1396 int hfi1_create_rcvhdrq(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd); 1397 int hfi1_setup_eagerbufs(struct hfi1_ctxtdata *rcd); 1400 struct hfi1_ctxtdata **rcd); [all …]
|
D | driver.c | 216 static inline void *get_egrbuf(const struct hfi1_ctxtdata *rcd, u64 rhf, in get_egrbuf() 267 static void rcv_hdrerr(struct hfi1_ctxtdata *rcd, struct hfi1_pportdata *ppd, in rcv_hdrerr() 422 static inline void init_packet(struct hfi1_ctxtdata *rcd, in init_packet() 510 struct hfi1_ctxtdata *rcd; 521 struct hfi1_ctxtdata *rcd = packet->rcd; in init_ps_mdata() 541 struct hfi1_ctxtdata *rcd) in ps_done() 549 struct hfi1_ctxtdata *rcd) in ps_skip() 562 struct hfi1_ctxtdata *rcd) in update_ps_mdata() 591 struct hfi1_ctxtdata *rcd = packet->rcd; in __prescan_rxq() 658 static void process_rcv_qp_work(struct hfi1_ctxtdata *rcd) in process_rcv_qp_work() [all …]
|
D | user_exp_rcv.c | 54 static void unlock_exp_tids(struct hfi1_ctxtdata *uctxt, 88 struct hfi1_ctxtdata *uctxt) in hfi1_user_exp_rcv_init() 156 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_free() 317 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_setup() 509 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_clear() 543 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_invalid() 689 struct hfi1_ctxtdata *uctxt = fd->uctxt; in program_rcvarray() 757 struct hfi1_ctxtdata *uctxt = fd->uctxt; in set_rcvarray_entry() 814 struct hfi1_ctxtdata *uctxt = fd->uctxt; in unprogram_rcvarray() 848 struct hfi1_ctxtdata *uctxt = fd->uctxt; in clear_tid_node() [all …]
|
D | init.c | 132 struct hfi1_ctxtdata *rcd; in hfi1_create_kctxt() 202 static void hfi1_rcd_init(struct hfi1_ctxtdata *rcd) in hfi1_rcd_init() 215 struct hfi1_ctxtdata *rcd = in hfi1_rcd_free() 216 container_of(kref, struct hfi1_ctxtdata, kref); in hfi1_rcd_free() 233 int hfi1_rcd_put(struct hfi1_ctxtdata *rcd) in hfi1_rcd_put() 250 int hfi1_rcd_get(struct hfi1_ctxtdata *rcd) in hfi1_rcd_get() 266 struct hfi1_ctxtdata *rcd, u16 *index) in allocate_rcd_index() 303 struct hfi1_ctxtdata *hfi1_rcd_get_by_index(struct hfi1_devdata *dd, u16 ctxt) in hfi1_rcd_get_by_index() 306 struct hfi1_ctxtdata *rcd = NULL; in hfi1_rcd_get_by_index() 324 struct hfi1_ctxtdata **context) in hfi1_create_ctxtdata() [all …]
|
D | exp_rcv.c | 65 int hfi1_alloc_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd) in hfi1_alloc_ctxt_rcv_groups() 101 void hfi1_free_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd) in hfi1_free_ctxt_rcv_groups()
|
D | chip.h | 737 void update_usrhead(struct hfi1_ctxtdata *rcd, u32 hd, u32 updegr, u32 egrhd, 746 u32 hdrqempty(struct hfi1_ctxtdata *rcd); 773 void force_recv_intr(struct hfi1_ctxtdata *rcd); 1354 void hfi1_clear_tids(struct hfi1_ctxtdata *rcd); 1360 struct hfi1_ctxtdata *rcd); 1365 int hfi1_set_ctxt_jkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd, 1367 int hfi1_clear_ctxt_jkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt); 1368 int hfi1_set_ctxt_pkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt, 1370 int hfi1_clear_ctxt_pkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt);
|
D | exp_rcv.h | 186 int hfi1_alloc_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd); 187 void hfi1_free_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd);
|
D | user_sdma.h | 242 int hfi1_user_sdma_alloc_queues(struct hfi1_ctxtdata *uctxt, 245 struct hfi1_ctxtdata *uctxt);
|
D | verbs.h | 68 struct hfi1_ctxtdata; 327 struct hfi1_ctxtdata *rcd, 372 void hfi1_send_rc_ack(struct hfi1_ctxtdata *rcd, struct rvt_qp *qp,
|
D | affinity.c | 437 struct hfi1_ctxtdata *rcd = NULL; in get_irq_affinity() 456 rcd = (struct hfi1_ctxtdata *)msix->arg; in get_irq_affinity() 520 struct hfi1_ctxtdata *rcd; in hfi1_put_irq_affinity() 535 rcd = (struct hfi1_ctxtdata *)msix->arg; in hfi1_put_irq_affinity()
|
D | user_exp_rcv.h | 89 struct hfi1_ctxtdata *uctxt);
|
D | vnic_main.c | 65 static int setup_vnic_ctxt(struct hfi1_devdata *dd, struct hfi1_ctxtdata *uctxt) in setup_vnic_ctxt() 106 struct hfi1_ctxtdata **vnic_ctxt) in allocate_vnic_ctxt() 108 struct hfi1_ctxtdata *uctxt; in allocate_vnic_ctxt() 155 struct hfi1_ctxtdata *uctxt) in deallocate_vnic_ctxt() 698 struct hfi1_ctxtdata **vnic_ctxt) in hfi1_vnic_allot_ctxt()
|
D | trace_ctxts.h | 62 TP_PROTO(struct hfi1_devdata *dd, struct hfi1_ctxtdata *uctxt,
|
D | intr.c | 189 void handle_user_interrupt(struct hfi1_ctxtdata *rcd) in handle_user_interrupt()
|
D | rc.c | 880 void hfi1_send_rc_ack(struct hfi1_ctxtdata *rcd, in hfi1_send_rc_ack() 1289 u64 val, struct hfi1_ctxtdata *rcd) in do_rc_ack() 1507 struct hfi1_ctxtdata *rcd) in rdma_seq_err() 1545 struct hfi1_ctxtdata *rcd = packet->rcd; in rc_rcv_resp() 1723 static inline void rc_defered_ack(struct hfi1_ctxtdata *rcd, in rc_defered_ack() 1760 int diff, struct hfi1_ctxtdata *rcd) in rc_rcv_error() 2041 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_rc_rcv() 2493 struct hfi1_ctxtdata *rcd, in hfi1_rc_hdrerr()
|
D | debugfs.c | 175 struct hfi1_ctxtdata *rcd; in _opcode_stats_seq_show() 236 struct hfi1_ctxtdata *rcd; in _ctx_stats_seq_show() 401 struct hfi1_ctxtdata *rcd; in _rcds_seq_show() 1153 struct hfi1_ctxtdata *rcd; in _fault_stats_seq_show()
|
D | trace_rx.h | 117 TP_PROTO(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd),
|
D | verbs.c | 556 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_do_pkey_check() 576 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_handle_packet() 655 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_ib_rcv() 663 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_16B_rcv()
|
D | chip.c | 6811 struct hfi1_ctxtdata *rcd; in rxe_freeze() 6834 struct hfi1_ctxtdata *rcd; in rxe_kernel_unfreeze() 8139 struct hfi1_ctxtdata *rcd; in is_rcv_avail_int() 8170 struct hfi1_ctxtdata *rcd; in is_rcv_urgent_int() 8327 static inline void clear_recv_intr(struct hfi1_ctxtdata *rcd) in clear_recv_intr() 8339 void force_recv_intr(struct hfi1_ctxtdata *rcd) in force_recv_intr() 8354 static inline int check_packet_present(struct hfi1_ctxtdata *rcd) in check_packet_present() 8383 struct hfi1_ctxtdata *rcd = data; in receive_context_interrupt() 8423 struct hfi1_ctxtdata *rcd = data; in receive_context_thread() 9903 void hfi1_clear_tids(struct hfi1_ctxtdata *rcd) in hfi1_clear_tids() [all …]
|
D | user_sdma.c | 162 int hfi1_user_sdma_alloc_queues(struct hfi1_ctxtdata *uctxt, in hfi1_user_sdma_alloc_queues() 260 struct hfi1_ctxtdata *uctxt) in hfi1_user_sdma_free_queues() 329 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_sdma_process_request()
|