Lines Matching refs:work_done
528 int work_done = 0; in ifi_canfd_handle_state_errors() local
533 work_done += ifi_canfd_handle_state_change(ndev, in ifi_canfd_handle_state_errors()
540 work_done += ifi_canfd_handle_state_change(ndev, in ifi_canfd_handle_state_errors()
547 work_done += ifi_canfd_handle_state_change(ndev, in ifi_canfd_handle_state_errors()
554 work_done += ifi_canfd_handle_state_change(ndev, in ifi_canfd_handle_state_errors()
558 return work_done; in ifi_canfd_handle_state_errors()
566 int work_done = 0; in ifi_canfd_poll() local
569 work_done += ifi_canfd_handle_state_errors(ndev); in ifi_canfd_poll()
573 work_done += ifi_canfd_handle_lost_msg(ndev); in ifi_canfd_poll()
577 work_done += ifi_canfd_handle_lec_err(ndev); in ifi_canfd_poll()
581 work_done += ifi_canfd_do_rx_poll(ndev, quota - work_done); in ifi_canfd_poll()
583 if (work_done < quota) { in ifi_canfd_poll()
584 napi_complete_done(napi, work_done); in ifi_canfd_poll()
588 return work_done; in ifi_canfd_poll()