Lines Matching full:wait
154 ret = sdma_send_txreq(sde, iowait_get_ib_work(&vnic_sdma->wait), in hfi1_vnic_send_dma()
162 iowait_starve_clear(vnic_sdma->pkts_sent, &vnic_sdma->wait); in hfi1_vnic_send_dma()
181 * sdma descriptors available to send the packet. It adds Tx queue's wait
186 struct iowait_work *wait, in hfi1_vnic_sdma_sleep() argument
192 container_of(wait->iow, struct hfi1_vnic_sdma, wait); in hfi1_vnic_sdma_sleep()
201 if (list_empty(&vnic_sdma->wait.list)) { in hfi1_vnic_sdma_sleep()
202 iowait_get_priority(wait->iow); in hfi1_vnic_sdma_sleep()
203 iowait_queue(pkts_sent, wait->iow, &sde->dmawait); in hfi1_vnic_sdma_sleep()
213 * queue's wait structure was previously added to sdma engine's dmawait list.
216 static void hfi1_vnic_sdma_wakeup(struct iowait *wait, int reason) in hfi1_vnic_sdma_wakeup() argument
219 container_of(wait, struct hfi1_vnic_sdma, wait); in hfi1_vnic_sdma_wakeup()
242 iowait_init(&vnic_sdma->wait, 0, NULL, NULL, in hfi1_vnic_sdma_init()
257 work = iowait_get_ib_work(&vnic_sdma->wait); in hfi1_vnic_sdma_init()