Searched refs:map_irq (Results 1 - 74 of 74) sorted by relevance

/linux-4.4.14/drivers/pci/
H A Dsetup-irq.c27 int (*map_irq)(const struct pci_dev *, u8, u8)) pdev_fixup_irq()
47 irq = (*map_irq)(dev, slot, pin); pdev_fixup_irq()
61 int (*map_irq)(const struct pci_dev *, u8, u8)) pci_fixup_irqs()
66 pdev_fixup_irq(dev, swizzle, map_irq); pci_fixup_irqs()
/linux-4.4.14/arch/sparc/include/asm/
H A Dleon_pci.h16 int (*map_irq)(const struct pci_dev *dev, u8 slot, u8 pin); member in struct:leon_pci_info
/linux-4.4.14/arch/x86/pci/
H A Dxen.c66 struct physdev_map_pirq map_irq; xen_register_pirq() local
77 map_irq.domid = DOMID_SELF; xen_register_pirq()
78 map_irq.type = MAP_PIRQ_TYPE_GSI; xen_register_pirq()
79 map_irq.index = gsi; xen_register_pirq()
80 map_irq.pirq = pirq; xen_register_pirq()
82 rc = HYPERVISOR_physdev_op(PHYSDEVOP_map_pirq, &map_irq); xen_register_pirq()
99 irq = xen_bind_pirq_gsi_to_irq(gsi, map_irq.pirq, shareable, name); xen_register_pirq()
103 printk(KERN_DEBUG "xen: --> pirq=%d -> irq=%d (gsi=%d)\n", map_irq.pirq, irq, gsi); xen_register_pirq()
278 struct physdev_map_pirq map_irq; for_each_pci_msi_entry() local
287 memset(&map_irq, 0, sizeof(map_irq)); for_each_pci_msi_entry()
288 map_irq.domid = domid; for_each_pci_msi_entry()
289 map_irq.type = MAP_PIRQ_TYPE_MSI_SEG; for_each_pci_msi_entry()
290 map_irq.index = -1; for_each_pci_msi_entry()
291 map_irq.pirq = -1; for_each_pci_msi_entry()
292 map_irq.bus = dev->bus->number | for_each_pci_msi_entry()
294 map_irq.devfn = dev->devfn; for_each_pci_msi_entry()
297 map_irq.type = MAP_PIRQ_TYPE_MULTI_MSI; for_each_pci_msi_entry()
298 map_irq.entry_nr = nvec; for_each_pci_msi_entry()
312 map_irq.table_base = pci_resource_start(dev, bir); for_each_pci_msi_entry()
313 map_irq.entry_nr = msidesc->msi_attrib.entry_nr; for_each_pci_msi_entry()
319 &map_irq); for_each_pci_msi_entry()
331 map_irq.type = MAP_PIRQ_TYPE_MSI; for_each_pci_msi_entry()
332 map_irq.index = -1; for_each_pci_msi_entry()
333 map_irq.pirq = -1; for_each_pci_msi_entry()
334 map_irq.bus = dev->bus->number; for_each_pci_msi_entry()
336 &map_irq); for_each_pci_msi_entry()
346 ret = xen_bind_pirq_msi_to_irq(dev, msidesc, map_irq.pirq, for_each_pci_msi_entry()
/linux-4.4.14/arch/arm/mach-footbridge/
H A Debsa285-pci.c32 .map_irq = ebsa285_map_irq,
H A Dcats-pci.c48 .map_irq = cats_map_irq,
H A Dnetwinder-pci.c46 .map_irq = netwinder_map_irq,
H A Dpersonal-pci.c42 .map_irq = personal_server_map_irq,
/linux-4.4.14/arch/arm/mach-ks8695/include/mach/
H A Ddevices.h28 int (*map_irq)(const struct pci_dev *, u8, u8); member in struct:ks8695_pci_cfg
/linux-4.4.14/drivers/pci/host/
H A Dpcie-iproc.h38 * @map_irq: function callback to map interrupts
50 int (*map_irq)(const struct pci_dev *, u8, u8); member in struct:iproc_pcie
H A Dpcie-iproc-bcma.c65 pcie->map_irq = iproc_pcie_bcma_map_irq; iproc_pcie_bcma_probe()
H A Dpcie-iproc-platform.c99 pcie->map_irq = of_irq_parse_and_map_pci; iproc_pcie_pltfm_probe()
H A Dpci-rcar-gen2.c355 hw.map_irq = rcar_pci_map_irq; rcar_pci_probe()
H A Dpcie-iproc.c378 pci_fixup_irqs(pci_common_swizzle, pcie->map_irq); iproc_pcie_setup()
H A Dpcie-xilinx.c849 .map_irq = of_irq_parse_and_map_pci, xilinx_pcie_probe()
H A Dpci-mvebu.c915 hw.map_irq = of_irq_parse_and_map_pci; mvebu_pcie_enable()
H A Dpci-tegra.c1817 hw.map_irq = tegra_pcie_map_irq; tegra_pcie_enable()
/linux-4.4.14/arch/arm/mach-ixp4xx/
H A Dcoyote-pci.c54 .map_irq = coyote_map_irq,
H A Dgateway7001-pci.c53 .map_irq = gateway7001_map_irq,
H A Dixdpg425-pci.c48 .map_irq = ixdpg425_map_irq,
H A Dwg302v2-pci.c52 .map_irq = wg302v2_map_irq,
H A Davila-pci.c71 .map_irq = avila_map_irq,
H A Ddsmg600-pci.c68 .map_irq = dsmg600_map_irq,
H A Dfsg-pci.c65 .map_irq = fsg_map_irq,
H A Dixdp425-pci.c66 .map_irq = ixdp425_map_irq,
H A Dmiccpt-pci.c67 .map_irq = miccpt_map_irq,
H A Dnas100d-pci.c64 .map_irq = nas100d_map_irq,
H A Dnslu2-pci.c60 .map_irq = nslu2_map_irq,
H A Dvulcan-pci.c62 .map_irq = vulcan_map_irq,
H A Dgtwx5715-pci.c73 .map_irq = gtwx5715_map_irq,
H A Dgoramo_mlr.c490 .map_irq = gmlr_map_irq,
/linux-4.4.14/arch/arm/mach-ks8695/
H A Dboard-micrel.c34 .map_irq = micrel_pci_map_irq,
H A Dpci.c238 .map_irq = NULL,
257 ks8695_pci.map_irq = cfg->map_irq; /* board-specific map_irq method */ ks8695_init_pci()
H A Dboard-dsm320.c55 .map_irq = dsm320_pci_map_irq,
H A Dboard-og.c35 .map_irq = og_pci_map_irq,
/linux-4.4.14/arch/arm/include/asm/mach/
H A Dpci.h31 int (*map_irq)(const struct pci_dev *dev, u8 slot, u8 pin); member in struct:hw_pci
54 int (*map_irq)(const struct pci_dev *, u8, u8); member in struct:pci_sys_data
/linux-4.4.14/drivers/of/
H A Dof_pci_irq.c104 * @slot: PCI slot number; passed when used as map_irq callback. Unused
105 * @pin: PCI irq pin number; passed when used as map_irq callback. Unused
108 * function can be used directly as the map_irq callback to pci_fixup_irqs().
/linux-4.4.14/arch/arm/mach-orion5x/
H A Dboard-mss2.c49 .map_irq = mss2_pci_map_irq,
H A Dboard-rd88f5182.c105 .map_irq = rd88f5182_pci_map_irq,
H A Drd88f6183ap-ge-setup.c105 .map_irq = orion5x_pci_map_irq,
H A Drd88f5181l-fxo-setup.c155 .map_irq = rd88f5181l_fxo_pci_map_irq,
H A Drd88f5181l-ge-setup.c167 .map_irq = rd88f5181l_ge_pci_map_irq,
H A Dwnr854t-setup.c162 .map_irq = wnr854t_pci_map_irq,
H A Drd88f5182-setup.c176 .map_irq = rd88f5182_pci_map_irq,
H A Dts409-setup.c145 .map_irq = qnap_ts409_pci_map_irq,
H A Dwrt350n-v2-setup.c250 .map_irq = wrt350n_v2_pci_map_irq,
H A Ddb88f5281-setup.c270 .map_irq = db88f5281_pci_map_irq,
H A Dkurobox_pro-setup.c143 .map_irq = kurobox_pro_pci_map_irq,
H A Dterastation_pro2-setup.c127 .map_irq = tsp2_pci_map_irq,
H A Dts209-setup.c175 .map_irq = qnap_ts209_pci_map_irq,
H A Ddns323-setup.c92 .map_irq = dns323_pci_map_irq,
/linux-4.4.14/arch/xtensa/include/asm/
H A Dpci-bridge.h62 int (*map_irq)(struct pci_dev*, u8, u8); member in struct:pci_controller
/linux-4.4.14/arch/sparc/kernel/
H A Dleon_pci.c43 pci_fixup_irqs(pci_common_swizzle, info->map_irq); leon_pci_init()
H A Dleon_pci_grpci1.c683 priv->info.map_irq = grpci1_map_irq; grpci1_of_probe()
H A Dleon_pci_grpci2.c869 priv->info.map_irq = grpci2_map_irq; grpci2_of_probe()
/linux-4.4.14/arch/arm/mach-iop13xx/
H A Diq81340mc.c59 .map_irq = iq81340mc_pcix_map_irq,
H A Diq81340sc.c62 .map_irq = iq81340sc_atux_map_irq,
H A Dpci.c1066 sys->map_irq = iop13xx_pcie_map_irq; iop13xx_pci_setup()
/linux-4.4.14/arch/xtensa/lib/
H A Dpci-auto.c32 * pci_ctrl->map_irq = <function to return the interrupt number for a device>
147 if (pci_ctrl->map_irq) pciauto_setup_irq()
148 irq = pci_ctrl->map_irq(dev, PCI_SLOT(devfn), pin); pciauto_setup_irq()
/linux-4.4.14/arch/arm/mach-pxa/
H A Dcm-x2xx-pci.c184 .map_irq = cmx2xx_pci_map_irq,
/linux-4.4.14/arch/arm/mach-iop32x/
H A Dglantank.c100 .map_irq = glantank_pci_map_irq,
H A Diq80321.c105 .map_irq = iq80321_pci_map_irq,
H A Diq31244.c134 .map_irq = ep80219_pci_map_irq,
169 .map_irq = iq31244_pci_map_irq,
H A Dem7210.c108 .map_irq = em7210_pci_map_irq,
H A Dn2100.c119 .map_irq = n2100_pci_map_irq,
/linux-4.4.14/arch/arm/mach-iop33x/
H A Diq80331.c87 .map_irq = iq80331_pci_map_irq,
H A Diq80332.c87 .map_irq = iq80332_pci_map_irq,
/linux-4.4.14/drivers/xen/events/
H A Devents_base.c1413 struct physdev_map_pirq map_irq; restore_pirqs() local
1429 map_irq.domid = DOMID_SELF; restore_pirqs()
1430 map_irq.type = MAP_PIRQ_TYPE_GSI; restore_pirqs()
1431 map_irq.index = gsi; restore_pirqs()
1432 map_irq.pirq = pirq; restore_pirqs()
1434 rc = HYPERVISOR_physdev_op(PHYSDEVOP_map_pirq, &map_irq); restore_pirqs()
1442 printk(KERN_DEBUG "xen: --> irq=%d, pirq=%d\n", irq, map_irq.pirq); restore_pirqs()
/linux-4.4.14/arch/arm/kernel/
H A Dbios32.c403 if (sys->map_irq) pcibios_map_irq()
404 irq = sys->map_irq(dev, slot, pin); pcibios_map_irq()
458 sys->map_irq = hw->map_irq; pcibios_init_hw()
/linux-4.4.14/arch/arm/mach-dove/
H A Dpcie.c179 .map_irq = dove_pcie_map_irq,
/linux-4.4.14/arch/arm/mach-mv78xx0/
H A Dpcie.c223 .map_irq = mv78xx0_pcie_map_irq,
/linux-4.4.14/arch/arm/mach-sa1100/
H A Dpci-nanoengine.c191 .map_irq = pci_nanoengine_map_irq,
/linux-4.4.14/arch/arm/mach-versatile/
H A Dpci.c355 .map_irq = versatile_map_irq,
/linux-4.4.14/arch/arm/mach-cns3xxx/
H A Dpcie.c273 .map_irq = cns3xxx_pcie_map_irq, cns3xxx_pcie_init_late()
/linux-4.4.14/arch/arm/mach-integrator/
H A Dpci_v3.c848 pci_v3.map_irq = of_irq_parse_and_map_pci; pci_v3_probe()

Completed in 1261 milliseconds