Lines Matching refs:interrupt

30 #include <linux/interrupt.h>
316 mr->exception, mr->error, mr->intr_mask, mr->interrupt,
384 out_8(&mr->interrupt, 0xff); /* clear all interrupt bits */
437 MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count));
438 out_8(&mr->interrupt, INT_CMDDONE);
449 MKWORD(mr->interrupt, mr->exception,
454 if (in_8(&mr->interrupt) != 0) {
456 MKWORD(mr->interrupt, mr->exception,
492 if (in_8(&mr->interrupt) != 0) {
494 MKWORD(mr->interrupt, mr->exception,
500 MKWORD(mr->interrupt, mr->exception,
507 if (in_8(&mr->interrupt) != 0)
512 MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count));
513 if (in_8(&mr->interrupt) == 0 && (in_8(&mr->bus_status1) & BS1_SEL)
517 MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count));
521 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
525 for (t = 10; t > 0 && in_8(&mr->interrupt) == 0; --t)
528 MKWORD(mr->interrupt, mr->exception, mr->error, mr->fifo_count));
530 if (in_8(&mr->interrupt) == 0 && (in_8(&mr->bus_status1) & BS1_SEL)
683 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
806 MKWORD(mr->interrupt, mr->exception, mr->error,
901 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
910 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
1005 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
1032 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
1060 out_8(&mr->interrupt, INT_CMDDONE);
1127 out_8(&mr->interrupt, INT_EXCEPTION | INT_CMDDONE);
1487 * wait for the phase mismatch interrupt, then
1498 if (in_8(&mr->interrupt) & (INT_ERROR | INT_EXCEPTION)) {
1502 if (in_8(&mr->interrupt) & INT_ERROR) {
1539 printk(KERN_ERR "mesh: interrupt in idle phase?\n");
1562 * which will give us a phase mismatch interrupt
1583 * had a command complete interrupt. Then, if we
1585 * error interrupt. Which isn't so bad except that
1591 out_8(&mr->interrupt,
1651 * Called to handle interrupts, either call by the interrupt
1664 mr->interrupt, mr->exception, mr->error,
1667 while ((intr = in_8(&mr->interrupt)) != 0) {
1668 dlog(ms, "interrupt intr/err/exc/seq=%.8x",
1675 out_8(&mr->interrupt, INT_CMDDONE);
1823 out_8(&mr->interrupt, INT_ERROR | INT_EXCEPTION | INT_CMDDONE);
1955 /* Request interrupt */