/linux-4.1.27/arch/mn10300/unit-asb2305/ |
D | pci.c | 71 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/ |
D | intel_sideband.c | 85 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 …]
|
D | i915_dma.c | 212 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/ |
D | fam15h_power.c | 60 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()
|
D | k10temp.c | 83 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()
|
D | coretemp.c | 249 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/ |
D | cpqphp_pci.c | 92 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 …]
|
D | shpchp_pci.c | 47 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()
|
D | pciehp_pci.c | 47 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()
|
D | ibmphp_pci.c | 107 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 …]
|
D | acpiphp_glue.c | 365 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()
|
D | cpcihp_generic.c | 158 PCI_DEVFN(bridge_slot, 0)); in cpcihp_generic_init()
|
D | cpci_hotplug_core.c | 264 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()
|
D | ibmphp_core.c | 796 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()
|
D | cpqphp_ctrl.c | 1523 …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()
|
D | cpqphp_core.c | 366 pci_bus_read_config_dword(bus, PCI_DEVFN(tdevice, 0), in get_slot_mapping() 371 PCI_DEVFN(tdevice, 0), in get_slot_mapping()
|
D | sgi_hotplug.c | 367 PCI_DEVFN(slot->device_num + 1, 0)); in enable_slot()
|
D | pciehp_hpc.c | 309 PCI_DEVFN(0, 0)); in pciehp_check_link_status()
|
D | ibmphp_res.c | 1963 devfn = PCI_DEVFN(device, function); in update_bridge_ranges()
|
/linux-4.1.27/arch/x86/pci/ |
D | intel_mid_pci.c | 155 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()
|
D | mmconfig-shared.c | 131 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,
|
D | numachip.c | 118 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()
|
D | ce4100.c | 65 { 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/ |
D | pci-bcm1480.c | 227 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()
|
D | fixup-cobalt.c | 42 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()
|
D | ops-loongson2.c | 190 u32 devfn = PCI_DEVFN(PCI_IDSEL_CS5536, 0); in _rdmsr() 206 u32 devfn = PCI_DEVFN(PCI_IDSEL_CS5536, 0); in _wrmsr()
|
D | pci-sb1250.c | 238 (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()
|
D | ops-gt64xxx_pci0.c | 48 if ((busnum == 0) && (devfn >= PCI_DEVFN(31, 0))) in gt64xxx_pci0_pcibios_config_access()
|
D | ops-sni.c | 29 if (busno == 0 && devfn >= PCI_DEVFN(8, 0)) in set_config_address()
|
D | ops-nile4.c | 28 if ((busnum == 0) && (devfn == PCI_DEVFN(0, 0))) { in nile4_pcibios_config_access()
|
D | ops-bcm63xx.c | 380 PCI_DEVFN(CARDBUS_PCI_IDSEL, 0), in bcm63xx_cb_read() 398 PCI_DEVFN(CARDBUS_PCI_IDSEL, 0), in bcm63xx_cb_write()
|
D | fixup-sni.c | 144 if (dev && dev->devfn >= PCI_DEVFN(4, 0)) in pcibios_map_irq()
|
D | ops-tx3927.c | 51 devfn >= PCI_DEVFN(TX3927_PCIC_MAX_DEVNU, 0)) in mkaddr()
|
D | pci-ar2315.c | 296 unsigned devfn = PCI_DEVFN(AR2315_PCI_HOST_SLOT, 0); in ar2315_pci_host_setup()
|
D | ops-tx4927.c | 66 devfn >= PCI_DEVFN(TX4927_PCIC_MAX_DEVNU, 0)) in mkaddr()
|
/linux-4.1.27/include/linux/ |
D | i7300_idle.h | 12 #define IOAT_DEVFN PCI_DEVFN(8, 0) 14 #define MEMCTL_DEVFN PCI_DEVFN(16, 1)
|
/linux-4.1.27/arch/frv/mb93090-mb00/ |
D | pci-vdk.c | 101 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/ |
D | mv64x60.c | 23 #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/ |
D | mv64x60_pci.c | 40 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()
|
D | fsl_pci.c | 845 PCI_DEVFN(0, 0), PCI_BASE_ADDRESS_0, &base); in fsl_pci_immrbar_base()
|
/linux-4.1.27/arch/alpha/kernel/ |
D | sys_sio.c | 90 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()
|
D | sys_alcor.c | 241 if (dev && dev->devfn == PCI_DEVFN(6,0)) { in alcor_init_pci()
|
D | core_marvel.c | 522 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/ |
D | tioce_provider.c | 764 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/ |
D | pci.h | 30 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro
|
/linux-4.1.27/drivers/acpi/ |
D | reboot.c | 40 devfn = PCI_DEVFN((rr->address >> 32) & 0xffff, in acpi_reboot()
|
D | pci_root.c | 330 pdev = pci_get_slot(pbus, PCI_DEVFN(dev, fn)); in acpi_get_pci_dev()
|
D | osl.c | 1073 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/ |
D | n2100.c | 130 (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/ |
D | ramnv1a.c | 39 bridge = pci_get_bus_and_slot(0, PCI_DEVFN(0, 1)); in nv1a_ram_create()
|
/linux-4.1.27/arch/mips/mti-malta/ |
D | malta-pm.c | 49 spec_devid = PCI_DEVID(0, PCI_DEVFN(0x1f, 0x7)); in mips_pm_suspend()
|
/linux-4.1.27/drivers/pci/ |
D | search.c | 77 PCI_DEVFN(0, 0)), data); in pci_for_each_dma_alias() 93 PCI_DEVFN(0, 0)), data); in pci_for_each_dma_alias()
|
D | quirks.c | 1930 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()
|
D | access.c | 446 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()
|
D | iov.c | 466 iov->link = PCI_DEVFN(PCI_SLOT(dev->devfn), iov->link); in sriov_init()
|
D | xen-pcifront.c | 1058 PCI_DEVFN(slot, func)); in pcifront_detach_devices()
|
/linux-4.1.27/drivers/xen/xen-pciback/ |
D | vpci.c | 139 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()
|
D | xenbus.c | 280 dev = xen_pcibk_get_pci_dev(pdev, domain, bus, PCI_DEVFN(slot, func)); in xen_pcibk_remove_device()
|
D | pci_stub.c | 1016 int rc = 0, devfn = PCI_DEVFN(slot, func); in pcistub_device_id_add()
|
/linux-4.1.27/drivers/char/agp/ |
D | nvidia-agp.c | 343 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()
|
D | amd64-agp.c | 397 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()
|
D | sworks-agp.c | 477 PCI_DEVFN(0, 1)); in agp_serverworks_probe()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | pci-hotplug.c | 99 pci_scan_slot(bus, PCI_DEVFN(slotno, 0)); in pcibios_add_pci_devices()
|
/linux-4.1.27/drivers/pcmcia/ |
D | cardbus.c | 75 s->functions = pci_scan_slot(bus, PCI_DEVFN(0, 0)); in cb_alloc()
|
/linux-4.1.27/arch/microblaze/pci/ |
D | xilinx_pci.c | 99 PCI_DEVFN(dev, func), offset, &val); in xilinx_early_pci_scan()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
D | mid_bios.c | 107 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()
|
D | psb_drv.c | 266 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/ |
D | quirks.c | 32 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/ |
D | io_acpi_init.c | 287 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/ |
D | ohci-pci.c | 76 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/ |
D | pci.c | 267 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/ |
D | spi-pxa2xx-pci.c | 130 dma_dev = pci_get_slot(dev->bus, PCI_DEVFN(PCI_SLOT(dev->devfn), 0)); in pxa2xx_spi_pci_probe()
|
D | spi-topcliff-pch.c | 874 PCI_DEVFN(PCI_SLOT(data->board_dat->pdev->devfn), 0)); in pch_spi_request_dma()
|
/linux-4.1.27/arch/powerpc/platforms/ |
D | fsl_uli1575.c | 336 laddr[0] = (hose->first_busno << 16) | (PCI_DEVFN(31, 0) << 8); in hpcd_final_uli5288()
|
/linux-4.1.27/drivers/ata/ |
D | pata_sl82c105.c | 272 PCI_DEVFN(PCI_SLOT(pdev->devfn), 0)); in sl82c105_bridge_revision()
|
D | ahci.c | 953 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()
|
D | pata_ali.c | 469 north = pci_get_bus_and_slot(0, PCI_DEVFN(0,0)); in ali_init_chipset()
|
/linux-4.1.27/arch/arm/mach-footbridge/ |
D | dc21285.c | 53 if (devfn < PCI_DEVFN(MAX_SLOTS, 0)) in dc21285_base_address()
|
/linux-4.1.27/drivers/ide/ |
D | sl82c105.c | 243 PCI_DEVFN(PCI_SLOT(dev->devfn), 0)); in sl82c105_bridge_revision()
|
D | pdc202xx_new.c | 429 dev2 = pci_get_slot(dev->bus, PCI_DEVFN(PCI_SLOT(dev->devfn) + 1, in pdc20270_get_dev2()
|
D | alim15x3.c | 231 struct pci_dev *north = pci_get_slot(dev->bus, PCI_DEVFN(0,0)); in init_chipset_ali15x3()
|
/linux-4.1.27/arch/arm/common/ |
D | it8152.c | 169 if (devfn < PCI_DEVFN(MAX_SLOTS, 0)) in it8152_pci_dev_base_address()
|
/linux-4.1.27/arch/arm/mach-cns3xxx/ |
D | pcie.c | 252 devfn = PCI_DEVFN(0, 0); in cns3xxx_pcie_hw_init()
|
/linux-4.1.27/drivers/misc/cb710/ |
D | core.c | 35 unsigned int devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0); in cb710_pci_configure()
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
D | aic79xx_osm_pci.c | 142 unsigned int master_devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0); in ahd_linux_pci_inherit_flags()
|
D | aic7xxx_osm_pci.c | 185 unsigned int master_devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0); in ahc_linux_pci_inherit_flags()
|
/linux-4.1.27/drivers/staging/i2o/ |
D | pci.c | 374 PCI_DEVFN(PCI_SLOT(c->pdev->devfn), 0)); in i2o_pci_probe()
|
/linux-4.1.27/drivers/edac/ |
D | i82875p_edac.c | 290 dev = pci_scan_single_device(pdev->bus, PCI_DEVFN(6, 0)); in i82875p_setup_overfl_dev()
|
D | e752x_edac.c | 1184 PCI_DEVFN(0, 1)); in e752x_get_devs()
|
/linux-4.1.27/drivers/iommu/ |
D | intel_irq_remapping.c | 759 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()
|
D | amd_iommu_init.c | 1350 PCI_DEVFN(0, 0)); in iommu_init_pci() 1808 #define IOAPIC_SB_DEVID ((0x00 << 8) | PCI_DEVFN(0x14, 0))
|
D | dmar.c | 715 dmaru->devices[i].devfn = PCI_DEVFN(path->device, in dmar_acpi_insert_dev_scope()
|
D | intel-iommu.c | 3485 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/ |
D | aer_inject.c | 327 unsigned int devfn = PCI_DEVFN(einj->dev, einj->fn); in aer_inject()
|
/linux-4.1.27/drivers/firmware/ |
D | edd.c | 673 PCI_DEVFN(info->params.interface_path.pci.slot, in edd_get_pci_dev()
|
/linux-4.1.27/drivers/acpi/apei/ |
D | ghes.c | 453 devfn = PCI_DEVFN(pcie_err->device_id.device, in ghes_do_proc()
|
/linux-4.1.27/drivers/gpu/vga/ |
D | vgaarb.c | 830 *devfn = PCI_DEVFN(slot, func); in vga_pci_str_to_vars()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_drm.c | 354 PCI_DEVFN(PCI_SLOT(pdev->devfn), 1)); in nouveau_get_hdmi_dev()
|
/linux-4.1.27/drivers/tty/serial/8250/ |
D | 8250_pci.c | 1491 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/ |
D | ioc3-eth.c | 1090 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/ |
D | pch_uart.c | 741 PCI_DEVFN(PCI_SLOT(priv->pdev->devfn), 0)); in pch_request_dma()
|
/linux-4.1.27/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 184 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/ |
D | pch_gbe_main.c | 2633 PCI_DEVFN(12, 4)); in pch_gbe_probe()
|
/linux-4.1.27/drivers/message/fusion/ |
D | mptbase.c | 2634 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/ |
D | qlcnic_main.c | 3835 PCI_DEVFN(PCI_SLOT(pdev->devfn), val)); in qlcnic_is_first_func()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
D | nes_hw.c | 628 PCI_DEVFN(PCI_SLOT(nesdev->pcidev->devfn), in nes_init_adapter()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 8892 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/ |
D | qla_os.c | 5496 ha->pdev->bus->number, PCI_DEVFN(PCI_SLOT(ha->pdev->devfn), in qla82xx_error_recovery()
|