Lines Matching full:waiting
235 int waiting; member
356 s->waiting = LSI_NOWAIT; in lsi_soft_reset()
601 if (s->waiting != 2) { in lsi_resume_script()
602 s->waiting = LSI_NOWAIT; in lsi_resume_script()
605 s->waiting = LSI_NOWAIT; in lsi_resume_script()
776 /* Reselect if waiting for it, or if reselection triggers an IRQ in lsi_queue_req()
779 is also required that there are no pending interrupts waiting in lsi_queue_req()
781 if (s->waiting == LSI_WAIT_RESELECT || in lsi_queue_req()
804 if (s->waiting && s->dbc != 0) { in lsi_command_complete()
808 s->waiting = 0; in lsi_command_complete()
831 if (s->waiting == LSI_WAIT_RESELECT || req->hba_private != s->current || in lsi_transfer_data()
844 if (s->waiting) { in lsi_transfer_data()
845 if (s->waiting == LSI_WAIT_RESELECT || s->dbc == 0) { in lsi_transfer_data()
1142 s->waiting = LSI_WAIT_RESELECT; in lsi_wait_reselect()
1161 if (s->waiting == LSI_WAIT_SCRIPTS) { in lsi_execute_script()
1163 s->waiting = LSI_NOWAIT; in lsi_execute_script()
1171 * Some windows drivers make the device spin waiting for a memory location in lsi_execute_script()
1182 s->waiting = LSI_WAIT_SCRIPTS; in lsi_execute_script()
1282 s->waiting = LSI_DMA_SCRIPTS; in lsi_execute_script()
1284 if (s->waiting) in lsi_execute_script()
1285 s->waiting = LSI_DMA_IN_PROGRESS; in lsi_execute_script()
1288 s->waiting = LSI_DMA_SCRIPTS; in lsi_execute_script()
1290 if (s->waiting) in lsi_execute_script()
1291 s->waiting = LSI_DMA_IN_PROGRESS; in lsi_execute_script()
1358 s->waiting = LSI_NOWAIT; in lsi_execute_script()
1623 if (s->istat1 & LSI_ISTAT1_SRUN && s->waiting == LSI_NOWAIT) { in lsi_execute_script()
1956 if (s->waiting == LSI_WAIT_RESELECT && val & LSI_ISTAT0_SIGP) { in lsi_reg_writeb()
1958 s->waiting = LSI_NOWAIT; in lsi_reg_writeb()
2014 * FIXME: if s->waiting != LSI_NOWAIT, this will only execute one in lsi_reg_writeb()
2036 * FIXME: if s->waiting != LSI_NOWAIT, this will only execute one in lsi_reg_writeb()
2222 if (s->waiting == LSI_WAIT_SCRIPTS) { in lsi_post_load()
2242 VMSTATE_INT32(waiting, LSIState),
2327 s->waiting = LSI_NOWAIT; in scripts_timer_cb()