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

12345678

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/mach-integrator/
H A Dpci_v3.c287 static int v3_read_config_byte(struct pci_dev *dev, int where, u8 *val) argument
294 addr = v3_open_config_window(dev, where);
305 static int v3_read_config_word(struct pci_dev *dev, int where, u16 *val) argument
312 addr = v3_open_config_window(dev, where);
323 static int v3_read_config_dword(struct pci_dev *dev, int where, u32 *val) argument
330 addr = v3_open_config_window(dev, where);
341 static int v3_write_config_byte(struct pci_dev *dev, int where, u8 val) argument
347 addr = v3_open_config_window(dev, where);
358 static int v3_write_config_word(struct pci_dev *dev, int where, u16 val) argument
364 addr = v3_open_config_window(dev, where);
375 v3_write_config_dword(struct pci_dev *dev, int where, u32 val) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/brcm-boards/bcm947xx/
H A Dpcibios.c44 sbpci_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
51 PCI_FUNC(dev->devfn), where, value, sizeof(*value));
57 sbpci_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
64 PCI_FUNC(dev->devfn), where, value, sizeof(*value));
70 sbpci_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
77 PCI_FUNC(dev->devfn), where, value, sizeof(*value));
83 sbpci_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
90 PCI_FUNC(dev->devfn), where, &value, sizeof(value));
96 sbpci_write_config_word(struct pci_dev *dev, int where, u16 value) argument
103 PCI_FUNC(dev->devfn), where,
109 sbpci_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
412 unsigned long where, size; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/kernel/
H A Dpci.c91 pci_sal_read_config_byte (struct pci_dev *dev, int where, u8 *value) argument
100 PCI_FUNC(dev->devfn), where, 1, &data);
108 pci_sal_read_config_word (struct pci_dev *dev, int where, u16 *value) argument
117 PCI_FUNC(dev->devfn), where, 2, &data);
125 pci_sal_read_config_dword (struct pci_dev *dev, int where, u32 *value) argument
131 PCI_FUNC(dev->devfn), where, 4, value);
135 pci_sal_write_config_byte (struct pci_dev *dev, int where, u8 value) argument
138 PCI_FUNC(dev->devfn), where, 1, value);
142 pci_sal_write_config_word (struct pci_dev *dev, int where, u16 value) argument
145 PCI_FUNC(dev->devfn), where,
149 pci_sal_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
313 unsigned long where, size; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/hp/zx1/
H A Dhpzx1_misc.c39 static int hp_cfg_read##sz (struct pci_dev *dev, int where, u##bits *value) \
43 return orig_pci_ops->name(dev, where, value); \
45 if (where == PCI_BASE_ADDRESS_0) { \
55 *value = read##sz(fake_dev->mapped_csrs + where); \
56 if (where == PCI_COMMAND) \
62 static int hp_cfg_write##sz (struct pci_dev *dev, int where, u##bits value) \
67 return orig_pci_ops->name(dev, where, value); \
69 if (where == PCI_BASE_ADDRESS_0) { \
74 write##sz(value, fake_dev->mapped_csrs + where); \
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/kernel/
H A Dpci_sabre.c226 int where)
232 SABRE_CONFIG_ENCODE(bus, devfn, where));
261 static int __sabre_read_byte(struct pci_dev *dev, int where, u8 *value) argument
269 addr = sabre_pci_config_mkaddr(pbm, bus, devfn, where);
279 static int __sabre_read_word(struct pci_dev *dev, int where, u16 *value) argument
287 addr = sabre_pci_config_mkaddr(pbm, bus, devfn, where);
294 if (where & 0x01) {
296 where);
303 static int __sabre_read_dword(struct pci_dev *dev, int where, u32 *value) argument
311 addr = sabre_pci_config_mkaddr(pbm, bus, devfn, where);
223 sabre_pci_config_mkaddr(struct pci_pbm_info *pbm, unsigned char bus, unsigned int devfn, int where) argument
327 sabre_read_byte(struct pci_dev *dev, int where, u8 *value) argument
350 sabre_read_word(struct pci_dev *dev, int where, u16 *value) argument
373 sabre_read_dword(struct pci_dev *dev, int where, u32 *value) argument
392 __sabre_write_byte(struct pci_dev *dev, int where, u8 value) argument
409 __sabre_write_word(struct pci_dev *dev, int where, u16 value) argument
432 __sabre_write_dword(struct pci_dev *dev, int where, u32 value) argument
455 sabre_write_byte(struct pci_dev *dev, int where, u8 value) argument
479 sabre_write_word(struct pci_dev *dev, int where, u16 value) argument
496 sabre_write_dword(struct pci_dev *dev, int where, u32 value) argument
1063 int where, size, is_64bit; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/kernel/
H A Dcore_irongate.c84 mk_conf_addr(struct pci_dev *dev, int where, unsigned long *pci_addr, argument
91 DBG_CFG(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x, "
93 bus, device_fn, where, pci_addr, type1));
97 addr = (bus << 16) | (device_fn << 8) | where;
106 irongate_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
111 if (mk_conf_addr(dev, where, &addr, &type1))
119 irongate_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
124 if (mk_conf_addr(dev, where, &addr, &type1))
132 irongate_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
137 if (mk_conf_addr(dev, where,
145 irongate_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
160 irongate_write_config_word(struct pci_dev *dev, int where, u16 value) argument
175 irongate_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
[all...]
H A Dcore_titan.c85 mk_conf_addr(struct pci_dev *dev, int where, unsigned long *pci_addr, argument
93 DBG_CFG(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x, "
95 bus, device_fn, where, pci_addr, type1));
101 addr = (bus << 16) | (device_fn << 8) | where;
110 titan_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
115 if (mk_conf_addr(dev, where, &addr, &type1))
123 titan_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
128 if (mk_conf_addr(dev, where, &addr, &type1))
136 titan_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
141 if (mk_conf_addr(dev, where,
149 titan_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
164 titan_write_config_word(struct pci_dev *dev, int where, u16 value) argument
179 titan_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
[all...]
H A Dcore_tsunami.c92 mk_conf_addr(struct pci_dev *dev, int where, unsigned long *pci_addr, argument
100 DBG_CFG(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x, "
102 bus, device_fn, where, pci_addr, type1));
108 addr = (bus << 16) | (device_fn << 8) | where;
117 tsunami_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
122 if (mk_conf_addr(dev, where, &addr, &type1))
130 tsunami_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
135 if (mk_conf_addr(dev, where, &addr, &type1))
143 tsunami_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
148 if (mk_conf_addr(dev, where,
156 tsunami_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
171 tsunami_write_config_word(struct pci_dev *dev, int where, u16 value) argument
186 tsunami_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
[all...]
H A Dcore_mcpcia.c174 mk_conf_addr(struct pci_dev *dev, int where, struct pci_controller *hose, argument
181 DBG_CFG(("mk_conf_addr(bus=%d,devfn=0x%x,hose=%d,where=0x%x,"
183 bus, devfn, hose->index, where, pci_addr, type1));
190 addr = (bus << 16) | (devfn << 8) | (where);
200 mcpcia_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
206 if (mk_conf_addr(dev, where, hose, &addr, &type1))
211 *value = __kernel_extbl(w, where & 3);
216 mcpcia_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
222 if (mk_conf_addr(dev, where, hose, &addr, &type1))
227 *value = __kernel_extwl(w, where
232 mcpcia_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
247 mcpcia_write_config(struct pci_dev *dev, int where, u32 value, long mask) argument
263 mcpcia_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
269 mcpcia_write_config_word(struct pci_dev *dev, int where, u16 value) argument
275 mcpcia_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
[all...]
H A Dcore_wildfire.c337 mk_conf_addr(struct pci_dev *dev, int where, unsigned long *pci_addr, argument
345 DBG_CFG(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x, "
347 bus, device_fn, where, pci_addr, type1));
353 addr = (bus << 16) | (device_fn << 8) | where;
362 wildfire_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
367 if (mk_conf_addr(dev, where, &addr, &type1))
375 wildfire_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
380 if (mk_conf_addr(dev, where, &addr, &type1))
388 wildfire_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
393 if (mk_conf_addr(dev, where,
401 wildfire_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
416 wildfire_write_config_word(struct pci_dev *dev, int where, u16 value) argument
431 wildfire_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
[all...]
H A Dcore_cia.c92 mk_conf_addr(struct pci_dev *dev, int where, unsigned long *pci_addr, argument
99 *pci_addr = (bus << 16) | (device_fn << 8) | where;
101 DBGC(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x,"
103 bus, device_fn, where, *pci_addr));
212 cia_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
217 if (mk_conf_addr(dev, where, &pci_addr, &type1))
221 *value = conf_read(addr, type1) >> ((where & 3) * 8);
226 cia_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
231 if (mk_conf_addr(dev, where, &pci_addr, &type1))
235 *value = conf_read(addr, type1) >> ((where
240 cia_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
254 cia_write_config(struct pci_dev *dev, int where, u32 value, long mask) argument
268 cia_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
274 cia_write_config_word(struct pci_dev *dev, int where, u16 value) argument
280 cia_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/pptp/
H A Dpptp_callmgr.c349 struct sockaddr_un where; local
357 callmgr_name_unixsock( &where, inetaddr, localbind);
358 if (stat(where.sun_path, &st) >= 0)
364 dir = dirnamex(where.sun_path);
366 fatal("Could not make path to %s: %s", where.sun_path, strerror(errno));
368 if (bind(s, (struct sockaddr *) &where, sizeof(where)) < 0) {
372 chmod(where.sun_path, 0777);
386 struct sockaddr_un where; local
388 callmgr_name_unixsock(&where, inetadd
393 callmgr_name_unixsock(struct sockaddr_un *where, struct in_addr inetaddr, struct in_addr localbind) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pptp-client/
H A Dpptp_callmgr.c326 struct sockaddr_un where; local
334 callmgr_name_unixsock( &where, inetaddr, localbind);
335 if (stat(where.sun_path, &st) >= 0) {
340 dir = dirname(where.sun_path);
342 fatal("Could not make path to %s: %s", where.sun_path, strerror(errno));
344 if (bind(s, (struct sockaddr *) &where, sizeof(where)) < 0) {
348 chmod(where.sun_path, 0777);
362 struct sockaddr_un where; local
364 callmgr_name_unixsock(&where, inetadd
369 callmgr_name_unixsock(struct sockaddr_un *where, struct in_addr inetaddr, struct in_addr localbind) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/pci/
H A Dcompat.c53 unsigned char where, unsigned type val) \
57 return pci_##rw##_config_##size(dev, where, val); \
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/tables/
H A Dtbutils.c94 void *where)
106 if (!where) {
114 (IS_IN_ACPI_TABLE (where, acpi_gbl_DSDT))) {
126 if (IS_IN_ACPI_TABLE (where, table)) {
141 if (IS_IN_ACPI_TABLE (where, table)) {
93 acpi_tb_system_table_pointer( void *where) argument
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-s390/
H A Datomic.h153 #define atomic_compare_and_swap_debug(where,from,to) \
154 if (atomic_compare_and_swap ((from), (to), (where))) {\
156 __FILE__,__LINE__,#where,(from),#from,(to),#to,atomic_read (where));\
157 atomic_set(where,(to));\
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-s390x/
H A Datomic.h153 #define atomic_compare_and_swap_debug(where,from,to) \
154 if (atomic_compare_and_swap ((from), (to), (where))) {\
156 __FILE__,__LINE__,#where,(from),#from,(to),#to,atomic_read (where));\
157 atomic_set(where,(to));\
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-s390/
H A Datomic.h153 #define atomic_compare_and_swap_debug(where,from,to) \
154 if (atomic_compare_and_swap ((from), (to), (where))) {\
156 __FILE__,__LINE__,#where,(from),#from,(to),#to,atomic_read (where));\
157 atomic_set(where,(to));\
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-s390x/
H A Datomic.h153 #define atomic_compare_and_swap_debug(where,from,to) \
154 if (atomic_compare_and_swap ((from), (to), (where))) {\
156 __FILE__,__LINE__,#where,(from),#from,(to),#to,atomic_read (where));\
157 atomic_set(where,(to));\
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dpci.h457 int (*read_byte)(struct pci_dev *, int where, u8 *val);
458 int (*read_word)(struct pci_dev *, int where, u16 *val);
459 int (*read_dword)(struct pci_dev *, int where, u32 *val);
460 int (*write_byte)(struct pci_dev *, int where, u8 val);
461 int (*write_word)(struct pci_dev *, int where, u16 val);
462 int (*write_dword)(struct pci_dev *, int where, u32 val);
515 unsigned char where, unsigned char *val);
517 unsigned char where, unsigned short *val);
519 unsigned char where, unsigned int *val);
521 unsigned char where, unsigne
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dpci.h457 int (*read_byte)(struct pci_dev *, int where, u8 *val);
458 int (*read_word)(struct pci_dev *, int where, u16 *val);
459 int (*read_dword)(struct pci_dev *, int where, u32 *val);
460 int (*write_byte)(struct pci_dev *, int where, u8 val);
461 int (*write_word)(struct pci_dev *, int where, u16 val);
462 int (*write_dword)(struct pci_dev *, int where, u32 val);
515 unsigned char where, unsigned char *val);
517 unsigned char where, unsigned short *val);
519 unsigned char where, unsigned int *val);
521 unsigned char where, unsigne
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/minix/
H A Ditree_common.c106 Indirect *where,
114 if (!verify_chain(chain, where-1) || *where->p)
120 *where->p = where->key;
129 if (where->bh)
130 mark_buffer_dirty_inode(where->bh, inode);
137 bforget(where[i].bh);
139 minix_free_block(inode, block_to_cpu(where[i].key));
104 splice_branch(struct inode *inode, Indirect chain[DEPTH], Indirect *where, int num) argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/bfs/
H A Dfile.c44 unsigned long where)
48 dprintf("%08lx-%08lx->%08lx\n", start, end, where);
50 if(bfs_move_block(i, where + i, dev)) {
51 dprintf("failed to move block %08lx -> %08lx\n", i, where + i);
43 bfs_move_blocks(kdev_t dev, unsigned long start, unsigned long end, unsigned long where) argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/sysv/
H A Ditree.c164 Indirect *where,
170 if (!verify_chain(chain, where-1) || *where->p)
173 *where->p = where->key;
177 if (where->bh)
178 dirty_indirect(where->bh, inode);
188 bforget(where[i].bh);
190 sysv_free_block(inode->i_sb, where[i].key);
162 splice_branch(struct inode *inode, Indirect chain[], Indirect *where, int num) argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/sn/io/
H A Dstubs.c79 snia_kmem_free(void *where, int size) argument
82 return(kfree(where));

Completed in 382 milliseconds

12345678