/linux-master/include/uapi/linux/ |
H A D | pci.h | 31 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | vlv_sideband.c | 131 vlv_sideband_rw(i915, PCI_DEVFN(0, 0), IOSF_PORT_PUNIT, 139 return vlv_sideband_rw(i915, PCI_DEVFN(0, 0), IOSF_PORT_PUNIT, 147 vlv_sideband_rw(i915, PCI_DEVFN(0, 0), IOSF_PORT_BUNIT, 155 vlv_sideband_rw(i915, PCI_DEVFN(0, 0), IOSF_PORT_BUNIT, 163 vlv_sideband_rw(i915, PCI_DEVFN(0, 0), IOSF_PORT_NC, 173 vlv_sideband_rw(i915, PCI_DEVFN(0, 0), IOSF_PORT_CCK, 181 vlv_sideband_rw(i915, PCI_DEVFN(0, 0), IOSF_PORT_CCK, 189 vlv_sideband_rw(i915, PCI_DEVFN(0, 0), IOSF_PORT_CCU, 197 vlv_sideband_rw(i915, PCI_DEVFN(0, 0), IOSF_PORT_CCU,
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramnv1a.c | 40 bridge = pci_get_domain_bus_and_slot(domain, 0, PCI_DEVFN(0, 1));
|
/linux-master/arch/mips/pci/ |
H A D | pci-bcm1480.c | 214 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 226 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40)); 227 WRITECFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40), 229 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40));
|
H A D | fixup-cobalt.c | 56 if (dev->devfn == PCI_DEVFN(0, 0) && 93 if (dev->devfn != PCI_DEVFN(0, 0))
|
H A D | pci-sb1250.c | 225 (0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 254 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(LDT_BRIDGE_DEVICE, 0),
|
H A D | ops-loongson2.c | 187 u32 devfn = PCI_DEVFN(PCI_IDSEL_CS5536, 0); 203 u32 devfn = PCI_DEVFN(PCI_IDSEL_CS5536, 0);
|
H A D | ops-gt64xxx_pci0.c | 36 if ((busnum == 0) && (devfn >= PCI_DEVFN(31, 0)))
|
H A D | ops-sni.c | 29 if (busno == 0 && devfn >= PCI_DEVFN(8, 0))
|
/linux-master/drivers/acpi/ |
H A D | reboot.c | 21 devfn = PCI_DEVFN((rr->address >> 32) & 0xffff,
|
/linux-master/drivers/pci/hotplug/ |
H A D | shpchp_pci.c | 33 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0)); 43 num = pci_scan_slot(parent, PCI_DEVFN(p_slot->device, 0));
|
H A D | pciehp_pci.c | 41 dev = pci_get_slot(parent, PCI_DEVFN(0, 0)); 54 num = pci_scan_slot(parent, PCI_DEVFN(0, 0));
|
H A D | cpqphp_pci.c | 79 PCI_DEVFN(func->device, 86 num = pci_scan_slot(ctrl->pci_dev->bus, PCI_DEVFN(func->device, func->function)); 91 PCI_DEVFN(func->device, 124 PCI_DEVFN(func->device, 228 pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(tdevice, 0), PCI_SECONDARY_BUS, &tbus); 336 rc = pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(device, 0), PCI_VENDOR_ID, &ID); 357 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, 0), 0x0B, &class_code); 361 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, 0), PCI_HEADER_TYPE, &header_type); 379 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, function), PCI_SECONDARY_BUS, &secondary_bus); 420 rc = pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(devic [all...] |
/linux-master/arch/x86/pci/ |
H A D | numachip.c | 116 ret = raw_pci_read(0, 0, PCI_DEVFN(0x18, 0), 0x60, sizeof(val), &val); 121 limit = PCI_DEVFN(0x18 + ((val >> 4) & 7) + 1, 0);
|
H A D | intel_mid_pci.c | 164 if (bus == 0 && (devfn == PCI_DEVFN(2, 0) 165 || devfn == PCI_DEVFN(0, 0) 166 || devfn == PCI_DEVFN(3, 0))) 396 if (!offset || PCI_DEVFN(2, 0) == dev->devfn || 397 PCI_DEVFN(2, 2) == dev->devfn)
|
H A D | mmconfig-shared.c | 133 raw_pci_ops->read(0, 0, PCI_DEVFN(0, 0), 0xce, 2, &win); 149 raw_pci_ops->read(0, 0, PCI_DEVFN(0, 0), 0x48, 4, &pciexbar); 273 raw_pci_ops->read(0, bus, PCI_DEVFN(0, 0), 0, 4, &l); 280 raw_pci_ops->read(0, bus, PCI_DEVFN(0, 0), extcfg_regnum, 312 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_INTEL, 314 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_INTEL, 316 { 0, PCI_DEVFN(0x18, 0), PCI_VENDOR_ID_AMD, 318 { 0xff, PCI_DEVFN(0, 0), PCI_VENDOR_ID_AMD, 320 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_NVIDIA,
|
H A D | ce4100.c | 49 { PCI_DEVFN(device, func), offset, init_op, read_op, write_op,\ 74 pci_direct_conf1.read(0, 1, PCI_DEVFN(14, 0), 0x10, 4, 271 if (bus == 0 && (PCI_DEVFN(1, 0) == devfn) && 306 if (bus == 0 && PCI_DEVFN(1, 0) == devfn &&
|
/linux-master/drivers/platform/x86/ |
H A D | p2sb.c | 22 #define P2SB_DEVFN_DEFAULT PCI_DEVFN(31, 1) 23 #define P2SB_DEVFN_GOLDMONT PCI_DEVFN(13, 0) 24 #define SPI_DEVFN_GOLDMONT PCI_DEVFN(13, 2)
|
/linux-master/drivers/clk/x86/ |
H A D | clk-fch.c | 54 rdev = pci_get_domain_bus_and_slot(0, 0, PCI_DEVFN(0, 0)); 100 rdev = pci_get_domain_bus_and_slot(0, 0, PCI_DEVFN(0, 0));
|
/linux-master/drivers/power/reset/ |
H A D | piix4-poweroff.c | 53 spec_devid = PCI_DEVID(0, PCI_DEVFN(0x1f, 0x7));
|
/linux-master/drivers/hwmon/ |
H A D | fam15h_power.c | 80 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),
|
/linux-master/drivers/pcmcia/ |
H A D | cardbus.c | 74 s->functions = pci_scan_slot(bus, PCI_DEVFN(0, 0));
|
/linux-master/drivers/edac/ |
H A D | skx_base.c | 69 { 0x2040, { PCI_DEVFN(10, 0), PCI_DEVFN(12, 0) }, 2, 2, CHAN0 }, 70 { 0x2044, { PCI_DEVFN(10, 4), PCI_DEVFN(12, 4) }, 2, 2, CHAN1 }, 71 { 0x2048, { PCI_DEVFN(11, 0), PCI_DEVFN(13, 0) }, 2, 2, CHAN2 }, 72 { 0x2043, { PCI_DEVFN(10, 3), PCI_DEVFN(12, 3) }, 2, 2, ERRCHAN0 }, 73 { 0x2047, { PCI_DEVFN(10, 7), PCI_DEVFN(1 [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | sys_sio.c | 92 pci_bus_read_config_dword(pci_isa_hose->bus, PCI_DEVFN(7, 0), 0x60, 102 pci_bus_write_config_dword(pci_isa_hose->bus, PCI_DEVFN(7, 0), 0x60, 323 pci_bus_write_config_dword(pci_isa_hose->bus, PCI_DEVFN(7, 0), 0x60,
|
/linux-master/arch/powerpc/kernel/ |
H A D | pci-hotplug.c | 133 pci_scan_slot(bus, PCI_DEVFN(slotno, 0));
|