/Linux-v5.15/drivers/infiniband/hw/hfi1/ |
D | file_ops.c | 42 static void init_subctxts(struct hfi1_ctxtdata *uctxt, 45 struct hfi1_ctxtdata *uctxt); 46 static void user_init(struct hfi1_ctxtdata *uctxt); 56 struct hfi1_ctxtdata *uctxt); 57 static int setup_subctxt(struct hfi1_ctxtdata *uctxt); 63 struct hfi1_ctxtdata **cd); 64 static void deallocate_ctxt(struct hfi1_ctxtdata *uctxt); 67 static int user_event_ack(struct hfi1_ctxtdata *uctxt, u16 subctxt, 69 static int set_ctxt_pkey(struct hfi1_ctxtdata *uctxt, unsigned long arg); 70 static int ctxt_reset(struct hfi1_ctxtdata *uctxt); [all …]
|
D | hfi.h | 160 struct hfi1_ctxtdata; 161 typedef int (*intr_handler)(struct hfi1_ctxtdata *rcd, int data); 171 struct hfi1_ctxtdata { struct 320 static inline u32 rcvhdrq_size(struct hfi1_ctxtdata *rcd) in rcvhdrq_size() argument 337 struct hfi1_ctxtdata *rcd; 1309 struct hfi1_ctxtdata **rcd; 1388 struct hfi1_ctxtdata *uctxt; 1411 static inline unsigned long uctxt_offset(struct hfi1_ctxtdata *uctxt) in uctxt_offset() 1424 void handle_user_interrupt(struct hfi1_ctxtdata *rcd); 1426 int hfi1_create_rcvhdrq(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd); [all …]
|
D | exp_rcv.h | 150 hfi1_tid_group_to_idx(struct hfi1_ctxtdata *rcd, struct tid_group *grp) in hfi1_tid_group_to_idx() 161 hfi1_idx_to_tid_group(struct hfi1_ctxtdata *rcd, u16 idx) in hfi1_idx_to_tid_group() 166 int hfi1_alloc_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd); 167 void hfi1_free_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd); 168 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 | exp_rcv.c | 23 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()
|
D | driver.c | 161 static inline void *get_egrbuf(const struct hfi1_ctxtdata *rcd, u64 rhf, in get_egrbuf() 171 static inline void *hfi1_get_header(struct hfi1_ctxtdata *rcd, in hfi1_get_header() 179 static inline struct ib_header *hfi1_get_msgheader(struct hfi1_ctxtdata *rcd, in hfi1_get_msgheader() 186 *hfi1_get_16B_header(struct hfi1_ctxtdata *rcd, in hfi1_get_16B_header() 212 static void rcv_hdrerr(struct hfi1_ctxtdata *rcd, struct hfi1_pportdata *ppd, in rcv_hdrerr() 373 static inline void init_packet(struct hfi1_ctxtdata *rcd, in init_packet() 498 struct hfi1_ctxtdata *rcd; 509 struct hfi1_ctxtdata *rcd = packet->rcd; in init_ps_mdata() 529 struct hfi1_ctxtdata *rcd) in ps_done() 537 struct hfi1_ctxtdata *rcd) in ps_skip() [all …]
|
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 | msix.h | 16 int msix_request_rcd_irq(struct hfi1_ctxtdata *rcd); 22 int msix_netdev_request_rcd_irq(struct hfi1_ctxtdata *rcd);
|
D | user_exp_rcv.c | 13 static void unlock_exp_tids(struct hfi1_ctxtdata *uctxt, 45 struct hfi1_ctxtdata *uctxt) in hfi1_user_exp_rcv_init() 99 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() 441 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_clear() 475 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_invalid() 617 struct hfi1_ctxtdata *uctxt = fd->uctxt; in program_rcvarray() 685 struct hfi1_ctxtdata *uctxt = fd->uctxt; in set_rcvarray_entry() 752 struct hfi1_ctxtdata *uctxt = fd->uctxt; in unprogram_rcvarray() 785 struct hfi1_ctxtdata *uctxt = fd->uctxt; in clear_tid_node() [all …]
|
D | aspm.h | 22 void __aspm_ctx_disable(struct hfi1_ctxtdata *rcd); 26 static inline void aspm_ctx_disable(struct hfi1_ctxtdata *rcd) in aspm_ctx_disable()
|
D | msix.c | 126 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()
|
D | init.c | 87 struct hfi1_ctxtdata *rcd; in hfi1_create_kctxt() 162 static void hfi1_rcd_init(struct hfi1_ctxtdata *rcd) in hfi1_rcd_init() 175 struct hfi1_ctxtdata *rcd = in hfi1_rcd_free() 176 container_of(kref, struct hfi1_ctxtdata, kref); 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() 226 struct hfi1_ctxtdata *rcd, u16 *index) in allocate_rcd_index() 263 struct hfi1_ctxtdata *hfi1_rcd_get_by_index_safe(struct hfi1_devdata *dd, in hfi1_rcd_get_by_index_safe() 284 struct hfi1_ctxtdata *hfi1_rcd_get_by_index(struct hfi1_devdata *dd, u16 ctxt) in hfi1_rcd_get_by_index() 287 struct hfi1_ctxtdata *rcd = NULL; in hfi1_rcd_get_by_index() [all …]
|
D | netdev.h | 25 struct hfi1_ctxtdata *rcd; 71 struct hfi1_ctxtdata *hfi1_netdev_get_ctxt(struct hfi1_devdata *dd, int ctxt) in hfi1_netdev_get_ctxt()
|
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 | rc.h | 25 static inline void rc_defered_ack(struct hfi1_ctxtdata *rcd, in rc_defered_ack() 55 struct hfi1_ctxtdata *rcd);
|
D | chip.h | 759 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);
|
D | user_sdma.h | 205 int hfi1_user_sdma_alloc_queues(struct hfi1_ctxtdata *uctxt, 208 struct hfi1_ctxtdata *uctxt);
|
D | verbs.h | 26 struct hfi1_ctxtdata; 119 struct hfi1_ctxtdata *rcd; /* QP's receive context */ 370 struct hfi1_ctxtdata *rcd,
|
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() 320 static struct hfi1_ctxtdata *qp_to_rcd(struct rvt_dev_info *rdi, in qp_to_rcd() 469 static struct rvt_qp *first_qp(struct hfi1_ctxtdata *rcd, in first_qp() 504 static bool kernel_tid_waiters(struct hfi1_ctxtdata *rcd, in kernel_tid_waiters() 537 static void dequeue_tid_waiter(struct hfi1_ctxtdata *rcd, in dequeue_tid_waiter() 564 static void queue_qp_for_tid_wait(struct hfi1_ctxtdata *rcd, in queue_qp_for_tid_wait() 716 static int kern_reserve_flow(struct hfi1_ctxtdata *rcd, int last) in kern_reserve_flow() 735 static void kern_set_hw_flow(struct hfi1_ctxtdata *rcd, u32 generation, in kern_set_hw_flow() 754 static u32 kern_setup_hw_flow(struct hfi1_ctxtdata *rcd, u32 flow_idx) in kern_setup_hw_flow() [all …]
|
D | user_exp_rcv.h | 49 struct hfi1_ctxtdata *uctxt);
|
D | trace_rx.h | 59 TP_PROTO(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd),
|
D | affinity.c | 841 struct hfi1_ctxtdata *rcd = NULL; in get_irq_affinity() 860 rcd = (struct hfi1_ctxtdata *)msix->arg; in get_irq_affinity() 868 rcd = (struct hfi1_ctxtdata *)msix->arg; in get_irq_affinity() 938 struct hfi1_ctxtdata *rcd = msix->arg; in hfi1_put_irq_affinity()
|
D | trace_ctxts.h | 21 TP_PROTO(struct hfi1_devdata *dd, struct hfi1_ctxtdata *uctxt,
|
D | intr.c | 202 void handle_user_interrupt(struct hfi1_ctxtdata *rcd) in handle_user_interrupt()
|
D | verbs.c | 329 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()
|