Lines Matching refs:INB
3742 np->sv_scntl0 = INB(nc_scntl0) & 0x0a; in ncr_prepare_setting()
3743 np->sv_scntl3 = INB(nc_scntl3) & 0x07; in ncr_prepare_setting()
3744 np->sv_dmode = INB(nc_dmode) & 0xce; in ncr_prepare_setting()
3745 np->sv_dcntl = INB(nc_dcntl) & 0xa8; in ncr_prepare_setting()
3746 np->sv_ctest0 = INB(nc_ctest0) & 0x84; in ncr_prepare_setting()
3747 np->sv_ctest3 = INB(nc_ctest3) & 0x01; in ncr_prepare_setting()
3748 np->sv_ctest4 = INB(nc_ctest4) & 0x80; in ncr_prepare_setting()
3749 np->sv_ctest5 = INB(nc_ctest5) & 0x24; in ncr_prepare_setting()
3750 np->sv_gpcntl = INB(nc_gpcntl); in ncr_prepare_setting()
3751 np->sv_stest2 = INB(nc_stest2) & 0x20; in ncr_prepare_setting()
3752 np->sv_stest4 = INB(nc_stest4); in ncr_prepare_setting()
3883 np->myaddr = INB(nc_scid) & 0x07; in ncr_prepare_setting()
3915 if (INB(nc_gpreg) & 0x08) in ncr_prepare_setting()
4504 term = INB(nc_sstat0); in ncr_reset_scsi_bus()
4506 term |= ((INB(nc_sstat2) & 0x01) << 26) | /* sdp1 */ in ncr_reset_scsi_bus()
4509 INB(nc_sbcl); /* req ack bsy sel atn msg cd io */ in ncr_reset_scsi_bus()
5525 u_char target = INB (nc_sdid) & 0x0f; in ncr_setsync()
5581 u16 target = INB (nc_sdid) & 0x0f; in ncr_setwide()
5772 if (INB(nc_istat) & (INTF|SIP|DIP)) { in ncr_timeout()
5845 ncr_name (np), (unsigned)INB (nc_sdid)&0x0f, dstat, sist, in ncr_log_hard_error()
5846 (unsigned)INB (nc_socl), (unsigned)INB (nc_sbcl), (unsigned)INB (nc_sbdl), in ncr_log_hard_error()
5847 (unsigned)INB (nc_sxfer),(unsigned)INB (nc_scntl3), script_name, script_ofs, in ncr_log_hard_error()
5907 istat = INB (nc_istat); in ncr_exception()
5910 istat = INB (nc_istat); in ncr_exception()
5927 dstat = (istat & DIP) ? INB (nc_dstat) : 0; in ncr_exception()
5931 (int)INB(nc_scr0), in ncr_exception()
6124 u_char scsi_mode = INB (nc_stest4) & SMODE; in ncr_int_sbmc()
6156 u_char hsts = INB (HS_PRT); in ncr_int_par()
6158 u_char sstat1 = INB (nc_sstat1); in ncr_int_par()
6171 if (!(INB (nc_scntl1) & ISCON)) in ncr_int_par()
6251 sbcl = INB (nc_sbcl); in ncr_int_ma()
6265 ctest5 = (np->rv_ctest5 & DFS) ? INB (nc_ctest5) : 0; in ncr_int_ma()
6267 delta=(((ctest5 << 8) | (INB (nc_dfifo) & 0xff)) - rest) & 0x3ff; in ncr_int_ma()
6269 delta=(INB (nc_dfifo) - rest) & 0x7f; in ncr_int_ma()
6279 ss0 = INB (nc_sstat0); in ncr_int_ma()
6282 if (INB(nc_scntl3) & EWS) { in ncr_int_ma()
6283 ss2 = INB (nc_sstat2); in ncr_int_ma()
6542 u_char s_status = INB (SS_PRT); in ncr_sir_to_redo()
6595 INB (nc_ctest2); /* Clear SIGP */ in ncr_sir_to_redo()
6687 u_char num = INB (nc_dsps); in ncr_int_sir()
6690 u_char target = INB (nc_sdid) & 0x0f; in ncr_int_sir()
6920 if (INB (HS_PRT) == HS_NEGOTIATE) { in ncr_int_sir()
7007 if (INB (HS_PRT) == HS_NEGOTIATE) { in ncr_int_sir()
7732 if (INB(nc_istat) & (INTF|SIP|DIP))
7825 while (!(INB(nc_stest4) & LCKFRQ) && --i > 0)
7894 unsigned char scntl3 = INB(nc_scntl3);
7895 unsigned char stest1 = INB(nc_stest1);