Lines Matching defs:OUTB

888 #define OUTB(r, v)	OUTB_OFF(offsetof(struct sym_reg,r), (v))
892 #define OUTONB(r, m) OUTB(r, INB(r) | (m))
893 #define OUTOFFB(r, m) OUTB(r, INB(r) & ~(m))
2936 OUTB (nc_istat, SIGP|np->istat_sem);
2949 OUTB (nc_istat, SRST);
2951 OUTB (nc_istat, 0);
2969 OUTB (nc_istat, CABRT);
2977 OUTB (nc_istat, 0);
3010 OUTB (nc_stest3, TE);
3011 OUTB (nc_dcntl, (np->rv_dcntl & IRQM));
3012 OUTB (nc_scntl1, CRST);
3045 OUTB (nc_scntl1, 0);
3126 OUTB (nc_stest3, TE|CSF);
3175 OUTB (nc_istat, 0x00 ); /* Remove Reset, abort */
3178 OUTB (nc_scntl0, np->rv_scntl0 | 0xc0);
3180 OUTB (nc_scntl1, 0x00); /* odd parity, and remove CRST!! */
3184 OUTB (nc_scid , RRE|np->myaddr); /* Adapter SCSI address */
3186 OUTB (nc_istat , SIGP ); /* Signal Process */
3187 OUTB (nc_dmode , np->rv_dmode); /* Burst length, dma mode */
3188 OUTB (nc_ctest5, np->rv_ctest5); /* Large fifo + large burst */
3190 OUTB (nc_dcntl , NOCOM|np->rv_dcntl); /* Protect SFBR */
3191 OUTB (nc_ctest3, np->rv_ctest3); /* Write and invalidate */
3192 OUTB (nc_ctest4, np->rv_ctest4); /* Master parity checking */
3196 OUTB (nc_stest2, np->rv_stest2);
3198 OUTB (nc_stest2, EXT|np->rv_stest2);
3200 OUTB (nc_stest3, TE); /* TolerANT enable */
3201 OUTB (nc_stime0, 0x0c); /* HTH disabled STO 0.25 sec */
3207 OUTB (nc_aipcntl1, DISAIP);
3218 OUTB (nc_stest1, INB(nc_stest1) | 0x30);
3226 OUTB (nc_ctest0, (1<<5));
3236 OUTB (nc_ccntl0, np->rv_ccntl0);
3237 OUTB (nc_ccntl1, np->rv_ccntl1);
3254 OUTB(nc_gpcntl, INB(nc_gpcntl) & ~0x01);
3256 OUTB(nc_gpcntl, (INB(nc_gpcntl) & ~0x41) | 0x20);
3262 OUTB (nc_dien , MDPE|BF|SSI|SIR|IID);
3640 OUTB (nc_sxfer, tp->head.sval);
3641 OUTB (nc_scntl3, tp->head.wval);
3644 OUTB (nc_scntl4, tp->head.uval);
3830 OUTB (nc_istat, (istat & SIGP) | INTF | np->istat_sem);
3841 OUTB (nc_istat, CABRT);
3919 OUTB (nc_ctest3, np->rv_ctest3 | CLF); /* clear dma fifo */
3920 OUTB (nc_stest3, TE|CSF); /* clear scsi fifo */
4019 OUTB (nc_ctest3, np->rv_ctest3 | CLF); /* clear dma fifo */
4020 OUTB (nc_stest3, TE|CSF); /* clear scsi fifo */
4286 OUTB (nc_ctest3, np->rv_ctest3 | CLF); /* dma fifo */
4287 OUTB (nc_stest3, TE|CSF); /* scsi fifo */
4412 OUTB (HF_PRT, hflags);
5015 OUTB (nc_istat, SIGP);
5437 OUTB (HF_PRT, hflags);
5620 OUTB (HS_PRT, HS_BUSY);
5730 OUTB (HS_PRT, HS_BUSY);
5860 OUTB (HS_PRT, HS_BUSY);
5912 OUTB (HS_PRT, HS_NEGOTIATE);
5992 OUTB (HS_PRT, HS_BUSY);
6236 OUTB (HS_PRT, HS_BUSY);
6744 OUTB (nc_ctest4, (np->rv_ctest4 & MPEE));
6858 OUTB(nc_scntl3, scntl3);
6865 OUTB(nc_stest1, DBLEN); /* Enable clock multiplier */
6879 OUTB(nc_stest3, HSC); /* Halt the scsi clock */
6880 OUTB(nc_scntl3, scntl3);
6881 OUTB(nc_stest1, (DBLEN|DBLSEL));/* Select clock multiplier */
6882 OUTB(nc_stest3, 0x00); /* Restart scsi clock */
6910 OUTB (nc_dien , 0); /* mask all dma interrupts */
6912 OUTB (nc_scntl3, 4); /* set pre-scaler to divide by 3 */
6913 OUTB (nc_stime1, 0); /* disable general purpose timer */
6914 OUTB (nc_stime1, gen); /* set to nominal delay of 1<<gen * 125us */
6917 OUTB (nc_stime1, 0); /* disable general purpose timer */
6923 OUTB (nc_scntl3, 0);
6984 OUTB (nc_stest1, 0); /* make sure doubler is OFF */
7028 OUTB (nc_stest1, SCLK); /* Use the PCI clock as SCSI clock */
7030 OUTB (nc_stest1, 0);
7380 OUTB (nc_istat, SIGP|SEM);
7407 OUTB (nc_istat, SIGP|SEM);
9230 OUTB (nc_gpreg, *gpreg);
9276 OUTB (nc_gpcntl, *gpcntl & 0xfe);
9278 OUTB (nc_gpcntl, *gpcntl);
9288 OUTB (nc_gpcntl, *gpcntl | 0x01);
9290 OUTB (nc_gpcntl, *gpcntl);
9344 OUTB (nc_gpreg, old_gpreg);
9345 OUTB (nc_gpcntl, gpcntl);
9381 OUTB (nc_gpcntl, gpcntl);
9389 OUTB (nc_gpcntl, gpcntl);
9394 OUTB (nc_gpcntl, old_gpcntl);
9395 OUTB (nc_gpreg, old_gpreg);
9452 OUTB (nc_gpreg, *gpreg | 0x04);
9454 OUTB (nc_gpreg, *gpreg);
9479 OUTB (nc_gpreg, *gpreg);
9491 OUTB (nc_gpreg, *gpreg);
9568 OUTB (nc_gpreg, gpreg);
9570 OUTB (nc_gpcntl, gpcntl);
9577 OUTB (nc_gpcntl, old_gpcntl);
9578 OUTB (nc_gpreg, old_gpreg);