Lines Matching defs:INB

884 #define INB(r)		INB_OFF(offsetof(struct sym_reg,r))
892 #define OUTONB(r, m) OUTB(r, INB(r) | (m))
893 #define OUTOFFB(r, m) OUTB(r, INB(r) & ~(m))
2461 np->sv_scntl0 = INB(nc_scntl0) & 0x0a;
2462 np->sv_scntl3 = INB(nc_scntl3) & 0x07;
2463 np->sv_dmode = INB(nc_dmode) & 0xce;
2464 np->sv_dcntl = INB(nc_dcntl) & 0xa8;
2465 np->sv_ctest3 = INB(nc_ctest3) & 0x01;
2466 np->sv_ctest4 = INB(nc_ctest4) & 0x80;
2467 np->sv_gpcntl = INB(nc_gpcntl);
2468 np->sv_stest1 = INB(nc_stest1);
2469 np->sv_stest2 = INB(nc_stest2) & 0x20;
2470 np->sv_stest4 = INB(nc_stest4);
2472 np->sv_scntl4 = INB(nc_scntl4);
2473 np->sv_ctest5 = INB(nc_ctest5) & 0x04;
2476 np->sv_ctest5 = INB(nc_ctest5) & 0x24;
2663 np->myaddr = INB(nc_scid) & 0x07;
2691 if (!(INB(nc_gpreg) & 0x08))
2971 istat = INB (nc_istat);
2978 INB (nc_dstat);
3023 term = INB(nc_sstat0);
3025 term |= ((INB(nc_sstat2) & 0x01) << 26) | /* sdp1 */
3028 INB(nc_sbcl); /* req ack bsy sel atn msg cd io */
3218 OUTB (nc_stest1, INB(nc_stest1) | 0x30);
3254 OUTB(nc_gpcntl, INB(nc_gpcntl) & ~0x01);
3256 OUTB(nc_gpcntl, (INB(nc_gpcntl) & ~0x41) | 0x20);
3275 np->scsi_mode = INB (nc_stest4) & SMODE;
3556 u_char target = INB (nc_sdid) & 0x0f;
3720 sym_name (np), (unsigned)INB (nc_sdid)&0x0f, dstat, sist,
3721 (unsigned)INB (nc_socl), (unsigned)INB (nc_sbcl),
3722 (unsigned)INB (nc_sbdl), (unsigned)INB (nc_sxfer),
3723 (unsigned)INB (nc_scntl3), script_name, script_ofs,
3828 istat = INB (nc_istat);
3831 istat = INB (nc_istat); /* DUMMY READ */
3861 dstat |= INB (nc_dstat);
3862 istatc = INB (nc_istat);
3868 (int)INB(nc_scr0),
4084 u_char scsi_mode = INB (nc_stest4) & SMODE;
4126 u_char hsts = INB (HS_PRT);
4130 u_char sbcl = INB (nc_sbcl);
4141 if (!(INB (nc_scntl1) & ISCON)) {
4272 ss0 = INB (nc_sstat0);
4277 ss2 = INB (nc_sstat2);
4294 printf ("P%x%x RL=%d D=%d ", cmd&7, INB(nc_sbcl)&7,
4375 cmd&7, INB(nc_sbcl)&7, (unsigned)olen,
4388 hflags0 = INB (HF_PRT);
4429 (INB (nc_scntl2) & WSR)) {
5049 target = (INB (nc_sdid) & 0xf);
5161 target = (INB (nc_sdid) & 0xf);
5421 hflags = INB (HF_PRT);
5619 if (INB (HS_PRT) == HS_NEGOTIATE) {
5729 if (INB (HS_PRT) == HS_NEGOTIATE) {
5859 if (INB (HS_PRT) == HS_NEGOTIATE) {
6000 u_char num = INB (nc_dsps);
6003 u_char target = INB (nc_sdid) & 0x0f;
6209 if (INB (HS_PRT) == HS_NEGOTIATE)
6765 if (INB(nc_istat) & (INTF|SIP|DIP))
6774 dstat = INB (nc_dstat);
6872 while (!(INB(nc_stest4) & LCKFRQ) && --i > 0)
9264 *read_bit = INB (nc_gpreg);
9339 old_gpreg = INB (nc_gpreg);
9340 old_gpcntl = INB (nc_gpcntl);
9464 *read_bit = INB (nc_gpreg);
9509 *read_bit = INB (nc_gpreg);
9562 old_gpreg = INB (nc_gpreg);
9563 old_gpcntl = INB (nc_gpcntl);