Searched refs:int_cmds (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Daha1542.c60 struct scsi_cmnd *int_cmds[AHA1542_MAILBOXES]; member in struct:aha1542_hostdata
324 tmp_cmd = aha1542->int_cmds[mbo]; aha1542_interrupt()
363 aha1542->int_cmds[mbo] = NULL; /* This effectively frees up the mailbox slot, as aha1542_interrupt()
417 if (mb[mbo].status == 0 && aha1542->int_cmds[mbo] == NULL) aha1542_queuecommand()
424 if (mb[mbo].status || aha1542->int_cmds[mbo]) aha1542_queuecommand()
427 aha1542->int_cmds[mbo] = cmd; /* This will effectively prevent someone else from aha1542_queuecommand()
809 if (mb[mbo].status == 0 && aha1542->int_cmds[mbo] == NULL) aha1542_dev_reset()
816 if (mb[mbo].status || aha1542->int_cmds[mbo]) aha1542_dev_reset()
819 aha1542->int_cmds[mbo] = cmd; /* This will effectively aha1542_dev_reset()
887 if (aha1542->int_cmds[i] != NULL) { aha1542_reset()
889 tmp_cmd = aha1542->int_cmds[i]; aha1542_reset()
902 aha1542->int_cmds[i] = NULL; aha1542_reset()

Completed in 55 milliseconds