Lines Matching refs:wait
196 ret = sdma_send_txreq(sde, iowait_get_ib_work(&vnic_sdma->wait), in hfi1_vnic_send_dma()
204 iowait_starve_clear(vnic_sdma->pkts_sent, &vnic_sdma->wait); in hfi1_vnic_send_dma()
228 struct iowait_work *wait, in hfi1_vnic_sdma_sleep() argument
234 container_of(wait->iow, struct hfi1_vnic_sdma, wait); in hfi1_vnic_sdma_sleep()
243 if (list_empty(&vnic_sdma->wait.list)) { in hfi1_vnic_sdma_sleep()
244 iowait_get_priority(wait->iow); in hfi1_vnic_sdma_sleep()
245 iowait_queue(pkts_sent, wait->iow, &sde->dmawait); in hfi1_vnic_sdma_sleep()
258 static void hfi1_vnic_sdma_wakeup(struct iowait *wait, int reason) in hfi1_vnic_sdma_wakeup() argument
261 container_of(wait, struct hfi1_vnic_sdma, wait); in hfi1_vnic_sdma_wakeup()
284 iowait_init(&vnic_sdma->wait, 0, NULL, NULL, in hfi1_vnic_sdma_init()
299 work = iowait_get_ib_work(&vnic_sdma->wait); in hfi1_vnic_sdma_init()