Lines Matching refs:aha152x_priv
329 static struct aha152x_cmd_priv *aha152x_priv(struct scsi_cmnd *cmd) in aha152x_priv() function
898 struct aha152x_cmd_priv *acp = aha152x_priv(CURRENT_SC); in setup_expected_interrupts()
931 struct aha152x_cmd_priv *acp = aha152x_priv(SCpnt); in aha152x_internal_queue()
1021 if (aha152x_priv(SCpnt)->phase & resetting) in aha152x_scsi_done()
1107 if (aha152x_priv(SCpnt)->phase & resetted) { in aha152x_device_reset()
1401 struct aha152x_cmd_priv *acp = aha152x_priv(CURRENT_SC); in busfree_run()
1443 if (aha152x_priv(DONE_SC)->phase & check_condition) { in busfree_run()
1449 aha152x_priv(cmd)->status = SAM_STAT_CHECK_CONDITION; in busfree_run()
1454 } else if (aha152x_priv(DONE_SC)->status == SAM_STAT_CHECK_CONDITION) { in busfree_run()
1459 if (!(aha152x_priv(DONE_SC)->phase & not_issued)) { in busfree_run()
1484 if (!(aha152x_priv(ptr)->phase & resetting)) { in busfree_run()
1507 struct aha152x_cmd_priv *acp = aha152x_priv(CURRENT_SC); in busfree_run()
1540 struct aha152x_cmd_priv *acp = aha152x_priv(CURRENT_SC); in seldo_run()
1589 acp = aha152x_priv(CURRENT_SC); in selto_run()
1620 struct aha152x_cmd_priv *acp = aha152x_priv(CURRENT_SC); in seldi_run()
1717 acp = aha152x_priv(CURRENT_SC); in msgi_run()
1727 acp = aha152x_priv(CURRENT_SC); in msgi_run()
1871 if ((aha152x_priv(CURRENT_SC)->phase & syncneg) && in msgo_init()
1889 struct aha152x_cmd_priv *acp = aha152x_priv(CURRENT_SC); in msgo_run()
1937 if (aha152x_priv(CURRENT_SC)->sent_command) { in cmd_init()
1968 aha152x_priv(CURRENT_SC)->sent_command++; in cmd_end()
1980 aha152x_priv(CURRENT_SC)->status = GETPORT(SCSIDAT); in status_run()
2042 acp = aha152x_priv(CURRENT_SC); in datai_run()
2138 struct aha152x_cmd_priv *acp = aha152x_priv(CURRENT_SC); in datao_run()
2191 struct aha152x_cmd_priv *acp = aha152x_priv(CURRENT_SC); in datao_end()
2241 (aha152x_priv(CURRENT_SC)->phase & selecting)) { in update_state()
2373 aha152x_priv(CURRENT_SC)->phase &= ~spiordy; in is_complete()
2395 aha152x_priv(CURRENT_SC)->phase |= spiordy; in is_complete()
2485 const int phase = aha152x_priv(ptr)->phase; in show_command()
2533 struct aha152x_cmd_priv *acp = aha152x_priv(ptr); in get_command()