Home
last modified time | relevance | path

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

123456789

/linux-6.3-rc2/drivers/xen/xen-pciback/
A Dvpci.c49 if (PCI_FUNC(entry->dev->devfn) == PCI_FUNC(devfn)) { in __xen_pcibk_get_pci_dev()
73 int err = 0, slot, func = PCI_FUNC(dev->devfn); in __xen_pcibk_add_pci_dev()
109 if (t->dev->is_virtfn && !PCI_FUNC(t->dev->devfn)) in __xen_pcibk_add_pci_dev()
251 PCI_FUNC(pcidev->devfn)); in __xen_pcibk_get_pcifront_dev()
A Dpci_stub.c167 && func == PCI_FUNC(psdev->dev->devfn)) { in pcistub_device_find_locked()
786 PCI_FUNC(dev->devfn)); in xen_pcibk_slot_reset()
843 PCI_FUNC(dev->devfn)); in xen_pcibk_mmio_enabled()
900 PCI_FUNC(dev->devfn)); in xen_pcibk_error_detected()
953 PCI_FUNC(dev->devfn)); in xen_pcibk_error_resume()
1088 || PCI_FUNC(devfn) != func) in pcistub_device_id_add()
1114 && (func < 0 || PCI_FUNC(pci_dev_id->devfn) == func)) { in pcistub_device_id_remove()
1227 PCI_FUNC(pci_dev_id->devfn)); in slots_show()
1341 PCI_FUNC(quirk->pdev->devfn), in quirks_show()
/linux-6.3-rc2/arch/arm/plat-orion/
A 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-6.3-rc2/arch/powerpc/platforms/powernv/
A 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-6.3-rc2/arch/xtensa/lib/
A 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-6.3-rc2/drivers/pci/controller/
A Dpci-ftpci100.c187 PCI_FUNC(fn), config), in faraday_raw_pci_read_config()
207 PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value); in faraday_pci_read_config()
219 PCI_FUNC(fn), config), in faraday_raw_pci_write_config()
246 PCI_SLOT(fn), PCI_FUNC(fn), config, size, value); in faraday_pci_write_config()
A Dpci-ixp4xx.c191 return BIT(32-PCI_SLOT(devfn)) | ((PCI_FUNC(devfn)) << 8) | in ixp4xx_config_addr()
196 ((PCI_FUNC(devfn)) << 8) | (where & ~3) | 1; in ixp4xx_config_addr()
309 where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd); in ixp4xx_pci_read_config()
357 value, where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd); in ixp4xx_pci_write_config()
/linux-6.3-rc2/include/uapi/linux/
A Dpci.h33 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
/linux-6.3-rc2/drivers/ata/
A 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-6.3-rc2/drivers/gpu/drm/
A Ddrm_pci.c67 PCI_FUNC(pdev->devfn)); in drm_pci_set_busid()
83 p->devnum != PCI_SLOT(pdev->devfn) || p->funcnum != PCI_FUNC(pdev->devfn)) in drm_legacy_pci_irq_by_busid()
/linux-6.3-rc2/drivers/infiniband/hw/irdma/
A Di40iw_if.c63 pr_debug("INIT: Gen1 PF[%d] close complete\n", PCI_FUNC(cdev_info->pcidev->devfn)); in i40iw_close()
155 PCI_FUNC(rf->pcidev->devfn)); in i40iw_open()
/linux-6.3-rc2/arch/x86/pci/
A Ddirect.c108 fn = PCI_FUNC(devfn); in pci_conf2_read()
148 fn = PCI_FUNC(devfn); in pci_conf2_write()
/linux-6.3-rc2/arch/mips/pci/
A Dpci-rt2880.c69 PCI_FUNC(devfn), where); in rt2880_pci_config_read()
96 PCI_FUNC(devfn), where); in rt2880_pci_config_write()
A Dops-msc.c46 (PCI_FUNC(devfn) << MSC01_PCI_CFGADDR_FNUM_SHF) | in msc_pcibios_config_access()
/linux-6.3-rc2/arch/arm/mach-footbridge/
A Debsa285-pci.c23 switch (PCI_FUNC(dev->devfn)) { in ebsa285_map_irq()
/linux-6.3-rc2/arch/powerpc/platforms/
A Dfsl_uli1575.c349 if ((PCI_SLOT(devfn) == 29) && (PCI_FUNC(devfn) == 1)) in uli_exclude_device()
353 if ((PCI_SLOT(devfn) == 29) && (PCI_FUNC(devfn) == 2)) in uli_exclude_device()
/linux-6.3-rc2/drivers/misc/ocxl/
A Dconfig.c105 if (!pos && PCI_FUNC(dev->devfn) == 0) { in read_dvsec_tl()
109 if (pos && PCI_FUNC(dev->devfn) != 0) { in read_dvsec_tl()
175 if (PCI_FUNC(dev->devfn) != 0) in read_dvsec_vendor()
213 if (PCI_FUNC(dev->devfn) != 0) { in get_dvsec_vendor0()
800 if (PCI_FUNC(dev->devfn) != 0) in ocxl_config_set_TL()
/linux-6.3-rc2/arch/powerpc/platforms/pasemi/
A Dmisc.c80 i2c_register_board_info(PCI_FUNC(pdev->devfn), &info, in pasemi_register_i2c_devices()
/linux-6.3-rc2/arch/arm/mach-orion5x/
A Dpci.c328 if (PCI_SLOT(devfn) == 0 && PCI_FUNC(devfn) != 0) in orion5x_pci_valid_config()
351 PCI_FUNC(devfn), where, size, val); in orion5x_pci_rd_conf()
361 PCI_FUNC(devfn), where, size, val); in orion5x_pci_wr_conf()
/linux-6.3-rc2/drivers/pcmcia/
A Dti113x.h240 if(PCI_FUNC(socket->dev->devfn)==1) in ti1250_zoom_video()
789 if ((PCI_FUNC(socket->dev->devfn) == 0) || in ti12xx_power_hook()
848 if (disable_clkrun && PCI_FUNC(socket->dev->devfn) == 0) { in ti12xx_override()
871 if (PCI_FUNC(socket->dev->devfn) == 0) in ti12xx_override()
/linux-6.3-rc2/drivers/iommu/amd/
A Dinit.c295 PCI_FUNC(iommu->devid)); in get_global_efr()
1348 PCI_FUNC(e->devid), in init_iommu_from_acpi()
1360 PCI_FUNC(e->devid), in init_iommu_from_acpi()
1374 PCI_FUNC(e->devid), in init_iommu_from_acpi()
1378 PCI_FUNC(e->ext >> 8)); in init_iommu_from_acpi()
1393 PCI_FUNC(e->devid), in init_iommu_from_acpi()
1411 PCI_FUNC(e->devid), in init_iommu_from_acpi()
1424 PCI_FUNC(e->devid), in init_iommu_from_acpi()
1437 PCI_FUNC(e->devid)); in init_iommu_from_acpi()
1471 PCI_FUNC(devid)); in init_iommu_from_acpi()
[all …]
/linux-6.3-rc2/drivers/ssb/
A Ddriver_gige.c116 if ((PCI_SLOT(devfn) > 0) || (PCI_FUNC(devfn) > 0)) in ssb_gige_pci_read_config()
146 if ((PCI_SLOT(devfn) > 0) || (PCI_FUNC(devfn) > 0)) in ssb_gige_pci_write_config()
/linux-6.3-rc2/drivers/scsi/snic/
A Dsnic_main.c362 PCI_FUNC(pdev->devfn)); in snic_probe()
383 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in snic_probe()
733 PCI_FUNC(pdev->devfn)); in snic_probe()
752 PCI_FUNC(pdev->devfn)); in snic_remove()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_fdinfo.c72 fn = PCI_FUNC(adev->pdev->devfn); in amdgpu_show_fdinfo()
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Defivar.c123 PCI_FUNC(dd->pcidev->devfn)); in read_hfi1_efi_var()

Completed in 55 milliseconds

123456789