Lines Matching refs:OUTB
283 #define OUTB(r, val) bus_space_write_1(np->bst, np->bsh, \ macro
318 #define OUTONB(r, m) OUTB(r, INB(r) | (m))
319 #define OUTOFFB(r, m) OUTB(r, INB(r) & ~(m))
3736 OUTB (nc_istat, SRST);
3738 OUTB (nc_istat, 0 );
4162 OUTB (nc_istat, SIGP);
4362 OUTB (nc_scntl1, CRST);
4727 OUTB (nc_istat, SRST);
4729 OUTB (nc_istat, 0);
4762 OUTB (nc_istat, 0x00 ); /* Remove Reset, abort ... */
4763 OUTB (nc_scntl0, 0xca ); /* full arb., ena parity, par->ATN */
4764 OUTB (nc_scntl1, 0x00 ); /* odd parity, and remove CRST!! */
4766 OUTB (nc_scid , RRE|np->myaddr);/* host adapter SCSI address */
4768 OUTB (nc_istat , SIGP ); /* Signal Process */
4769 OUTB (nc_dmode , np->rv_dmode); /* XXX modify burstlen ??? */
4770 OUTB (nc_dcntl , np->rv_dcntl);
4771 OUTB (nc_ctest3, np->rv_ctest3);
4772 OUTB (nc_ctest5, np->rv_ctest5);
4773 OUTB (nc_ctest4, np->rv_ctest4);/* enable master parity checking */
4774 OUTB (nc_stest2, np->rv_stest2|EXT); /* Extended Sreq/Sack filtering */
4775 OUTB (nc_stest3, TE ); /* TolerANT enable */
4776 OUTB (nc_stime0, 0x0b ); /* HTH = disabled, STO = 0.1 sec. */
4812 OUTB (nc_dien , MDPE|BF|ABRT|SSI|SIR|IID);
4986 OUTB (nc_sxfer, sxfer);
4988 OUTB (nc_scntl3, scntl3);
5068 OUTB (nc_sxfer, sxfer);
5070 OUTB (nc_scntl3, scntl3);
5138 OUTB (nc_istat, SIGP);
5300 OUTB (nc_istat, INTF);
5430 OUTB (nc_stest3, TE|CSF); /* clear scsi fifo */
5431 OUTB (nc_ctest3, np->rv_ctest3 | CLF);
5442 OUTB (nc_scntl1, CRST);
5444 OUTB (nc_scntl1, 0x00);
5445 OUTB (nc_scr0, HS_FAIL);
5458 OUTB (nc_scr0, HS_UNEXPECTED);
5480 OUTB (nc_dcntl, np->rv_dcntl | STD);
5505 OUTB (nc_dcntl, np->rv_dcntl | STD);
5519 OUTB (nc_ctest3, np->rv_ctest3 | CLF);
5553 OUTB (nc_istat, SRST);
5686 OUTB (nc_ctest3, np->rv_ctest3 | CLF); /* clear dma fifo */
5687 OUTB (nc_stest3, TE|CSF); /* clear scsi fifo */
5789 OUTB (nc_dcntl, np->rv_dcntl | STD);
6033 OUTB (HS_PRT, HS_BUSY);
6130 OUTB (HS_PRT, HS_BUSY);
6219 OUTB (HS_PRT, HS_BUSY);
6399 OUTB (nc_dcntl, np->rv_dcntl | STD);
6793 OUTB (nc_istat, SRST);
6795 OUTB (nc_istat, 0 );
6927 OUTB(nc_scntl3, scntl3);
6934 OUTB(nc_stest1, DBLEN); /* Enable clock multiplier */
6943 OUTB(nc_stest3, HSC); /* Halt the scsi clock */
6944 OUTB(nc_scntl3, scntl3);
6945 OUTB(nc_stest1, (DBLEN|DBLSEL));/* Select clock multiplier */
6946 OUTB(nc_stest3, 0x00); /* Restart scsi clock */
6971 OUTB (nc_stest1, 0); /* make sure clock doubler is OFF */
6974 OUTB (nc_dien , 0); /* mask all dma interrupts */
6976 OUTB (nc_scntl3, 4); /* set pre-scaler to divide by 3 */
6977 OUTB (nc_stime1, 0); /* disable general purpose timer */
6978 OUTB (nc_stime1, gen); /* set to nominal delay of (1<<gen) * 125us */
6981 OUTB (nc_stime1, 0); /* disable general purpose timer */
6982 OUTB (nc_scntl3, 0);
6988 OUTB (nc_scntl3, 0);
7072 OUTB (nc_gpreg, val);
7074 OUTB (nc_gpreg, val | 0x04);
7076 OUTB (nc_gpreg, val);
7083 OUTB (nc_gpreg, 0x10);
7085 OUTB (nc_gpreg, 0x14);
7097 OUTB (nc_gpreg, 0x10);
7111 OUTB (nc_gpreg, 0x00);