Home
last modified time | relevance | path

Searched refs:qhp (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/infiniband/hw/cxgb4/
H A Dqp.c87 static void set_state(struct c4iw_qp *qhp, enum c4iw_qp_state state) in set_state() argument
90 spin_lock_irqsave(&qhp->lock, flag); in set_state()
91 qhp->attr.state = state; in set_state()
92 spin_unlock_irqrestore(&qhp->lock, flag); in set_state()
690 static void post_write_cmpl(struct c4iw_qp *qhp, const struct ib_send_wr *wr) in post_write_cmpl() argument
693 qhp->sq_sig_all; in post_write_cmpl()
695 qhp->sq_sig_all; in post_write_cmpl()
706 wqe = (union t4_wr *)((u8 *)qhp->wq.sq.queue + in post_write_cmpl()
707 qhp->wq.sq.wq_pidx * T4_EQ_ENTRY_SIZE); in post_write_cmpl()
708 build_rdma_write_cmpl(&qhp->wq.sq, &wqe->write_cmpl, wr, &len16); in post_write_cmpl()
[all …]
H A Dev.c88 struct c4iw_qp *qhp, in post_qp_event() argument
98 if (qhp->attr.state == C4IW_QP_STATE_RTS) { in post_qp_event()
100 c4iw_modify_qp(qhp->rhp, qhp, C4IW_QP_ATTR_NEXT_STATE, in post_qp_event()
109 event.element.qp = &qhp->ibqp; in post_qp_event()
110 if (qhp->ibqp.event_handler) in post_qp_event()
111 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context); in post_qp_event()
123 struct c4iw_qp *qhp; in c4iw_ev_dispatch() local
127 qhp = xa_load(&dev->qps, CQE_QPID(err_cqe)); in c4iw_ev_dispatch()
128 if (!qhp) { in c4iw_ev_dispatch()
139 cqid = qhp->attr.scq; in c4iw_ev_dispatch()
[all …]
H A Dcq.c238 int c4iw_flush_sq(struct c4iw_qp *qhp) in c4iw_flush_sq() argument
241 struct t4_wq *wq = &qhp->wq; in c4iw_flush_sq()
242 struct c4iw_cq *chp = to_c4iw_cq(qhp->ibqp.send_cq); in c4iw_flush_sq()
338 struct c4iw_qp *qhp; in c4iw_flush_hw_cq() local
351 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq()
356 if (qhp == NULL) in c4iw_flush_hw_cq()
359 if (flush_qhp != qhp) { in c4iw_flush_hw_cq()
360 spin_lock(&qhp->lock); in c4iw_flush_hw_cq()
362 if (qhp->wq.flushed == 1) in c4iw_flush_hw_cq()
386 if (!qhp->wq.sq.oldest_read->signaled) { in c4iw_flush_hw_cq()
[all …]
H A Drestrack.c140 struct c4iw_qp *qhp = to_c4iw_qp(ibqp); in c4iw_fill_res_qp_entry() local
147 if (qhp->ucontext) in c4iw_fill_res_qp_entry()
155 spin_lock_irq(&qhp->lock); in c4iw_fill_res_qp_entry()
156 wq = qhp->wq; in c4iw_fill_res_qp_entry()
161 first_sqe = qhp->wq.sq.sw_sq[first_sq_idx]; in c4iw_fill_res_qp_entry()
167 last_sqe = qhp->wq.sq.sw_sq[last_sq_idx]; in c4iw_fill_res_qp_entry()
171 spin_unlock_irq(&qhp->lock); in c4iw_fill_res_qp_entry()
H A Diw_cxgb4.h634 struct c4iw_qp *qhp,
1041 int c4iw_flush_sq(struct c4iw_qp *qhp);
1066 void c4iw_flush_srqidx(struct c4iw_qp *qhp, u32 srqidx);
/linux/arch/arm64/boot/dts/qcom/
H A Dsdm845.dtsi2506 compatible = "qcom,sdm845-qhp-pcie-phy";