Home
last modified time | relevance | path

Searched refs:PCI_FUNC (Results 1 – 25 of 226) sorted by relevance

12345678910

/Linux-v5.4/drivers/xen/xen-pciback/
Dvpci.c48 if (PCI_FUNC(entry->dev->devfn) == PCI_FUNC(devfn)) { in __xen_pcibk_get_pci_dev()
110 PCI_FUNC(dev->devfn)); in __xen_pcibk_add_pci_dev()
113 func = PCI_FUNC(dev->devfn); in __xen_pcibk_add_pci_dev()
126 func = dev->is_virtfn ? 0 : PCI_FUNC(dev->devfn); in __xen_pcibk_add_pci_dev()
254 PCI_FUNC(pcidev->devfn)); in __xen_pcibk_get_pcifront_dev()
Dpci_stub.c165 && func == PCI_FUNC(psdev->dev->devfn)) { in pcistub_device_find_locked()
784 PCI_FUNC(dev->devfn)); in xen_pcibk_slot_reset()
842 PCI_FUNC(dev->devfn)); in xen_pcibk_mmio_enabled()
900 PCI_FUNC(dev->devfn)); in xen_pcibk_error_detected()
954 PCI_FUNC(dev->devfn)); in xen_pcibk_error_resume()
1090 || PCI_FUNC(devfn) != func) in pcistub_device_id_add()
1116 && (func < 0 || PCI_FUNC(pci_dev_id->devfn) == func)) { in pcistub_device_id_remove()
1229 PCI_FUNC(pci_dev_id->devfn)); in slots_show()
1343 PCI_FUNC(quirk->pdev->devfn), in quirks_show()
/Linux-v5.4/arch/arm/plat-orion/
Dpcie.c213 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | in orion_pcie_rd_conf()
232 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | in orion_pcie_rd_conf_tlp()
239 PCI_FUNC(devfn) != 0) in orion_pcie_rd_conf_tlp()
255 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | in orion_pcie_rd_conf_wa()
273 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | in orion_pcie_wr_conf()
/Linux-v5.4/arch/mips/pci/
Dops-emma2rh.c88 *(volatile u32 *)(base + (PCI_FUNC(devfn) << 8) + in pci_config_read()
133 *(volatile u32 *)(base + (PCI_FUNC(devfn) << 8) + in pci_config_write()
154 *(volatile u32 *)(base + (PCI_FUNC(devfn) << 8) + in pci_config_write()
Dpci-xlp.c75 !nlm_node_present(PCI_FUNC(devfn))) in pci_cfg_read_32bit()
203 return PCI_FUNC(lnkdev->bus->self->devfn); in xlp_socdev_to_node()
221 lnkfunc = PCI_FUNC(lnkdev->devfn); in pcibios_map_irq()
Dfixup-mpc30x.c27 return internal_func_irqs[PCI_FUNC(dev->devfn)]; in pcibios_map_irq()
Dpci-rt2880.c71 PCI_FUNC(devfn), where); in rt2880_pci_config_read()
101 PCI_FUNC(devfn), where); in rt2880_pci_config_write()
Dpci-xtalk-bridge.c99 int fn = PCI_FUNC(devfn); in pci_conf0_read_config()
136 int fn = PCI_FUNC(devfn); in pci_conf1_read_config()
182 int fn = PCI_FUNC(devfn); in pci_conf0_write_config()
221 int fn = PCI_FUNC(devfn); in pci_conf1_write_config()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Docxl.c195 link->fn_desired_actags[PCI_FUNC(dev->devfn)] = 0; in pnv_ocxl_fixup_actag()
204 link->fn_desired_actags[PCI_FUNC(dev->devfn)] += actag; in pnv_ocxl_fixup_actag()
207 link->fn_desired_actags[PCI_FUNC(dev->devfn)]); in pnv_ocxl_fixup_actag()
273 *base = link->fn_actags[PCI_FUNC(dev->devfn)].start; in pnv_ocxl_get_actag()
274 *enabled = link->fn_actags[PCI_FUNC(dev->devfn)].count; in pnv_ocxl_get_actag()
275 *supported = link->fn_desired_actags[PCI_FUNC(dev->devfn)]; in pnv_ocxl_get_actag()
306 if (link->fn_desired_actags[i] && (i == PCI_FUNC(dev->devfn))) { in pnv_ocxl_get_pasid_count()
/Linux-v5.4/drivers/ide/
Dide-pci-generic.c118 !(PCI_FUNC(dev->devfn) & 1)) in generic_init_one()
123 !(PCI_FUNC(dev->devfn) & 1)) in generic_init_one()
128 PCI_FUNC(dev->devfn) != 1) in generic_init_one()
Dcy82c693.c154 if (PCI_FUNC(dev->devfn) == 1) in init_iops_cy82c693()
186 PCI_FUNC(dev->devfn) == 1) { in cy82c693_init_one()
Dserverworks.c193 if (!(PCI_FUNC(dev->devfn) & 1)) { in init_chipset_svwks()
245 if (!(PCI_FUNC(dev->devfn) & 1)) in init_chipset_svwks()
405 if ((PCI_FUNC(dev->devfn) & 1) == 0) { in svwks_init_one()
/Linux-v5.4/arch/xtensa/lib/
Dpci-auto.c253 if (PCI_FUNC(pci_devfn) && !found_multi) in pciauto_bus_scan()
263 if (!PCI_FUNC(pci_devfn)) in pciauto_bus_scan()
310 current_bus, PCI_SLOT(pci_devfn), PCI_FUNC(pci_devfn)); in pciauto_bus_scan()
/Linux-v5.4/arch/arm/mach-ixp4xx/
Dcommon-pci.c170 addr = BIT(32-PCI_SLOT(devfn)) | ((PCI_FUNC(devfn)) << 8) | in ixp4xx_config_addr()
175 ((PCI_FUNC(devfn)) << 8) | (where & ~3) | 1; 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-v5.4/arch/arm/mach-iop32x/
Diq31244.c120 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in ep80219_pci_map_irq()
155 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in iq31244_pci_map_irq()
/Linux-v5.4/include/uapi/linux/
Dpci.h33 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
/Linux-v5.4/arch/x86/platform/intel-mid/device_libs/
Dplatform_mrfld_sd.c27 unsigned int func = PCI_FUNC(pdev->devfn); in mrfld_sdhci_pci_get_data()
/Linux-v5.4/drivers/ata/
Data_generic.c186 (!(PCI_FUNC(dev->devfn) & 1))) in ata_generic_init_one()
191 (!(PCI_FUNC(dev->devfn) & 1))) in ata_generic_init_one()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu_helper.c600 PCI_FUNC(adev->pdev->devfn)); in phm_irq_process()
605 PCI_FUNC(adev->pdev->devfn)); in phm_irq_process()
610 PCI_FUNC(adev->pdev->devfn)); in phm_irq_process()
616 PCI_FUNC(adev->pdev->devfn)); in phm_irq_process()
621 PCI_FUNC(adev->pdev->devfn)); in phm_irq_process()
626 PCI_FUNC(adev->pdev->devfn)); in phm_irq_process()
/Linux-v5.4/arch/arm/mach-footbridge/
Debsa285-pci.c23 switch (PCI_FUNC(dev->devfn)) { in ebsa285_map_irq()
/Linux-v5.4/arch/x86/pci/
Ddirect.c108 fn = PCI_FUNC(devfn); in pci_conf2_read()
148 fn = PCI_FUNC(devfn); in pci_conf2_write()
/Linux-v5.4/drivers/pci/controller/
Dpci-ftpci100.c195 PCI_CONF_FUNCTION(PCI_FUNC(fn)) | in faraday_raw_pci_read_config()
217 PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value); in faraday_pci_read_config()
230 PCI_CONF_FUNCTION(PCI_FUNC(fn)) | in faraday_raw_pci_write_config()
259 PCI_SLOT(fn), PCI_FUNC(fn), config, size, value); in faraday_pci_write_config()
/Linux-v5.4/drivers/iommu/
Dintel-iommu-debugfs.c151 PCI_FUNC(tbl_wlk->devfn), tbl_wlk->rt_entry->hi, in print_tbl_walk()
304 PCI_SLOT(ri_entry->sid), PCI_FUNC(ri_entry->sid), in ir_tbl_remap_entry_show()
328 PCI_SLOT(pi_entry->sid), PCI_FUNC(pi_entry->sid), in ir_tbl_posted_entry_show()
Damd_iommu_init.c1194 PCI_FUNC(e->devid), in init_iommu_from_acpi()
1206 PCI_FUNC(e->devid), in init_iommu_from_acpi()
1220 PCI_FUNC(e->devid), in init_iommu_from_acpi()
1224 PCI_FUNC(e->ext >> 8)); in init_iommu_from_acpi()
1239 PCI_FUNC(e->devid), in init_iommu_from_acpi()
1243 PCI_FUNC(e->ext >> 8)); in init_iommu_from_acpi()
1257 PCI_FUNC(e->devid), in init_iommu_from_acpi()
1270 PCI_FUNC(e->devid), in init_iommu_from_acpi()
1283 PCI_FUNC(e->devid)); in init_iommu_from_acpi()
1317 PCI_FUNC(devid)); in init_iommu_from_acpi()
[all …]
/Linux-v5.4/arch/powerpc/platforms/
Dfsl_uli1575.c348 if ((PCI_SLOT(devfn) == 29) && (PCI_FUNC(devfn) == 1)) in uli_exclude_device()
352 if ((PCI_SLOT(devfn) == 29) && (PCI_FUNC(devfn) == 2)) in uli_exclude_device()

12345678910