• Home
  • Raw
  • Download

Lines Matching refs:inb

84 	x = inb(qbase + 0xd);  in ql_zap()
105 if (reqlen >= 128 && (inb(qbase + 8) & 2)) { /* full */ in ql_pdma()
111 if ((j = inb(qbase + 8)) & 4) in ql_pdma()
117 if (reqlen >= 44 && (inb(qbase + 8) & 8)) { /* 1/3 */ in ql_pdma()
130 while (reqlen && !((j = inb(qbase + 8)) & 0x10)) in ql_pdma()
132 *request++ = inb(qbase + 4); in ql_pdma()
136 j = inb(qbase + 8); in ql_pdma()
142 if (reqlen >= 128 && inb(qbase + 8) & 0x10) { /* empty */ in ql_pdma()
148 if (!((j = inb(qbase + 8)) & 8)) { in ql_pdma()
153 if (reqlen >= 40 && !(inb(qbase + 8) & 4)) { /* 2/3 */ in ql_pdma()
164 while (reqlen && !((j = inb(qbase + 8)) & 2)) in ql_pdma()
170 j = inb(qbase + 8); in ql_pdma()
174 return inb(qbase + 8) & 0xc0; in ql_pdma()
190 !((k = inb(qbase + 4)) & 0xe0)) { in ql_wai()
224 inb(qbase + 5); /* clear interrupts */ in ql_icmd()
225 if (inb(qbase + 5)) /* if still interrupting */ in ql_icmd()
227 else if (inb(qbase + 7) & 0x1f) in ql_icmd()
229 while (inb(qbase + 5)); /* clear ints */ in ql_icmd()
233 inb(qbase + 8); /* clear int bits */ in ql_icmd()
274 j = inb(qbase + 6); in ql_pcmd()
275 i = inb(qbase + 5); in ql_pcmd()
279 i |= inb(qbase + 5); /* the 0x10 bit can be set after the 0x08 */ in ql_pcmd()
294 j, i, inb(qbase + 7) & 0x1f); in ql_pcmd()
299 if (inb(qbase + 7) & 0x1f) /* if some bytes in fifo */ in ql_pcmd()
304 if (reqlen && !((phase = inb(qbase + 4)) & 6)) { /* data phase */ in ql_pcmd()
332 k = inb(qbase + 5); /* should be 0x10, bus service */ in ql_pcmd()
342 !(inb(qbase + 4) & 6)) in ql_pcmd()
351 while (inb(qbase + 5)) in ql_pcmd()
360 i = inb(qbase + 5); /* get chip irq stat */ in ql_pcmd()
361 j = inb(qbase + 7) & 0x1f; /* and bytes rec'd */ in ql_pcmd()
362 status = inb(qbase + 2); in ql_pcmd()
363 message = inb(qbase + 2); in ql_pcmd()
382 i = inb(qbase + 5); /* should be bus service */ in ql_pcmd()
386 i |= inb(qbase + 5); in ql_pcmd()
408 if (!(inb(qbase + 4) & 0x80)) /* false alarm? */ in ql_ihandl()
414 while (i-- && inb(qbase + 5)); /* maybe also ql_zap() */ in ql_ihandl()
536 return inb(qbase + 0xe) & 0xf8; in qlogicfas408_get_chip_type()
556 while (inb(qbase + 0xf) & 4) in qlogicfas408_setup()
570 return (((inb(qbase + 0xe) ^ inb(qbase + 0xe)) == 7) && in qlogicfas408_detect()
571 ((inb(qbase + 0xe) ^ inb(qbase + 0xe)) == 7)); in qlogicfas408_detect()