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

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/
H A Dxfs_dir2_trace.h44 void xfs_dir2_trace_args(char *where, struct xfs_da_args *args);
45 void xfs_dir2_trace_args_b(char *where, struct xfs_da_args *args,
47 void xfs_dir2_trace_args_bb(char *where, struct xfs_da_args *args,
49 void xfs_dir2_trace_args_bibii(char *where, struct xfs_da_args *args,
52 void xfs_dir2_trace_args_db(char *where, struct xfs_da_args *args,
54 void xfs_dir2_trace_args_i(char *where, struct xfs_da_args *args, xfs_ino_t i);
55 void xfs_dir2_trace_args_s(char *where, struct xfs_da_args *args, int s);
56 void xfs_dir2_trace_args_sb(char *where, struct xfs_da_args *args, int s,
61 #define xfs_dir2_trace_args(where, args)
62 #define xfs_dir2_trace_args_b(where, arg
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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-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.c47 unsigned int devfn, int where,
85 pci_addr |= (where & ~0x3) << PCI_CFG_TYPE0_REG_SHF;
132 int where, int size, u32 * val)
136 if ((size == 2) && (where & 1))
138 else if ((size == 4) && (where & 3))
141 if (bonito64_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where,
146 *val = (data >> ((where & 3) << 3)) & 0xff;
148 *val = (data >> ((where & 3) << 3)) & 0xffff;
156 int where, int size, u32 val)
160 if ((size == 2) && (where
45 bonito64_pcibios_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 * data) argument
131 bonito64_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument
155 bonito64_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
[all...]
H A Dops-pnx8550.c44 calc_cfg_addr(struct pci_bus *bus, unsigned int devfn, int where) argument
49 addr |= ((devfn & 0xff) << PCI_CFG_FUNC_SHIFT) | (where & 0xfc);
55 config_access(unsigned int pci_cmd, struct pci_bus *bus, unsigned int devfn, int where, unsigned int pci_mode, unsigned int *val) argument
59 unsigned long ioaddr = calc_cfg_addr(bus, devfn, where);
115 read_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 * val) argument
123 err = config_access(PCI_CMD_CONFIG_READ, bus, devfn, where, ~(1 << (where & 3)), &data);
124 switch (where & 0x03) {
143 read_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 * val) argument
151 if (where
168 read_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 * val) argument
183 write_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 val) argument
211 write_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 val) argument
235 write_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 val) argument
249 config_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument
269 config_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
[all...]
H A Dops-au1000.c78 unsigned int dev_fn, unsigned char where,
140 offset = (function << 8) | (where & ~0x3);
165 access_type, bus->number, device, where, *data, offset);
196 int where, u8 * val)
201 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data);
202 if (where & 1)
204 if (where & 2)
212 int where, u16 * val)
217 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data);
218 if (where
77 config_access(unsigned char access_type, struct pci_bus *bus, unsigned int dev_fn, unsigned char where, u32 * data) argument
195 read_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 * val) argument
211 read_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 * val) argument
224 read_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 * val) argument
234 write_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 val) argument
252 write_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 val) argument
271 write_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 val) argument
280 config_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument
301 config_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
[all...]
H A Dops-marvell.c15 int where, int size, u32 * val)
30 (where & 0xfc) | 0x80000000;
37 *val = MV_READ_8(data_reg + (where & 0x3));
41 *val = MV_READ_16(data_reg + (where & 0x3));
53 int where, int size, u32 val)
68 (where & 0xfc) | 0x80000000;
75 MV_WRITE_8(data_reg + (where & 0x3), val);
79 MV_WRITE_16(data_reg + (where & 0x3), val);
14 mv_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument
52 mv_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
H A Dops-tx3927.c45 unsigned char where)
52 (where & 0xfc);
72 int where, int size, u32 * val)
76 ret = mkaddr(bus->number, devfn, where);
82 *val = *(volatile u8 *) ((unsigned long) & tx3927_pcicptr->icd | (where & 3));
86 *val = le16_to_cpu(*(volatile u16 *) ((unsigned long) & tx3927_pcicptr->icd | (where & 3)));
98 int where, int size, u32 val)
102 ret = mkaddr(bus->number, devfn, where);
108 *(volatile u8 *) ((unsigned long) & tx3927_pcicptr->icd | (where & 3)) = val;
112 *(volatile u16 *) ((unsigned long) & tx3927_pcicptr->icd | (where
44 mkaddr(unsigned char bus, unsigned char dev_fn, unsigned char where) argument
71 jmr3927_pci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument
97 jmr3927_pci_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
[all...]
H A Dops-ddb5477.c130 struct pci_bus *bus, u32 devfn, u32 where,
136 db_assert((where & 3) == 0);
137 db_assert(where < (1 << 8));
150 *val = *(volatile u32 *) (base + (func_num << 8) + where);
156 struct pci_bus *bus, u32 devfn, u32 where,
162 db_assert((where & 1) == 0);
164 status = read_config_dword(swap, bus, devfn, where & ~3, &result);
165 if (where & 2)
172 struct pci_bus *bus, u32 devfn, u32 where,
178 status = read_config_dword(swap, bus, devfn, where
129 read_config_dword(struct pci_config_swap *swap, struct pci_bus *bus, u32 devfn, u32 where, u32 * val) argument
155 read_config_word(struct pci_config_swap *swap, struct pci_bus *bus, u32 devfn, u32 where, u16 * val) argument
171 read_config_byte(struct pci_config_swap *swap, struct pci_bus *bus, u32 devfn, u32 where, u8 * val) argument
188 write_config_dword(struct pci_config_swap *swap, struct pci_bus *bus, u32 devfn, u32 where, u32 val) argument
214 write_config_word(struct pci_config_swap *swap, struct pci_bus *bus, u32 devfn, u32 where, u16 val) argument
233 write_config_byte(struct pci_config_swap *swap, struct pci_bus *bus, u32 devfn, u32 where, u8 val) 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)
102 int where, int size, u32 * val)
106 if ((size == 2) && (where & 1))
108 else if ((size == 4) && (where & 3))
112 data = READCFG32(CFGADDR(bus, devfn, where));
117 *val = (data >> ((where & 3) << 3)) & 0xff;
119 *val = (data >> ((where
101 bcm1480_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument
126 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.c52 #define CFGOFFSET(bus,devfn,where) (((bus)<<16) + ((devfn)<<8) + (where))
53 #define CFGADDR(bus,devfn,where) CFGOFFSET((bus)->number,(devfn),where)
129 int where, int size, u32 * val)
133 if ((size == 2) && (where & 1))
135 else if ((size == 4) && (where & 3))
139 data = READCFG32(CFGADDR(bus, devfn, where));
144 *val = (data >> ((where & 3) << 3)) & 0xff;
146 *val = (data >> ((where
128 sb1250_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument
153 sb1250_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
[all...]
H A Dops-emma2rh.c65 unsigned int devfn, int where)
87 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, argument
102 if (set_pci_configuration_address(bus_num, devfn, where) < 0)
107 (where & 0xfffffffc));
111 *val = (data >> ((where & 3) << 3)) & 0xffU;
114 *val = (data >> ((where & 2) << 3)) & 0xffffU;
132 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, argument
146 if (set_pci_configuration_address(bus_num, devfn, where) < 0)
152 (where & 0xfffffffc));
156 shift = (where
64 set_pci_configuration_address(unsigned char bus_num, unsigned int devfn, int where) argument
[all...]
H A Dops-bridge.c28 int where, int size, u32 * value)
49 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)];
66 if ((where >= 0x14 && where < 0x40) || (where >= 0x48)) {
75 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
80 shift = ((where & 3) << 3);
88 int where, int size, u32 * value)
112 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))];
129 if ((where >
27 pci_conf0_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * value) argument
87 pci_conf1_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * value) argument
151 pci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * value) argument
160 pci_conf0_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument
226 pci_conf1_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument
294 pci_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument
[all...]
H A Dops-tx4927.c64 static int mkaddr(int bus, int dev_fn, int where, int *flagsp) argument
69 ((dev_fn & 0xff) << 0x08) | (where & 0xfc) | 1;
76 ((dev_fn & 0xff) << 0x08) | (where & 0xfc);
101 static int tx4927_pcibios_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
117 if (mkaddr(busno, devfn, where, &flags))
125 (where & 3));
127 ((where & 0x3) ^ 0x3));
134 (where & 3));
136 ((where & 0x3) ^ 0x2));
151 static int tx4927_pcibios_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument
[all...]
H A Dops-tx4938.c49 static int mkaddr(int bus, int dev_fn, int where, int *flagsp) argument
54 ((dev_fn & 0xff) << 0x08) | (where & 0xfc) | 1;
61 ((dev_fn & 0xff) << 0x08) | (where & 0xfc);
90 int where, int size, u32 * val)
104 if (mkaddr(busno, devfn, where, &flags))
111 ((where & 3) ^ 3));
113 (where & 3));
119 ((where & 3) ^ 2));
121 (where & 3));
136 static int tx4938_pcibios_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument
89 tx4938_pcibios_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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, __FUNCTION__, bh, handle,err);
16 int __ext3_journal_get_write_access(const char *where, handle_t *handle, argument
21 ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
25 int __ext3_journal_forget(const char *where, handle_t *handle, argument
30 ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
34 int __ext3_journal_revoke(const char *where, handle_t *handle, argument
39 ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
43 int __ext3_journal_get_create_access(const char *where, argument
48 ext3_journal_abort_handle(where, __FUNCTION_
52 __ext3_journal_dirty_metadata(const char *where, handle_t *handle, struct buffer_head *bh) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext4/
H A Dext4_jbd2.c7 int __ext4_journal_get_undo_access(const char *where, handle_t *handle, argument
12 ext4_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
16 int __ext4_journal_get_write_access(const char *where, handle_t *handle, argument
21 ext4_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
25 int __ext4_journal_forget(const char *where, handle_t *handle, argument
30 ext4_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
34 int __ext4_journal_revoke(const char *where, handle_t *handle, argument
39 ext4_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
43 int __ext4_journal_get_create_access(const char *where, argument
48 ext4_journal_abort_handle(where, __FUNCTION_
52 __ext4_journal_dirty_metadata(const char *where, handle_t *handle, struct buffer_head *bh) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/pptp/
H A Dpptp_callmgr.h11 void callmgr_name_unixsock(struct sockaddr_un *where,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/atari/
H A Dhades-pci.c57 * unsigned char where)
66 static void *mk_conf_addr(struct pci_dev *dev, int where) argument
71 DBG_DEVS(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x, pci_addr=0x%p)\n",
72 dev->bus->number, dev->devfn, where, pci_addr));
86 result = (void *) (pci_conf_base_virt[device] | (function << 8) | (where));
91 static int hades_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
97 if ((pci_addr = (unsigned char *) mk_conf_addr(dev, where)) == NULL)
105 static int hades_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
111 if (where & 0x1)
114 if ((pci_addr = (unsigned short *) mk_conf_addr(dev, where))
122 hades_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
196 hades_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
208 hades_write_config_word(struct pci_dev *dev, int where, u16 value) argument
220 hades_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/drivers/pci/
H A Dops-sh4.c18 #define CONFIG_CMD(bus, devfn, where) \
19 P1SEGADDR((bus->number << 16) | (devfn << 8) | (where & ~3))
27 int where, int size, u32 *val)
37 pci_write_reg(CONFIG_CMD(bus, devfn, where), SH4_PCIPAR);
43 *val = (data >> ((where & 3) << 3)) & 0xff;
46 *val = (data >> ((where & 2) << 3)) & 0xffff;
64 int where, int size, u32 val)
71 pci_write_reg(CONFIG_CMD(bus, devfn, where), SH4_PCIPAR);
77 shift = (where & 3) << 3;
82 shift = (where
26 sh4_pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
63 sh4_pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
[all...]

Completed in 117 milliseconds

1234567891011>>