Lines Matching defs:INB

277 #define	INB(r) bus_space_read_1(np->bst, np->bsh, offsetof(struct ncr_reg, r))
316 #define OUTONB(r, m) OUTB(r, INB(r) | (m))
317 #define OUTOFFB(r, m) OUTB(r, INB(r) & ~(m))
3388 ** Now the INB INW INL OUTB OUTW OUTL macros
3410 np->rv_scntl3 = INB(nc_scntl3) & 0x77;
3411 np->rv_dmode = INB(nc_dmode) & 0xce;
3412 np->rv_dcntl = INB(nc_dcntl) & 0xa9;
3413 np->rv_ctest3 = INB(nc_ctest3) & 0x01;
3414 np->rv_ctest4 = INB(nc_ctest4) & 0x88;
3415 np->rv_ctest5 = INB(nc_ctest5) & 0x24;
3416 np->rv_gpcntl = INB(nc_gpcntl);
3417 np->rv_stest2 = INB(nc_stest2) & 0x20;
3528 if (!(INB(nc_gpreg) & 0x08))
3716 np->myaddr = INB(nc_scid) & 0x07;
3827 if (INB(nc_istat) & (INTF|SIP|DIP)) {
3833 } while (INB(nc_istat) & (INTF|SIP|DIP));
4904 u_int target = INB (nc_sdid) & 0x0f;
5003 u_int target = INB (nc_sdid) & 0x0f;
5173 if (INB(nc_istat) & (INTF|SIP|DIP)) {
5249 ncr_name (np), (unsigned)INB (nc_sdid)&0x0f, dstat, sist,
5250 (unsigned)INB (nc_socl), (unsigned)INB (nc_sbcl), (unsigned)INB (nc_sbdl),
5251 (unsigned)INB (nc_sxfer),(unsigned)INB (nc_scntl3), script_name, script_ofs,
5283 while ((istat = INB (nc_istat)) & INTF) {
5299 dstat = (istat & DIP) ? INB (nc_dstat) : 0;
5304 INB(nc_scr0),
5378 (INB(nc_dsps) <= SIR_MAX)) {
5410 if ( (INB(nc_sstat0) & (ILF|ORF|OLF) ) ||
5411 (INB(nc_sstat1) & (FF3210) ) ||
5412 (INB(nc_sstat2) & (ILF1|ORF1|OLF1)) || /* wide .. */
5460 if (INB(nc_sstat2) & LDSC) {
5474 ncr_name (np), INB (nc_sdid)&0x0f);
5642 ss0 = INB (nc_sstat0);
5643 ss2 = INB (nc_sstat2);
5644 sbcl= INB (nc_sbcl);
5649 ctest5 = (np->rv_ctest5 & DFS) ? INB (nc_ctest5) : 0;
5651 delta=(((ctest5<<8) | (INB (nc_dfifo) & 0xff)) - rest) & 0x3ff;
5653 delta=(INB (nc_dfifo) - rest) & 0x7f;
5666 if (INB(nc_scntl3) & EWS) {
5845 u_char num = INB (nc_dsps);
5848 u_int target = INB (nc_sdid) & 0x0f;
5933 INB(nc_ssid) & 0x0f);
6113 if (INB (HS_PRT) == HS_NEGOTIATE) {
6202 if (INB (HS_PRT) == HS_NEGOTIATE) {
6762 if (INB(nc_istat) & (INTF|SIP|DIP))
6921 while (!(INB(nc_stest4) & LCKFRQ) && --i > 0)
6986 scntl3 = INB(nc_scntl3);
6987 stest1 = INB(nc_stest1);
7071 return INB (nc_gpreg) & 1;
7106 if (INB (nc_gpcntl) != 0x09)