Lines Matching refs:base_io
147 static void setup_mailboxes(int base_io, struct Scsi_Host *shpnt);
741 static int __init aha1542_getconfig(int base_io, unsigned char *irq_level, unsigned char *dma_chan, unsigned char *scsi_id)
746 i = inb(STATUS(base_io));
748 i = inb(DATA(base_io));
750 aha1542_out(base_io, inquiry_cmd, 1);
751 aha1542_in(base_io, inquiry_result, 3);
752 WAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
757 aha1542_intr_reset(base_io);
845 static int __init aha1542_query(int base_io, int *transl)
850 i = inb(STATUS(base_io));
852 i = inb(DATA(base_io));
854 aha1542_out(base_io, inquiry_cmd, 1);
855 aha1542_in(base_io, inquiry_result, 4);
856 WAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
861 aha1542_intr_reset(base_io);
879 *transl = aha1542_mbenable(base_io);
966 unsigned int base_io;
1114 base_io = bases[indx];
1125 aha1542_intr_reset(base_io);
1126 aha1542_out(base_io, oncmd, 2);
1127 WAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
1128 aha1542_intr_reset(base_io);
1129 aha1542_out(base_io, offcmd, 2);
1130 WAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
1134 aha1542_intr_reset(base_io);
1135 aha1542_out(base_io, dmacmd, 2);
1136 WAIT(INTRFLAGS(base_io), INTRMASK, HACC, 0);
1142 aha1542_intr_reset(base_io);
1144 if (aha1542_query(base_io, &trans))
1147 if (aha1542_getconfig(base_io, &irq_level, &dma_chan, &scsi_id) == -1)
1150 printk(KERN_INFO "Configuring Adaptec (SCSI-ID %d) at IO:%x, IRQ %d", scsi_id, base_io, irq_level);
1156 setup_mailboxes(base_io, shpnt);
1182 shpnt->unique_id = base_io;
1183 shpnt->io_port = base_io;