Lines Matching +full:128 +full:k
110 if (reqlen >= 128 && (inb(qbase + 8) & 2)) { /* full */ in ql_pdma()
112 reqlen -= 128; in ql_pdma()
113 request += 128; in ql_pdma()
147 if (reqlen >= 128 && inb(qbase + 8) & 0x10) { /* empty */ in ql_pdma()
149 reqlen -= 128; in ql_pdma()
150 request += 128; in ql_pdma()
188 int k; in ql_wai() local
192 k = 0; in ql_wai()
195 !((k = inb(qbase + 4)) & 0xe0)) { in ql_wai()
203 if (k & 0x60) in ql_wai()
205 if (k & 0x20) in ql_wai()
207 if (k & 0x40) in ql_wai()
267 unsigned long k; in ql_pcmd() local
338 if ((k = ql_wai(priv))) { in ql_pcmd()
339 set_host_byte(cmd, k); in ql_pcmd()
342 k = inb(qbase + 5); /* should be 0x10, bus service */ in ql_pcmd()
349 k = jiffies + WATCHDOG; in ql_pcmd()
351 while (time_before(jiffies, k) && !priv->qabort && in ql_pcmd()
355 if (time_after_eq(jiffies, k)) { in ql_pcmd()
372 if ((k = ql_wai(priv))) { in ql_pcmd()
373 set_host_byte(cmd, k); in ql_pcmd()
391 if ((k = ql_wai(priv))) { in ql_pcmd()
392 set_host_byte(cmd, k); in ql_pcmd()