Lines Matching defs:INB

882 #define INB(r)		INB_OFF(offsetof(struct sym_reg,r))
890 #define OUTONB(r, m) OUTB(r, INB(r) | (m))
891 #define OUTOFFB(r, m) OUTB(r, INB(r) & ~(m))
2459 np->sv_scntl0 = INB(nc_scntl0) & 0x0a;
2460 np->sv_scntl3 = INB(nc_scntl3) & 0x07;
2461 np->sv_dmode = INB(nc_dmode) & 0xce;
2462 np->sv_dcntl = INB(nc_dcntl) & 0xa8;
2463 np->sv_ctest3 = INB(nc_ctest3) & 0x01;
2464 np->sv_ctest4 = INB(nc_ctest4) & 0x80;
2465 np->sv_gpcntl = INB(nc_gpcntl);
2466 np->sv_stest1 = INB(nc_stest1);
2467 np->sv_stest2 = INB(nc_stest2) & 0x20;
2468 np->sv_stest4 = INB(nc_stest4);
2470 np->sv_scntl4 = INB(nc_scntl4);
2471 np->sv_ctest5 = INB(nc_ctest5) & 0x04;
2474 np->sv_ctest5 = INB(nc_ctest5) & 0x24;
2661 np->myaddr = INB(nc_scid) & 0x07;
2689 if (!(INB(nc_gpreg) & 0x08))
2969 istat = INB (nc_istat);
2976 INB (nc_dstat);
3021 term = INB(nc_sstat0);
3023 term |= ((INB(nc_sstat2) & 0x01) << 26) | /* sdp1 */
3026 INB(nc_sbcl); /* req ack bsy sel atn msg cd io */
3216 OUTB (nc_stest1, INB(nc_stest1) | 0x30);
3252 OUTB(nc_gpcntl, INB(nc_gpcntl) & ~0x01);
3254 OUTB(nc_gpcntl, (INB(nc_gpcntl) & ~0x41) | 0x20);
3273 np->scsi_mode = INB (nc_stest4) & SMODE;
3554 u_char target = INB (nc_sdid) & 0x0f;
3718 sym_name (np), (unsigned)INB (nc_sdid)&0x0f, dstat, sist,
3719 (unsigned)INB (nc_socl), (unsigned)INB (nc_sbcl),
3720 (unsigned)INB (nc_sbdl), (unsigned)INB (nc_sxfer),
3721 (unsigned)INB (nc_scntl3), script_name, script_ofs,
3826 istat = INB (nc_istat);
3829 istat = INB (nc_istat); /* DUMMY READ */
3859 dstat |= INB (nc_dstat);
3860 istatc = INB (nc_istat);
3866 (int)INB(nc_scr0),
4082 u_char scsi_mode = INB (nc_stest4) & SMODE;
4124 u_char hsts = INB (HS_PRT);
4128 u_char sbcl = INB (nc_sbcl);
4139 if (!(INB (nc_scntl1) & ISCON)) {
4270 ss0 = INB (nc_sstat0);
4275 ss2 = INB (nc_sstat2);
4292 printf ("P%x%x RL=%d D=%d ", cmd&7, INB(nc_sbcl)&7,
4373 cmd&7, INB(nc_sbcl)&7, (unsigned)olen,
4386 hflags0 = INB (HF_PRT);
4427 (INB (nc_scntl2) & WSR)) {
5047 target = (INB (nc_sdid) & 0xf);
5159 target = (INB (nc_sdid) & 0xf);
5419 hflags = INB (HF_PRT);
5617 if (INB (HS_PRT) == HS_NEGOTIATE) {
5727 if (INB (HS_PRT) == HS_NEGOTIATE) {
5857 if (INB (HS_PRT) == HS_NEGOTIATE) {
5998 u_char num = INB (nc_dsps);
6001 u_char target = INB (nc_sdid) & 0x0f;
6207 if (INB (HS_PRT) == HS_NEGOTIATE)
6763 if (INB(nc_istat) & (INTF|SIP|DIP))
6772 dstat = INB (nc_dstat);
6870 while (!(INB(nc_stest4) & LCKFRQ) && --i > 0)
9267 *read_bit = INB (nc_gpreg);
9342 old_gpreg = INB (nc_gpreg);
9343 old_gpcntl = INB (nc_gpcntl);
9467 *read_bit = INB (nc_gpreg);
9512 *read_bit = INB (nc_gpreg);
9565 old_gpreg = INB (nc_gpreg);
9566 old_gpcntl = INB (nc_gpcntl);