Searched refs:devfn (Results 126 - 150 of 327) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/iseries/
H A Dpci.c51 static struct device_node *find_Device_Node(int bus, int devfn);
171 node = find_Device_Node(pdev->bus->number, pdev->devfn);
173 pdev->bus->number, pdev->devfn, node);
220 static struct device_node *find_Device_Node(int bus, int devfn) argument
227 if (pdn && (bus == pdn->busno) && (devfn == pdn->devfn))
236 * For now at least, we look for the device node for the bus and devfn
237 * that we are asked to access. It may be possible to translate the devfn
253 static int iSeries_pci_read_config(struct pci_bus *bus, unsigned int devfn, argument
256 struct device_node *node = find_Device_Node(bus->number, devfn);
283 iSeries_pci_write_config(struct pci_bus *bus, unsigned int devfn, int offset, int size, u32 val) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pcmcia/
H A Dti113x.h232 if(PCI_FUNC(socket->dev->devfn)==1)
447 func0 = pci_get_slot(socket->dev->bus, socket->dev->devfn & ~0x07);
616 int devfn; local
667 devfn = socket->dev->devfn & ~0x07;
669 (socket->dev->devfn & 0x07) ? devfn : devfn | 0x01);
750 if ((PCI_FUNC(socket->dev->devfn) == 0) ||
809 if (disable_clkrun && PCI_FUNC(socket->dev->devfn)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/i2c/busses/
H A Di2c-prosavage.c267 dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
278 dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/52xx/
H A Defika.c51 static int rtas_read_config(struct pci_bus *bus, unsigned int devfn, int offset, argument
55 unsigned long addr = (offset & 0xff) | ((devfn & 0xff) << 8)
66 static int rtas_write_config(struct pci_bus *bus, unsigned int devfn, argument
70 unsigned long addr = (offset & 0xff) | ((devfn & 0xff) << 8)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pseries/
H A Dpci.c75 && dev->bus->number == 0 && dev->devfn == 0x81)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-iop32x/
H A Diq31244.c127 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
163 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/mb93090-mb00/
H A Dpci-irq.c52 dev->irq = pci_bus0_irq_routing[PCI_SLOT(dev->devfn)][pin - 1];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/pci/
H A Dmmconfig-shared.c39 unsigned int devfn = PCI_DEVFN(i, 0); local
42 pci_conf1_read(0, bus, devfn, 0, 4, &val1);
46 if (pci_mmcfg_arch_reachable(0, bus, devfn)) {
47 raw_pci_ops->read(0, bus, devfn, 0, 4, &val2);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/atari/
H A Dhades-pci.c68 int device = dev->devfn >> 3, function = dev->devfn & 7;
72 dev->bus->number, dev->devfn, where, pci_addr));
313 slot = PCI_SLOT(dev->devfn); /* Determine slot number. */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/
H A Dcpci_hotplug.h45 unsigned int devfn; member in struct:slot
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/arch-ixp2000/
H A Dplatform.h129 u32 *ixp2000_pci_config_addr(unsigned int bus, unsigned int devfn, int where);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/
H A Dcore_apecs.c269 apecs_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
277 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1))
288 apecs_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument
295 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1))
H A Dcore_irongate.c103 irongate_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
109 if (mk_conf_addr(bus, devfn, where, &addr, &type1))
128 irongate_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument
134 if (mk_conf_addr(bus, devfn, where, &addr, &type1))
H A Dcore_mcpcia.c169 mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where, argument
176 DBG_CFG(("mk_conf_addr(bus=%d,devfn=0x%x,hose=%d,where=0x%x,"
178 bus, devfn, hose->index, where, pci_addr, type1));
185 addr = (bus << 16) | (devfn << 8) | (where);
195 mcpcia_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
202 if (mk_conf_addr(bus, devfn, where, hose, &addr, &type1))
222 mcpcia_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument
229 if (mk_conf_addr(bus, devfn, where, hose, &addr, &type1))
H A Dsys_dp264.c440 slot = PCI_SLOT(dev->devfn);
443 else if (hose->index == 1 && PCI_SLOT(dev->bus->self->devfn) == 8) {
444 slot = PCI_SLOT(dev->devfn);
450 PCI_SLOT(dev->bus->self->devfn) == 8) {
451 slot = PCI_SLOT(dev->devfn);
454 pin = bridge_swizzle(pin, PCI_SLOT(dev->devfn)) ;
459 slot = PCI_SLOT(dev->devfn);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/pci/
H A Dcy82c693.c284 dev = pci_get_slot(dev->bus, dev->devfn+1);
395 if (PCI_FUNC(dev->devfn) != 1)
473 if (PCI_FUNC(hwif->pci_dev->devfn) == 1)
499 PCI_FUNC(dev->devfn) == 1) {
500 dev2 = pci_get_slot(dev->bus, dev->devfn + 1);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/celleb/
H A Dpci.c164 unsigned int devfn, int where, int size, u32 *val)
169 unsigned int devno = devfn >> 3;
170 unsigned int fn = devfn & 0x7;
194 unsigned int devfn, int where, int size, u32 val)
200 unsigned int devno = devfn >> 3;
201 unsigned int fn = devfn & 0x7;
163 celleb_fake_pci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
193 celleb_fake_pci_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/syslib/
H A Dm8260_pci_erratum9.c360 static int indirect_write_config(struct pci_bus *pbus, unsigned int devfn, int where, argument
366 if (ppc_md.pci_exclude_device(pbus->number, devfn))
374 (((where & 0xfc) | cfg_type) << 24) | (devfn << 16)
392 static int indirect_read_config(struct pci_bus *pbus, unsigned int devfn, int where, argument
398 if (ppc_md.pci_exclude_device(pbus->number, devfn))
406 (((where & 0xfc) | cfg_type) << 24) | (devfn << 16)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/kernel/
H A Dprom.c350 unsigned int devfn; local
357 devfn = (regs->phys_hi >> 8) & 0xff;
358 if (devfn & 0x07) {
361 devfn >> 3,
362 devfn & 0x07);
366 devfn >> 3);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/sysdev/
H A Dmpic.c393 unsigned int devfn)
421 PCI_SLOT(devfn), PCI_FUNC(devfn),
429 unsigned int devfn)
436 unsigned int devfn, u32 vdid)
461 devfn >> 3, devfn & 0x7, pos, vdid & 0xffff, vdid >> 16, n + 1);
486 unsigned int devfn; local
508 for (devfn = 0; devfn <
392 mpic_scan_ht_msi(struct mpic *mpic, u8 __iomem *devbase, unsigned int devfn) argument
428 mpic_scan_ht_msi(struct mpic *mpic, u8 __iomem *devbase, unsigned int devfn) argument
435 mpic_scan_ht_pic(struct mpic *mpic, u8 __iomem *devbase, unsigned int devfn, u32 vdid) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/
H A Dpci.c389 struct pci_bus *bus, int devfn,
414 printk(" create device, devfn: %x, type: %s\n",
415 devfn, type);
421 dev->devfn = devfn;
432 0x00, PCI_SLOT(devfn), PCI_FUNC(devfn));
453 dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn));
749 int reglen, devfn; local
387 of_create_pci_dev(struct pci_pbm_info *pbm, struct device_node *node, struct pci_bus *bus, int devfn, int host_controller) argument
813 pci_host_bridge_read_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, int where, int size, u32 *value) argument
843 pci_host_bridge_write_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, int where, int size, u32 value) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/parisc/
H A Ddino.c171 static int dino_cfg_read(struct pci_bus *bus, unsigned int devfn, int where, argument
176 u32 v = DINO_CFG_TOK(local_bus, devfn, where & ~3);
180 DBG("%s: %p, %d, %d, %d\n", __FUNCTION__, base_addr, devfn, where,
206 static int dino_cfg_write(struct pci_bus *bus, unsigned int devfn, int where, argument
211 u32 v = DINO_CFG_TOK(local_bus, devfn, where & ~3);
215 DBG("%s: %p, %d, %d, %d\n", __FUNCTION__, base_addr, devfn, where,
533 dino_cfg_write(dev->bus, dev->devfn,
545 dino_cfg_read(dev->bus, dev->devfn, PCI_INTERRUPT_PIN, 1, &irq_pin);
546 dev->irq = (irq_pin + PCI_SLOT(dev->devfn) - 1) % 4 ;
551 dino_cfg_write(dev->bus, dev->devfn, PCI_INTERRUPT_LIN
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hysdn/
H A Dhysdn_init.c90 card->devfn = akt_pcidev->devfn; /* slot + function */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/embedded6xx/
H A Dmpc7448_hpc2.c65 int mpc7448_hpc2_exclude_device(u_char bus, u_char devfn) argument
67 if (bus == 0 && PCI_SLOT(devfn) == 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/boot/simple/
H A Dmisc-prep.c49 pci_read_config_32(unsigned char devfn, argument
55 *(unsigned int *)PCI_CFG_ADDR(devfn,offset) =
102 * Motorola Ethernet is at IDSEL 14 (devfn 0x70)

Completed in 381 milliseconds

1234567891011>>