Lines Matching defs:OUTB

276 #define	OUTB(r, val) bus_write_1(np->reg_res, offsetof(struct ncr_reg, r), val)
308 #define OUTONB(r, m) OUTB(r, INB(r) | (m))
309 #define OUTOFFB(r, m) OUTB(r, INB(r) & ~(m))
3367 ** Now the INB INW INL OUTB OUTW OUTL macros
3710 OUTB (nc_istat, SRST);
3712 OUTB (nc_istat, 0 );
4151 OUTB (nc_istat, SIGP);
4319 OUTB (nc_scntl1, CRST);
4684 OUTB (nc_istat, SRST);
4686 OUTB (nc_istat, 0);
4720 OUTB (nc_istat, 0x00 ); /* Remove Reset, abort ... */
4721 OUTB (nc_scntl0, 0xca ); /* full arb., ena parity, par->ATN */
4722 OUTB (nc_scntl1, 0x00 ); /* odd parity, and remove CRST!! */
4724 OUTB (nc_scid , RRE|np->myaddr);/* host adapter SCSI address */
4726 OUTB (nc_istat , SIGP ); /* Signal Process */
4727 OUTB (nc_dmode , np->rv_dmode); /* XXX modify burstlen ??? */
4728 OUTB (nc_dcntl , np->rv_dcntl);
4729 OUTB (nc_ctest3, np->rv_ctest3);
4730 OUTB (nc_ctest5, np->rv_ctest5);
4731 OUTB (nc_ctest4, np->rv_ctest4);/* enable master parity checking */
4732 OUTB (nc_stest2, np->rv_stest2|EXT); /* Extended Sreq/Sack filtering */
4733 OUTB (nc_stest3, TE ); /* TolerANT enable */
4734 OUTB (nc_stime0, 0x0b ); /* HTH = disabled, STO = 0.1 sec. */
4770 OUTB (nc_dien , MDPE|BF|ABRT|SSI|SIR|IID);
4945 OUTB (nc_sxfer, sxfer);
4947 OUTB (nc_scntl3, scntl3);
5024 OUTB (nc_sxfer, sxfer);
5026 OUTB (nc_scntl3, scntl3);
5090 OUTB (nc_istat, SIGP);
5251 OUTB (nc_istat, INTF);
5381 OUTB (nc_stest3, TE|CSF); /* clear scsi fifo */
5382 OUTB (nc_ctest3, np->rv_ctest3 | CLF);
5393 OUTB (nc_scntl1, CRST);
5395 OUTB (nc_scntl1, 0x00);
5396 OUTB (nc_scr0, HS_FAIL);
5409 OUTB (nc_scr0, HS_UNEXPECTED);
5431 OUTB (nc_dcntl, np->rv_dcntl | STD);
5455 OUTB (nc_dcntl, np->rv_dcntl | STD);
5469 OUTB (nc_ctest3, np->rv_ctest3 | CLF);
5502 OUTB (nc_istat, SRST);
5634 OUTB (nc_ctest3, np->rv_ctest3 | CLF); /* clear dma fifo */
5635 OUTB (nc_stest3, TE|CSF); /* clear scsi fifo */
5739 OUTB (nc_dcntl, np->rv_dcntl | STD);
5983 OUTB (HS_PRT, HS_BUSY);
6080 OUTB (HS_PRT, HS_BUSY);
6169 OUTB (HS_PRT, HS_BUSY);
6349 OUTB (nc_dcntl, np->rv_dcntl | STD);
6743 OUTB (nc_istat, SRST);
6745 OUTB (nc_istat, 0 );
6877 OUTB(nc_scntl3, scntl3);
6884 OUTB(nc_stest1, DBLEN); /* Enable clock multiplier */
6894 OUTB(nc_stest3, HSC); /* Halt the scsi clock */
6895 OUTB(nc_scntl3, scntl3);
6896 OUTB(nc_stest1, (DBLEN|DBLSEL));/* Select clock multiplier */
6897 OUTB(nc_stest3, 0x00); /* Restart scsi clock */
6922 OUTB (nc_stest1, 0); /* make sure clock doubler is OFF */
6925 OUTB (nc_dien , 0); /* mask all dma interrupts */
6927 OUTB (nc_scntl3, 4); /* set pre-scaler to divide by 3 */
6928 OUTB (nc_stime1, 0); /* disable general purpose timer */
6929 OUTB (nc_stime1, gen); /* set to nominal delay of (1<<gen) * 125us */
6932 OUTB (nc_stime1, 0); /* disable general purpose timer */
6933 OUTB (nc_scntl3, 0);
6939 OUTB (nc_scntl3, 0);
7023 OUTB (nc_gpreg, val);
7025 OUTB (nc_gpreg, val | 0x04);
7027 OUTB (nc_gpreg, val);
7034 OUTB (nc_gpreg, 0x10);
7036 OUTB (nc_gpreg, 0x14);
7048 OUTB (nc_gpreg, 0x10);
7062 OUTB (nc_gpreg, 0x00);