SETPORT           710 drivers/scsi/aha152x.c 	SETPORT(DMACNTRL0, INTEN);
SETPORT           749 drivers/scsi/aha152x.c 	SETPORT(SCSIID, setup->scsiid << 4);
SETPORT           757 drivers/scsi/aha152x.c 	SETPORT(SCSISEQ, SCSIRSTO);
SETPORT           759 drivers/scsi/aha152x.c 	SETPORT(SCSISEQ, 0);
SETPORT           787 drivers/scsi/aha152x.c 	SETPORT(SIMODE0, 0);
SETPORT           788 drivers/scsi/aha152x.c 	SETPORT(SIMODE1, 0);
SETPORT           800 drivers/scsi/aha152x.c 	SETPORT(DMACNTRL0, SWINT|INTEN);
SETPORT           811 drivers/scsi/aha152x.c 		SETPORT(DMACNTRL0, INTEN);
SETPORT           821 drivers/scsi/aha152x.c 	SETPORT(SSTAT0, 0x7f);
SETPORT           822 drivers/scsi/aha152x.c 	SETPORT(SSTAT1, 0xef);
SETPORT           881 drivers/scsi/aha152x.c 			SETPORT(SSTAT1, SELTO);
SETPORT           882 drivers/scsi/aha152x.c 			SETPORT(SIMODE0, ENSELDO | (DISCONNECTED_SC ? ENSELDI : 0));
SETPORT           883 drivers/scsi/aha152x.c 			SETPORT(SIMODE1, ENSELTIMO);
SETPORT           885 drivers/scsi/aha152x.c 			SETPORT(SIMODE0, (CURRENT_SC->SCp.phase & spiordy) ? ENSPIORDY : 0);
SETPORT           886 drivers/scsi/aha152x.c 			SETPORT(SIMODE1, ENPHASEMIS | ENSCSIRST | ENSCSIPERR | ENBUSFREE);
SETPORT           889 drivers/scsi/aha152x.c 		SETPORT(SIMODE0, 0);
SETPORT           890 drivers/scsi/aha152x.c 		SETPORT(SIMODE1, ENPHASEMIS | ENSCSIRST | ENSCSIPERR | ENBUSFREE);
SETPORT           892 drivers/scsi/aha152x.c 		SETPORT(SIMODE0, DISCONNECTED_SC ? ENSELDI : 0);
SETPORT           893 drivers/scsi/aha152x.c 		SETPORT(SIMODE1, ENSCSIRST | ( (ISSUE_SC||DONE_SC) ? ENBUSFREE : 0));
SETPORT           963 drivers/scsi/aha152x.c 		SETPORT(PORTA, 1);
SETPORT          1017 drivers/scsi/aha152x.c 			SETPORT(PORTA, 0);
SETPORT          1083 drivers/scsi/aha152x.c 			SETPORT(PORTA, 0);
SETPORT          1147 drivers/scsi/aha152x.c 	SETPORT(SCSISEQ, SCSIRSTO);
SETPORT          1149 drivers/scsi/aha152x.c 	SETPORT(SCSISEQ, 0);
SETPORT          1154 drivers/scsi/aha152x.c 		SETPORT(PORTA, 0);
SETPORT          1179 drivers/scsi/aha152x.c 	SETPORT(DMACNTRL0, RSTFIFO);
SETPORT          1181 drivers/scsi/aha152x.c 	SETPORT(SCSISEQ, 0);
SETPORT          1183 drivers/scsi/aha152x.c 	SETPORT(SXFRCTL1, 0);
SETPORT          1184 drivers/scsi/aha152x.c 	SETPORT(SCSISIG, 0);
SETPORT          1188 drivers/scsi/aha152x.c 	SETPORT(SSTAT0, 0x7f);
SETPORT          1189 drivers/scsi/aha152x.c 	SETPORT(SSTAT1, 0xef);
SETPORT          1191 drivers/scsi/aha152x.c 	SETPORT(SSTAT4, SYNCERR | FWERR | FRERR);
SETPORT          1193 drivers/scsi/aha152x.c 	SETPORT(DMACNTRL0, 0);
SETPORT          1194 drivers/scsi/aha152x.c 	SETPORT(DMACNTRL1, 0);
SETPORT          1196 drivers/scsi/aha152x.c 	SETPORT(BRSTCNTRL, 0xf1);
SETPORT          1199 drivers/scsi/aha152x.c 	SETPORT(SXFRCTL0, CH1|CLRCH1|CLRSTCNT);
SETPORT          1200 drivers/scsi/aha152x.c 	SETPORT(SXFRCTL0, CH1);
SETPORT          1366 drivers/scsi/aha152x.c 	SETPORT(SXFRCTL0, CH1|CLRCH1|CLRSTCNT);
SETPORT          1367 drivers/scsi/aha152x.c 	SETPORT(SXFRCTL0, CH1);
SETPORT          1369 drivers/scsi/aha152x.c 	SETPORT(SSTAT1, CLRBUSFREE);
SETPORT          1422 drivers/scsi/aha152x.c 				SETPORT(PORTA, 0);	/* turn led off */
SETPORT          1451 drivers/scsi/aha152x.c 				SETPORT(PORTA, 0);	/* turn led off */
SETPORT          1482 drivers/scsi/aha152x.c 		SETPORT(SSTAT1, SELTO);
SETPORT          1484 drivers/scsi/aha152x.c 		SETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->device->id);
SETPORT          1485 drivers/scsi/aha152x.c 		SETPORT(SXFRCTL1, (PARITY ? ENSPCHK : 0 ) | ENSTIMER);
SETPORT          1486 drivers/scsi/aha152x.c 		SETPORT(SCSISEQ, ENSELO | ENAUTOATNO | (DISCONNECTED_SC ? ENRESELI : 0));
SETPORT          1491 drivers/scsi/aha152x.c 		SETPORT(SCSISEQ, DISCONNECTED_SC ? ENRESELI : 0);
SETPORT          1507 drivers/scsi/aha152x.c 	SETPORT(SCSISIG, 0);
SETPORT          1508 drivers/scsi/aha152x.c 	SETPORT(SSTAT1, CLRBUSFREE);
SETPORT          1509 drivers/scsi/aha152x.c 	SETPORT(SSTAT1, CLRPHASECHG);
SETPORT          1513 drivers/scsi/aha152x.c 	SETPORT(SCSISEQ, 0);
SETPORT          1522 drivers/scsi/aha152x.c 	SETPORT(SSTAT0, CLRSELDO);
SETPORT          1546 drivers/scsi/aha152x.c 	SETPORT(SCSISEQ, 0);
SETPORT          1547 drivers/scsi/aha152x.c 	SETPORT(SSTAT1, CLRSELTIMO);
SETPORT          1576 drivers/scsi/aha152x.c 	SETPORT(SCSISIG, 0);
SETPORT          1577 drivers/scsi/aha152x.c 	SETPORT(SSTAT0, CLRSELDI);
SETPORT          1578 drivers/scsi/aha152x.c 	SETPORT(SSTAT1, CLRBUSFREE);
SETPORT          1579 drivers/scsi/aha152x.c 	SETPORT(SSTAT1, CLRPHASECHG);
SETPORT          1615 drivers/scsi/aha152x.c 	SETPORT(SCSIID, (shpnt->this_id << OID_) | target);
SETPORT          1616 drivers/scsi/aha152x.c 	SETPORT(SCSISEQ, 0);
SETPORT          1818 drivers/scsi/aha152x.c 		SETPORT(SCSISIG, P_MSGI | SIG_ATNO);
SETPORT          1851 drivers/scsi/aha152x.c 			SETPORT(SSTAT1, CLRATNO);
SETPORT          1864 drivers/scsi/aha152x.c 		SETPORT(SCSIDAT, MSGO(MSGO_I++));
SETPORT          1911 drivers/scsi/aha152x.c 		SETPORT(SCSIDAT, CURRENT_SC->cmnd[CMD_I++]);
SETPORT          1944 drivers/scsi/aha152x.c 	SETPORT(DMACNTRL0, RSTFIFO);
SETPORT          1945 drivers/scsi/aha152x.c 	SETPORT(DMACNTRL0, RSTFIFO|ENDMA);
SETPORT          1947 drivers/scsi/aha152x.c 	SETPORT(SXFRCTL0, CH1|CLRSTCNT);
SETPORT          1948 drivers/scsi/aha152x.c 	SETPORT(SXFRCTL0, CH1|SCSIEN|DMAEN);
SETPORT          1950 drivers/scsi/aha152x.c 	SETPORT(SIMODE0, 0);
SETPORT          1951 drivers/scsi/aha152x.c 	SETPORT(SIMODE1, ENSCSIPERR | ENSCSIRST | ENPHASEMIS | ENBUSFREE);
SETPORT          2003 drivers/scsi/aha152x.c 					SETPORT(DMACNTRL0, ENDMA|_8BIT);
SETPORT          2007 drivers/scsi/aha152x.c 					SETPORT(DMACNTRL0, ENDMA);
SETPORT          2031 drivers/scsi/aha152x.c 			SETPORT(DMACNTRL0, ENDMA|_8BIT);
SETPORT          2038 drivers/scsi/aha152x.c 			SETPORT(DMACNTRL0, ENDMA|_8BIT);
SETPORT          2068 drivers/scsi/aha152x.c 	SETPORT(SXFRCTL0, CH1|CLRSTCNT);
SETPORT          2069 drivers/scsi/aha152x.c 	SETPORT(DMACNTRL0, 0);
SETPORT          2078 drivers/scsi/aha152x.c 	SETPORT(DMACNTRL0, WRITE_READ | RSTFIFO);
SETPORT          2079 drivers/scsi/aha152x.c 	SETPORT(DMACNTRL0, WRITE_READ | ENDMA);
SETPORT          2081 drivers/scsi/aha152x.c 	SETPORT(SXFRCTL0, CH1|CLRSTCNT);
SETPORT          2082 drivers/scsi/aha152x.c 	SETPORT(SXFRCTL0, CH1|SCSIEN|DMAEN);
SETPORT          2084 drivers/scsi/aha152x.c 	SETPORT(SIMODE0, 0);
SETPORT          2085 drivers/scsi/aha152x.c 	SETPORT(SIMODE1, ENSCSIPERR | ENSCSIRST | ENPHASEMIS | ENBUSFREE );
SETPORT          2109 drivers/scsi/aha152x.c 			SETPORT(DMACNTRL0,WRITE_READ|ENDMA|_8BIT);
SETPORT          2110 drivers/scsi/aha152x.c 			SETPORT(DATAPORT, *CURRENT_SC->SCp.ptr++);
SETPORT          2113 drivers/scsi/aha152x.c 			SETPORT(DMACNTRL0,WRITE_READ|ENDMA);
SETPORT          2168 drivers/scsi/aha152x.c 	SETPORT(SXFRCTL0, CH1|CLRCH1|CLRSTCNT);
SETPORT          2169 drivers/scsi/aha152x.c 	SETPORT(SXFRCTL0, CH1);
SETPORT          2171 drivers/scsi/aha152x.c 	SETPORT(DMACNTRL0, 0);
SETPORT          2189 drivers/scsi/aha152x.c 		SETPORT(SCSISEQ,0);
SETPORT          2190 drivers/scsi/aha152x.c 		SETPORT(SSTAT1,SCSIRSTI);
SETPORT          2199 drivers/scsi/aha152x.c 		SETPORT(SSTAT1,BUSFREE);
SETPORT          2202 drivers/scsi/aha152x.c 		SETPORT(SSTAT1,SCSIPERR);
SETPORT          2322 drivers/scsi/aha152x.c 			SETPORT(SXFRCTL0, CH1);
SETPORT          2323 drivers/scsi/aha152x.c 			SETPORT(DMACNTRL0, 0);
SETPORT          2333 drivers/scsi/aha152x.c 			SETPORT(SSTAT0, REQINIT);
SETPORT          2334 drivers/scsi/aha152x.c 			SETPORT(SCSISIG, GETPORT(SCSISIG) & P_MASK);
SETPORT          2335 drivers/scsi/aha152x.c 			SETPORT(SSTAT1, PHASECHG);
SETPORT          2344 drivers/scsi/aha152x.c 			SETPORT(DMACNTRL0, 0);
SETPORT          2345 drivers/scsi/aha152x.c 			SETPORT(SXFRCTL0, CH1|SPIOEN);
SETPORT          2988 drivers/scsi/aha152x.c 	SETPORT(io_port + O_DMACNTRL1, 0);	/* reset stack pointer */
SETPORT          2990 drivers/scsi/aha152x.c 		SETPORT(io_port + O_STACK, i);
SETPORT          2992 drivers/scsi/aha152x.c 	SETPORT(io_port + O_DMACNTRL1, 0);	/* reset stack pointer */
SETPORT          3003 drivers/scsi/aha152x.c 	SETPORT(io_port + O_TC_DMACNTRL1, 0);	/* reset stack pointer */
SETPORT          3005 drivers/scsi/aha152x.c 		SETPORT(io_port + O_STACK, i);
SETPORT          3007 drivers/scsi/aha152x.c 	SETPORT(io_port + O_TC_DMACNTRL1, 0);	/* reset stack pointer */
SETPORT           135 drivers/scsi/aha152x.h #define SETSTCNT(X) { SETPORT(STCNT2, ((X) & 0xFF0000) >> 16); \
SETPORT           136 drivers/scsi/aha152x.h                       SETPORT(STCNT1, ((X) & 0x00FF00) >>  8); \
SETPORT           137 drivers/scsi/aha152x.h                       SETPORT(STCNT0, ((X) & 0x0000FF) ); }
SETPORT           296 drivers/scsi/aha152x.h #define SETRATE(RATE)		SETPORT(SCSIRATE,(RATE) & 0x7f)