/drivers/infiniband/hw/hfi1/ |
D | file_ops.c | 83 static void init_subctxts(struct hfi1_ctxtdata *uctxt, 86 struct hfi1_ctxtdata *uctxt); 87 static void user_init(struct hfi1_ctxtdata *uctxt); 97 struct hfi1_ctxtdata *uctxt); 98 static int setup_subctxt(struct hfi1_ctxtdata *uctxt); 104 struct hfi1_ctxtdata **cd); 105 static void deallocate_ctxt(struct hfi1_ctxtdata *uctxt); 108 static int user_event_ack(struct hfi1_ctxtdata *uctxt, u16 subctxt, 110 static int set_ctxt_pkey(struct hfi1_ctxtdata *uctxt, unsigned long arg); 111 static int ctxt_reset(struct hfi1_ctxtdata *uctxt); [all …]
|
D | hfi.h | 201 struct hfi1_ctxtdata; 202 typedef int (*intr_handler)(struct hfi1_ctxtdata *rcd, int data); 212 struct hfi1_ctxtdata { struct 361 static inline u32 rcvhdrq_size(struct hfi1_ctxtdata *rcd) in rcvhdrq_size() argument 378 struct hfi1_ctxtdata *rcd; 1359 struct hfi1_ctxtdata **rcd; 1438 struct hfi1_ctxtdata *uctxt; 1461 static inline unsigned long uctxt_offset(struct hfi1_ctxtdata *uctxt) in uctxt_offset() 1474 void handle_user_interrupt(struct hfi1_ctxtdata *rcd); 1476 int hfi1_create_rcvhdrq(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd); [all …]
|
D | exp_rcv.h | 192 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);
|
D | aspm.c | 129 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()
|
D | driver.c | 203 static inline void *get_egrbuf(const struct hfi1_ctxtdata *rcd, u64 rhf, in get_egrbuf() 213 static inline void *hfi1_get_header(struct hfi1_ctxtdata *rcd, in hfi1_get_header() 221 static inline struct ib_header *hfi1_get_msgheader(struct hfi1_ctxtdata *rcd, in hfi1_get_msgheader() 228 *hfi1_get_16B_header(struct hfi1_ctxtdata *rcd, in hfi1_get_16B_header() 254 static void rcv_hdrerr(struct hfi1_ctxtdata *rcd, struct hfi1_pportdata *ppd, in rcv_hdrerr() 415 static inline void init_packet(struct hfi1_ctxtdata *rcd, in init_packet() 540 struct hfi1_ctxtdata *rcd; 551 struct hfi1_ctxtdata *rcd = packet->rcd; in init_ps_mdata() 571 struct hfi1_ctxtdata *rcd) in ps_done() 579 struct hfi1_ctxtdata *rcd) in ps_skip() [all …]
|
D | exp_rcv.c | 65 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()
|
D | tid_rdma.h | 99 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,
|
D | user_exp_rcv.c | 55 static void unlock_exp_tids(struct hfi1_ctxtdata *uctxt, 94 struct hfi1_ctxtdata *uctxt) in hfi1_user_exp_rcv_init() 148 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_free() 293 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_setup() 532 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_clear() 566 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_invalid() 708 struct hfi1_ctxtdata *uctxt = fd->uctxt; in program_rcvarray() 776 struct hfi1_ctxtdata *uctxt = fd->uctxt; in set_rcvarray_entry() 839 struct hfi1_ctxtdata *uctxt = fd->uctxt; in unprogram_rcvarray() 869 struct hfi1_ctxtdata *uctxt = fd->uctxt; in __clear_tid_node() [all …]
|
D | init.c | 129 struct hfi1_ctxtdata *rcd; in hfi1_create_kctxt() 203 static void hfi1_rcd_init(struct hfi1_ctxtdata *rcd) in hfi1_rcd_init() 216 struct hfi1_ctxtdata *rcd = in hfi1_rcd_free() 217 container_of(kref, struct hfi1_ctxtdata, kref); in hfi1_rcd_free() 234 int hfi1_rcd_put(struct hfi1_ctxtdata *rcd) in hfi1_rcd_put() 251 int hfi1_rcd_get(struct hfi1_ctxtdata *rcd) in hfi1_rcd_get() 267 struct hfi1_ctxtdata *rcd, u16 *index) in allocate_rcd_index() 304 struct hfi1_ctxtdata *hfi1_rcd_get_by_index_safe(struct hfi1_devdata *dd, in hfi1_rcd_get_by_index_safe() 325 struct hfi1_ctxtdata *hfi1_rcd_get_by_index(struct hfi1_devdata *dd, u16 ctxt) in hfi1_rcd_get_by_index() 328 struct hfi1_ctxtdata *rcd = NULL; in hfi1_rcd_get_by_index() [all …]
|
D | msix.c | 169 static int msix_request_rcd_irq_common(struct hfi1_ctxtdata *rcd, in msix_request_rcd_irq_common() 197 int msix_request_rcd_irq(struct hfi1_ctxtdata *rcd) in msix_request_rcd_irq() 213 int msix_netdev_request_rcd_irq(struct hfi1_ctxtdata *rcd) in msix_netdev_request_rcd_irq() 311 struct hfi1_ctxtdata *rcd = hfi1_rcd_get_by_index_safe(dd, i); in msix_request_irqs() 384 struct hfi1_ctxtdata *rcd = hfi1_netdev_get_ctxt(dd, i); in msix_netdev_synchronize_irq()
|
D | msix.h | 58 int msix_request_rcd_irq(struct hfi1_ctxtdata *rcd); 64 int msix_netdev_request_rcd_irq(struct hfi1_ctxtdata *rcd);
|
D | aspm.h | 63 void __aspm_ctx_disable(struct hfi1_ctxtdata *rcd); 67 static inline void aspm_ctx_disable(struct hfi1_ctxtdata *rcd) in aspm_ctx_disable()
|
D | netdev_rx.c | 21 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()
|
D | chip.h | 801 void update_usrhead(struct hfi1_ctxtdata *rcd, u32 hd, u32 updegr, u32 egrhd, 810 u32 hdrqempty(struct hfi1_ctxtdata *rcd); 813 bool is_urg_masked(struct hfi1_ctxtdata *rcd); 838 void force_recv_intr(struct hfi1_ctxtdata *rcd); 1425 void hfi1_clear_tids(struct hfi1_ctxtdata *rcd); 1431 struct hfi1_ctxtdata *rcd); 1436 int hfi1_set_ctxt_jkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd, 1438 int hfi1_clear_ctxt_jkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt); 1439 int hfi1_set_ctxt_pkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt, 1441 int hfi1_clear_ctxt_pkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt);
|
D | rc.h | 25 static inline void rc_defered_ack(struct hfi1_ctxtdata *rcd, in rc_defered_ack() 55 struct hfi1_ctxtdata *rcd);
|
D | netdev.h | 26 struct hfi1_ctxtdata *rcd; 78 struct hfi1_ctxtdata *hfi1_netdev_get_ctxt(struct hfi1_devdata *dd, int ctxt) in hfi1_netdev_get_ctxt()
|
D | user_sdma.h | 240 int hfi1_user_sdma_alloc_queues(struct hfi1_ctxtdata *uctxt, 243 struct hfi1_ctxtdata *uctxt);
|
D | tid_rdma.c | 133 struct hfi1_ctxtdata *rcd, 298 int hfi1_kern_exp_rcv_init(struct hfi1_ctxtdata *rcd, int reinit) in hfi1_kern_exp_rcv_init() 319 static struct hfi1_ctxtdata *qp_to_rcd(struct rvt_dev_info *rdi, in qp_to_rcd() 468 static struct rvt_qp *first_qp(struct hfi1_ctxtdata *rcd, in first_qp() 502 static bool kernel_tid_waiters(struct hfi1_ctxtdata *rcd, in kernel_tid_waiters() 533 static void dequeue_tid_waiter(struct hfi1_ctxtdata *rcd, in dequeue_tid_waiter() 559 static void queue_qp_for_tid_wait(struct hfi1_ctxtdata *rcd, in queue_qp_for_tid_wait() 711 static int kern_reserve_flow(struct hfi1_ctxtdata *rcd, int last) in kern_reserve_flow() 730 static void kern_set_hw_flow(struct hfi1_ctxtdata *rcd, u32 generation, in kern_set_hw_flow() 749 static u32 kern_setup_hw_flow(struct hfi1_ctxtdata *rcd, u32 flow_idx) in kern_setup_hw_flow() [all …]
|
D | verbs.h | 68 struct hfi1_ctxtdata; 161 struct hfi1_ctxtdata *rcd; /* QP's receive context */ 412 struct hfi1_ctxtdata *rcd,
|
D | affinity.c | 884 struct hfi1_ctxtdata *rcd = NULL; in get_irq_affinity() 903 rcd = (struct hfi1_ctxtdata *)msix->arg; in get_irq_affinity() 911 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() 988 rcd = (struct hfi1_ctxtdata *)msix->arg; in hfi1_put_irq_affinity()
|
D | user_exp_rcv.h | 93 struct hfi1_ctxtdata *uctxt);
|
D | trace_rx.h | 100 TP_PROTO(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd),
|
D | trace_ctxts.h | 62 TP_PROTO(struct hfi1_devdata *dd, struct hfi1_ctxtdata *uctxt,
|
D | intr.c | 244 void handle_user_interrupt(struct hfi1_ctxtdata *rcd) in handle_user_interrupt()
|
D | verbs.c | 371 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_kdeth_eager_rcv() 425 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_kdeth_expected_rcv() 479 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_do_pkey_check() 499 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_handle_packet() 579 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_ib_rcv() 587 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_16B_rcv()
|