Lines Matching defs:bse
320 static int __init aha1542_test_port(int bse, struct Scsi_Host *shpnt)
329 if (inb(STATUS(bse)) == 0xff)
337 aha1542_intr_reset(bse); /* reset interrupts, so they don't block */
339 outb(SRST | IRST /*|SCRST */ , CONTROL(bse));
345 WAIT(STATUS(bse), STATMASK, INIT | IDLE, STST | DIAGF | INVDCMD | DF | CDF);
349 if (inb(INTRFLAGS(bse)) & INTRMASK)
356 aha1542_out(bse, inquiry_cmd, 1);
363 WAIT(STATUS(bse), DF, DF, 0);
364 *cmdp++ = inb(DATA(bse));
369 if (inb(STATUS(bse)) & DF)
374 WAIT(INTRFLAGS(bse), HACC, HACC, 0);
379 outb(IRST, CONTROL(bse));
715 static void setup_mailboxes(int bse, struct Scsi_Host *shpnt)
730 aha1542_intr_reset(bse); /* reset interrupts, so they don't block */
732 aha1542_out(bse, cmd, 5);
733 WAIT(INTRFLAGS(bse), INTRMASK, HACC, 0);
738 aha1542_intr_reset(bse);