Lines Matching refs:ivec
570 int i, ivec; in pcic_fill_irq() local
597 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_LO); in pcic_fill_irq()
598 dev->irq = ivec >> (i << 2) & 0xF; in pcic_fill_irq()
600 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_HI); in pcic_fill_irq()
601 dev->irq = ivec >> ((i-4) << 2) & 0xF; in pcic_fill_irq()
621 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_HI); in pcic_fill_irq()
622 ivec &= ~(0xF << ((i - 4) << 2)); in pcic_fill_irq()
623 ivec |= p->irq << ((i - 4) << 2); in pcic_fill_irq()
624 writew(ivec, pcic->pcic_regs+PCI_INT_SELECT_HI); in pcic_fill_irq()
626 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_LO); in pcic_fill_irq()
627 ivec &= ~(0xF << (i << 2)); in pcic_fill_irq()
628 ivec |= p->irq << (i << 2); in pcic_fill_irq()
629 writew(ivec, pcic->pcic_regs+PCI_INT_SELECT_LO); in pcic_fill_irq()
723 unsigned int ivec; in pcic_pin_to_irq() local
726 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_LO); in pcic_pin_to_irq()
727 irq = ivec >> (pin << 2) & 0xF; in pcic_pin_to_irq()
729 ivec = readw(pcic->pcic_regs+PCI_INT_SELECT_HI); in pcic_pin_to_irq()
730 irq = ivec >> ((pin-4) << 2) & 0xF; in pcic_pin_to_irq()