Searched refs:where (Results 1 - 25 of 586) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/pci/
H A Dops-msc.c48 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 Dops-rc32434.c49 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 Dops-nile4.c21 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 Dops-gt64xxx_pci0.c43 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 Dops-vr41xx.c36 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 Dops-bonito64.c39 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 Dops-pnx8550.c42 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 Dops-au1000.c94 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 Dops-bridge.c20 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 Dpci-bcm1480.c37 #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 Dpci-bcm1480ht.c51 #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 Dpci-sb1250.c53 #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 Dops-pmcmsp.c129 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 Dops-emma2rh.c62 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 Dops-loongson2.c37 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 Dops-bcm63xx.c21 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 Dtool_cb_see.h28 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 Dext3_jbd.c7 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 Dops-sh7786.c25 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 Dops-dreamcast.c49 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 Dops-sh5.c25 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 Dops-sh4.c18 #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 Dpptp_callmgr.h11 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 Dvia82c505.c15 #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 Dcolordlg.cpp47 Point where ; local
50 where.h = where.v = -1;
52 if (GetColor( where, "\pSelect a new palette color.", &currentColor, &newColor ))

Completed in 169 milliseconds

1234567891011>>