/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/boot/simple/ |
H A D | qspan_pci.c | 41 * The QSPAN only supports 4 bits of "slot" in the dev_fn instead of 5. 42 * It always forces the MS bit to zero. Therefore, dev_fn values 146 int qs_pci_read_config_byte(unsigned char bus, unsigned char dev_fn, argument 152 if ((bus > 7) || (dev_fn > 127)) { 158 *QS_CONFIG_ADDR = mk_config_addr(bus, dev_fn, offset); 160 *QS_CONFIG_ADDR = mk_config_type1(bus, dev_fn, offset); 169 int qs_pci_read_config_word(unsigned char bus, unsigned char dev_fn, argument 175 if ((bus > 7) || (dev_fn > 127)) { 181 *QS_CONFIG_ADDR = mk_config_addr(bus, dev_fn, offset); 183 *QS_CONFIG_ADDR = mk_config_type1(bus, dev_fn, offse 192 qs_pci_read_config_dword(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned int *val) argument 207 qs_pci_write_config_byte(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned char val) argument 231 qs_pci_write_config_word(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned short val) argument 255 qs_pci_write_config_dword(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned int val) argument [all...] |
H A D | misc-spruce.c | 31 void cpc700_pcibios_read_config_byte(unsigned char bus, unsigned char dev_fn, argument 35 (((bus & 0xff)<<16) | (dev_fn<<8) | (offset&0xfc) | 0x80000000)); 40 void cpc700_pcibios_write_config_byte(unsigned char bus, unsigned char dev_fn, argument 44 (((bus & 0xff)<<16) | (dev_fn<<8) | (offset&0xfc) | 0x80000000)); 49 void cpc700_pcibios_read_config_word(unsigned char bus, unsigned char dev_fn, argument 53 (((bus & 0xff)<<16) | (dev_fn<<8) | (offset&0xfc) | 0x80000000)); 58 void cpc700_pcibios_write_config_word(unsigned char bus, unsigned char dev_fn, argument 62 (((bus & 0xff)<<16) | (dev_fn<<8) | (offset&0xfc) | 0x80000000)); 67 void cpc700_pcibios_read_config_dword(unsigned char bus, unsigned char dev_fn, argument 71 (((bus & 0xff)<<16) | (dev_fn<< 76 cpc700_pcibios_write_config_dword(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned int val) argument [all...] |
H A D | pci.c | 37 qs_pci_read_config_byte(unsigned char bus, unsigned char dev_fn, 40 qs_pci_read_config_word(unsigned char bus, unsigned char dev_fn, 43 qs_pci_read_config_dword(unsigned char bus, unsigned char dev_fn, 46 qs_pci_write_config_byte(unsigned char bus, unsigned char dev_fn, 49 qs_pci_write_config_word(unsigned char bus, unsigned char dev_fn, 52 qs_pci_write_config_dword(unsigned char bus, unsigned char dev_fn,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/syslib/ |
H A D | qspan_pci.c | 56 * The QSPAN only supports 4 bits of "slot" in the dev_fn instead of 5. 57 * It always forces the MS bit to zero. Therefore, dev_fn values 98 int qspan_pcibios_read_config_byte(unsigned char bus, unsigned char dev_fn, argument 107 if ((bus > 7) || (dev_fn > 127)) { 120 *QS_CONFIG_ADDR = mk_config_addr(bus, dev_fn, offset); 122 *QS_CONFIG_ADDR = mk_config_type1(bus, dev_fn, offset); 137 int qspan_pcibios_read_config_word(unsigned char bus, unsigned char dev_fn, argument 146 if ((bus > 7) || (dev_fn > 127)) { 159 *QS_CONFIG_ADDR = mk_config_addr(bus, dev_fn, offset); 161 *QS_CONFIG_ADDR = mk_config_type1(bus, dev_fn, offse 176 qspan_pcibios_read_config_dword(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned int *val) argument 210 qspan_pcibios_write_config_byte(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned char val) argument 250 qspan_pcibios_write_config_word(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned short val) argument 290 qspan_pcibios_write_config_dword(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned int val) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ppc/ |
H A D | pci-bridge.h | 90 int early_read_config_byte(struct pci_controller *hose, int bus, int dev_fn, 92 int early_read_config_word(struct pci_controller *hose, int bus, int dev_fn, 94 int early_read_config_dword(struct pci_controller *hose, int bus, int dev_fn, 96 int early_write_config_byte(struct pci_controller *hose, int bus, int dev_fn, 98 int early_write_config_word(struct pci_controller *hose, int bus, int dev_fn, 100 int early_write_config_dword(struct pci_controller *hose, int bus, int dev_fn,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/pci/ |
H A D | ops-tx3927.c | 44 static inline int mkaddr(unsigned char bus, unsigned char dev_fn, argument 47 if (bus == 0 && dev_fn >= PCI_DEVFN(TX3927_PCIC_MAX_DEVNU, 0)) 51 ((dev_fn & 0xff) << 0x08) |
|
H A D | ops-tx4927.c | 64 static int mkaddr(int bus, int dev_fn, int where, int *flagsp) argument 69 ((dev_fn & 0xff) << 0x08) | (where & 0xfc) | 1; 71 if (dev_fn >= PCI_DEVFN(TX4927_PCIC_MAX_DEVNU, 0)) 76 ((dev_fn & 0xff) << 0x08) | (where & 0xfc);
|
H A D | ops-tx4938.c | 49 static int mkaddr(int bus, int dev_fn, int where, int *flagsp) argument 54 ((dev_fn & 0xff) << 0x08) | (where & 0xfc) | 1; 56 if (dev_fn >= PCI_DEVFN(TX4938_PCIC_MAX_DEVNU, 0)) 61 ((dev_fn & 0xff) << 0x08) | (where & 0xfc);
|
H A D | ops-au1000.c | 78 unsigned int dev_fn, unsigned char where, 82 unsigned int device = PCI_SLOT(dev_fn); 83 unsigned int function = PCI_FUNC(dev_fn); 77 config_access(unsigned char access_type, struct pci_bus *bus, unsigned int dev_fn, unsigned char where, u32 * data) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/ |
H A D | ida_ioctl.h | 38 unsigned char dev_fn; member in struct:_ida_pci_info_struct
|
H A D | cpqarray.c | 1204 pciinfo.dev_fn = host->pci_dev->devfn;
|
H A D | cciss.c | 703 pciinfo.dev_fn = host->pdev->devfn;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/maple/ |
H A D | pci.c | 101 u8 bus, u8 dev_fn, u8 offset) 106 if (dev_fn < (11 << 3)) 108 caddr = u3_agp_cfa0(dev_fn, offset); 110 caddr = u3_agp_cfa1(bus, dev_fn, offset); 309 u8 bus, u8 dev_fn, int offset) 314 caddr = u4_pcie_cfa0(dev_fn, offset); 316 caddr = u4_pcie_cfa1(bus, dev_fn, offset); 100 u3_agp_cfg_access(struct pci_controller* hose, u8 bus, u8 dev_fn, u8 offset) argument 308 u4_pcie_cfg_access(struct pci_controller* hose, u8 bus, u8 dev_fn, int offset) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/powermac/ |
H A D | pci.c | 128 ((1 << (unsigned int)PCI_SLOT(dev_fn)) \ 129 | (((unsigned int)PCI_FUNC(dev_fn)) << 8) \ 139 u8 bus, u8 dev_fn, u8 offset) 144 if (dev_fn < (11 << 3)) 146 caddr = MACRISC_CFA0(dev_fn, offset); 148 caddr = MACRISC_CFA1(bus, dev_fn, offset); 234 * Verify that a specific (bus, dev_fn) exists on chaos 464 ((1 << ((unsigned int)PCI_SLOT(dev_fn))) \ 465 | (((unsigned int)PCI_FUNC(dev_fn)) << 8) \ 477 u8 bus, u8 dev_fn, in 138 macrisc_cfg_access(struct pci_controller* hose, u8 bus, u8 dev_fn, u8 offset) argument 476 u4_pcie_cfg_access(struct pci_controller* hose, u8 bus, u8 dev_fn, int offset) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | cciss_ioctl.h | 13 unsigned char dev_fn; member in struct:_cciss_pci_info_struct
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/ |
H A D | planb.c | 2139 unsigned char dev_fn, confreg, bus; local 2188 dev_fn = (planb_devices->addrs[0].space >> 8) & 0xff; 2196 bus, PCI_SLOT(dev_fn), PCI_FUNC(dev_fn), old_base, confreg); 2198 pdev = pci_get_bus_and_slot(bus, dev_fn);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/atm/ |
H A D | iphase.h | 1033 unsigned char dev_fn; member in struct:iadev_t
|