Lines Matching refs:phase

251 	u8 phase;  in esp_print_statreg()  local
254 phase = statreg & ESP_STAT_PMASK; in esp_print_statreg()
255 printk("%s,", (phase == ESP_DOP ? "DATA-OUT" : in esp_print_statreg()
256 (phase == ESP_DIP ? "DATA-IN" : in esp_print_statreg()
257 (phase == ESP_CMDP ? "COMMAND" : in esp_print_statreg()
258 (phase == ESP_STATP ? "STATUS" : in esp_print_statreg()
259 (phase == ESP_MOP ? "MSG-OUT" : in esp_print_statreg()
260 (phase == ESP_MIP ? "MSG_IN" : in esp_print_statreg()
311 static char *phase_string(int phase) in phase_string() argument
313 switch (phase) { in phase_string()
371 s->SCp.sent_command = s->SCp.phase; in esp_advance_phase()
372 s->SCp.phase = newphase; in esp_advance_phase()
376 (__s)->SCp.sent_command = (__s)->SCp.phase; \
377 (__s)->SCp.phase = (__newphase);
1823 SCpnt->SCp.phase = not_issued; in esp_queue()
1873 phase_string(SCptr->SCp.phase))); in esp_dump_cmd()
2134 esp->current_SC->SCp.phase == in_data_done))) { in hme_fifo_read()
2397 if (sp->SCp.phase == in_dataout) in esp100_sync_hwbug()
2520 sp->SCp.phase = not_issued; in esp_reconnect()
2635 if (SCptr->SCp.phase == in_datain) { in esp_do_data_finale()
2685 if (SCptr->SCp.phase == in_dataout) in esp_do_data_finale()
2704 SCptr->SCp.phase == in_dataout) { in esp_do_data_finale()
2716 if (SCptr->SCp.phase == in_dataout) in esp_do_data_finale()
2725 if (SCptr->SCp.phase == in_dataout) in esp_do_data_finale()
3151 phase_string(sp->SCp.phase), in esp_disconnect_amidst_phases()
3350 if (SCptr->SCp.phase == in_slct_norm) in esp_select_complete()
3419 (SCptr->SCp.phase == in_slct_msg || in esp_select_complete()
3420 SCptr->SCp.phase == in_slct_stop)) { in esp_select_complete()
3561 esp->current_SC->SCp.phase = in_freeing; in check_singlebyte_msg()
3906 (SCptr->SCp.phase == in_freeing)) in esp_do_msgindone()
4108 esp->esp_id, esp->current_SC->SCp.phase)); in esp_bus_unexpected()
4135 unsigned int phase; in esp_work_bus() local
4142 phase = SCptr->SCp.phase; in esp_work_bus()
4143 if ((phase & 0xf0) == in_phases_mask) in esp_work_bus()
4144 return bus_vector[(phase & 0x0f)](esp); in esp_work_bus()
4145 else if ((phase & 0xf0) == in_slct_mask) in esp_work_bus()
4286 unsigned int phase = SCptr->SCp.phase; in esp_handle() local
4288 if (phase & in_phases_mask) { in esp_handle()
4290 } else if (phase & in_slct_mask) { in esp_handle()
4313 } else if (SCptr->SCp.phase & in_slct_mask) { in esp_handle()