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()
76 ret = sdma_txadd_kvaddr(sde->dd, &tx->txreq, in build_vnic_ulp_payload()
84 static int build_vnic_tx_desc(struct sdma_engine *sde, in build_vnic_tx_desc() argument
106 sde->dd, in build_vnic_tx_desc()
114 ret = build_vnic_ulp_payload(sde, tx); in build_vnic_tx_desc()
130 struct sdma_engine *sde = vnic_sdma->sde; in hfi1_vnic_send_dma() local
137 if (unlikely(!sde || !sdma_running(sde))) in hfi1_vnic_send_dma()
150 ret = build_vnic_tx_desc(sde, tx, pbc); in hfi1_vnic_send_dma()
154 ret = sdma_send_txreq(sde, iowait_get_ib_work(&vnic_sdma->wait), in hfi1_vnic_send_dma()
185 static int hfi1_vnic_sdma_sleep(struct sdma_engine *sde, in hfi1_vnic_sdma_sleep() argument
194 write_seqlock(&sde->waitlock); in hfi1_vnic_sdma_sleep()
195 if (sdma_progress(sde, seq, txreq)) { in hfi1_vnic_sdma_sleep()
196 write_sequnlock(&sde->waitlock); in hfi1_vnic_sdma_sleep()
203 iowait_queue(pkts_sent, wait->iow, &sde->dmawait); in hfi1_vnic_sdma_sleep()
205 write_sequnlock(&sde->waitlock); in hfi1_vnic_sdma_sleep()
245 vnic_sdma->sde = &vinfo->dd->per_sdma[i]; in hfi1_vnic_sdma_init()
252 if (vnic_sdma->sde->descq_cnt > HFI1_VNIC_SDMA_DESC_WTRMRK) { in hfi1_vnic_sdma_init()