Lines Matching full:isi
105 ** intr_pin = iosapic_xlate_pin(isi,pcidev):
106 ** intr_line = find IRT entry(isi, PCI_SLOT(pcidev), intr_pin)
113 ** o locate vector_info (needs: isi, intr_line)
381 irt_find_irqline(struct iosapic_info *isi, u8 slot, u8 intr_pin) in irt_find_irqline() argument
413 if (!COMPARE_IRTE_ADDR(i, isi->isi_hpa)) in irt_find_irqline()
431 isi->isi_hpa, slot, intr_pin); in irt_find_irqline()
451 iosapic_xlate_pin(struct iosapic_info *isi, struct pci_dev *pcidev) in iosapic_xlate_pin() argument
514 return irt_find_irqline(isi, intr_slot, intr_pin); in iosapic_xlate_pin()
699 struct iosapic_info *isi = isi_obj; in iosapic_fixup_irq() local
704 if (!isi) { in iosapic_fixup_irq()
729 /* lookup IRT entry for isi/slot/pin set */ in iosapic_fixup_irq()
730 irte = iosapic_xlate_pin(isi, pcidev); in iosapic_fixup_irq()
749 vi = isi->isi_vector + isi_line; in iosapic_fixup_irq()
776 vi->eoi_addr = isi->addr + IOSAPIC_REG_EOI; in iosapic_fixup_irq()
796 struct iosapic_info *isi; in iosapic_serial_irq() local
804 /* lookup IRT entry for isi/slot/pin set */ in iosapic_serial_irq()
826 for (isi = iosapic_list; isi; isi = isi->isi_next) in iosapic_serial_irq()
827 if (isi->isi_hpa == dev->mod0) in iosapic_serial_irq()
829 if (!isi) in iosapic_serial_irq()
833 vi = isi->isi_vector + intin; in iosapic_serial_irq()
860 vi->eoi_addr = isi->addr + IOSAPIC_REG_EOI; in iosapic_serial_irq()
877 iosapic_rd_version(struct iosapic_info *isi) in iosapic_rd_version() argument
879 return iosapic_read(isi->addr, IOSAPIC_REG_VERSION); in iosapic_rd_version()
895 struct iosapic_info *isi = NULL; in iosapic_register() local
916 isi = kzalloc(sizeof(struct iosapic_info), GFP_KERNEL); in iosapic_register()
917 if (!isi) { in iosapic_register()
922 isi->addr = vaddr; in iosapic_register()
923 isi->isi_hpa = hpa; in iosapic_register()
924 isi->isi_version = iosapic_rd_version(isi); in iosapic_register()
925 isi->isi_num_vectors = IOSAPIC_IRDT_MAX_ENTRY(isi->isi_version) + 1; in iosapic_register()
927 vip = isi->isi_vector = kcalloc(isi->isi_num_vectors, in iosapic_register()
930 kfree(isi); in iosapic_register()
934 for (cnt=0; cnt < isi->isi_num_vectors; cnt++, vip++) { in iosapic_register()
936 vip->iosapic = isi; in iosapic_register()
938 isi->isi_next = iosapic_list; in iosapic_register()
939 iosapic_list = isi; in iosapic_register()
940 return isi; in iosapic_register()
975 iosapic_prt_isi(struct iosapic_info *isi) in iosapic_prt_isi() argument
977 printk(KERN_DEBUG MODULE_NAME ": io_sapic_info at %p\n", isi); in iosapic_prt_isi()
978 printk(KERN_DEBUG "\t\tisi_hpa: %lx\n", isi->isi_hpa); in iosapic_prt_isi()
979 printk(KERN_DEBUG "\t\tisi_status: %x\n", isi->isi_status); in iosapic_prt_isi()
980 printk(KERN_DEBUG "\t\tisi_version: %x\n", isi->isi_version); in iosapic_prt_isi()
981 printk(KERN_DEBUG "\t\tisi_vector: %p\n", isi->isi_vector); in iosapic_prt_isi()