Home
last modified time | relevance | path

Searched refs:PCI_DEVFN (Results 1 – 108 of 108) sorted by relevance

/linux-4.1.27/arch/mn10300/unit-asb2305/
Dpci.c71 return bus->number == 0 && (devfn == PCI_DEVFN(0, 0)); in __query()
74 (devfn == PCI_DEVFN(2, 0) || devfn == PCI_DEVFN(3, 0)); in __query()
87 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_ampci_read_config_byte()
107 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_ampci_read_config_word()
127 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_ampci_read_config_dword()
147 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_ampci_write_config_byte()
152 (devfn == PCI_DEVFN(2, 0) || devfn == PCI_DEVFN(3, 0)) in pci_ampci_write_config_byte()
167 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_ampci_write_config_word()
185 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_ampci_write_config_dword()
417 o->read (bus, PCI_DEVFN(2, 0), PCI_VENDOR_ID, 4, &x); in unit_disable_pcnet()
[all …]
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_sideband.c85 vlv_sideband_rw(dev_priv, PCI_DEVFN(0, 0), IOSF_PORT_PUNIT, in vlv_punit_read()
97 vlv_sideband_rw(dev_priv, PCI_DEVFN(0, 0), IOSF_PORT_PUNIT, in vlv_punit_write()
106 vlv_sideband_rw(dev_priv, PCI_DEVFN(0, 0), IOSF_PORT_BUNIT, in vlv_bunit_read()
114 vlv_sideband_rw(dev_priv, PCI_DEVFN(0, 0), IOSF_PORT_BUNIT, in vlv_bunit_write()
125 vlv_sideband_rw(dev_priv, PCI_DEVFN(0, 0), IOSF_PORT_NC, in vlv_nc_read()
135 vlv_sideband_rw(dev_priv, PCI_DEVFN(0, 0), IOSF_PORT_GPIO_NC, in vlv_gpio_nc_read()
142 vlv_sideband_rw(dev_priv, PCI_DEVFN(0, 0), IOSF_PORT_GPIO_NC, in vlv_gpio_nc_write()
149 vlv_sideband_rw(dev_priv, PCI_DEVFN(0, 0), IOSF_PORT_CCK, in vlv_cck_read()
156 vlv_sideband_rw(dev_priv, PCI_DEVFN(0, 0), IOSF_PORT_CCK, in vlv_cck_write()
163 vlv_sideband_rw(dev_priv, PCI_DEVFN(0, 0), IOSF_PORT_CCU, in vlv_ccu_read()
[all …]
Di915_dma.c212 dev_priv->bridge_dev = pci_get_bus_and_slot(0, PCI_DEVFN(0, 0)); in i915_get_bridge_dev()
/linux-4.1.27/drivers/hwmon/
Dfam15h_power.c60 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in show_power()
66 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in show_power()
124 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 3), in fam15h_power_is_internal_node0()
155 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5), in tweak_runavg_range()
163 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5), in tweak_runavg_range()
187 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in fam15h_power_init_data()
Dk10temp.c83 amd_nb_smu_index_read(pdev, PCI_DEVFN(0, 0), in show_temp()
171 PCI_DEVFN(PCI_SLOT(pdev->devfn), 2), in has_erratum_319()
Dcoretemp.c249 struct pci_dev *host_bridge = pci_get_bus_and_slot(0, PCI_DEVFN(0, 0)); in adjust_tjmax()
/linux-4.1.27/drivers/pci/hotplug/
Dcpqphp_pci.c92 func->pci_dev = pci_get_bus_and_slot(func->bus,PCI_DEVFN(func->device, func->function)); in cpqhp_configure_device()
98 num = pci_scan_slot(ctrl->pci_dev->bus, PCI_DEVFN(func->device, func->function)); in cpqhp_configure_device()
102 func->pci_dev = pci_get_bus_and_slot(func->bus, PCI_DEVFN(func->device, func->function)); in cpqhp_configure_device()
132 struct pci_dev *temp = pci_get_bus_and_slot(func->bus, PCI_DEVFN(func->device, j)); in cpqhp_unconfigure_device()
233 pci_bus_read_config_byte (ctrl->pci_bus, PCI_DEVFN(tdevice, 0), PCI_SECONDARY_BUS, &tbus); in PCI_ScanBusForNonBridge()
340 rc = pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(device, 0), PCI_VENDOR_ID, &ID); in cpqhp_save_config()
361 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, 0), 0x0B, &class_code); in cpqhp_save_config()
365 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, 0), PCI_HEADER_TYPE, &header_type); in cpqhp_save_config()
383 …rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, function), PCI_SECONDARY_BUS, &seco… in cpqhp_save_config()
422 …rc = pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(device, function), cloop << 2, (u32 *) & (… in cpqhp_save_config()
[all …]
Dshpchp_pci.c47 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0)); in shpchp_configure_device()
57 num = pci_scan_slot(parent, PCI_DEVFN(p_slot->device, 0)); in shpchp_configure_device()
Dpciehp_pci.c47 dev = pci_get_slot(parent, PCI_DEVFN(0, 0)); in pciehp_configure_device()
56 num = pci_scan_slot(parent, PCI_DEVFN(0, 0)); in pciehp_configure_device()
Dibmphp_pci.c107 unsigned int devfn = PCI_DEVFN(device, function); in ibmphp_configure_card()
371 devfn = PCI_DEVFN(func->device, func->function); in configure_device()
414 io[count]->devfunc = PCI_DEVFN(func->device, func->function); in configure_device()
451 pfmem[count]->devfunc = PCI_DEVFN(func->device, in configure_device()
517 mem[count]->devfunc = PCI_DEVFN(func->device, in configure_device()
602 devfn = PCI_DEVFN(func->function, func->device); in configure_bridge()
683 bus_io[count]->devfunc = PCI_DEVFN(func->device, in configure_bridge()
715 bus_pfmem[count]->devfunc = PCI_DEVFN(func->device, in configure_bridge()
772 bus_mem[count]->devfunc = PCI_DEVFN(func->device, in configure_bridge()
843 io->devfunc = PCI_DEVFN(func->device, func->function); in configure_bridge()
[all …]
Dacpiphp_glue.c365 if (pci_bus_read_dev_vendor_id(pbus, PCI_DEVFN(device, function), in acpiphp_add_context()
473 return pci_scan_slot(slot->bus, PCI_DEVFN(slot->device, 0)); in acpiphp_rescan_slot()
525 dev = pci_get_slot(bus, PCI_DEVFN(slot->device, in enable_slot()
603 PCI_DEVFN(slot->device, in get_slot_status()
Dcpcihp_generic.c158 PCI_DEVFN(bridge_slot, 0)); in cpcihp_generic_init()
Dcpci_hotplug_core.c264 slot->devfn = PCI_DEVFN(i, 0); in cpci_hp_register_bus()
380 dev = pci_get_slot(slot->bus, PCI_DEVFN(slot->number, 0)); in init_slots()
Dibmphp_core.c796 PCI_DEVFN(func->device, func->function)); in ibm_configure_device()
804 PCI_DEVFN(func->device, func->function)); in ibm_configure_device()
809 PCI_DEVFN(func->device, func->function)); in ibm_configure_device()
Dcpqphp_ctrl.c1523 …rc = pci_bus_read_config_dword (ctrl->pci_bus, PCI_DEVFN(func->device, func->function), PCI_VENDOR… in board_added()
2100 devfn = PCI_DEVFN(func->device, func->function); in cpqhp_process_SS()
2282 …rc = pci_bus_read_config_byte (ctrl->pci_bus, PCI_DEVFN(func->device, func->function), 0x0E, &temp… in configure_new_device()
2320 pci_bus_read_config_dword (ctrl->pci_bus, PCI_DEVFN(func->device, function), 0x00, &ID); in configure_new_device()
2396 devfn = PCI_DEVFN(func->device, func->function); in configure_new_function()
2563 pci_bus_read_config_dword (pci_bus, PCI_DEVFN(device, 0), 0x00, &ID); in configure_new_function()
Dcpqphp_core.c366 pci_bus_read_config_dword(bus, PCI_DEVFN(tdevice, 0), in get_slot_mapping()
371 PCI_DEVFN(tdevice, 0), in get_slot_mapping()
Dsgi_hotplug.c367 PCI_DEVFN(slot->device_num + 1, 0)); in enable_slot()
Dpciehp_hpc.c309 PCI_DEVFN(0, 0)); in pciehp_check_link_status()
Dibmphp_res.c1963 devfn = PCI_DEVFN(device, function); in update_bridge_ranges()
/linux-4.1.27/arch/x86/pci/
Dintel_mid_pci.c155 if (bus == 0 && (devfn == PCI_DEVFN(2, 0) in type1_access_ok()
156 || devfn == PCI_DEVFN(0, 0) in type1_access_ok()
157 || devfn == PCI_DEVFN(3, 0))) in type1_access_ok()
316 if (!offset || PCI_DEVFN(2, 0) == dev->devfn || in pci_fixed_bar_fixup()
317 PCI_DEVFN(2, 2) == dev->devfn) in pci_fixed_bar_fixup()
Dmmconfig-shared.c131 raw_pci_ops->read(0, 0, PCI_DEVFN(0, 0), 0xce, 2, &win); in pci_mmcfg_e7520()
147 raw_pci_ops->read(0, 0, PCI_DEVFN(0, 0), 0x48, 4, &pciexbar); in pci_mmcfg_intel_945()
271 raw_pci_ops->read(0, bus, PCI_DEVFN(0, 0), 0, 4, &l); in pci_mmcfg_nvidia_mcp55()
278 raw_pci_ops->read(0, bus, PCI_DEVFN(0, 0), extcfg_regnum, in pci_mmcfg_nvidia_mcp55()
310 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_INTEL,
312 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_INTEL,
314 { 0, PCI_DEVFN(0x18, 0), PCI_VENDOR_ID_AMD,
316 { 0xff, PCI_DEVFN(0, 0), PCI_VENDOR_ID_AMD,
318 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_NVIDIA,
Dnumachip.c118 ret = raw_pci_read(0, 0, PCI_DEVFN(0x18, 0), 0x60, sizeof(val), &val); in pci_numachip_init()
123 limit = PCI_DEVFN(0x18 + ((val >> 4) & 7) + 1, 0); in pci_numachip_init()
Dce4100.c65 { PCI_DEVFN(device, func), offset, init_op, read_op, write_op,\
95 pci_direct_conf1.read(0, 1, PCI_DEVFN(14, 0), 0x10, 4, in sata_reg_init()
287 if (bus == 0 && (PCI_DEVFN(1, 0) == devfn) && in ce4100_conf_read()
313 if (bus == 0 && PCI_DEVFN(1, 0) == devfn && in ce4100_conf_write()
/linux-4.1.27/arch/mips/pci/
Dpci-bcm1480.c227 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), in bcm1480_pcibios_init()
239 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40)); in bcm1480_pcibios_init()
240 WRITECFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40), in bcm1480_pcibios_init()
242 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40)); in bcm1480_pcibios_init()
Dfixup-cobalt.c42 if (dev->devfn == PCI_DEVFN(0, 0) && in qube_raq_galileo_early_fixup()
79 if (dev->devfn != PCI_DEVFN(0, 0)) in qube_raq_galileo_fixup()
Dops-loongson2.c190 u32 devfn = PCI_DEVFN(PCI_IDSEL_CS5536, 0); in _rdmsr()
206 u32 devfn = PCI_DEVFN(PCI_IDSEL_CS5536, 0); in _wrmsr()
Dpci-sb1250.c238 (0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), in sb1250_pcibios_init()
267 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(LDT_BRIDGE_DEVICE, 0), in sb1250_pcibios_init()
Dops-gt64xxx_pci0.c48 if ((busnum == 0) && (devfn >= PCI_DEVFN(31, 0))) in gt64xxx_pci0_pcibios_config_access()
Dops-sni.c29 if (busno == 0 && devfn >= PCI_DEVFN(8, 0)) in set_config_address()
Dops-nile4.c28 if ((busnum == 0) && (devfn == PCI_DEVFN(0, 0))) { in nile4_pcibios_config_access()
Dops-bcm63xx.c380 PCI_DEVFN(CARDBUS_PCI_IDSEL, 0), in bcm63xx_cb_read()
398 PCI_DEVFN(CARDBUS_PCI_IDSEL, 0), in bcm63xx_cb_write()
Dfixup-sni.c144 if (dev && dev->devfn >= PCI_DEVFN(4, 0)) in pcibios_map_irq()
Dops-tx3927.c51 devfn >= PCI_DEVFN(TX3927_PCIC_MAX_DEVNU, 0)) in mkaddr()
Dpci-ar2315.c296 unsigned devfn = PCI_DEVFN(AR2315_PCI_HOST_SLOT, 0); in ar2315_pci_host_setup()
Dops-tx4927.c66 devfn >= PCI_DEVFN(TX4927_PCIC_MAX_DEVNU, 0)) in mkaddr()
/linux-4.1.27/include/linux/
Di7300_idle.h12 #define IOAT_DEVFN PCI_DEVFN(8, 0)
14 #define MEMCTL_DEVFN PCI_DEVFN(16, 1)
/linux-4.1.27/arch/frv/mb93090-mb00/
Dpci-vdk.c101 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_frv_read_config()
134 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_frv_write_config()
144 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_frv_write_config()
154 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_frv_write_config()
/linux-4.1.27/arch/powerpc/boot/
Dmv64x60.c23 #define PCI_DEVFN(slot,func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro
438 PCI_DEVFN(0, mv64x60_pci2mem[hose].fcn), in mv64x60_config_pci_windows()
441 PCI_DEVFN(0, mv64x60_pci2mem[hose].fcn), in mv64x60_config_pci_windows()
454 mv64x60_cfg_write(bridge_base, hose, bus, PCI_DEVFN(0,0), in mv64x60_config_pci_windows()
456 mv64x60_cfg_write(bridge_base, hose, bus, PCI_DEVFN(0,0), in mv64x60_config_pci_windows()
/linux-4.1.27/arch/powerpc/sysdev/
Dmv64x60_pci.c40 phb = pci_get_bus_and_slot(0, PCI_DEVFN(0, 0)); in mv64x60_hs_reg_read()
64 phb = pci_get_bus_and_slot(0, PCI_DEVFN(0, 0)); in mv64x60_hs_reg_write()
Dfsl_pci.c845 PCI_DEVFN(0, 0), PCI_BASE_ADDRESS_0, &base); in fsl_pci_immrbar_base()
/linux-4.1.27/arch/alpha/kernel/
Dsys_sio.c90 pci_bus_read_config_dword(pci_isa_hose->bus, PCI_DEVFN(7, 0), 0x60, in sio_pci_route()
100 pci_bus_write_config_dword(pci_isa_hose->bus, PCI_DEVFN(7, 0), 0x60, in sio_pci_route()
298 pci_bus_write_config_dword(pci_isa_hose->bus, PCI_DEVFN(7, 0), 0x60, in sio_kill_arch()
Dsys_alcor.c241 if (dev && dev->devfn == PCI_DEVFN(6,0)) { in alcor_init_pci()
Dcore_marvel.c522 if (devfn >= PCI_DEVFN(21, 0)) in mk_conf_addr()
1084 addr = (vuip)build_conf_addr(h, 0, PCI_DEVFN(5, 0), 0); in marvel_agp_info()
/linux-4.1.27/arch/ia64/sn/pci/
Dtioce_provider.c764 raw_pci_read(seg, bus, PCI_DEVFN(2, 0), PCI_SECONDARY_BUS, 1,&tmp); in tioce_kern_init()
805 raw_pci_read(seg, bus, PCI_DEVFN(dev, 0), in tioce_kern_init()
809 raw_pci_read(seg, bus, PCI_DEVFN(dev, 0), in tioce_kern_init()
823 raw_pci_read(seg, bus, PCI_DEVFN(dev, 0), in tioce_kern_init()
827 raw_pci_read(seg, bus, PCI_DEVFN(dev, 0), in tioce_kern_init()
831 raw_pci_read(seg, bus, PCI_DEVFN(dev, 0), in tioce_kern_init()
837 raw_pci_read(seg, bus, PCI_DEVFN(dev, 0), in tioce_kern_init()
/linux-4.1.27/include/uapi/linux/
Dpci.h30 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro
/linux-4.1.27/drivers/acpi/
Dreboot.c40 devfn = PCI_DEVFN((rr->address >> 32) & 0xffff, in acpi_reboot()
Dpci_root.c330 pdev = pci_get_slot(pbus, PCI_DEVFN(dev, fn)); in acpi_get_pci_dev()
Dosl.c1073 PCI_DEVFN(pci_id->device, pci_id->function), in acpi_os_read_pci_configuration()
1101 PCI_DEVFN(pci_id->device, pci_id->function), in acpi_os_write_pci_configuration()
/linux-4.1.27/arch/arm/mach-iop32x/
Dn2100.c130 (dev->devfn == PCI_DEVFN(1, 0) || in n2100_fixup_r8169()
131 dev->devfn == PCI_DEVFN(2, 0))) in n2100_fixup_r8169()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramnv1a.c39 bridge = pci_get_bus_and_slot(0, PCI_DEVFN(0, 1)); in nv1a_ram_create()
/linux-4.1.27/arch/mips/mti-malta/
Dmalta-pm.c49 spec_devid = PCI_DEVID(0, PCI_DEVFN(0x1f, 0x7)); in mips_pm_suspend()
/linux-4.1.27/drivers/pci/
Dsearch.c77 PCI_DEVFN(0, 0)), data); in pci_for_each_dma_alias()
93 PCI_DEVFN(0, 0)), data); in pci_for_each_dma_alias()
Dquirks.c1930 f0 = pci_get_slot(dev->bus, PCI_DEVFN(PCI_SLOT(dev->devfn), 0)); in quirk_f0_vpd_link()
2276 apc_bridge = pci_get_slot(host_bridge->bus, PCI_DEVFN(1, 0)); in quirk_amd_780_apc_msi()
2463 dev = pci_get_slot(host_bridge->bus, PCI_DEVFN(i, 0)); in host_bridge_with_leaf()
2521 host_bridge = pci_get_slot(dev->bus, PCI_DEVFN(i, 0)); in nv_ht_enable_msi_mapping()
2591 host_bridge = pci_get_bus_and_slot(0, PCI_DEVFN(0, 0)); in __nv_msi_ht_cap_quirk()
3588 dev->dma_alias_devfn = PCI_DEVFN(PCI_SLOT(dev->devfn), 0); in quirk_dma_func0_alias()
3604 dev->dma_alias_devfn = PCI_DEVFN(PCI_SLOT(dev->devfn), 1); in quirk_dma_func1_alias()
3657 .driver_data = PCI_DEVFN(1, 0) },
3957 pci_bus_read_config_dword(dev->bus, PCI_DEVFN(31, 0), in pci_quirk_enable_intel_lpc_acs()
Daccess.c446 PCI_DEVFN(PCI_SLOT(dev->devfn), 0)); in pci_vpd_f0_read()
461 PCI_DEVFN(PCI_SLOT(dev->devfn), 0)); in pci_vpd_f0_write()
Diov.c466 iov->link = PCI_DEVFN(PCI_SLOT(dev->devfn), iov->link); in sriov_init()
Dxen-pcifront.c1058 PCI_DEVFN(slot, func)); in pcifront_detach_devices()
/linux-4.1.27/drivers/xen/xen-pciback/
Dvpci.c139 err = publish_cb(pdev, 0, 0, PCI_DEVFN(slot, func), devid); in __xen_pcibk_add_pci_dev()
252 *devfn = PCI_DEVFN(slot, in __xen_pcibk_get_pcifront_dev()
Dxenbus.c280 dev = xen_pcibk_get_pci_dev(pdev, domain, bus, PCI_DEVFN(slot, func)); in xen_pcibk_remove_device()
Dpci_stub.c1016 int rc = 0, devfn = PCI_DEVFN(slot, func); in pcistub_device_id_add()
/linux-4.1.27/drivers/char/agp/
Dnvidia-agp.c343 pci_get_bus_and_slot((unsigned int)pdev->bus->number, PCI_DEVFN(0, 1)); in agp_nvidia_probe()
345 pci_get_bus_and_slot((unsigned int)pdev->bus->number, PCI_DEVFN(0, 2)); in agp_nvidia_probe()
347 pci_get_bus_and_slot((unsigned int)pdev->bus->number, PCI_DEVFN(30, 0)); in agp_nvidia_probe()
Damd64-agp.c397 dev1 = pci_get_slot (pdev->bus,PCI_DEVFN(0,0)); in uli_agp_init()
460 dev1 = pci_get_slot(pdev->bus, PCI_DEVFN(11, 0)); in nforce3_agp_init()
Dsworks-agp.c477 PCI_DEVFN(0, 1)); in agp_serverworks_probe()
/linux-4.1.27/arch/powerpc/kernel/
Dpci-hotplug.c99 pci_scan_slot(bus, PCI_DEVFN(slotno, 0)); in pcibios_add_pci_devices()
/linux-4.1.27/drivers/pcmcia/
Dcardbus.c75 s->functions = pci_scan_slot(bus, PCI_DEVFN(0, 0)); in cb_alloc()
/linux-4.1.27/arch/microblaze/pci/
Dxilinx_pci.c99 PCI_DEVFN(dev, func), offset, &val); in xilinx_early_pci_scan()
/linux-4.1.27/drivers/gpu/drm/gma500/
Dmid_bios.c107 struct pci_dev *pci_gfx_root = pci_get_bus_and_slot(0, PCI_DEVFN(2, 0)); in mid_get_pci_revID()
284 struct pci_dev *pci_gfx_root = pci_get_bus_and_slot(0, PCI_DEVFN(2, 0)); in mid_get_vbt_data()
Dpsb_drv.c266 dev_priv->aux_pdev = pci_get_bus_and_slot(0, PCI_DEVFN(3, 0)); in psb_driver_load()
286 dev_priv->lpc_pdev = pci_get_bus_and_slot(0, PCI_DEVFN(31, 0)); in psb_driver_load()
/linux-4.1.27/arch/x86/kernel/
Dquirks.c32 pci_bus_read_config_word(dev->bus, PCI_DEVFN(8, 0), 0x4c, &word); in quirk_intel_irqbalance()
544 devfn = PCI_DEVFN(PCI_SLOT(dev->devfn), 0); in quirk_amd_nb_node()
/linux-4.1.27/arch/ia64/sn/kernel/
Dio_acpi_init.c287 devfn = PCI_DEVFN(slot, function); in get_host_devfn()
337 devfn = PCI_DEVFN(slot, function); in find_matching_device()
/linux-4.1.27/drivers/usb/host/
Dohci-pci.c76 b = pci_get_slot (pdev->bus, PCI_DEVFN (PCI_SLOT (pdev->devfn), 1)); in ohci_quirk_ns()
/linux-4.1.27/arch/powerpc/platforms/maple/
Dpci.c267 if (bus->number == hose->first_busno && devfn == PCI_DEVFN(0, 0)) in u3_ht_read_config()
305 if (bus->number == hose->first_busno && devfn == PCI_DEVFN(0, 0)) in u3_ht_write_config()
/linux-4.1.27/drivers/spi/
Dspi-pxa2xx-pci.c130 dma_dev = pci_get_slot(dev->bus, PCI_DEVFN(PCI_SLOT(dev->devfn), 0)); in pxa2xx_spi_pci_probe()
Dspi-topcliff-pch.c874 PCI_DEVFN(PCI_SLOT(data->board_dat->pdev->devfn), 0)); in pch_spi_request_dma()
/linux-4.1.27/arch/powerpc/platforms/
Dfsl_uli1575.c336 laddr[0] = (hose->first_busno << 16) | (PCI_DEVFN(31, 0) << 8); in hpcd_final_uli5288()
/linux-4.1.27/drivers/ata/
Dpata_sl82c105.c272 PCI_DEVFN(PCI_SLOT(pdev->devfn), 0)); in sl82c105_bridge_revision()
Dahci.c953 if (pdev->bus->number == 0 && pdev->devfn == PCI_DEVFN(0x1f, 2) && in ahci_p5wdh_workaround()
1086 if (pdev->bus->number != 0 || pdev->devfn != PCI_DEVFN(0x12, 0) || in ahci_sb600_enable_64bit()
1220 if (!dmi || pdev->bus->number || pdev->devfn != PCI_DEVFN(0x1f, 2)) in ahci_broken_suspend()
1232 (void *)(unsigned long)(((bus) << 8) | PCI_DEVFN((slot), (func))) in ahci_broken_online()
Dpata_ali.c469 north = pci_get_bus_and_slot(0, PCI_DEVFN(0,0)); in ali_init_chipset()
/linux-4.1.27/arch/arm/mach-footbridge/
Ddc21285.c53 if (devfn < PCI_DEVFN(MAX_SLOTS, 0)) in dc21285_base_address()
/linux-4.1.27/drivers/ide/
Dsl82c105.c243 PCI_DEVFN(PCI_SLOT(dev->devfn), 0)); in sl82c105_bridge_revision()
Dpdc202xx_new.c429 dev2 = pci_get_slot(dev->bus, PCI_DEVFN(PCI_SLOT(dev->devfn) + 1, in pdc20270_get_dev2()
Dalim15x3.c231 struct pci_dev *north = pci_get_slot(dev->bus, PCI_DEVFN(0,0)); in init_chipset_ali15x3()
/linux-4.1.27/arch/arm/common/
Dit8152.c169 if (devfn < PCI_DEVFN(MAX_SLOTS, 0)) in it8152_pci_dev_base_address()
/linux-4.1.27/arch/arm/mach-cns3xxx/
Dpcie.c252 devfn = PCI_DEVFN(0, 0); in cns3xxx_pcie_hw_init()
/linux-4.1.27/drivers/misc/cb710/
Dcore.c35 unsigned int devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0); in cb710_pci_configure()
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic79xx_osm_pci.c142 unsigned int master_devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0); in ahd_linux_pci_inherit_flags()
Daic7xxx_osm_pci.c185 unsigned int master_devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0); in ahc_linux_pci_inherit_flags()
/linux-4.1.27/drivers/staging/i2o/
Dpci.c374 PCI_DEVFN(PCI_SLOT(c->pdev->devfn), 0)); in i2o_pci_probe()
/linux-4.1.27/drivers/edac/
Di82875p_edac.c290 dev = pci_scan_single_device(pdev->bus, PCI_DEVFN(6, 0)); in i82875p_setup_overfl_dev()
De752x_edac.c1184 PCI_DEVFN(0, 1)); in e752x_get_devs()
/linux-4.1.27/drivers/iommu/
Dintel_irq_remapping.c759 ir_hpet[free].devfn = PCI_DEVFN(path->device, path->function); in ir_parse_one_hpet_scope()
802 ir_ioapic[free].devfn = PCI_DEVFN(path->device, path->function); in ir_parse_one_ioapic_scope()
Damd_iommu_init.c1350 PCI_DEVFN(0, 0)); in iommu_init_pci()
1808 #define IOAPIC_SB_DEVID ((0x00 << 8) | PCI_DEVFN(0x14, 0))
Ddmar.c715 dmaru->devices[i].devfn = PCI_DEVFN(path->device, in dmar_acpi_insert_dev_scope()
Dintel-iommu.c3485 rc = pci_bus_read_config_dword(pdev->bus, PCI_DEVFN(0, 0), 0xb0, &vtbar); in quirk_ioat_snb_local_iommu()
/linux-4.1.27/drivers/pci/pcie/aer/
Daer_inject.c327 unsigned int devfn = PCI_DEVFN(einj->dev, einj->fn); in aer_inject()
/linux-4.1.27/drivers/firmware/
Dedd.c673 PCI_DEVFN(info->params.interface_path.pci.slot, in edd_get_pci_dev()
/linux-4.1.27/drivers/acpi/apei/
Dghes.c453 devfn = PCI_DEVFN(pcie_err->device_id.device, in ghes_do_proc()
/linux-4.1.27/drivers/gpu/vga/
Dvgaarb.c830 *devfn = PCI_DEVFN(slot, func); in vga_pci_str_to_vars()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_drm.c354 PCI_DEVFN(PCI_SLOT(pdev->devfn), 1)); in nouveau_get_hdmi_dev()
/linux-4.1.27/drivers/tty/serial/8250/
D8250_pci.c1491 dma_dev = pci_get_slot(pdev->bus, PCI_DEVFN(PCI_SLOT(pdev->devfn), 0)); in byt_serial_setup()
1648 dma_dev = pci_get_slot(pdev->bus, PCI_DEVFN(PCI_SLOT(pdev->devfn), 3)); in pnw_serial_setup()
1669 dma_dev = pci_get_slot(pdev->bus, PCI_DEVFN(5, 0)); in tng_serial_setup()
/linux-4.1.27/drivers/net/ethernet/sgi/
Dioc3-eth.c1090 struct pci_dev *dev = pci_get_slot(pdev->bus, PCI_DEVFN(slot, 0)); in ioc3_adjacent_is_ioc3()
/linux-4.1.27/drivers/tty/serial/
Dpch_uart.c741 PCI_DEVFN(PCI_SLOT(priv->pdev->devfn), 0)); in pch_request_dma()
/linux-4.1.27/drivers/video/fbdev/intelfb/
Dintelfbhw.c184 if (!(bridge_dev = pci_get_bus_and_slot(0, PCI_DEVFN(0, 0)))) { in intelfbhw_get_memory()
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c2633 PCI_DEVFN(12, 4)); in pch_gbe_probe()
/linux-4.1.27/drivers/message/fusion/
Dmptbase.c2634 peer = pci_get_slot(pdev->bus, PCI_DEVFN(slot,func-1)); in mpt_detect_bound_ports()
2636 peer = pci_get_slot(pdev->bus, PCI_DEVFN(slot,func+1)); in mpt_detect_bound_ports()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c3835 PCI_DEVFN(PCI_SLOT(pdev->devfn), val)); in qlcnic_is_first_func()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_hw.c628 PCI_DEVFN(PCI_SLOT(nesdev->pcidev->devfn), in nes_init_adapter()
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_os.c8892 ha->pdev->bus->number, PCI_DEVFN(PCI_SLOT(ha->pdev->devfn), in qla4xxx_prevent_other_port_reinit()
9643 PCI_DEVFN(PCI_SLOT(ha->pdev->devfn), in qla4_8xxx_error_recovery()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_os.c5496 ha->pdev->bus->number, PCI_DEVFN(PCI_SLOT(ha->pdev->devfn), in qla82xx_error_recovery()