/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/pci/ |
H A D | ops-msc.c | 48 struct pci_bus *bus, unsigned int devfn, int where, u32 * data) 61 ((where / 4) << MSC01_PCI_CFGADDR_RNUM_SHF))); 90 int where, int size, u32 * val) 94 if ((size == 2) && (where & 1)) 96 else if ((size == 4) && (where & 3)) 99 if (msc_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, 104 *val = (data >> ((where & 3) << 3)) & 0xff; 106 *val = (data >> ((where & 3) << 3)) & 0xffff; 114 int where, int size, u32 val) 118 if ((size == 2) && (where 47 msc_pcibios_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 * data) argument 89 msc_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument 113 msc_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-rc32434.c | 49 unsigned char where, u32 *data) 55 PCI_CFG_SET(bus->number, slot, func, where); 74 int where, u8 *val) 79 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); 80 *val = (data >> ((where & 3) << 3)) & 0xff; 85 int where, u16 *val) 90 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); 91 *val = (data >> ((where & 3) << 3)) & 0xffff; 96 int where, u32 *val) 109 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, va 47 config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, unsigned char where, u32 *data) argument 73 read_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 *val) argument 84 read_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 *val) argument 95 read_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 *val) argument 130 write_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 val) argument 149 write_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 val) argument 169 write_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 val) argument 178 pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 191 pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-nile4.c | 21 struct pci_bus *bus, unsigned int devfn, int where, u32 *val) 35 vrc_pciregs[(0x200 + where) >> 2] = *val; 37 *val = vrc_pciregs[(0x200 + where) >> 2]; 56 | (where & ~3)); 59 (where & ~3); 79 int where, int size, u32 *val) 85 if ((size == 2) && (where & 1)) 87 else if ((size == 4) && (where & 3)) 91 err = nile4_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, 99 *val = (data >> ((where 20 nile4_pcibios_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 *val) argument 78 nile4_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 108 nile4_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-gt64xxx_pci0.c | 43 struct pci_bus *bus, unsigned int devfn, int where, u32 * data) 59 ((where / 4) << GT_PCI0_CFGADDR_REGNUM_SHF) | 104 int where, int size, u32 * val) 109 where, &data)) 113 *val = (data >> ((where & 3) << 3)) & 0xff; 115 *val = (data >> ((where & 3) << 3)) & 0xffff; 123 int where, int size, u32 val) 131 devfn, where, &data)) 135 data = (data & ~(0xff << ((where & 3) << 3))) | 136 (val << ((where 42 gt64xxx_pci0_pcibios_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 * data) argument 103 gt64xxx_pci0_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument 122 gt64xxx_pci0_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-vr41xx.c | 36 unsigned int devfn, int where) 42 if (PCI_SLOT(devfn) < 11 || where > 0xff) 46 (where & 0xfc), PCICONFAREG); 51 if (where > 0xff) 55 (where & 0xfc) | 1U, PCICONFAREG); 61 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, argument 67 if (set_pci_configuration_address(bus->number, devfn, where) < 0) 74 *val = (data >> ((where & 3) << 3)) & 0xffU; 77 *val = (data >> ((where & 2) << 3)) & 0xffffU; 89 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, argument 35 set_pci_configuration_address(unsigned char number, unsigned int devfn, int where) argument [all...] |
H A D | ops-bonito64.c | 39 unsigned int devfn, int where, 48 int reg = where & ~3; 103 int where, int size, u32 * val) 107 if ((size == 2) && (where & 1)) 109 else if ((size == 4) && (where & 3)) 112 if (bonito64_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, 117 *val = (data >> ((where & 3) << 3)) & 0xff; 119 *val = (data >> ((where & 3) << 3)) & 0xffff; 127 int where, int size, u32 val) 131 if ((size == 2) && (where 37 bonito64_pcibios_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 * data) argument 102 bonito64_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument 126 bonito64_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-pnx8550.c | 42 calc_cfg_addr(struct pci_bus *bus, unsigned int devfn, int where) argument 47 addr |= ((devfn & 0xff) << PCI_CFG_FUNC_SHIFT) | (where & 0xfc); 53 config_access(unsigned int pci_cmd, struct pci_bus *bus, unsigned int devfn, int where, unsigned int pci_mode, unsigned int *val) argument 57 unsigned long ioaddr = calc_cfg_addr(bus, devfn, where); 113 read_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 * val) argument 121 err = config_access(PCI_CMD_CONFIG_READ, bus, devfn, where, ~(1 << (where & 3)), &data); 122 switch (where & 0x03) { 141 read_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 * val) argument 149 if (where 166 read_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 * val) argument 181 write_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 val) argument 209 write_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 val) argument 233 write_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 val) argument 247 config_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument 267 config_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-au1000.c | 94 unsigned int dev_fn, unsigned char where, u32 *data) 132 offset = (function << 8) | (where & ~0x3); 160 access_type, bus->number, device, where, *data, offset); 190 int where, u8 *val) 195 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); 196 if (where & 1) 198 if (where & 2) 205 int where, u16 *val) 210 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); 211 if (where 93 config_access(unsigned char access_type, struct pci_bus *bus, unsigned int dev_fn, unsigned char where, u32 *data) argument 189 read_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 *val) argument 204 read_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 *val) argument 217 read_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 *val) argument 226 write_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 val) argument 243 write_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 val) argument 260 write_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 val) argument 269 config_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 292 config_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-bridge.c | 20 static u32 emulate_ioc3_cfg(int where, int size) argument 22 if (size == 1 && where == 0x3d) 24 else if (size == 2 && where == 0x3c) 26 else if (size == 4 && where == 0x3c) 44 int where, int size, u32 * value) 65 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; 82 if ((where >= 0x14 && where < 0x40) || (where >= 0x48)) { 83 *value = emulate_ioc3_cfg(where, siz 43 pci_conf0_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * value) argument 103 pci_conf1_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * value) argument 167 pci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * value) argument 176 pci_conf0_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument 242 pci_conf1_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument 310 pci_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument [all...] |
H A D | pci-bcm1480.c | 37 #define CFGOFFSET(bus, devfn, where) (((bus)<<16)+((devfn)<<8)+(where)) 38 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) 105 int where, int size, u32 * val) 109 if ((size == 2) && (where & 1)) 111 else if ((size == 4) && (where & 3)) 115 data = READCFG32(CFGADDR(bus, devfn, where)); 120 *val = (data >> ((where & 3) << 3)) & 0xff; 122 *val = (data >> ((where 104 bcm1480_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument 129 bcm1480_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | pci-bcm1480ht.c | 51 #define CFGOFFSET(bus, devfn, where) (((bus)<<16)+((devfn)<<8)+(where)) 52 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) 110 int where, int size, u32 * val) 114 if ((size == 2) && (where & 1)) 116 else if ((size == 4) && (where & 3)) 120 data = READCFG32(CFGADDR(bus, devfn, where)); 125 *val = (data >> ((where & 3) << 3)) & 0xff; 127 *val = (data >> ((where 109 bcm1480ht_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument 134 bcm1480ht_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | pci-sb1250.c | 53 #define CFGOFFSET(bus, devfn, where) (((bus)<<16) + ((devfn)<<8) + (where)) 54 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) 130 int where, int size, u32 * val) 134 if ((size == 2) && (where & 1)) 136 else if ((size == 4) && (where & 3)) 140 data = READCFG32(CFGADDR(bus, devfn, where)); 145 *val = (data >> ((where & 3) << 3)) & 0xff; 147 *val = (data >> ((where 129 sb1250_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument 154 sb1250_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-pmcmsp.c | 129 unsigned char where = 0; /* Write to static Device/Vendor ID */ local 158 (where & 0xFC); 362 * where - address within the Configuration Header 378 unsigned char where, 445 (where & 0xFC); 505 * where - register within the Configuration Header space 517 int where, 528 where, &data)) { 533 *val = (data >> ((where & 3) << 3)) & 0x0ff; 552 * where 375 msp_pcibios_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, unsigned char where, u32 *data) argument 515 msp_pcibios_read_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u32 *val) argument 563 msp_pcibios_read_config_word(struct pci_bus *bus, unsigned int devfn, int where, u32 *val) argument 620 msp_pcibios_read_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 *val) argument 673 msp_pcibios_write_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 val) argument 722 msp_pcibios_write_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 val) argument 774 msp_pcibios_write_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 val) argument 816 msp_pcibios_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 867 msp_pcibios_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-emma2rh.c | 62 unsigned int devfn, int where) 84 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, argument 99 if (set_pci_configuration_address(bus_num, devfn, where) < 0) 104 (where & 0xfffffffc)); 108 *val = (data >> ((where & 3) << 3)) & 0xffU; 111 *val = (data >> ((where & 2) << 3)) & 0xffffU; 129 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, argument 143 if (set_pci_configuration_address(bus_num, devfn, where) < 0) 149 (where & 0xfffffffc)); 153 shift = (where 61 set_pci_configuration_address(unsigned char bus_num, unsigned int devfn, int where) argument [all...] |
H A D | ops-loongson2.c | 37 unsigned int devfn, int where, 46 int reg = where & ~3; 122 int where, int size, u32 *val) 126 if ((size == 2) && (where & 1)) 128 else if ((size == 4) && (where & 3)) 131 if (loongson_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, 136 *val = (data >> ((where & 3) << 3)) & 0xff; 138 *val = (data >> ((where & 3) << 3)) & 0xffff; 146 int where, int size, u32 val) 150 if ((size == 2) && (where 35 loongson_pcibios_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 *data) argument 121 loongson_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 145 loongson_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-bcm63xx.c | 21 static int postprocess_read(u32 data, int where, unsigned int size) argument 28 ret = (data >> ((where & 3) << 3)) & 0xff; 31 ret = (data >> ((where & 3) << 3)) & 0xffff; 40 static int preprocess_write(u32 orig_data, u32 val, int where, argument 48 ret = (orig_data & ~(0xff << ((where & 3) << 3))) | 49 (val << ((where & 3) << 3)); 52 ret = (orig_data & ~(0xffff << ((where & 3) << 3))) | 53 (val << ((where & 3) << 3)); 66 unsigned int devfn, int where) 73 reg = where >> 65 bcm63xx_setup_cfg_access(int type, unsigned int busn, unsigned int devfn, int where) argument 100 bcm63xx_do_cfg_read(int type, unsigned int busn, unsigned int devfn, int where, int size, u32 *val) argument 121 bcm63xx_do_cfg_write(int type, unsigned int busn, unsigned int devfn, int where, int size, u32 val) argument 147 bcm63xx_pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 161 bcm63xx_pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument 208 fake_cb_bridge_read(int where, int size, u32 *val) argument 291 fake_cb_bridge_write(int where, int size, u32 val) argument 362 bcm63xx_cb_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 386 bcm63xx_cb_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/src/ |
H A D | tool_cb_see.h | 28 int tool_ftruncate64(int fd, curl_off_t where); 31 #define ftruncate(fd,where) tool_ftruncate64(fd,where)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ext3/ |
H A D | ext3_jbd.c | 7 int __ext3_journal_get_undo_access(const char *where, handle_t *handle, argument 12 ext3_journal_abort_handle(where, __func__, bh, handle,err); 16 int __ext3_journal_get_write_access(const char *where, handle_t *handle, argument 21 ext3_journal_abort_handle(where, __func__, bh, handle,err); 25 int __ext3_journal_forget(const char *where, handle_t *handle, argument 30 ext3_journal_abort_handle(where, __func__, bh, handle,err); 34 int __ext3_journal_revoke(const char *where, handle_t *handle, argument 39 ext3_journal_abort_handle(where, __func__, bh, handle,err); 43 int __ext3_journal_get_create_access(const char *where, argument 48 ext3_journal_abort_handle(where, __func_ 52 __ext3_journal_dirty_metadata(const char *where, handle_t *handle, struct buffer_head *bh) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/drivers/pci/ |
H A D | ops-sh7786.c | 25 struct pci_bus *bus, unsigned int devfn, int where, u32 *data) 40 (func << 16) | (where & ~3), SH4A_PCIEPAR); 58 int where, int size, u32 *val) 64 if ((size == 2) && (where & 1)) 66 else if ((size == 4) && (where & 3)) 71 devfn, where, &data); 76 *val = (data >> ((where & 3) << 3)) & 0xff; 78 *val = (data >> ((where & 2) << 3)) & 0xffff; 83 "where=0x%04x size=%d val=0x%08lx\n", bus->number, 84 devfn, where, siz 24 sh7786_pcie_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 *data) argument 57 sh7786_pcie_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 91 sh7786_pcie_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-dreamcast.c | 49 static int gapspci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 57 case 1: *val = inb(GAPSPCI_BBA_CONFIG+where); break; 58 case 2: *val = inw(GAPSPCI_BBA_CONFIG+where); break; 59 case 4: *val = inl(GAPSPCI_BBA_CONFIG+where); break; 65 static int gapspci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument 71 case 1: outb(( u8)val, GAPSPCI_BBA_CONFIG+where); break; 72 case 2: outw((u16)val, GAPSPCI_BBA_CONFIG+where); break; 73 case 4: outl((u32)val, GAPSPCI_BBA_CONFIG+where); break;
|
H A D | ops-sh5.c | 25 static int sh5pci_read(struct pci_bus *bus, unsigned int devfn, int where, argument 28 SH5PCI_WRITE(PAR, CONFIG_CMD(bus, devfn, where)); 32 *val = (u8)SH5PCI_READ_BYTE(PDR + (where & 3)); 35 *val = (u16)SH5PCI_READ_SHORT(PDR + (where & 2)); 45 static int sh5pci_write(struct pci_bus *bus, unsigned int devfn, int where, argument 48 SH5PCI_WRITE(PAR, CONFIG_CMD(bus, devfn, where)); 52 SH5PCI_WRITE_BYTE(PDR + (where & 3), (u8)val); 55 SH5PCI_WRITE_SHORT(PDR + (where & 2), (u16)val);
|
H A D | ops-sh4.c | 18 #define CONFIG_CMD(bus, devfn, where) \ 19 (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3)) 27 int where, int size, u32 *val) 38 pci_write_reg(chan, CONFIG_CMD(bus, devfn, where), SH4_PCIPAR); 44 *val = (data >> ((where & 3) << 3)) & 0xff; 47 *val = (data >> ((where & 2) << 3)) & 0xffff; 65 int where, int size, u32 val) 73 pci_write_reg(chan, CONFIG_CMD(bus, devfn, where), SH4_PCIPAR); 79 shift = (where & 3) << 3; 84 shift = (where 26 sh4_pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 64 sh4_pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/pptp/ |
H A D | pptp_callmgr.h | 11 void callmgr_name_unixsock(struct sockaddr_un *where,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/common/ |
H A D | via82c505.c | 15 #define CONFIG_CMD(bus, devfn, where) (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3)) 18 via82c505_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument 21 outl(CONFIG_CMD(bus,devfn,where),0xCF8); 24 *value=inb(0xCFC + (where&3)); 27 *value=inw(0xCFC + (where&2)); 37 via82c505_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument 40 outl(CONFIG_CMD(bus,devfn,where),0xCF8); 43 outb(value, 0xCFC + (where&3)); 46 outw(value, 0xCFC + (where [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/mac/classic/ |
H A D | colordlg.cpp | 47 Point where ; local 50 where.h = where.v = -1; 52 if (GetColor( where, "\pSelect a new palette color.", ¤tColor, &newColor ))
|