Lines Matching refs:INB
3754 np->sv_scntl0 = INB(nc_scntl0) & 0x0a; in ncr_prepare_setting()
3755 np->sv_scntl3 = INB(nc_scntl3) & 0x07; in ncr_prepare_setting()
3756 np->sv_dmode = INB(nc_dmode) & 0xce; in ncr_prepare_setting()
3757 np->sv_dcntl = INB(nc_dcntl) & 0xa8; in ncr_prepare_setting()
3758 np->sv_ctest0 = INB(nc_ctest0) & 0x84; in ncr_prepare_setting()
3759 np->sv_ctest3 = INB(nc_ctest3) & 0x01; in ncr_prepare_setting()
3760 np->sv_ctest4 = INB(nc_ctest4) & 0x80; in ncr_prepare_setting()
3761 np->sv_ctest5 = INB(nc_ctest5) & 0x24; in ncr_prepare_setting()
3762 np->sv_gpcntl = INB(nc_gpcntl); in ncr_prepare_setting()
3763 np->sv_stest2 = INB(nc_stest2) & 0x20; in ncr_prepare_setting()
3764 np->sv_stest4 = INB(nc_stest4); in ncr_prepare_setting()
3895 np->myaddr = INB(nc_scid) & 0x07; in ncr_prepare_setting()
3926 if (INB(nc_gpreg) & 0x08) in ncr_prepare_setting()
4513 term = INB(nc_sstat0); in ncr_reset_scsi_bus()
4515 term |= ((INB(nc_sstat2) & 0x01) << 26) | /* sdp1 */ in ncr_reset_scsi_bus()
4518 INB(nc_sbcl); /* req ack bsy sel atn msg cd io */ in ncr_reset_scsi_bus()
5534 u_char target = INB (nc_sdid) & 0x0f; in ncr_setsync()
5590 u16 target = INB (nc_sdid) & 0x0f; in ncr_setwide()
5781 if (INB(nc_istat) & (INTF|SIP|DIP)) { in ncr_timeout()
5854 ncr_name (np), (unsigned)INB (nc_sdid)&0x0f, dstat, sist, in ncr_log_hard_error()
5855 (unsigned)INB (nc_socl), (unsigned)INB (nc_sbcl), (unsigned)INB (nc_sbdl), in ncr_log_hard_error()
5856 (unsigned)INB (nc_sxfer),(unsigned)INB (nc_scntl3), script_name, script_ofs, in ncr_log_hard_error()
5916 istat = INB (nc_istat); in ncr_exception()
5919 istat = INB (nc_istat); in ncr_exception()
5936 dstat = (istat & DIP) ? INB (nc_dstat) : 0; in ncr_exception()
5940 (int)INB(nc_scr0), in ncr_exception()
6133 u_char scsi_mode = INB (nc_stest4) & SMODE; in ncr_int_sbmc()
6165 u_char hsts = INB (HS_PRT); in ncr_int_par()
6167 u_char sstat1 = INB (nc_sstat1); in ncr_int_par()
6180 if (!(INB (nc_scntl1) & ISCON)) in ncr_int_par()
6260 sbcl = INB (nc_sbcl); in ncr_int_ma()
6274 ctest5 = (np->rv_ctest5 & DFS) ? INB (nc_ctest5) : 0; in ncr_int_ma()
6276 delta=(((ctest5 << 8) | (INB (nc_dfifo) & 0xff)) - rest) & 0x3ff; in ncr_int_ma()
6278 delta=(INB (nc_dfifo) - rest) & 0x7f; in ncr_int_ma()
6288 ss0 = INB (nc_sstat0); in ncr_int_ma()
6291 if (INB(nc_scntl3) & EWS) { in ncr_int_ma()
6292 ss2 = INB (nc_sstat2); in ncr_int_ma()
6551 u_char s_status = INB (SS_PRT); in ncr_sir_to_redo()
6604 INB (nc_ctest2); /* Clear SIGP */ in ncr_sir_to_redo()
6696 u_char num = INB (nc_dsps); in ncr_int_sir()
6699 u_char target = INB (nc_sdid) & 0x0f; in ncr_int_sir()
6928 if (INB (HS_PRT) == HS_NEGOTIATE) { in ncr_int_sir()
7015 if (INB (HS_PRT) == HS_NEGOTIATE) { in ncr_int_sir()
7740 if (INB(nc_istat) & (INTF|SIP|DIP))
7833 while (!(INB(nc_stest4) & LCKFRQ) && --i > 0)
7902 unsigned char scntl3 = INB(nc_scntl3);
7903 unsigned char stest1 = INB(nc_stest1);