Home
last modified time | relevance | path

Searched refs:PCI_SLOT (Results 1 – 25 of 257) sorted by relevance

1234567891011

/linux/arch/alpha/kernel/
A Dsys_miata.c207 slot = PCI_SLOT(dev->devfn); in miata_swizzle()
210 else if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle()
211 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle()
212 slot = PCI_SLOT(dev->devfn) + 9; in miata_swizzle()
218 if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle()
219 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle()
220 slot = PCI_SLOT(dev->devfn) + 9; in miata_swizzle()
228 slot = PCI_SLOT(dev->devfn); in miata_swizzle()
A Dsys_ruffian.c149 slot = PCI_SLOT(dev->devfn); in ruffian_swizzle()
152 else if (PCI_SLOT(dev->bus->self->devfn) == 13) { in ruffian_swizzle()
153 slot = PCI_SLOT(dev->devfn) + 10; in ruffian_swizzle()
159 if (PCI_SLOT(dev->bus->self->devfn) == 13) { in ruffian_swizzle()
160 slot = PCI_SLOT(dev->devfn) + 10; in ruffian_swizzle()
168 slot = PCI_SLOT(dev->devfn); in ruffian_swizzle()
A Dsys_noritake.c230 slot = PCI_SLOT(dev->devfn); in noritake_swizzle()
233 else if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle()
234 slot = PCI_SLOT(dev->devfn) + 15; /* WAG! */ in noritake_swizzle()
240 if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle()
241 slot = PCI_SLOT(dev->devfn) + 15; in noritake_swizzle()
249 slot = PCI_SLOT(dev->devfn); in noritake_swizzle()
A Dsys_sable.c413 slot = PCI_SLOT(dev->devfn); in lynx_swizzle()
416 else if (PCI_SLOT(dev->bus->self->devfn) == 3) { in lynx_swizzle()
417 slot = PCI_SLOT(dev->devfn) + 11; in lynx_swizzle()
423 if (PCI_SLOT(dev->bus->self->devfn) == 3) { in lynx_swizzle()
424 slot = PCI_SLOT(dev->devfn) + 11; in lynx_swizzle()
432 slot = PCI_SLOT(dev->devfn); in lynx_swizzle()
A Dsys_dp264.c433 slot = PCI_SLOT(dev->devfn); in monet_swizzle()
436 else if (hose->index == 1 && PCI_SLOT(dev->bus->self->devfn) == 8) { in monet_swizzle()
437 slot = PCI_SLOT(dev->devfn); in monet_swizzle()
443 PCI_SLOT(dev->bus->self->devfn) == 8) { in monet_swizzle()
444 slot = PCI_SLOT(dev->devfn); in monet_swizzle()
452 slot = PCI_SLOT(dev->devfn); in monet_swizzle()
A Dsys_eiger.c180 slot = PCI_SLOT(dev->devfn); in eiger_swizzle()
184 && (PCI_SLOT(dev->bus->self->devfn) in eiger_swizzle()
186 slot = PCI_SLOT(dev->devfn); in eiger_swizzle()
A Dsys_takara.c183 unsigned int busslot = PCI_SLOT(dev->bus->self->devfn); in takara_map_irq_srm()
216 int slot = PCI_SLOT(dev->devfn); in takara_swizzle()
224 busslot = PCI_SLOT(dev->bus->self->devfn); in takara_swizzle()
/linux/arch/arm/mach-iop32x/
A Dn2100.c79 if (PCI_SLOT(dev->devfn) == 1) { in n2100_pci_map_irq()
82 } else if (PCI_SLOT(dev->devfn) == 2) { in n2100_pci_map_irq()
85 } else if (PCI_SLOT(dev->devfn) == 3) { in n2100_pci_map_irq()
88 } else if (PCI_SLOT(dev->devfn) == 4 && pin == 1) { in n2100_pci_map_irq()
91 } else if (PCI_SLOT(dev->devfn) == 4 && pin == 2) { in n2100_pci_map_irq()
94 } else if (PCI_SLOT(dev->devfn) == 4 && pin == 3) { in n2100_pci_map_irq()
97 } else if (PCI_SLOT(dev->devfn) == 5) { in n2100_pci_map_irq()
103 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in n2100_pci_map_irq()
A Dpci.c42 addr = 1 << (PCI_SLOT(devfn) + 16) | (PCI_SLOT(devfn) << 11); in iop3xx_cfg_address()
44 addr = bus->number << 16 | PCI_SLOT(devfn) << 11 | 1; in iop3xx_cfg_address()
/linux/arch/mips/pci/
A Dops-bcm63xx.c70 slot = PCI_SLOT(devfn); in bcm63xx_setup_cfg_access()
154 if (type == 0 && PCI_SLOT(devfn) == CARDBUS_PCI_IDSEL) in bcm63xx_pci_read()
168 if (type == 0 && PCI_SLOT(devfn) == CARDBUS_PCI_IDSEL) in bcm63xx_pci_write()
367 if (!bus->parent && PCI_SLOT(devfn) == FAKE_CB_BRIDGE_SLOT) { in bcm63xx_cb_read()
378 PCI_SLOT(devfn) == 0) in bcm63xx_cb_read()
389 if (!bus->parent && PCI_SLOT(devfn) == FAKE_CB_BRIDGE_SLOT) { in bcm63xx_cb_write()
396 PCI_SLOT(devfn) == 0) in bcm63xx_cb_write()
438 PCI_SLOT(dev->devfn) == 0) in bcm63xx_fixup()
472 return PCI_SLOT(devfn) == 0; in bcm63xx_pcie_can_access()
474 if (PCI_SLOT(devfn) == 0) in bcm63xx_pcie_can_access()
A Dfixup-rc32434.c43 if (dev->bus->number < 2 && PCI_SLOT(dev->devfn) < 12) in pcibios_map_irq()
44 irq = irq_map[dev->bus->number][PCI_SLOT(dev->devfn)]; in pcibios_map_irq()
51 if (PCI_SLOT(dev->devfn) == 6 && dev->bus->number == 0) { in rc32434_pci_early_fixup()
A Dfixup-lemote2f.c54 if ((PCI_SLOT(dev->devfn) != PCI_IDSEL_CS5536) in pcibios_map_irq()
55 && (PCI_SLOT(dev->devfn) < 32)) { in pcibios_map_irq()
63 } else if (PCI_SLOT(dev->devfn) == PCI_IDSEL_CS5536) { /* cs5536 */ in pcibios_map_irq()
A Dops-vr41xx.c29 if (PCI_SLOT(devfn) < 11 || where > 0xff) in set_pci_configuration_address()
32 writel((1U << PCI_SLOT(devfn)) | (PCI_FUNC(devfn) << 8) | in set_pci_configuration_address()
A Dpci-rt2880.c68 address = rt2880_pci_get_cfgaddr(bus->number, PCI_SLOT(devfn), in rt2880_pci_config_read()
95 address = rt2880_pci_get_cfgaddr(bus->number, PCI_SLOT(devfn), in rt2880_pci_config_write()
175 switch (PCI_SLOT(dev->devfn)) { in pcibios_map_irq()
A Dops-gt64xxx_pci0.c51 if (busnum == 0 && PCI_SLOT(devfn) == 0) { in gt64xxx_pci0_pcibios_config_access()
60 if (busnum == 0 && PCI_SLOT(devfn) == 0) { in gt64xxx_pci0_pcibios_config_access()
/linux/drivers/pci/hotplug/
A Dcpci_hotplug_pci.c247 slot->bus->number, PCI_SLOT(slot->devfn), PCI_FUNC(slot->devfn)); in cpci_configure_slot()
272 if (PCI_SLOT(dev->devfn) == PCI_SLOT(slot->devfn)) in cpci_configure_slot()
299 if (PCI_SLOT(dev->devfn) != PCI_SLOT(slot->devfn)) in cpci_unconfigure_slot()
A Dshpchp_pci.c51 if (PCI_SLOT(dev->devfn) == p_slot->device) in shpchp_configure_device()
76 if (PCI_SLOT(dev->devfn) != p_slot->device) in shpchp_unconfigure_device()
/linux/arch/arm/mach-orion5x/
A Dpci.c82 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) { in pcie_rd_conf()
99 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) { in pcie_rd_conf_wa()
126 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) in pcie_wr_conf()
328 if (PCI_SLOT(devfn) == 0 && PCI_FUNC(devfn) != 0) in orion5x_pci_valid_config()
335 if (orion5x_pci_cardbus_mode && PCI_SLOT(devfn) > 1) in orion5x_pci_valid_config()
350 return orion5x_pci_hw_rd_conf(bus->number, PCI_SLOT(devfn), in orion5x_pci_rd_conf()
360 return orion5x_pci_hw_wr_conf(bus->number, PCI_SLOT(devfn), in orion5x_pci_wr_conf()
/linux/drivers/hwmon/
A Dfam15h_power.c79 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in power1_input_show()
96 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in power1_input_show()
333 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 3), in should_load_on_this_node()
364 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5), in tweak_runavg_range()
372 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5), in tweak_runavg_range()
397 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in fam15h_power_init_data()
/linux/drivers/pci/controller/dwc/
A Dpcie-tegra194-acpi.c77 if (PCI_SLOT(devfn) == 0) in tegra194_map_bus()
83 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | in tegra194_map_bus()
87 if (PCI_SLOT(devfn) == 0) in tegra194_map_bus()
/linux/drivers/xen/xen-pciback/
A Dvpci.c43 if (PCI_SLOT(devfn) < PCI_SLOT_MAX) { in __xen_pcibk_get_pci_dev()
47 &vpci_dev->dev_list[PCI_SLOT(devfn)], in __xen_pcibk_get_pci_dev()
63 && l->bus == r->bus && PCI_SLOT(l->devfn) == PCI_SLOT(r->devfn)) in match_slot()
/linux/arch/arm/plat-orion/
A Dpcie.c212 PCIE_CONF_DEV(PCI_SLOT(devfn)) | in orion_pcie_rd_conf()
231 PCIE_CONF_DEV(PCI_SLOT(devfn)) | in orion_pcie_rd_conf_tlp()
254 PCIE_CONF_DEV(PCI_SLOT(devfn)) | in orion_pcie_rd_conf_wa()
272 PCIE_CONF_DEV(PCI_SLOT(devfn)) | in orion_pcie_wr_conf()
/linux/arch/arm/mach-ixp4xx/
A Dcommon-pci.c170 addr = BIT(32-PCI_SLOT(devfn)) | ((PCI_FUNC(devfn)) << 8) | in ixp4xx_config_addr()
174 addr = (bus_num << 16) | ((PCI_SLOT(devfn)) << 11) | in ixp4xx_config_addr()
244 bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn)); in ixp4xx_pci_read_config()
267 size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn)); in ixp4xx_pci_write_config()
/linux/arch/xtensa/lib/
A Dpci-auto.c134 irq = pci_ctrl->map_irq(dev, PCI_SLOT(devfn), pin); in pciauto_setup_irq()
279 PCI_SLOT(pci_devfn)); in pciauto_bus_scan()
310 current_bus, PCI_SLOT(pci_devfn), PCI_FUNC(pci_devfn)); in pciauto_bus_scan()
/linux/arch/x86/include/asm/
A Damd_nb.h96 PCI_SLOT(misc->devfn) == PCI_SLOT(pdev->devfn)) in amd_pci_dev_to_node_id()

Completed in 39 milliseconds

1234567891011