Searched refs:aha1542 (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/drivers/scsi/ |
H A D | aha1542.c | 25 #include "aha1542.h" 179 printk(KERN_ERR "aha1542: makecode: unknown hoststatus %x\n", hosterr); makecode() 239 struct aha1542_hostdata *aha1542 = shost_priv(sh); aha1542_interrupt() local 246 struct mailbox *mb = aha1542->mb; aha1542_interrupt() 247 struct ccb *ccb = aha1542->ccb; aha1542_interrupt() 286 mbi = aha1542->aha1542_last_mbi_used + 1; aha1542_interrupt() 296 } while (mbi != aha1542->aha1542_last_mbi_used); aha1542_interrupt() 309 aha1542->aha1542_last_mbi_used = mbi; aha1542_interrupt() 324 tmp_cmd = aha1542->int_cmds[mbo]; aha1542_interrupt() 355 shost_printk(KERN_DEBUG, sh, "(aha1542 error:%x %x %x) ", errstatus, aha1542_interrupt() 363 aha1542->int_cmds[mbo] = NULL; /* This effectively frees up the mailbox slot, as aha1542_interrupt() 372 struct aha1542_hostdata *aha1542 = shost_priv(sh); aha1542_queuecommand() local 379 struct mailbox *mb = aha1542->mb; aha1542_queuecommand() 380 struct ccb *ccb = aha1542->ccb; aha1542_queuecommand() 412 mbo = aha1542->aha1542_last_mbo_used + 1; aha1542_queuecommand() 417 if (mb[mbo].status == 0 && aha1542->int_cmds[mbo] == NULL) aha1542_queuecommand() 422 } while (mbo != aha1542->aha1542_last_mbo_used); aha1542_queuecommand() 424 if (mb[mbo].status || aha1542->int_cmds[mbo]) aha1542_queuecommand() 425 panic("Unable to find empty mailbox for aha1542.\n"); aha1542_queuecommand() 427 aha1542->int_cmds[mbo] = cmd; /* This will effectively prevent someone else from aha1542_queuecommand() 430 aha1542->aha1542_last_mbo_used = mbo; aha1542_queuecommand() 492 struct aha1542_hostdata *aha1542 = shost_priv(sh); setup_mailboxes() local 494 struct mailbox *mb = aha1542->mb; setup_mailboxes() 495 struct ccb *ccb = aha1542->ccb; setup_mailboxes() 612 struct aha1542_hostdata *aha1542 = shost_priv(sh); aha1542_query() local 625 aha1542->bios_translation = BIOS_TRANSLATION_6432; /* Default case */ aha1542_query() 641 aha1542->bios_translation = aha1542_mbenable(sh); aha1542_query() 702 struct aha1542_hostdata *aha1542; aha1542_hw_init() local 708 if (!request_region(base_io, AHA1542_REGION_SIZE, "aha1542")) aha1542_hw_init() 714 aha1542 = shost_priv(sh); aha1542_hw_init() 719 aha1542->aha1542_last_mbi_used = 2 * AHA1542_MAILBOXES - 1; aha1542_hw_init() 720 aha1542->aha1542_last_mbo_used = AHA1542_MAILBOXES - 1; aha1542_hw_init() 735 if (aha1542->bios_translation == BIOS_TRANSLATION_25563) aha1542_hw_init() 740 if (request_irq(sh->irq, aha1542_interrupt, 0, "aha1542", sh)) { aha1542_hw_init() 745 if (request_dma(sh->dma_channel, "aha1542")) { aha1542_hw_init() 795 struct aha1542_hostdata *aha1542 = shost_priv(sh); aha1542_dev_reset() local 797 struct mailbox *mb = aha1542->mb; aha1542_dev_reset() 801 struct ccb *ccb = aha1542->ccb; aha1542_dev_reset() 804 mbo = aha1542->aha1542_last_mbo_used + 1; aha1542_dev_reset() 809 if (mb[mbo].status == 0 && aha1542->int_cmds[mbo] == NULL) aha1542_dev_reset() 814 } while (mbo != aha1542->aha1542_last_mbo_used); aha1542_dev_reset() 816 if (mb[mbo].status || aha1542->int_cmds[mbo]) aha1542_dev_reset() 817 panic("Unable to find empty mailbox for aha1542.\n"); aha1542_dev_reset() 819 aha1542->int_cmds[mbo] = cmd; /* This will effectively aha1542_dev_reset() 823 aha1542->aha1542_last_mbo_used = mbo; aha1542_dev_reset() 852 struct aha1542_hostdata *aha1542 = shost_priv(sh); aha1542_reset() local 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() 903 aha1542->mb[i].status = 0; aha1542_reset() 924 struct aha1542_hostdata *aha1542 = shost_priv(sdev->host); aha1542_biosparam() local 927 aha1542->bios_translation == BIOS_TRANSLATION_25563) { aha1542_biosparam() 943 .proc_name = "aha1542", 980 .name = "aha1542" 1027 .name = "aha1542",
|
H A D | Makefile | 68 obj-$(CONFIG_SCSI_AHA1542) += aha1542.o
|
H A D | aha1740.c | 5 * Based loosely on aha1542.c which is
|
H A D | wd7000.c | 5 * closely related to the aha1542 driver from Tommy Thorn 1586 * This was borrowed directly from aha1542.c. (Zaga)
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_osm.c | 27 * the Adaptec 1542 driver (aha1542.c), the Adaptec EISA overlay file
|
Completed in 183 milliseconds