• Home
  • Raw
  • Download

Lines Matching refs:isi

390 irt_find_irqline(struct iosapic_info *isi, u8 slot, u8 intr_pin)  in irt_find_irqline()  argument
422 if (!COMPARE_IRTE_ADDR(i, isi->isi_hpa)) in irt_find_irqline()
440 isi->isi_hpa, slot, intr_pin); in irt_find_irqline()
460 iosapic_xlate_pin(struct iosapic_info *isi, struct pci_dev *pcidev) in iosapic_xlate_pin() argument
523 return irt_find_irqline(isi, intr_slot, intr_pin); in iosapic_xlate_pin()
708 struct iosapic_info *isi = isi_obj; in iosapic_fixup_irq() local
713 if (!isi) { in iosapic_fixup_irq()
739 irte = iosapic_xlate_pin(isi, pcidev); in iosapic_fixup_irq()
758 vi = isi->isi_vector + isi_line; in iosapic_fixup_irq()
785 vi->eoi_addr = isi->addr + IOSAPIC_REG_EOI; in iosapic_fixup_irq()
805 struct iosapic_info *isi; in iosapic_serial_irq() local
835 for (isi = iosapic_list; isi; isi = isi->isi_next) in iosapic_serial_irq()
836 if (isi->isi_hpa == dev->mod0) in iosapic_serial_irq()
838 if (!isi) in iosapic_serial_irq()
842 vi = isi->isi_vector + intin; in iosapic_serial_irq()
869 vi->eoi_addr = isi->addr + IOSAPIC_REG_EOI; in iosapic_serial_irq()
886 iosapic_rd_version(struct iosapic_info *isi) in iosapic_rd_version() argument
888 return iosapic_read(isi->addr, IOSAPIC_REG_VERSION); in iosapic_rd_version()
904 struct iosapic_info *isi = NULL; in iosapic_register() local
925 isi = kzalloc(sizeof(struct iosapic_info), GFP_KERNEL); in iosapic_register()
926 if (!isi) { in iosapic_register()
931 isi->addr = ioremap(hpa, 4096); in iosapic_register()
932 isi->isi_hpa = hpa; in iosapic_register()
933 isi->isi_version = iosapic_rd_version(isi); in iosapic_register()
934 isi->isi_num_vectors = IOSAPIC_IRDT_MAX_ENTRY(isi->isi_version) + 1; in iosapic_register()
936 vip = isi->isi_vector = kcalloc(isi->isi_num_vectors, in iosapic_register()
939 kfree(isi); in iosapic_register()
943 for (cnt=0; cnt < isi->isi_num_vectors; cnt++, vip++) { in iosapic_register()
945 vip->iosapic = isi; in iosapic_register()
947 isi->isi_next = iosapic_list; in iosapic_register()
948 iosapic_list = isi; in iosapic_register()
949 return isi; in iosapic_register()
984 iosapic_prt_isi(struct iosapic_info *isi) in iosapic_prt_isi() argument
986 printk(KERN_DEBUG MODULE_NAME ": io_sapic_info at %p\n", isi); in iosapic_prt_isi()
987 printk(KERN_DEBUG "\t\tisi_hpa: %lx\n", isi->isi_hpa); in iosapic_prt_isi()
988 printk(KERN_DEBUG "\t\tisi_status: %x\n", isi->isi_status); in iosapic_prt_isi()
989 printk(KERN_DEBUG "\t\tisi_version: %x\n", isi->isi_version); in iosapic_prt_isi()
990 printk(KERN_DEBUG "\t\tisi_vector: %p\n", isi->isi_vector); in iosapic_prt_isi()