Lines Matching refs:INB
3714 np->sv_scntl0 = INB(nc_scntl0) & 0x0a; in ncr_prepare_setting()
3715 np->sv_scntl3 = INB(nc_scntl3) & 0x07; in ncr_prepare_setting()
3716 np->sv_dmode = INB(nc_dmode) & 0xce; in ncr_prepare_setting()
3717 np->sv_dcntl = INB(nc_dcntl) & 0xa8; in ncr_prepare_setting()
3718 np->sv_ctest0 = INB(nc_ctest0) & 0x84; in ncr_prepare_setting()
3719 np->sv_ctest3 = INB(nc_ctest3) & 0x01; in ncr_prepare_setting()
3720 np->sv_ctest4 = INB(nc_ctest4) & 0x80; in ncr_prepare_setting()
3721 np->sv_ctest5 = INB(nc_ctest5) & 0x24; in ncr_prepare_setting()
3722 np->sv_gpcntl = INB(nc_gpcntl); in ncr_prepare_setting()
3723 np->sv_stest2 = INB(nc_stest2) & 0x20; in ncr_prepare_setting()
3724 np->sv_stest4 = INB(nc_stest4); in ncr_prepare_setting()
3855 np->myaddr = INB(nc_scid) & 0x07; in ncr_prepare_setting()
3887 if (INB(nc_gpreg) & 0x08) in ncr_prepare_setting()
4472 term = INB(nc_sstat0); in ncr_reset_scsi_bus()
4474 term |= ((INB(nc_sstat2) & 0x01) << 26) | /* sdp1 */ in ncr_reset_scsi_bus()
4477 INB(nc_sbcl); /* req ack bsy sel atn msg cd io */ in ncr_reset_scsi_bus()
5359 u_char target = INB (nc_sdid) & 0x0f; in ncr_setsync()
5415 u16 target = INB (nc_sdid) & 0x0f; in ncr_setwide()
5606 if (INB(nc_istat) & (INTF|SIP|DIP)) { in ncr_timeout()
5679 ncr_name (np), (unsigned)INB (nc_sdid)&0x0f, dstat, sist, in ncr_log_hard_error()
5680 (unsigned)INB (nc_socl), (unsigned)INB (nc_sbcl), (unsigned)INB (nc_sbdl), in ncr_log_hard_error()
5681 (unsigned)INB (nc_sxfer),(unsigned)INB (nc_scntl3), script_name, script_ofs, in ncr_log_hard_error()
5741 istat = INB (nc_istat); in ncr_exception()
5744 istat = INB (nc_istat); in ncr_exception()
5761 dstat = (istat & DIP) ? INB (nc_dstat) : 0; in ncr_exception()
5765 (int)INB(nc_scr0), in ncr_exception()
5958 u_char scsi_mode = INB (nc_stest4) & SMODE; in ncr_int_sbmc()
5990 u_char hsts = INB (HS_PRT); in ncr_int_par()
5992 u_char sstat1 = INB (nc_sstat1); in ncr_int_par()
6005 if (!(INB (nc_scntl1) & ISCON)) in ncr_int_par()
6085 sbcl = INB (nc_sbcl); in ncr_int_ma()
6099 ctest5 = (np->rv_ctest5 & DFS) ? INB (nc_ctest5) : 0; in ncr_int_ma()
6101 delta=(((ctest5 << 8) | (INB (nc_dfifo) & 0xff)) - rest) & 0x3ff; in ncr_int_ma()
6103 delta=(INB (nc_dfifo) - rest) & 0x7f; in ncr_int_ma()
6113 ss0 = INB (nc_sstat0); in ncr_int_ma()
6116 if (INB(nc_scntl3) & EWS) { in ncr_int_ma()
6117 ss2 = INB (nc_sstat2); in ncr_int_ma()
6376 u_char s_status = INB (SS_PRT); in ncr_sir_to_redo()
6429 INB (nc_ctest2); /* Clear SIGP */ in ncr_sir_to_redo()
6521 u_char num = INB (nc_dsps); in ncr_int_sir()
6524 u_char target = INB (nc_sdid) & 0x0f; in ncr_int_sir()
6754 if (INB (HS_PRT) == HS_NEGOTIATE) { in ncr_int_sir()
6841 if (INB (HS_PRT) == HS_NEGOTIATE) { in ncr_int_sir()
7566 if (INB(nc_istat) & (INTF|SIP|DIP))
7659 while (!(INB(nc_stest4) & LCKFRQ) && --i > 0)
7728 unsigned char scntl3 = INB(nc_scntl3);
7729 unsigned char stest1 = INB(nc_stest1);