Lines Matching refs:work_done
1069 int work_done = 0; in c_can_poll() local
1086 work_done += c_can_handle_state_change(dev, C_CAN_ERROR_WARNING); in c_can_poll()
1091 work_done += c_can_handle_state_change(dev, C_CAN_ERROR_PASSIVE); in c_can_poll()
1096 work_done += c_can_handle_state_change(dev, C_CAN_BUS_OFF); in c_can_poll()
1103 work_done += c_can_handle_state_change(dev, C_CAN_ERROR_PASSIVE); in c_can_poll()
1108 work_done += c_can_handle_state_change(dev, C_CAN_ERROR_WARNING); in c_can_poll()
1113 work_done += c_can_handle_state_change(dev, C_CAN_NO_ERROR); in c_can_poll()
1117 work_done += c_can_handle_bus_err(dev, curr & LEC_MASK); in c_can_poll()
1120 work_done += c_can_do_rx_poll(dev, (quota - work_done)); in c_can_poll()
1124 if (work_done < quota) { in c_can_poll()
1125 napi_complete_done(napi, work_done); in c_can_poll()
1131 return work_done; in c_can_poll()