Searched refs:s0val (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/isdn/hisax/ |
H A D | nj_s.c | 32 u_char val, s1val, s0val; netjet_s_interrupt() local 55 s0val = bytein(cs->hw.njet.base + NETJET_IRQSTAT0); netjet_s_interrupt() 56 if ((s0val | s1val) == 0) { // shared IRQ netjet_s_interrupt() 60 if (s0val) netjet_s_interrupt() 61 byteout(cs->hw.njet.base + NETJET_IRQSTAT0, s0val); netjet_s_interrupt() 67 s0val = 0x08; netjet_s_interrupt() 69 s0val = 0x04; netjet_s_interrupt() 73 s0val |= 0x02; netjet_s_interrupt() 75 s0val |= 0x01; netjet_s_interrupt() 76 if (s0val != cs->hw.njet.last_is0) /* we have a DMA interrupt */ netjet_s_interrupt() 79 printk(KERN_WARNING "nj LOCK_ATOMIC s0val %x->%x\n", netjet_s_interrupt() 80 cs->hw.njet.last_is0, s0val); netjet_s_interrupt() 84 cs->hw.njet.irqstat0 = s0val; netjet_s_interrupt()
|
H A D | enternow_pci.c | 246 unsigned char s0val, s1val, ir; enpci_interrupt() local 260 s0val = inb(cs->hw.njet.base + NETJET_IRQSTAT0); enpci_interrupt() 261 if ((s0val | s1val) == 0) { // shared IRQ enpci_interrupt() 265 if (s0val) enpci_interrupt() 266 outb(s0val, cs->hw.njet.base + NETJET_IRQSTAT0); enpci_interrupt() 273 s0val = 0x08; enpci_interrupt() 275 s0val = 0x04; enpci_interrupt() 279 s0val = s0val | 0x02; enpci_interrupt() 281 s0val = s0val | 0x01; enpci_interrupt() 282 if (s0val != cs->hw.njet.last_is0) /* we have a DMA interrupt */ enpci_interrupt() 288 cs->hw.njet.irqstat0 = s0val; enpci_interrupt()
|
/linux-4.4.14/drivers/isdn/hardware/mISDN/ |
H A D | netjet.c | 692 u8 val, s1val, s0val; nj_irq() local 695 s0val = inb(card->base | NJ_IRQSTAT0); nj_irq() 697 if ((s1val & NJ_ISACIRQ) && (s0val == 0)) { nj_irq() 702 pr_debug("%s: IRQSTAT0 %02x IRQSTAT1 %02x\n", card->name, s0val, s1val); nj_irq() 710 if (s0val) nj_irq() 712 outb(s0val, card->base | NJ_IRQSTAT0); nj_irq() 715 s1val = s0val; nj_irq() 720 s0val = 0x08; /* the 2nd write area is free */ nj_irq() 722 s0val = 0x04; /* the 1st write area is free */ nj_irq() 727 s0val |= 0x02; /* the 2nd read area is free */ nj_irq() 729 s0val |= 0x01; /* the 1st read area is free */ nj_irq() 732 s1val, s0val, card->last_is0, nj_irq() 735 if (s0val != card->last_is0) { nj_irq() 736 if ((s0val & NJ_IRQM0_RD_MASK) != nj_irq() 739 send_tiger(card, s0val); nj_irq() 740 if ((s0val & NJ_IRQM0_WR_MASK) != nj_irq() 743 recv_tiger(card, s0val); nj_irq()
|
Completed in 129 milliseconds