Searched refs:where (Results 51 - 75 of 307) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/
H A Dcore_apecs.c91 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, argument
97 DBGC(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x,"
99 bus, device_fn, where, pci_addr, type1));
113 addr = (device_fn << 8) | (where);
117 addr = (bus << 16) | (device_fn << 8) | (where);
269 apecs_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
277 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1))
281 shift = (where & 3) * 8;
288 apecs_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument
295 if (mk_conf_addr(bus, devfn, where,
[all...]
H A Dcore_irongate.c82 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, argument
88 DBG_CFG(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x, "
90 bus, device_fn, where, pci_addr, type1));
94 addr = (bus << 16) | (device_fn << 8) | where;
103 irongate_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
109 if (mk_conf_addr(bus, devfn, where, &addr, &type1))
128 irongate_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument
134 if (mk_conf_addr(bus, devfn, where, &addr, &type1))
H A Dcore_lca.c101 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, argument
118 addr = (1 << (11 + device)) | (func << 8) | where;
122 addr = (bus << 16) | (device_fn << 8) | where;
201 lca_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
208 if (mk_conf_addr(bus, devfn, where, &pci_addr))
211 shift = (where & 3) * 8;
219 lca_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, argument
225 if (mk_conf_addr(bus, devfn, where, &pci_addr))
230 conf_write(addr, value << ((where & 3) * 8));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hisax/
H A Dfsm.c110 FsmDelTimer(struct FsmTimer *ft, int where) argument
114 ft->fi->printdebug(ft->fi, "FsmDelTimer %lx %d", (long) ft, where);
121 int millisec, int event, void *arg, int where)
127 (long) ft, millisec, where);
145 int millisec, int event, void *arg, int where)
151 (long) ft, millisec, where);
120 FsmAddTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) argument
144 FsmRestartTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/celleb/
H A Dscc_epci.c116 unsigned int devfn, int where)
124 | (where & 0xff)
128 (((devfn & 0xff) << 8) | (where & 0xff));
136 unsigned int devfn, int where, int size, u32 * val)
143 BUG_ON(where % size);
155 addr = epci_base + where;
174 addr = celleb_epci_make_config_addr(bus, hose, devfn, where);
192 "addr=0x%p, devfn=0x%x, where=0x%x, size=0x%x, val=0x%x\n",
193 addr, devfn, where, size, *val);
199 unsigned int devfn, int where, in
113 celleb_epci_make_config_addr( struct pci_bus *bus, struct pci_controller *hose, unsigned int devfn, int where) argument
135 celleb_epci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument
198 celleb_epci_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
[all...]
H A Dpci.c124 static void celleb_config_read_fake(unsigned char *config, int where, argument
127 char *p = config + where;
144 static void celleb_config_write_fake(unsigned char *config, int where, argument
147 char *p = config + where;
164 unsigned int devfn, int where, int size, u32 *val)
173 BUG_ON(where % size);
180 pr_debug("devno=0x%x, where=0x%x, size=0x%x, ", devno, where, size);
186 celleb_config_read_fake(config, where, size, val);
194 unsigned int devfn, int where, in
163 celleb_fake_pci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
193 celleb_fake_pci_write_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/src/linux/linux-2.6/arch/sh/drivers/pci/
H A Dpci-st40.c337 #define SET_CONFIG_BITS(bus,devfn,where)\
338 (((bus) << 16) | ((devfn) << 8) | ((where) & ~3) | (bus!=0))
340 #define CONFIG_CMD(bus, devfn, where) SET_CONFIG_BITS(bus->number,devfn,where)
356 static int st40pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument
358 ST40PCI_WRITE(PAR, CONFIG_CMD(bus, devfn, where));
361 *val = (u8)ST40PCI_READ_BYTE(PDR + (where & 3));
364 *val = (u16)ST40PCI_READ_SHORT(PDR + (where & 2));
388 static int st40pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
390 ST40PCI_WRITE(PAR, CONFIG_CMD(bus, devfn, where));
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dfilter.c48 off_t where = truncBytes32(iwhere); local
50 if ( where != This->unixpos ){
91 off_t where = truncBytes32(iwhere); local
96 if (where != This->unixpos ){
H A Dplain_io.c71 static int file_io(Stream_t *Stream, char *buf, mt_off_t where, int len, argument
77 where += This->offset;
79 if (This->seekable && where != This->lastwhere ){
80 if(mt_lseek( This->fd, where, SEEK_SET) < 0 ){
113 This->lastwhere = where + ret;
119 static int file_read(Stream_t *Stream, char *buf, mt_off_t where, size_t len) argument
123 int result = file_io(Stream, buf, where, len, (iofn) read);
130 static int file_write(Stream_t *Stream, char *buf, mt_off_t where, size_t len) argument
135 return file_io(Stream, buf, where, len, (iofn) write);
142 result = file_io(Stream, swapping, where, le
317 scsi_io(Stream_t *Stream, char *buf, mt_off_t where, size_t len, int rwcmd) argument
434 scsi_read(Stream_t *Stream, char *buf, mt_off_t where, size_t len) argument
443 scsi_write(Stream_t *Stream, char *buf, mt_off_t where, size_t len) argument
[all...]
H A Dfile.c33 int (*map)(struct File_t *this, off_t where, size_t *len, int mode,
216 static int normal_map(File_t *This, off_t where, size_t *len, int mode, argument
231 offset = where % clus_size;
234 maximize(*len, This->FileSize - where);
254 RelCluNr = where / clus_size;
308 end = where + *len;
328 static int root_map(File_t *This, off_t where, size_t *len, int mode, argument
333 if(Fs->dir_len * Fs->sector_size < (size_t) where) {
339 maximize(*len, Fs->dir_len * Fs->sector_size - where);
343 *res = sectorsToBytes((Stream_t*)Fs, Fs->dir_start) + where;
354 off_t where = truncBytes32(iwhere); local
371 off_t where = truncBytes32(iwhere); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/tunala/
H A Dcb.c15 /* Other static rubbish (to mirror s_cb.c where required) */
20 void cb_ssl_info(const SSL *s, int where, int ret) argument
28 w = where & ~SSL_ST_MASK;
33 if (where & SSL_CB_LOOP)
35 else if (where & SSL_CB_EXIT) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dobstack.h73 so we just point to it where it lies. No moving of chars is
131 where pointers can be converted to integers, aligned as integers,
155 char *next_free; /* where to add next char to current object */
299 # define obstack_grow(OBSTACK,where,length) \
305 memcpy (__o->next_free, where, __len); \
309 # define obstack_grow0(OBSTACK,where,length) \
315 memcpy (__o->next_free, where, __len); \
375 # define obstack_copy(OBSTACK,where,length) \
378 obstack_grow (__h, (where), (length)); \
381 # define obstack_copy0(OBSTACK,where,lengt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/
H A Dobstack.h73 so we just point to it where it lies. No moving of chars is
131 where pointers can be converted to integers, aligned as integers,
155 char *next_free; /* where to add next char to current object */
299 # define obstack_grow(OBSTACK,where,length) \
305 memcpy (__o->next_free, where, __len); \
309 # define obstack_grow0(OBSTACK,where,length) \
315 memcpy (__o->next_free, where, __len); \
375 # define obstack_copy(OBSTACK,where,length) \
378 obstack_grow (__h, (where), (length)); \
381 # define obstack_copy0(OBSTACK,where,lengt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/pptp/
H A Dpptp_callmgr.c373 struct sockaddr_un where; local
381 callmgr_name_unixsock( &where, inetaddr, localbind);
382 if (stat(where.sun_path, &st) >= 0) {
387 dir = dirname(where.sun_path);
389 fatal("Could not make path to %s: %s", where.sun_path, strerror(errno));
391 if (bind(s, (struct sockaddr *) &where, sizeof(where)) < 0) {
395 chmod(where.sun_path, 0777);
409 struct sockaddr_un where; local
411 callmgr_name_unixsock(&where, inetadd
416 callmgr_name_unixsock(struct sockaddr_un *where, struct in_addr inetaddr, struct in_addr localbind) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/md/
H A Ddm-io.c268 static void do_region(int rw, unsigned int region, struct io_region *where, argument
276 sector_t remaining = where->count;
286 bio->bi_sector = where->sector + (where->count - remaining);
287 bio->bi_bdev = where->bdev;
314 struct io_region *where, struct dpages *dp,
329 if (where[i].count)
330 do_region(rw, i, where + i, dp, io);
341 struct io_region *where, int rw, struct dpages *dp,
356 dispatch_io(rw, num_regions, where, d
313 dispatch_io(int rw, unsigned int num_regions, struct io_region *where, struct dpages *dp, struct io *io, int sync) argument
340 sync_io(struct dm_io_client *client, unsigned int num_regions, struct io_region *where, int rw, struct dpages *dp, unsigned long *error_bits) argument
377 async_io(struct dm_io_client *client, unsigned int num_regions, struct io_region *where, int rw, struct dpages *dp, io_notify_fn fn, void *context) argument
431 dm_io(struct dm_io_request *io_req, unsigned num_regions, struct io_region *where, unsigned long *sync_error_bits) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/src/
H A Dtool_cb_see.c114 * Truncate a file handle at a 64-bit position 'where'.
117 int tool_ftruncate64(int fd, curl_off_t where) argument
119 if(_lseeki64(fd, where, SEEK_SET) < 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-footbridge/
H A Ddc21285.c63 dc21285_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
73 : "=r" (v) : "r" (addr), "r" (where) : "cc");
77 : "=r" (v) : "r" (addr), "r" (where) : "cc");
81 : "=r" (v) : "r" (addr), "r" (where) : "cc");
97 dc21285_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument
107 : : "r" (value), "r" (addr), "r" (where)
112 : : "r" (value), "r" (addr), "r" (where)
117 : : "r" (value), "r" (addr), "r" (where)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dppc-pci.h123 int rtas_write_config(struct pci_dn *, int where, int size, u32 val);
124 int rtas_read_config(struct pci_dn *, int where, int size, u32 *val);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/pci/
H A Dfixup.c122 int where = 0x55; local
133 where = 0x95; /* the memory write queue timer register is
142 pci_read_config_byte(d, where, &v);
145 d->device, revision, where, v, mask, v & mask);
147 pci_write_config_byte(d, where, v);
207 static int quirk_pcie_aspm_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value) argument
209 return raw_pci_ops->read(0, bus->number, devfn, where, size, value);
216 static int quirk_pcie_aspm_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument
222 if ((offset) && (where == offset))
225 return raw_pci_ops->write(0, bus->number, devfn, where, siz
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-versatile/
H A Dpci.c98 static int versatile_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
101 void __iomem *addr = __pci_addr(bus, devfn, where & ~3);
121 if (where & 2) v >>= 16;
122 if (where & 1) v >>= 8;
128 if (where & 2) v >>= 16;
142 static int versatile_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument
145 void __iomem *addr = __pci_addr(bus, devfn, where);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-iop13xx/
H A Dpci.c178 * @where: Desired register's address offset
183 static u32 iop13xx_atux_cfg_address(struct pci_bus *bus, int devfn, int where) argument
193 addr |= PCI_FUNC(devfn) << 8 | ((where & 0xff) & ~3);
194 addr |= ((where & 0xf00) >> 8) << 24; /* upper register number */
202 * @where: Desired register's address offset
206 static u32 iop13xx_atue_cfg_address(struct pci_bus *bus, int devfn, int where) argument
216 (where & ~0x3);
227 * errors occure during a config cycle where there is no device, like during
281 iop13xx_atux_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
284 unsigned long addr = iop13xx_atux_cfg_address(bus, devfn, where);
299 iop13xx_atux_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument
421 iop13xx_atue_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value) argument
446 iop13xx_atue_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/bfs/
H A Dfile.c46 unsigned long end, unsigned long where)
50 dprintf("%08lx-%08lx->%08lx\n", start, end, where);
52 if(bfs_move_block(i, where + i, sb)) {
53 dprintf("failed to move block %08lx -> %08lx\n", i, where + i);
45 bfs_move_blocks(struct super_block *sb, unsigned long start, unsigned long end, unsigned long where) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/i2c/l3/
H A Duda1341.c524 #define UDA1341_SINGLE(xname, where, reg, shift, mask, invert) \
527 .private_value = where | (reg << 5) | (shift << 9) | (mask << 12) | (invert << 18) \
547 int where = kcontrol->private_value & 31; local
551 ucontrol->value.integer.value[0] = uda->cfg[where];
563 int where = kcontrol->private_value & 31; local
574 uda->cfg[where] = val;
582 #define UDA1341_ENUM(xname, where, reg, shift, mask, invert) \
585 .private_value = where | (reg << 5) | (shift << 9) | (mask << 12) | (invert << 18) \
591 int where = kcontrol->private_value & 31; local
595 if (!uda1341_enum_items[where])
615 int where = kcontrol->private_value & 31; local
626 int where = kcontrol->private_value & 31; local
668 int where = kcontrol->private_value & 31; local
687 int where = kcontrol->private_value & 31; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/flex/MISC/VMS/
H A Dbuild.com6 $! where `compiler' is either "GNUC" or "DECC" or "VAXC" or empty
16 $ where = f$parse("_._;",f$environ("PROCEDURE")) - "_._;"
17 $ set default 'where'
18 $ brkt = f$extract(f$length(where)-1,1,where)
19 $ if f$locate(".MISC.VMS"+brkt,where).lt.f$length(where) then -
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/scripts/
H A Dcleanfile119 if ( !defined($where = tell(FILE)) ||
120 !truncate(FILE, $where) ) {

Completed in 308 milliseconds

1234567891011>>