Home
last modified time | relevance | path

Searched refs:ivec (Results 1 – 2 of 2) sorted by relevance

/arch/sparc/kernel/
Dpcic.c527 int i, ivec; in pcic_fill_irq() local
554 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_LO); in pcic_fill_irq()
555 dev->irq = ivec >> (i << 2) & 0xF; in pcic_fill_irq()
557 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_HI); in pcic_fill_irq()
558 dev->irq = ivec >> ((i-4) << 2) & 0xF; in pcic_fill_irq()
578 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_HI); in pcic_fill_irq()
579 ivec &= ~(0xF << ((i - 4) << 2)); in pcic_fill_irq()
580 ivec |= p->irq << ((i - 4) << 2); in pcic_fill_irq()
581 writew(ivec, pcic->pcic_regs+PCI_INT_SELECT_HI); in pcic_fill_irq()
583 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_LO); in pcic_fill_irq()
[all …]
/arch/ia64/sn/kernel/
Dirq.c118 int ivec; in sn_end_irq() local
121 ivec = irq & 0xff; in sn_end_irq()
122 if (ivec == SGI_UART_VECTOR) { in sn_end_irq()
133 __clear_bit(ivec, (volatile void *)pda->sn_in_service_ivecs); in sn_end_irq()