Searched refs:PCI_FUNC (Results 26 - 50 of 208) sorted by relevance

123456789

/linux-master/arch/sh/drivers/pci/
H A Dops-sh7786.c26 func = PCI_FUNC(devfn);
H A Dcommon.c61 if (PCI_FUNC(pci_devfn))
H A Dpci.c201 if (PCI_FUNC(pci_devfn))
/linux-master/arch/mips/pci/
H A Dops-rc32434.c51 u8 func = PCI_FUNC(devfn);
H A Dfixup-fuloong2e.c23 switch (PCI_FUNC(dev->devfn)) {
H A Dops-loongson2.c42 int function = PCI_FUNC(devfn);
H A Dpci-ar71xx.c87 ret = (1 << PCI_SLOT(devfn)) | (PCI_FUNC(devfn) << 8) |
92 (PCI_FUNC(devfn) << 8) | (where & ~3) | 1;
H A Dpci-mt7620.c141 u8 func = PCI_FUNC(devfn);
173 u8 func = PCI_FUNC(devfn);
/linux-master/drivers/pcmcia/
H A Dti113x.h240 if(PCI_FUNC(socket->dev->devfn)==1)
789 if ((PCI_FUNC(socket->dev->devfn) == 0) ||
848 if (disable_clkrun && PCI_FUNC(socket->dev->devfn) == 0) {
871 if (PCI_FUNC(socket->dev->devfn) == 0)
/linux-master/drivers/media/pci/mantis/
H A Dmantis_pci.c49 PCI_FUNC(mantis->pdev->devfn));
/linux-master/drivers/ata/
H A Dpata_cypress.c144 if (PCI_FUNC(pdev->devfn) != 1)
H A Dpata_serverworks.c304 if (!(PCI_FUNC(pdev->devfn) & 1)) {
341 if (!(PCI_FUNC(pdev->devfn) & 1))
/linux-master/drivers/scsi/snic/
H A Dsnic_main.c362 PCI_FUNC(pdev->devfn));
383 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
733 PCI_FUNC(pdev->devfn));
752 PCI_FUNC(pdev->devfn));
/linux-master/drivers/pci/controller/
H A Dpci-ixp4xx.c191 return (PCI_CONF1_ADDRESS(0, 0, PCI_FUNC(devfn), where) &
196 PCI_FUNC(devfn), where) &
310 where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd);
358 value, where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd);
H A Dpci-loongson.c149 pdev->pin = 1 + (PCI_FUNC(pdev->devfn) & 3);
216 unsigned int function = PCI_FUNC(devfn);
/linux-master/drivers/iommu/intel/
H A Ddebugfs.c165 PCI_FUNC(tbl_wlk->devfn), tbl_wlk->rt_entry->hi,
443 iommu->segment, bus, PCI_SLOT(devfn), PCI_FUNC(devfn));
560 PCI_SLOT(ri_entry->sid), PCI_FUNC(ri_entry->sid),
584 PCI_SLOT(pi_entry->sid), PCI_FUNC(pi_entry->sid),
/linux-master/arch/powerpc/platforms/
H A Dfsl_uli1575.c351 if ((PCI_SLOT(devfn) == 29) && (PCI_FUNC(devfn) == 1))
355 if ((PCI_SLOT(devfn) == 29) && (PCI_FUNC(devfn) == 2))
/linux-master/drivers/i2c/busses/
H A Di2c-amd756.c327 if (PCI_FUNC(pdev->devfn) != 1)
333 if (PCI_FUNC(pdev->devfn) != 3)
H A Di2c-designware-pcidrv.c134 c->bus_num = PCI_FUNC(pdev->devfn) + 0 + 1;
137 c->bus_num = PCI_FUNC(pdev->devfn) + 4 + 1;
/linux-master/drivers/iommu/amd/
H A Dinit.c295 PCI_FUNC(iommu->devid));
1347 PCI_FUNC(e->devid),
1359 PCI_FUNC(e->devid),
1373 PCI_FUNC(e->devid),
1377 PCI_FUNC(e->ext >> 8));
1392 PCI_FUNC(e->devid),
1396 PCI_FUNC(e->ext >> 8));
1410 PCI_FUNC(e->devid),
1423 PCI_FUNC(e->devid),
1436 PCI_FUNC(
[all...]
/linux-master/drivers/misc/ocxl/
H A Dconfig.c105 if (!pos && PCI_FUNC(dev->devfn) == 0) {
109 if (pos && PCI_FUNC(dev->devfn) != 0) {
175 if (PCI_FUNC(dev->devfn) != 0)
213 if (PCI_FUNC(dev->devfn) != 0) {
800 if (PCI_FUNC(dev->devfn) != 0)
/linux-master/drivers/pci/hotplug/
H A Dcpqphp_nvram.c279 rc = add_byte(&pFill, PCI_FUNC(ctrl->pci_dev->devfn), &usedbytes, &available);
467 (function != PCI_FUNC(ctrl->pci_dev->devfn))) {
H A Dcpci_hotplug_pci.c247 slot->bus->number, PCI_SLOT(slot->devfn), PCI_FUNC(slot->devfn));
/linux-master/drivers/infiniband/hw/irdma/
H A Dmain.c220 pr_debug("INIT: Gen2 PF[%d] device remove success\n", PCI_FUNC(pf->pdev->devfn));
304 ibdev_dbg(&iwdev->ibdev, "INIT: Gen2 PF[%d] device probe success\n", PCI_FUNC(rf->pcidev->devfn));
/linux-master/drivers/edac/
H A Di7core_edac.c871 dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn),
886 dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn),
1245 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
1385 PCI_FUNC(pdev->devfn) != dev_descr->func)) {
1390 bus, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn),
1467 func = PCI_FUNC(pdev->devfn);
1511 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn),
1515 PCI_FUNC(pdev->devfn) == 2)

Completed in 437 milliseconds

123456789