Lines Matching refs:work_done
536 int work_done = 0; in ifi_canfd_handle_state_errors() local
541 work_done += ifi_canfd_handle_state_change(ndev, in ifi_canfd_handle_state_errors()
548 work_done += ifi_canfd_handle_state_change(ndev, in ifi_canfd_handle_state_errors()
555 work_done += ifi_canfd_handle_state_change(ndev, in ifi_canfd_handle_state_errors()
562 work_done += ifi_canfd_handle_state_change(ndev, in ifi_canfd_handle_state_errors()
566 return work_done; in ifi_canfd_handle_state_errors()
574 int work_done = 0; in ifi_canfd_poll() local
577 work_done += ifi_canfd_handle_state_errors(ndev); in ifi_canfd_poll()
581 work_done += ifi_canfd_handle_lost_msg(ndev); in ifi_canfd_poll()
585 work_done += ifi_canfd_handle_lec_err(ndev); in ifi_canfd_poll()
589 work_done += ifi_canfd_do_rx_poll(ndev, quota - work_done); in ifi_canfd_poll()
591 if (work_done < quota) { in ifi_canfd_poll()
592 napi_complete_done(napi, work_done); in ifi_canfd_poll()
596 return work_done; in ifi_canfd_poll()