Lines Matching refs:lirq
248 static void xlp_config_link_msi(uint64_t lnkbase, int lirq, uint64_t msiaddr) in xlp_config_link_msi() argument
275 val |= (1 << 8) | lirq; in xlp_config_link_msi()
299 int msivec, irt, lirq, xirq, ret; in xlp_setup_msi() local
303 lirq = PIC_PCIE_LINK_MSI_IRQ(link); in xlp_setup_msi()
310 xlp_config_link_msi(lnkbase, lirq, msiaddr); in xlp_setup_msi()
316 nlm_setup_pic_irq(node, lirq, lirq, irt); in xlp_setup_msi()
317 nlm_pic_init_irt(nlm_get_node(node)->picbase, irt, lirq, in xlp_setup_msi()
346 static void xlp_config_link_msix(uint64_t lnkbase, int lirq, uint64_t msixaddr) in xlp_config_link_msix() argument
379 val |= (1 << 8) | lirq; in xlp_config_link_msix()
406 int t, msixvec, lirq, xirq, ret; in xlp_setup_msix() local
410 lirq = PIC_PCIE_MSIX_IRQ(link); in xlp_setup_msix()
418 xlp_config_link_msix(lnkbase, lirq, msixaddr); in xlp_setup_msix()
515 void nlm_dispatch_msi(int node, int lirq) in nlm_dispatch_msi() argument
521 link = lirq - PIC_PCIE_LINK_MSI_IRQ_BASE; in nlm_dispatch_msi()
545 void nlm_dispatch_msix(int node, int lirq) in nlm_dispatch_msix() argument
551 link = lirq - PIC_PCIE_MSIX_IRQ_BASE; in nlm_dispatch_msix()