Lines Matching refs:sde
49 static noinline int build_vnic_ulp_payload(struct sdma_engine *sde, in build_vnic_ulp_payload() argument
55 sde->dd, in build_vnic_ulp_payload()
66 ret = sdma_txadd_page(sde->dd, in build_vnic_ulp_payload()
77 ret = sdma_txadd_kvaddr(sde->dd, &tx->txreq, in build_vnic_ulp_payload()
85 static int build_vnic_tx_desc(struct sdma_engine *sde, in build_vnic_tx_desc() argument
107 sde->dd, in build_vnic_tx_desc()
115 ret = build_vnic_ulp_payload(sde, tx); in build_vnic_tx_desc()
131 struct sdma_engine *sde = vnic_sdma->sde; in hfi1_vnic_send_dma() local
138 if (unlikely(!sde || !sdma_running(sde))) in hfi1_vnic_send_dma()
151 ret = build_vnic_tx_desc(sde, tx, pbc); in hfi1_vnic_send_dma()
155 ret = sdma_send_txreq(sde, iowait_get_ib_work(&vnic_sdma->wait), in hfi1_vnic_send_dma()
186 static int hfi1_vnic_sdma_sleep(struct sdma_engine *sde, in hfi1_vnic_sdma_sleep() argument
195 write_seqlock(&sde->waitlock); in hfi1_vnic_sdma_sleep()
196 if (sdma_progress(sde, seq, txreq)) { in hfi1_vnic_sdma_sleep()
197 write_sequnlock(&sde->waitlock); in hfi1_vnic_sdma_sleep()
204 iowait_queue(pkts_sent, wait->iow, &sde->dmawait); in hfi1_vnic_sdma_sleep()
206 write_sequnlock(&sde->waitlock); in hfi1_vnic_sdma_sleep()
246 vnic_sdma->sde = &vinfo->dd->per_sdma[i]; in hfi1_vnic_sdma_init()
253 if (vnic_sdma->sde->descq_cnt > HFI1_VNIC_SDMA_DESC_WTRMRK) { in hfi1_vnic_sdma_init()