Searched refs:devfn (Results 176 - 200 of 327) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/pci/
H A Dpci-ddb5477.c152 slot_num = PCI_SLOT(dev->devfn);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/
H A Dcpqphp_nvram.c288 rc = add_byte( &pFill, PCI_SLOT(ctrl->pci_dev->devfn), &usedbytes, &available);
293 rc = add_byte( &pFill, PCI_FUNC(ctrl->pci_dev->devfn), &usedbytes, &available);
482 (device != PCI_SLOT(ctrl->pci_dev->devfn)) ||
483 (function != PCI_FUNC(ctrl->pci_dev->devfn))) {
H A Dibmphp_res.c1938 unsigned int devfn; local
1950 devfn = PCI_DEVFN(device, function);
1951 pci_bus_read_config_word (ibmphp_pci_bus, devfn, PCI_VENDOR_ID, &vendor_id);
1955 pci_bus_read_config_byte (ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type);
1974 pci_bus_read_config_byte (ibmphp_pci_bus, devfn, PCI_SECONDARY_BUS, &sec_busno);
1982 pci_bus_read_config_byte (ibmphp_pci_bus, devfn, PCI_IO_BASE, &start_io_address);
1983 pci_bus_read_config_byte (ibmphp_pci_bus, devfn, PCI_IO_LIMIT, &end_io_address);
1984 pci_bus_read_config_word (ibmphp_pci_bus, devfn, PCI_IO_BASE_UPPER16, &upper_io_start);
1985 pci_bus_read_config_word (ibmphp_pci_bus, devfn, PCI_IO_LIMIT_UPPER16, &upper_io_end);
2033 pci_bus_read_config_word (ibmphp_pci_bus, devfn, PCI_MEMORY_BAS
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/
H A Dpci.h39 extern int pci_bus_find_capability (struct pci_bus *bus, unsigned int devfn, int cap);
H A Dpci-acpi.c285 addr = (PCI_SLOT(pci_dev->devfn) << 16) | PCI_FUNC(pci_dev->devfn);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pcmcia/
H A Do2micro.h139 if (PCI_FUNC(socket->dev->devfn) == 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/
H A Dcore_t2.c282 t2_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
290 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1))
301 t2_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, argument
308 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1))
H A Dcore_tsunami.c114 tsunami_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
120 if (mk_conf_addr(bus, devfn, where, &addr, &type1))
139 tsunami_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument
145 if (mk_conf_addr(bus, devfn, where, &addr, &type1))
H A Dcore_marvel.c497 unsigned int devfn, int where)
499 return (hose->config_space_base | (bus << 16) | (devfn << 8) | where);
503 mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where)
520 if (devfn >= PCI_DEVFN(21, 0))
525 addr = build_conf_addr(hose, bus, devfn, where);
532 marvel_read_config(struct pci_bus *bus, unsigned int devfn, int where,
537 if (0 == (addr = mk_conf_addr(bus, devfn, where)))
558 marvel_write_config(struct pci_bus *bus, unsigned int devfn, int where,
563 if (0 == (addr = mk_conf_addr(bus, devfn, where)))
491 build_conf_addr(struct pci_controller *hose, u8 bus, unsigned int devfn, int where) argument
498 mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where) argument
527 marvel_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value) argument
553 marvel_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/pci/
H A Dirq.c130 DBG(KERN_DEBUG "%02x:%02x slot=%02x", e->bus, e->devfn/8, e->slot);
787 if (info->bus == dev->bus->number && PCI_SLOT(info->devfn) == PCI_SLOT(dev->devfn))
961 irq = IO_APIC_get_PCI_irq_vector(dev->bus->number, PCI_SLOT(dev->devfn), pin);
971 pin = (pin + PCI_SLOT(dev->devfn)) % 4;
973 PCI_SLOT(bridge->devfn), pin);
1110 irq = IO_APIC_get_PCI_irq_vector(dev->bus->number, PCI_SLOT(dev->devfn), pin);
1121 pin = (pin + PCI_SLOT(dev->devfn)) % 4;
1123 PCI_SLOT(bridge->devfn), pin);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/85xx/
H A Dmpc85xx_ads.c47 static int mpc85xx_exclude_device(u_char bus, u_char devfn) argument
49 if (bus == 0 && PCI_SLOT(devfn) == 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/86xx/
H A Dpci.c143 int mpc86xx_exclude_device(u_char bus, u_char devfn) argument
145 if (bus == 0 && PCI_SLOT(devfn) == 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/embedded6xx/
H A Dholly.c48 int holly_exclude_device(u_char bus, u_char devfn) argument
50 if (bus == 0 && PCI_SLOT(devfn) == 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pseries/
H A Dmsi.c56 addr = rtas_config_addr(pdn->busno, pdn->devfn, 0);
100 addr = rtas_config_addr(pdn->busno, pdn->devfn, 0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/platforms/85xx/
H A Dstx_gp3.c264 int mpc85xx_exclude_device(u_char bus, u_char devfn) argument
266 if (bus == 0 && PCI_SLOT(devfn) == 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-ixp23xx/
H A Dixdp2351.c180 u32 devpin = DEVPIN(PCI_SLOT(dev->devfn), pin);
192 switch (tmp_bus->self->devfn | (tmp_bus->self->bus->number << 8)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic7xxx/
H A Daic79xx_osm_pci.c112 unsigned int master_devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0);
189 if ((ahd->features & AHD_MULTI_FUNC) && PCI_FUNC(pdev->devfn) != 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/fusion/
H A Dmptctl.h386 u8 devfn; member in struct:_hp_host_info
409 u8 devfn; member in struct:_hp_host_info_rev0
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/pci/
H A Dserverworks.c111 (!(PCI_FUNC(dev->devfn) & 1)))
336 if (!(PCI_FUNC(dev->devfn) & 1)) {
388 if (!(PCI_FUNC(dev->devfn) & 1))
518 if (!(PCI_FUNC(dev->devfn) & 1)) {
526 (!(PCI_FUNC(dev->devfn) & 1))) ? 1 : 2;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/tx4927/toshiba_rbtx4927/
H A Dtoshiba_rbtx4927_setup.c218 int top_bus, int busnr, int devfn)
224 dev.devfn = devfn;
235 int top_bus, int bus, int devfn, int offset, type value) \
238 fake_pci_dev(hose, top_bus, bus, devfn), \
217 fake_pci_dev(struct pci_controller *hose, int top_bus, int busnr, int devfn) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/kernel/
H A Dbios32.c36 if (dev->bus->number == 0 && dev->devfn == 0)
149 if (dev->devfn == 0) {
257 } else if (PCI_FUNC(dev->devfn) == 0) {
475 pin = (pin + PCI_SLOT(dev->devfn)) & 3;
484 return PCI_SLOT(dev->devfn);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/kernel/
H A Dpci.c662 pin = bridge_swizzle(pin, PCI_SLOT(dev->devfn));
670 return PCI_SLOT(dev->devfn);
1051 long sys_pciconfig_iobase(long which, unsigned long bus, unsigned long devfn) argument
1182 null_read_config(struct pci_bus *bus, unsigned int devfn, int offset, argument
1189 null_write_config(struct pci_bus *bus, unsigned int devfn, int offset, argument
1223 int devfn, int offset, type value) \
1226 devfn, offset, value); \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dpci_64.c339 struct pci_bus *bus, int devfn)
351 DBG(" create device, devfn: %x, type: %s\n", devfn, type);
357 dev->devfn = devfn;
368 dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn));
404 int reglen, devfn; local
414 devfn = (reg[0] >> 8) & 0xff;
417 dev = of_create_pci_dev(child, bus, devfn);
338 of_create_pci_dev(struct device_node *node, struct pci_bus *bus, int devfn) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/
H A Dprom.c447 unsigned int bus, devfn; local
453 devfn = (phys_hi >> 8) & 0xff;
455 config_space |= SABRE_CONFIG_ENCODE(bus, devfn, 0x00);
1332 unsigned int devfn; local
1339 devfn = (regs->phys_hi >> 8) & 0xff;
1340 if (devfn & 0x07) {
1343 devfn >> 3,
1344 devfn & 0x07);
1348 devfn >> 3);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/sn/kernel/
H A Dio_common.c241 unsigned int bus_no, devfn; local
254 devfn = pcidev_info->pdi_slot_host_handle & 0xffffffff;
256 host_pci_dev = pci_get_slot(host_pci_bus, devfn);

Completed in 159 milliseconds

1234567891011>>