Lines Matching refs:interrupt
30 #include <linux/interrupt.h>
316 mr->exception, mr->error, mr->intr_mask, mr->interrupt,
393 out_8(&mr->interrupt, 0xff); /* clear all interrupt bits */
446 MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count));
447 out_8(&mr->interrupt, INT_CMDDONE);
458 MKWORD(mr->interrupt, mr->exception,
463 if (in_8(&mr->interrupt) != 0) {
465 MKWORD(mr->interrupt, mr->exception,
501 if (in_8(&mr->interrupt) != 0) {
503 MKWORD(mr->interrupt, mr->exception,
509 MKWORD(mr->interrupt, mr->exception,
516 if (in_8(&mr->interrupt) != 0)
521 MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count));
522 if (in_8(&mr->interrupt) == 0 && (in_8(&mr->bus_status1) & BS1_SEL)
526 MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count));
530 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
534 for (t = 10; t > 0 && in_8(&mr->interrupt) == 0; --t)
537 MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count));
539 if (in_8(&mr->interrupt) == 0 && (in_8(&mr->bus_status1) & BS1_SEL)
689 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
812 MKWORD(mr->interrupt, mr->exception, mr->error,
907 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
916 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
1011 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
1038 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
1066 out_8(&mr->interrupt, INT_CMDDONE);
1133 out_8(&mr->interrupt, INT_EXCEPTION | INT_CMDDONE);
1493 * wait for the phase mismatch interrupt, then
1504 if (in_8(&mr->interrupt) & (INT_ERROR | INT_EXCEPTION)) {
1508 if (in_8(&mr->interrupt) & INT_ERROR) {
1545 printk(KERN_ERR "mesh: interrupt in idle phase?\n");
1568 * which will give us a phase mismatch interrupt
1589 * had a command complete interrupt. Then, if we
1591 * error interrupt. Which isn't so bad except that
1597 out_8(&mr->interrupt,
1656 * Called to handle interrupts, either call by the interrupt
1669 mr->interrupt, mr->exception, mr->error,
1672 while ((intr = in_8(&mr->interrupt)) != 0) {
1673 dlog(ms, "interrupt intr/err/exc/seq=%.8x",
1680 out_8(&mr->interrupt, INT_CMDDONE);
1828 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
1964 /* Request interrupt */