Searched refs:PCI_FUNC (Results 1 - 25 of 207) sorted by relevance

123456789

/linux-master/include/uapi/linux/
H A Dpci.h33 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
/linux-master/arch/arm/mach-footbridge/
H A Debsa285-pci.c23 switch (PCI_FUNC(dev->devfn)) {
/linux-master/drivers/gpu/drm/
H A Ddrm_pci.c61 PCI_FUNC(pdev->devfn));
/linux-master/arch/arm/plat-orion/
H A Dpcie.c213 PCIE_CONF_FUNC(PCI_FUNC(devfn)) |
232 PCIE_CONF_FUNC(PCI_FUNC(devfn)) |
239 PCI_FUNC(devfn) != 0)
255 PCIE_CONF_FUNC(PCI_FUNC(devfn)) |
273 PCIE_CONF_FUNC(PCI_FUNC(devfn)) |
/linux-master/drivers/xen/xen-pciback/
H A Dvpci.c49 if (PCI_FUNC(entry->dev->devfn) == PCI_FUNC(devfn)) {
73 int err = 0, slot, func = PCI_FUNC(dev->devfn);
109 if (t->dev->is_virtfn && !PCI_FUNC(t->dev->devfn))
251 PCI_FUNC(pcidev->devfn));
H A Dpci_stub.c167 && func == PCI_FUNC(psdev->dev->devfn)) {
784 PCI_FUNC(dev->devfn));
841 PCI_FUNC(dev->devfn));
898 PCI_FUNC(dev->devfn));
951 PCI_FUNC(dev->devfn));
1086 || PCI_FUNC(devfn) != func)
1112 && (func < 0 || PCI_FUNC(pci_dev_id->devfn) == func)) {
1225 PCI_FUNC(pci_dev_id->devfn));
1339 PCI_FUNC(quirk->pdev->devfn),
/linux-master/drivers/platform/x86/
H A Dp2sb.c88 struct p2sb_res_cache *cache = &p2sb_resources[PCI_FUNC(devfn)];
110 if (!p2sb_valid_resource(&p2sb_resources[PCI_FUNC(devfn)].res))
209 cache = &p2sb_resources[PCI_FUNC(devfn)];
/linux-master/arch/powerpc/platforms/pasemi/
H A Dmisc.c80 i2c_register_board_info(PCI_FUNC(pdev->devfn), &info,
/linux-master/arch/powerpc/platforms/powernv/
H A Docxl.c195 link->fn_desired_actags[PCI_FUNC(dev->devfn)] = 0;
204 link->fn_desired_actags[PCI_FUNC(dev->devfn)] += actag;
207 link->fn_desired_actags[PCI_FUNC(dev->devfn)]);
273 *base = link->fn_actags[PCI_FUNC(dev->devfn)].start;
274 *enabled = link->fn_actags[PCI_FUNC(dev->devfn)].count;
275 *supported = link->fn_desired_actags[PCI_FUNC(dev->devfn)];
306 if (link->fn_desired_actags[i] && (i == PCI_FUNC(dev->devfn))) {
/linux-master/drivers/ata/
H A Data_generic.c186 (!(PCI_FUNC(dev->devfn) & 1)))
191 (!(PCI_FUNC(dev->devfn) & 1)))
/linux-master/arch/mips/pci/
H A Dops-msc.c46 (PCI_FUNC(devfn) << MSC01_PCI_CFGADDR_FNUM_SHF) |
H A Dops-bonito64.c34 int function = PCI_FUNC(devfn);
H A Dfixup-lemote2f.c64 switch (PCI_FUNC(dev->devfn)) {
H A Dpci-rt2880.c68 PCI_FUNC(devfn), where);
95 PCI_FUNC(devfn), where);
/linux-master/drivers/infiniband/hw/hfi1/
H A Defivar.c123 PCI_FUNC(dd->pcidev->devfn));
/linux-master/arch/xtensa/lib/
H A Dpci-auto.c255 if (PCI_FUNC(pci_devfn) && !found_multi)
265 if (!PCI_FUNC(pci_devfn))
312 current_bus, PCI_SLOT(pci_devfn), PCI_FUNC(pci_devfn));
/linux-master/drivers/pcmcia/
H A Do2micro.h121 if (PCI_FUNC(socket->dev->devfn) == 0) {
/linux-master/drivers/pci/controller/dwc/
H A Dpcie-tegra194-acpi.c85 PCIE_ATU_FUNC(PCI_FUNC(devfn));
/linux-master/drivers/pci/controller/
H A Dpci-ftpci100.c186 PCI_FUNC(fn), config),
206 PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value);
218 PCI_FUNC(fn), config),
245 PCI_SLOT(fn), PCI_FUNC(fn), config, size, value);
/linux-master/arch/alpha/kernel/
H A Dsys_miata.c185 if((slot == 7) && (PCI_FUNC(dev->devfn) == 3)) {
/linux-master/arch/x86/pci/
H A Ddirect.c108 fn = PCI_FUNC(devfn);
148 fn = PCI_FUNC(devfn);
/linux-master/drivers/ssb/
H A Ddriver_gige.c116 if ((PCI_SLOT(devfn) > 0) || (PCI_FUNC(devfn) > 0))
146 if ((PCI_SLOT(devfn) > 0) || (PCI_FUNC(devfn) > 0))
/linux-master/drivers/infiniband/hw/irdma/
H A Di40iw_if.c63 pr_debug("INIT: Gen1 PF[%d] close complete\n", PCI_FUNC(cdev_info->pcidev->devfn));
155 PCI_FUNC(rf->pcidev->devfn));
/linux-master/arch/arm/mach-orion5x/
H A Dpci.c328 if (PCI_SLOT(devfn) == 0 && PCI_FUNC(devfn) != 0)
351 PCI_FUNC(devfn), where, size, val);
361 PCI_FUNC(devfn), where, size, val);
/linux-master/arch/sh/drivers/pci/
H A Dops-sh7786.c26 func = PCI_FUNC(devfn);

Completed in 202 milliseconds

123456789