Home
last modified time | relevance | path

Searched refs:taskstate_match (Results 1 – 1 of 1) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
Df_mass_storage.c296 inline static bool taskstate_match(struct mass_dev_s *fmass, fmass_task_state tarstate) in taskstate_match() function
315 if (taskstate_match(fmass, FMASS_TASK_REQ_DATA_PHASE)) in fmass_handle_bulkin_callback()
319 else if (taskstate_match(fmass, FMASS_TASK_REQ_STATUS_PHASE)) in fmass_handle_bulkin_callback()
330 if (taskstate_match(fmass, FMASS_TASK_REQ_COMMAND_PHASE)) in fmass_handle_bulkout_callback()
334 else if (taskstate_match(fmass, FMASS_TASK_REQ_DATA_PHASE)) in fmass_handle_bulkout_callback()
547 taskstate_match(fmass, FMASS_TASK_DISCONNECT)), (2 * HZ))) in done_scsi_read()
554 if (taskstate_match(fmass, FMASS_TASK_DISCONNECT)) in done_scsi_read()
651 if (!fmass_wait_intr(fmass, (taskstate_match(fmass, FMASS_TASK_DONE_DATA_PHASE) || in done_scsi_write()
652 taskstate_match(fmass, FMASS_TASK_DISCONNECT)), (5*HZ))) in done_scsi_write()
947 if (taskstate_match(fmass, FMASS_TASK_REQ_DATA_PHASE)) in fmass_handle_scsi_data()
[all …]