Lines Matching refs:work_done
835 int ret, once_more = 0, work_done = 0; in t7xx_dpmaif_napi_rx_poll() local
845 return work_done; in t7xx_dpmaif_napi_rx_poll()
853 napi_complete_done(napi, work_done); in t7xx_dpmaif_napi_rx_poll()
856 return work_done; in t7xx_dpmaif_napi_rx_poll()
860 while (work_done < budget) { in t7xx_dpmaif_napi_rx_poll()
861 int each_budget = budget - work_done; in t7xx_dpmaif_napi_rx_poll()
865 work_done += rx_cnt; in t7xx_dpmaif_napi_rx_poll()
872 work_done = budget; in t7xx_dpmaif_napi_rx_poll()
874 } else if (work_done < budget) { in t7xx_dpmaif_napi_rx_poll()
875 napi_complete_done(napi, work_done); in t7xx_dpmaif_napi_rx_poll()
886 return work_done; in t7xx_dpmaif_napi_rx_poll()