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);
4323 OUTB (nc_scntl1, CRST);
4688 OUTB (nc_istat, SRST);
4690 OUTB (nc_istat, 0);
4724 OUTB (nc_istat, 0x00 ); /* Remove Reset, abort ... */
4725 OUTB (nc_scntl0, 0xca ); /* full arb., ena parity, par->ATN */
4726 OUTB (nc_scntl1, 0x00 ); /* odd parity, and remove CRST!! */
4728 OUTB (nc_scid , RRE|np->myaddr);/* host adapter SCSI address */
4730 OUTB (nc_istat , SIGP ); /* Signal Process */
4731 OUTB (nc_dmode , np->rv_dmode); /* XXX modify burstlen ??? */
4732 OUTB (nc_dcntl , np->rv_dcntl);
4733 OUTB (nc_ctest3, np->rv_ctest3);
4734 OUTB (nc_ctest5, np->rv_ctest5);
4735 OUTB (nc_ctest4, np->rv_ctest4);/* enable master parity checking */
4736 OUTB (nc_stest2, np->rv_stest2|EXT); /* Extended Sreq/Sack filtering */
4737 OUTB (nc_stest3, TE ); /* TolerANT enable */
4738 OUTB (nc_stime0, 0x0b ); /* HTH = disabled, STO = 0.1 sec. */
4774 OUTB (nc_dien , MDPE|BF|ABRT|SSI|SIR|IID);
4949 OUTB (nc_sxfer, sxfer);
4951 OUTB (nc_scntl3, scntl3);
5028 OUTB (nc_sxfer, sxfer);
5030 OUTB (nc_scntl3, scntl3);
5094 OUTB (nc_istat, SIGP);
5255 OUTB (nc_istat, INTF);
5385 OUTB (nc_stest3, TE|CSF); /* clear scsi fifo */
5386 OUTB (nc_ctest3, np->rv_ctest3 | CLF);
5397 OUTB (nc_scntl1, CRST);
5399 OUTB (nc_scntl1, 0x00);
5400 OUTB (nc_scr0, HS_FAIL);
5413 OUTB (nc_scr0, HS_UNEXPECTED);
5435 OUTB (nc_dcntl, np->rv_dcntl | STD);
5459 OUTB (nc_dcntl, np->rv_dcntl | STD);
5473 OUTB (nc_ctest3, np->rv_ctest3 | CLF);
5506 OUTB (nc_istat, SRST);
5638 OUTB (nc_ctest3, np->rv_ctest3 | CLF); /* clear dma fifo */
5639 OUTB (nc_stest3, TE|CSF); /* clear scsi fifo */
5743 OUTB (nc_dcntl, np->rv_dcntl | STD);
5987 OUTB (HS_PRT, HS_BUSY);
6084 OUTB (HS_PRT, HS_BUSY);
6173 OUTB (HS_PRT, HS_BUSY);
6353 OUTB (nc_dcntl, np->rv_dcntl | STD);
6747 OUTB (nc_istat, SRST);
6749 OUTB (nc_istat, 0 );
6881 OUTB(nc_scntl3, scntl3);
6888 OUTB(nc_stest1, DBLEN); /* Enable clock multiplier */
6898 OUTB(nc_stest3, HSC); /* Halt the scsi clock */
6899 OUTB(nc_scntl3, scntl3);
6900 OUTB(nc_stest1, (DBLEN|DBLSEL));/* Select clock multiplier */
6901 OUTB(nc_stest3, 0x00); /* Restart scsi clock */
6926 OUTB (nc_stest1, 0); /* make sure clock doubler is OFF */
6929 OUTB (nc_dien , 0); /* mask all dma interrupts */
6931 OUTB (nc_scntl3, 4); /* set pre-scaler to divide by 3 */
6932 OUTB (nc_stime1, 0); /* disable general purpose timer */
6933 OUTB (nc_stime1, gen); /* set to nominal delay of (1<<gen) * 125us */
6936 OUTB (nc_stime1, 0); /* disable general purpose timer */
6937 OUTB (nc_scntl3, 0);
6943 OUTB (nc_scntl3, 0);
7027 OUTB (nc_gpreg, val);
7029 OUTB (nc_gpreg, val | 0x04);
7031 OUTB (nc_gpreg, val);
7038 OUTB (nc_gpreg, 0x10);
7040 OUTB (nc_gpreg, 0x14);
7052 OUTB (nc_gpreg, 0x10);
7066 OUTB (nc_gpreg, 0x00);