Lines Matching refs:rq_ctxt
154 void hinic_rq_prepare_ctxt(struct hinic_rq_ctxt *rq_ctxt, in hinic_rq_prepare_ctxt() argument
177 rq_ctxt->ceq_attr = HINIC_RQ_CTXT_CEQ_ATTR_SET(0, EN) | in hinic_rq_prepare_ctxt()
180 rq_ctxt->pi_intr_attr = HINIC_RQ_CTXT_PI_SET(pi_start, IDX) | in hinic_rq_prepare_ctxt()
183 rq_ctxt->wq_hi_pfn_ci = HINIC_RQ_CTXT_WQ_PAGE_SET(wq_page_pfn_hi, in hinic_rq_prepare_ctxt()
187 rq_ctxt->wq_lo_pfn = wq_page_pfn_lo; in hinic_rq_prepare_ctxt()
189 rq_ctxt->pref_cache = in hinic_rq_prepare_ctxt()
194 rq_ctxt->pref_wrapped = 1; in hinic_rq_prepare_ctxt()
196 rq_ctxt->pref_wq_hi_pfn_ci = in hinic_rq_prepare_ctxt()
200 rq_ctxt->pref_wq_lo_pfn = wq_page_pfn_lo; in hinic_rq_prepare_ctxt()
202 rq_ctxt->pi_paddr_hi = upper_32_bits(rq->pi_dma_addr); in hinic_rq_prepare_ctxt()
203 rq_ctxt->pi_paddr_lo = lower_32_bits(rq->pi_dma_addr); in hinic_rq_prepare_ctxt()
205 rq_ctxt->wq_block_hi_pfn = in hinic_rq_prepare_ctxt()
208 rq_ctxt->wq_block_lo_pfn = wq_block_pfn_lo; in hinic_rq_prepare_ctxt()
210 hinic_cpu_to_be32(rq_ctxt, sizeof(*rq_ctxt)); in hinic_rq_prepare_ctxt()