Lines Matching full:msi

2 /* pci_msi.c: Sparc64 MSI support common layer.
30 unsigned long msi; in sparc64_msiq_interrupt() local
32 err = ops->dequeue_msi(pbm, msiqid, &head, &msi); in sparc64_msiq_interrupt()
36 irq = pbm->msi_irq_table[msi - pbm->msi_first]; in sparc64_msiq_interrupt()
54 printk(KERN_EMERG "MSI: Get head on msiqid[%lu] gives error %d\n", in sparc64_msiq_interrupt()
59 printk(KERN_EMERG "MSI: Dequeue head[%lu] from msiqid[%lu] " in sparc64_msiq_interrupt()
65 printk(KERN_EMERG "MSI: Set head[%lu] on msiqid[%lu] " in sparc64_msiq_interrupt()
114 .name = "PCI-MSI",
129 int msi, err; in sparc64_setup_msi_irq() local
138 "MSI"); in sparc64_setup_msi_irq()
144 msi = err; in sparc64_setup_msi_irq()
148 err = ops->msi_setup(pbm, msiqid, msi, in sparc64_setup_msi_irq()
153 pbm->msi_irq_table[msi - pbm->msi_first] = *irq_p; in sparc64_setup_msi_irq()
162 msg.data = msi; in sparc64_setup_msi_irq()
170 free_msi(pbm, msi); in sparc64_setup_msi_irq()
194 pci_err(pdev, "%s: teardown: No MSI for irq %u\n", pbm->name, in sparc64_teardown_msi_irq()
204 pci_err(pdev, "%s: teardown: ops->teardown() on MSI %u, " in sparc64_teardown_msi_irq()
326 val = of_get_property(pbm->op->dev.of_node, "#msi-eqs", &len); in sparc64_pbm_msi_init()
349 val = of_get_property(pbm->op->dev.of_node, "msi-eq-size", &len); in sparc64_pbm_msi_init()
356 "msi-eq-to-devino", &len); in sparc64_pbm_msi_init()
359 "msi-eq-devino", &len); in sparc64_pbm_msi_init()
366 val = of_get_property(pbm->op->dev.of_node, "#msi", &len); in sparc64_pbm_msi_init()
371 mrng = of_get_property(pbm->op->dev.of_node, "msi-ranges", &len); in sparc64_pbm_msi_init()
376 val = of_get_property(pbm->op->dev.of_node, "msi-data-mask", &len); in sparc64_pbm_msi_init()
386 arng = of_get_property(pbm->op->dev.of_node, "msi-address-ranges", in sparc64_pbm_msi_init()
418 printk(KERN_INFO "%s: MSI Queue first[%u] num[%u] count[%u] " in sparc64_pbm_msi_init()
424 printk(KERN_INFO "%s: MSI first[%u] num[%u] mask[0x%x] " in sparc64_pbm_msi_init()
429 printk(KERN_INFO "%s: MSI addr32[0x%llx:0x%x] " in sparc64_pbm_msi_init()
434 printk(KERN_INFO "%s: MSI queues at RA [%016lx]\n", in sparc64_pbm_msi_init()
446 printk(KERN_INFO "%s: No MSI support.\n", pbm->name); in sparc64_pbm_msi_init()