Searched refs:PCI_SLOT (Results 1 - 25 of 250) sorted by relevance

12345678910

/linux-master/arch/mips/pci/
H A Dfixup-rc32434.c43 if (dev->bus->number < 2 && PCI_SLOT(dev->devfn) < 12)
44 irq = irq_map[dev->bus->number][PCI_SLOT(dev->devfn)];
51 if (PCI_SLOT(dev->devfn) == 6 && dev->bus->number == 0) {
H A Dfixup-lemote2f.c54 if ((PCI_SLOT(dev->devfn) != PCI_IDSEL_CS5536)
55 && (PCI_SLOT(dev->devfn) < 32)) {
63 } else if (PCI_SLOT(dev->devfn) == PCI_IDSEL_CS5536) { /* cs5536 */
H A Dops-gt64xxx_pci0.c51 if (busnum == 0 && PCI_SLOT(devfn) == 0) {
60 if (busnum == 0 && PCI_SLOT(devfn) == 0) {
H A Dops-bcm63xx.c70 slot = PCI_SLOT(devfn);
154 if (type == 0 && PCI_SLOT(devfn) == CARDBUS_PCI_IDSEL)
168 if (type == 0 && PCI_SLOT(devfn) == CARDBUS_PCI_IDSEL)
367 if (!bus->parent && PCI_SLOT(devfn) == FAKE_CB_BRIDGE_SLOT) {
378 PCI_SLOT(devfn) == 0)
389 if (!bus->parent && PCI_SLOT(devfn) == FAKE_CB_BRIDGE_SLOT) {
396 PCI_SLOT(devfn) == 0)
438 PCI_SLOT(dev->devfn) == 0)
472 return PCI_SLOT(devfn) == 0;
474 if (PCI_SLOT(devf
[all...]
H A Dfixup-malta.c93 if (PCI_SLOT(pdev->devfn) == 10) {
127 if (PCI_SLOT(pdev->devfn) == 10) {
H A Dpci-bcm47xx.c49 slot = PCI_SLOT(dev->devfn);
H A Dops-rc32434.c50 unsigned int slot = PCI_SLOT(devfn);
104 if (bus->number == 0 && PCI_SLOT(devfn) > 21)
/linux-master/arch/alpha/kernel/
H A Dsys_miata.c208 slot = PCI_SLOT(dev->devfn);
211 else if ((PCI_SLOT(dev->bus->self->devfn) == 8) ||
212 (PCI_SLOT(dev->bus->self->devfn) == 20)) {
213 slot = PCI_SLOT(dev->devfn) + 9;
219 if ((PCI_SLOT(dev->bus->self->devfn) == 8) ||
220 (PCI_SLOT(dev->bus->self->devfn) == 20)) {
221 slot = PCI_SLOT(dev->devfn) + 9;
229 slot = PCI_SLOT(dev->devfn);
H A Dsys_noritake.c230 slot = PCI_SLOT(dev->devfn);
233 else if (PCI_SLOT(dev->bus->self->devfn) == 8) {
234 slot = PCI_SLOT(dev->devfn) + 15; /* WAG! */
240 if (PCI_SLOT(dev->bus->self->devfn) == 8) {
241 slot = PCI_SLOT(dev->devfn) + 15;
249 slot = PCI_SLOT(dev->devfn);
H A Dsys_ruffian.c149 slot = PCI_SLOT(dev->devfn);
152 else if (PCI_SLOT(dev->bus->self->devfn) == 13) {
153 slot = PCI_SLOT(dev->devfn) + 10;
159 if (PCI_SLOT(dev->bus->self->devfn) == 13) {
160 slot = PCI_SLOT(dev->devfn) + 10;
168 slot = PCI_SLOT(dev->devfn);
H A Dsys_sable.c413 slot = PCI_SLOT(dev->devfn);
416 else if (PCI_SLOT(dev->bus->self->devfn) == 3) {
417 slot = PCI_SLOT(dev->devfn) + 11;
423 if (PCI_SLOT(dev->bus->self->devfn) == 3) {
424 slot = PCI_SLOT(dev->devfn) + 11;
432 slot = PCI_SLOT(dev->devfn);
H A Dsys_takara.c183 unsigned int busslot = PCI_SLOT(dev->bus->self->devfn);
216 int slot = PCI_SLOT(dev->devfn);
224 busslot = PCI_SLOT(dev->bus->self->devfn);
H A Dsys_eiger.c180 slot = PCI_SLOT(dev->devfn);
184 && (PCI_SLOT(dev->bus->self->devfn)
186 slot = PCI_SLOT(dev->devfn);
H A Dsys_dp264.c433 slot = PCI_SLOT(dev->devfn);
436 else if (hose->index == 1 && PCI_SLOT(dev->bus->self->devfn) == 8) {
437 slot = PCI_SLOT(dev->devfn);
443 PCI_SLOT(dev->bus->self->devfn) == 8) {
444 slot = PCI_SLOT(dev->devfn);
452 slot = PCI_SLOT(dev->devfn);
/linux-master/include/uapi/linux/
H A Dpci.h32 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) macro
/linux-master/drivers/pci/controller/dwc/
H A Dpcie-tegra194-acpi.c78 if (PCI_SLOT(devfn) == 0)
84 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) |
88 if (PCI_SLOT(devfn) == 0)
/linux-master/drivers/gpu/drm/
H A Ddrm_pci.c60 PCI_SLOT(pdev->devfn),
/linux-master/drivers/pci/hotplug/
H A Dshpchp_pci.c51 if (PCI_SLOT(dev->devfn) == p_slot->device)
76 if (PCI_SLOT(dev->devfn) != p_slot->device)
H A Dcpci_hotplug_pci.c247 slot->bus->number, PCI_SLOT(slot->devfn), PCI_FUNC(slot->devfn));
272 if (PCI_SLOT(dev->devfn) == PCI_SLOT(slot->devfn))
299 if (PCI_SLOT(dev->devfn) != PCI_SLOT(slot->devfn))
/linux-master/arch/x86/include/asm/
H A Damd_nb.h94 PCI_SLOT(misc->devfn) == PCI_SLOT(pdev->devfn))
/linux-master/arch/arm/plat-orion/
H A Dpcie.c212 PCIE_CONF_DEV(PCI_SLOT(devfn)) |
231 PCIE_CONF_DEV(PCI_SLOT(devfn)) |
254 PCIE_CONF_DEV(PCI_SLOT(devfn)) |
272 PCIE_CONF_DEV(PCI_SLOT(devfn)) |
/linux-master/drivers/xen/xen-pciback/
H A Dvpci.c43 if (PCI_SLOT(devfn) < PCI_SLOT_MAX) {
47 &vpci_dev->dev_list[PCI_SLOT(devfn)],
63 && l->bus == r->bus && PCI_SLOT(l->devfn) == PCI_SLOT(r->devfn))
/linux-master/drivers/pci/controller/
H A Dpci-host-generic.c36 if (bus->number == cfg->busr.start && PCI_SLOT(devfn) > 0)
/linux-master/arch/arm/mach-orion5x/
H A Dpci.c79 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) {
96 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) {
123 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0)
328 if (PCI_SLOT(devfn) == 0 && PCI_FUNC(devfn) != 0)
335 if (orion5x_pci_cardbus_mode && PCI_SLOT(devfn) > 1)
350 return orion5x_pci_hw_rd_conf(bus->number, PCI_SLOT(devfn),
360 return orion5x_pci_hw_wr_conf(bus->number, PCI_SLOT(devfn),
/linux-master/drivers/hwmon/
H A Dfam15h_power.c80 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5),
97 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5),
332 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 3),
363 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5),
371 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5),
396 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5),

Completed in 215 milliseconds

12345678910