Searched refs:PCI_DEVFN (Results 1 - 25 of 86) sorted by relevance

1234

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/hotplug/
H A Dpciehp_pci.c68 dev = pci_get_slot(parent, PCI_DEVFN(0, 0));
77 num = pci_scan_slot(parent, PCI_DEVFN(0, 0));
84 dev = pci_get_slot(parent, PCI_DEVFN(0, fn));
97 dev = pci_get_slot(parent, PCI_DEVFN(0, fn));
130 struct pci_dev *temp = pci_get_slot(parent, PCI_DEVFN(0, j));
H A Dshpchp_pci.c44 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0));
53 num = pci_scan_slot(parent, PCI_DEVFN(p_slot->device, 0));
60 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, fn));
H A Dcpqphp_pci.c91 func->pci_dev = pci_get_bus_and_slot(func->bus,PCI_DEVFN(func->device, func->function));
97 num = pci_scan_slot(ctrl->pci_dev->bus, PCI_DEVFN(func->device, func->function));
101 func->pci_dev = pci_get_bus_and_slot(func->bus, PCI_DEVFN(func->device, func->function));
127 struct pci_dev* temp = pci_get_bus_and_slot(func->bus, PCI_DEVFN(func->device, j));
227 pci_bus_read_config_byte (ctrl->pci_bus, PCI_DEVFN(tdevice, 0), PCI_SECONDARY_BUS, &tbus);
333 rc = pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(device, 0), PCI_VENDOR_ID, &ID);
354 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, 0), 0x0B, &class_code);
358 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, 0), PCI_HEADER_TYPE, &header_type);
376 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, function), PCI_SECONDARY_BUS, &secondary_bus);
415 rc = pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(devic
[all...]
H A Dibmphp_pci.c107 unsigned int devfn = PCI_DEVFN(device, function);
369 devfn = PCI_DEVFN(func->device, func->function);
412 io[count]->devfunc = PCI_DEVFN(func->device, func->function);
449 pfmem[count]->devfunc = PCI_DEVFN(func->device,
515 mem[count]->devfunc = PCI_DEVFN(func->device,
600 devfn = PCI_DEVFN(func->function, func->device);
681 bus_io[count]->devfunc = PCI_DEVFN(func->device,
713 bus_pfmem[count]->devfunc = PCI_DEVFN(func->device,
770 bus_mem[count]->devfunc = PCI_DEVFN(func->device,
841 io->devfunc = PCI_DEVFN(fun
[all...]
H A Dcpci_hotplug_pci.c288 dev = pci_get_slot(parent, PCI_DEVFN(PCI_SLOT(slot->devfn), fn));
342 PCI_DEVFN(PCI_SLOT(slot->devfn), i));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mn10300/unit-asb2305/
H A Dpci.c120 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) {
140 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) {
160 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) {
180 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) {
185 (devfn == PCI_DEVFN(2, 0) || devfn == PCI_DEVFN(3, 0))
200 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) {
218 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) {
455 o->read (bus, PCI_DEVFN(2, 0), PCI_VENDOR_ID, 4, &x);
456 o->read (bus, PCI_DEVFN(
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Di7300_idle.h12 #define IOAT_DEVFN PCI_DEVFN(8, 0)
14 #define MEMCTL_DEVFN PCI_DEVFN(16, 1)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/pci/
H A Dpci-bcm1480.c211 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0),
223 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40));
224 WRITECFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40),
226 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40));
H A Dfixup-cobalt.c42 if (dev->devfn == PCI_DEVFN(0, 0) &&
140 if (dev->devfn != PCI_DEVFN(0, 0))
H A Dops-loongson2.c190 u32 devfn = PCI_DEVFN(PCI_IDSEL_CS5536, 0);
206 u32 devfn = PCI_DEVFN(PCI_IDSEL_CS5536, 0);
H A Dpci-sb1250.c238 (0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0),
259 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(LDT_BRIDGE_DEVICE, 0),
H A Dops-gt64xxx_pci0.c48 if ((busnum == 0) && (devfn >= PCI_DEVFN(31, 0)))
H A Dops-nile4.c32 if ((busnum == 0) && (devfn == PCI_DEVFN(0, 0))) {
H A Dops-sni.c29 if (busno == 0 && devfn >= PCI_DEVFN(8, 0))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/acpi/
H A Dreboot.c34 devfn = PCI_DEVFN((rr->address >> 32) & 0xffff,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pcmcia/
H A Dcardbus.c73 s->functions = pci_scan_slot(bus, PCI_DEVFN(0, 0));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/pci/
H A Dmrst.c144 if (bus == 0 && (devfn == PCI_DEVFN(2, 0) || devfn == PCI_DEVFN(0, 0)))
250 if (!offset || PCI_DEVFN(2, 0) == dev->devfn ||
251 PCI_DEVFN(2, 2) == dev->devfn)
H A Dmmconfig-shared.c116 raw_pci_ops->read(0, 0, PCI_DEVFN(0, 0), 0xce, 2, &win);
132 raw_pci_ops->read(0, 0, PCI_DEVFN(0, 0), 0x48, 4, &pciexbar);
252 raw_pci_ops->read(0, bus, PCI_DEVFN(0, 0), 0, 4, &l);
259 raw_pci_ops->read(0, bus, PCI_DEVFN(0, 0), extcfg_regnum,
291 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_INTEL,
293 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_INTEL,
295 { 0, PCI_DEVFN(0x18, 0), PCI_VENDOR_ID_AMD,
297 { 0xff, PCI_DEVFN(0, 0), PCI_VENDOR_ID_AMD,
299 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_NVIDIA,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/sysdev/
H A Dmv64x60_pci.c39 phb = pci_get_bus_and_slot(0, PCI_DEVFN(0, 0));
63 phb = pci_get_bus_and_slot(0, PCI_DEVFN(0, 0));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/frv/mb93090-mb00/
H A Dpci-vdk.c87 // return dev->bus->number==0 && (dev->devfn==PCI_DEVFN(0,0));
90 // (dev->devfn==PCI_DEVFN(2,0) || dev->devfn==PCI_DEVFN(3,0));
103 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) {
136 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) {
146 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) {
156 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/alpha/kernel/
H A Dsys_sio.c91 pci_bus_read_config_dword(pci_isa_hose->bus, PCI_DEVFN(7, 0), 0x60,
101 pci_bus_write_config_dword(pci_isa_hose->bus, PCI_DEVFN(7, 0), 0x60,
298 pci_bus_write_config_dword(pci_isa_hose->bus, PCI_DEVFN(7, 0), 0x60,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/microblaze/pci/
H A Dxilinx_pci.c99 PCI_DEVFN(dev, func), offset, &val);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-iop32x/
H A Dn2100.c133 (dev->devfn == PCI_DEVFN(1, 0) ||
134 dev->devfn == PCI_DEVFN(2, 0)))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/boot/
H A Dmv64x60.c23 #define PCI_DEVFN(slot,func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro
438 PCI_DEVFN(0, mv64x60_pci2mem[hose].fcn),
441 PCI_DEVFN(0, mv64x60_pci2mem[hose].fcn),
454 mv64x60_cfg_write(bridge_base, hose, bus, PCI_DEVFN(0,0),
456 mv64x60_cfg_write(bridge_base, hose, bus, PCI_DEVFN(0,0),
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/ia64/sn/pci/
H A Dtioce_provider.c764 raw_pci_read(seg, bus, PCI_DEVFN(2, 0), PCI_SECONDARY_BUS, 1,&tmp);
805 raw_pci_read(seg, bus, PCI_DEVFN(dev, 0),
809 raw_pci_read(seg, bus, PCI_DEVFN(dev, 0),
823 raw_pci_read(seg, bus, PCI_DEVFN(dev, 0),
827 raw_pci_read(seg, bus, PCI_DEVFN(dev, 0),
831 raw_pci_read(seg, bus, PCI_DEVFN(dev, 0),
837 raw_pci_read(seg, bus, PCI_DEVFN(dev, 0),

Completed in 217 milliseconds

1234