Home
last modified time | relevance | path

Searched refs:s0val (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/isdn/hisax/
Dnj_s.c32 u_char val, s1val, s0val; in netjet_s_interrupt() local
55 s0val = bytein(cs->hw.njet.base + NETJET_IRQSTAT0); in netjet_s_interrupt()
56 if ((s0val | s1val)==0) { // shared IRQ in netjet_s_interrupt()
60 if (s0val) in netjet_s_interrupt()
61 byteout(cs->hw.njet.base + NETJET_IRQSTAT0, s0val); in netjet_s_interrupt()
67 s0val = 0x08; in netjet_s_interrupt()
69 s0val = 0x04; in netjet_s_interrupt()
73 s0val |= 0x02; in netjet_s_interrupt()
75 s0val |= 0x01; in netjet_s_interrupt()
76 if (s0val != cs->hw.njet.last_is0) /* we have a DMA interrupt */ in netjet_s_interrupt()
[all …]
Denternow_pci.c246 unsigned char s0val, s1val, ir; in enpci_interrupt() local
260 s0val = inb(cs->hw.njet.base + NETJET_IRQSTAT0); in enpci_interrupt()
261 if ((s0val | s1val)==0) { // shared IRQ in enpci_interrupt()
265 if (s0val) in enpci_interrupt()
266 outb(s0val, cs->hw.njet.base + NETJET_IRQSTAT0); in enpci_interrupt()
273 s0val = 0x08; in enpci_interrupt()
275 s0val = 0x04; in enpci_interrupt()
279 s0val = s0val | 0x02; in enpci_interrupt()
281 s0val = s0val | 0x01; in enpci_interrupt()
282 if (s0val != cs->hw.njet.last_is0) /* we have a DMA interrupt */ in enpci_interrupt()
[all …]
/linux-2.6.39/drivers/isdn/hardware/mISDN/
Dnetjet.c668 u8 val, s1val, s0val; in nj_irq() local
671 s0val = inb(card->base | NJ_IRQSTAT0); in nj_irq()
673 if ((s1val & NJ_ISACIRQ) && (s0val == 0)) { in nj_irq()
678 pr_debug("%s: IRQSTAT0 %02x IRQSTAT1 %02x\n", card->name, s0val, s1val); in nj_irq()
686 if (s0val) in nj_irq()
688 outb(s0val, card->base | NJ_IRQSTAT0); in nj_irq()
691 s1val = s0val; in nj_irq()
696 s0val = 0x08; /* the 2nd write area is free */ in nj_irq()
698 s0val = 0x04; /* the 1st write area is free */ in nj_irq()
703 s0val |= 0x02; /* the 2nd read area is free */ in nj_irq()
[all …]