Lines Matching refs:scntl3
2484 static void ncr_selectclock (ncb_p np, u_char scntl3);
2505 static void ncr_setsync (ncb_p np, ccb_p cp, u_char scntl3, u_char sxfer, u_char scntl4);
2509 static void ncr_setsyncwide (ncb_p np, ccb_p cp, u_char scntl3, u_char sxfer, u_char scntl4, u_char…
3325 SCR_LOAD_REL (scntl3, 1),
8118 static void ncr_setsync (ncb_p np, ccb_p cp, u_char scntl3, u_char sxfer, argument
8136 scntl3 = (scntl3 & 0xf0) | (tp->wval & EWS);
8141 if (!scntl3 || !offset)
8142 scntl3 = np->rv_scntl3;
8144 scntl3 = (scntl3 & 0xf0) | (tp->wval & EWS) |
8154 idiv = ((scntl3 >> 4) & 0x7);
8177 if (tp->sval == sxfer && tp->wval == scntl3 && tp->uval == scntl4) return;
8179 tp->wval = scntl3;
8241 u_char scntl3; local
8251 scntl3 = (tp->wval & (~EWS)) | (wide ? EWS : 0);
8258 if (tp->sval == sxfer && tp->wval == scntl3) return;
8260 tp->wval = scntl3;
8267 if (scntl3 & EWS)
8289 static void ncr_setsyncwide (ncb_p np, ccb_p cp, u_char scntl3, u_char sxfer, argument
8308 scntl3 = (scntl3 & 0xf0) | (wide ? EWS : 0);
8313 if (!scntl3 || !offset)
8314 scntl3 = np->rv_scntl3;
8316 scntl3 = (scntl3 & 0xf0) | (wide ? EWS : 0) |
8326 idiv = ((scntl3 >> 4) & 0x7);
8349 if (tp->sval == sxfer && tp->wval == scntl3 && tp->uval == scntl4) return;
8351 tp->wval = scntl3;
10792 u_char scntl3, scntl4; local
10837 scntl3 = 0;
10840 ncr_getsync(np, per, &fak, &scntl3);
10849 scntl3 = 0;
10857 per, scntl3, scntl4, ofs, fak, chg);
10879 ncr_setsync (np, cp, scntl3, (fak<<5)|ofs,0);
10881 ncr_setsync (np, cp, scntl3, ofs, scntl4);
10900 ncr_setsync (np, cp, scntl3, (fak<<5)|ofs,0);
10902 ncr_setsync (np, cp, scntl3, ofs, scntl4);
11036 u_char scntl3, scntl4; local
11086 scntl3 = 0;
11090 ncr_getsync(np, per, &fak, &scntl3);
11099 scntl3 = 0;
11125 wth, per, scntl3, scntl4, ofs, fak, chg);
11156 ncr_setsyncwide (np, cp, scntl3, (fak<<5)|ofs,0, wth);
11158 ncr_setsyncwide (np, cp, scntl3, ofs, scntl4, wth);
11197 ncr_setsyncwide (np, cp, scntl3, (fak<<5)|ofs,0, wth);
11199 ncr_setsyncwide (np, cp, scntl3, ofs, scntl4, wth);
12368 static void ncr_selectclock(ncb_p np, u_char scntl3) argument
12371 OUTB(nc_scntl3, scntl3);
12394 OUTB(nc_scntl3, scntl3);
12477 unsigned char scntl3 = np->sv_scntl3; local
12498 if (np->multiplier != mult || (scntl3 & 7) < 3 || !(scntl3 & 1)) {
12528 if ((scntl3 & 7) == 3) f1 = 40000;
12529 else if ((scntl3 & 7) == 5) f1 = 80000;