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

12345678

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/galileo-boards/ev96100/
H A Dpci_ops.c86 unsigned char where, u32 *data)
105 ((where / 4) << GT_PCI0_CFGADDR_REGNUM_SHF) |
130 //printk("config access error: %x:%x\n", dev_fn,where);
151 read_config_byte (struct pci_dev *dev, int where, u8 *val) argument
155 if (gt96100_config_access(PCI_ACCESS_READ, dev, where, &data)) {
160 *val = (data >> ((where & 3) << 3)) & 0xff;
161 DBG("cfg read byte: bus %d dev_fn %x where %x: val %x\n",
162 dev->bus->number, dev->devfn, where, *val);
169 read_config_word (struct pci_dev *dev, int where, u16 *val) argument
173 if (where
85 gt96100_config_access(unsigned char access_type, struct pci_dev *dev, unsigned char where, u32 *data) argument
189 read_config_dword(struct pci_dev *dev, int where, u32 *val) argument
210 write_config_byte(struct pci_dev *dev, int where, u8 val) argument
229 write_config_word(struct pci_dev *dev, int where, u16 val) argument
252 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/ite-boards/generic/
H A Dit8172_pci.c91 unsigned char where, u32 *data)
104 (dev_fn << IT_FUNCNUM_SHF) | (where & ~0x3));
128 read_config_byte (struct pci_dev *dev, int where, u8 *val) argument
132 if (it8172_pcibios_config_access(PCI_ACCESS_READ, dev, where, &data))
135 *val = (data >> ((where & 3) << 3)) & 0xff;
136 DBG("cfg read byte: bus %d dev_fn %x where %x: val %x\n",
137 dev->bus->number, dev->devfn, where, *val);
144 read_config_word (struct pci_dev *dev, int where, u16 *val) argument
148 if (where & 1)
151 if (it8172_pcibios_config_access(PCI_ACCESS_READ, dev, where,
90 it8172_pcibios_config_access(unsigned char access_type, struct pci_dev *dev, unsigned char where, u32 *data) argument
162 read_config_dword(struct pci_dev *dev, int where, u32 *val) argument
181 write_config_byte(struct pci_dev *dev, int where, u8 val) argument
198 write_config_word(struct pci_dev *dev, int where, u16 val) argument
219 write_config_dword(struct pci_dev *dev, int where, u32 val) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/kernel/
H A Dvia82c505.c18 #define CONFIG_CMD(dev, where) (0x80000000 | (dev->bus->number << 16) | (dev->devfn << 8) | (where & ~3))
21 via82c505_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
23 outl(CONFIG_CMD(dev,where),0xCF8);
24 *value=inb(0xCFC + (where&3));
29 via82c505_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
31 outl(CONFIG_CMD(dev,where),0xCF8);
32 *value=inw(0xCFC + (where&2));
37 via82c505_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
39 outl(CONFIG_CMD(dev,where),
45 via82c505_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
53 via82c505_write_config_word(struct pci_dev *dev, int where, u16 value) argument
61 via82c505_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
82 dummy_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
89 dummy_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
96 dummy_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
126 dummy_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
132 dummy_write_config_word(struct pci_dev *dev, int where, u16 value) argument
138 dummy_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/au1000/db1x00/
H A Dpci_ops.c84 unsigned char where, u32 * data)
125 ((1<<device)<<11) | (function << 8) | (where & ~0x3);
136 access_type, bus, device, where, *data, config);
154 static int read_config_byte(struct pci_dev *dev, int where, u8 * val) argument
159 ret = config_access(PCI_ACCESS_READ, dev, where, &data);
160 if (where & 1) data >>= 8;
161 if (where & 2) data >>= 16;
167 static int read_config_word(struct pci_dev *dev, int where, u16 * val) argument
172 ret = config_access(PCI_ACCESS_READ, dev, where, &data);
173 if (where
83 config_access(unsigned char access_type, struct pci_dev *dev, unsigned char where, u32 * data) argument
178 read_config_dword(struct pci_dev *dev, int where, u32 * val) argument
187 write_config_byte(struct pci_dev *dev, int where, u8 val) argument
203 write_config_word(struct pci_dev *dev, int where, u16 val) argument
223 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/au1000/pb1500/
H A Dpci_ops.c78 unsigned char where, u32 * data)
110 config = cfg_addr | (function << 8) | (where & ~0x3);
122 access_type, bus, device, where, *data, config);
142 static int read_config_byte(struct pci_dev *dev, int where, u8 * val) argument
147 ret = config_access(PCI_ACCESS_READ, dev, where, &data);
148 if (where & 1) data >>= 8;
149 if (where & 2) data >>= 16;
155 static int read_config_word(struct pci_dev *dev, int where, u16 * val) argument
160 ret = config_access(PCI_ACCESS_READ, dev, where, &data);
161 if (where
77 config_access(unsigned char access_type, struct pci_dev *dev, unsigned char where, u32 * data) argument
166 read_config_dword(struct pci_dev *dev, int where, u32 * val) argument
175 write_config_byte(struct pci_dev *dev, int where, u8 val) argument
191 write_config_word(struct pci_dev *dev, int where, u16 val) argument
211 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/vr41xx/common/
H A Dpciu.h113 static inline int pciu_read_config_byte(int where, u8 *val) argument
117 data = readl(PCIU_CONFIGREGS_BASE + where);
118 *val = (u8)(data >> ((where & 3) << 3));
123 static inline int pciu_read_config_word(int where, u16 *val) argument
127 if (where & 1)
130 data = readl(PCIU_CONFIGREGS_BASE + where);
131 *val = (u16)(data >> ((where & 2) << 3));
136 static inline int pciu_read_config_dword(int where, u32 *val) argument
138 if (where & 3)
141 *val = readl(PCIU_CONFIGREGS_BASE + where);
146 pciu_write_config_byte(int where, u8 val) argument
153 pciu_write_config_word(int where, u16 val) argument
160 pciu_write_config_dword(int where, u32 val) argument
[all...]
H A Dpciu.c56 static inline int vr41xx_pci_config_access(struct pci_dev *dev, int where) argument
65 if (PCI_SLOT(dev_fn) < 11 || PCI_SLOT(dev_fn) > 31 || where > 255)
70 (where & 0xfc),
77 if (bus > 255 || PCI_SLOT(dev_fn) > 31 || where > 255)
82 (where & 0xfc) |
90 static int vr41xx_pci_read_config_byte(struct pci_dev *dev, int where, u8 *val) argument
95 if (vr41xx_pci_config_access(dev, where) < 0)
99 *val = (u8)(data >> ((where & 3) << 3));
105 static int vr41xx_pci_read_config_word(struct pci_dev *dev, int where, u16 *val) argument
110 if (where
122 vr41xx_pci_read_config_dword(struct pci_dev *dev, int where, u32 *val) argument
136 vr41xx_pci_write_config_byte(struct pci_dev *dev, int where, u8 val) argument
154 vr41xx_pci_write_config_word(struct pci_dev *dev, int where, u16 val) argument
174 vr41xx_pci_write_config_dword(struct pci_dev *dev, int where, u32 val) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/pptp/
H A Dpptp_callmgr.h11 void callmgr_name_unixsock(struct sockaddr_un *where,
/asus-wl-520gu-7.0.1.45/src/router/pptp-client/
H A Dpptp_callmgr.h11 void callmgr_name_unixsock(struct sockaddr_un *where,
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/au1000/pb1000/
H A Dpci_ops.c81 unsigned char where, u32 * data)
92 config = PCI_CONFIG_BASE | (where & ~0x3);
102 access_type, bus, dev_fn, where, *data, config);
115 static int read_config_byte(struct pci_dev *dev, int where, u8 * val) argument
120 ret = config_access(PCI_ACCESS_READ, dev, where, &data);
126 static int read_config_word(struct pci_dev *dev, int where, u16 * val) argument
131 ret = config_access(PCI_ACCESS_READ, dev, where, &data);
136 static int read_config_dword(struct pci_dev *dev, int where, u32 * val) argument
140 ret = config_access(PCI_ACCESS_READ, dev, where, val);
145 static int write_config_byte(struct pci_dev *dev, int where, u argument
80 config_access(unsigned char access_type, struct pci_dev *dev, unsigned char where, u32 * data) argument
161 write_config_word(struct pci_dev *dev, int where, u16 val) argument
181 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/hp-lj/
H A Dpci.c26 #define cfgaddr(dev, where) (((dev->bus->number & 0xff) << 0x10) | \
28 (where & 0xfc))
35 int where, unsigned char *val)
37 *pci_config_address_reg = cfgaddr(dev, where);
38 *val = (le32_to_cpu(*pci_config_data_reg) >> ((where&3)<<3)) & 0xff;
39 //printk("pci_read_byte 0x%x == 0x%x\n", where, *val);
44 int where, unsigned short *val)
46 if (where & 1)
48 *pci_config_address_reg = cfgaddr(dev, where);
49 *val = (le32_to_cpu(*pci_config_data_reg) >> ((where
34 pcimt_read_config_byte(struct pci_dev *dev, int where, unsigned char *val) argument
43 pcimt_read_config_word(struct pci_dev *dev, int where, unsigned short *val) argument
54 pcimt_read_config_dword(struct pci_dev *dev, int where, unsigned int *val) argument
65 pcimt_write_config_byte(struct pci_dev *dev, int where, unsigned char val) argument
74 pcimt_write_config_word(struct pci_dev *dev, int where, unsigned short val) argument
86 pcimt_write_config_dword(struct pci_dev *dev, int where, unsigned int val) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/sni/
H A Dpci.c20 #define mkaddr(dev, where) \
27 (where & 0xfc); \
36 int where, unsigned char *val)
40 mkaddr(dev, where);
42 res = (le32_to_cpu(res) >> ((where & 3) << 3)) & 0xff;
49 int where, unsigned short *val)
53 if (where & 1)
55 mkaddr(dev, where);
57 res = (le32_to_cpu(res) >> ((where & 3) << 3)) & 0xffff;
64 int where, unsigne
35 pcimt_read_config_byte(struct pci_dev *dev, int where, unsigned char *val) argument
48 pcimt_read_config_word(struct pci_dev *dev, int where, unsigned short *val) argument
63 pcimt_read_config_dword(struct pci_dev *dev, int where, unsigned int *val) argument
78 pcimt_write_config_byte(struct pci_dev *dev, int where, unsigned char val) argument
87 pcimt_write_config_word(struct pci_dev *dev, int where, unsigned short val) argument
98 pcimt_write_config_dword(struct pci_dev *dev, int where, unsigned int val) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/kernel/
H A Dirq_smp.c34 show(char * str, void *where) argument
38 printk("\n%s, CPU %d: %p\n", str, cpu, where);
51 wait_on_irq(int cpu, void *where) argument
73 show("wait_on_irq", where);
94 get_irqlock(int cpu, void* where) argument
110 wait_on_irq(cpu, where);
117 global_irq_lock.previous = where;
120 previous_irqholder = where;
145 void *where = __builtin_return_address(0); local
146 get_irqlock(cpu, where);
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/kernel/
H A Dirq_smp.c32 show(char * str, void *where) argument
36 printk("\n%s, CPU %d: %p\n", str, cpu, where);
49 wait_on_irq(int cpu, void *where) argument
71 show("wait_on_irq", where);
92 get_irqlock(int cpu, void* where) argument
108 wait_on_irq(cpu, where);
115 global_irq_lock.previous = where;
118 previous_irqholder = where;
125 void *where = __builtin_return_address(0); local
132 get_irqlock(cpu, where);
[all...]
H A Dcore_polaris.c68 mk_conf_addr(struct pci_dev *dev, int where, unsigned long *pci_addr, u8 *type1) argument
74 *pci_addr = (bus << 16) | (device_fn << 8) | (where) |
77 DBG_CFG(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x,"
79 bus, device_fn, where, *pci_addr));
85 polaris_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
90 if (mk_conf_addr(dev, where, &pci_addr, &type1))
98 polaris_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
103 if (mk_conf_addr(dev, where, &pci_addr, &type1))
111 polaris_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
116 if (mk_conf_addr(dev, where,
124 polaris_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
139 polaris_write_config_word(struct pci_dev *dev, int where, u16 value) argument
154 polaris_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
[all...]
H A Dcore_apecs.c93 mk_conf_addr(struct pci_dev *dev, int where, unsigned long *pci_addr, argument
100 DBGC(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x,"
102 bus, device_fn, where, pci_addr, type1));
116 addr = (device_fn << 8) | (where);
120 addr = (bus << 16) | (device_fn << 8) | (where);
272 apecs_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
277 if (mk_conf_addr(dev, where, &pci_addr, &type1))
281 *value = conf_read(addr, type1) >> ((where & 3) * 8);
286 apecs_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
291 if (mk_conf_addr(dev, where,
300 apecs_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
314 apecs_write_config(struct pci_dev *dev, int where, u32 value, long mask) argument
328 apecs_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
334 apecs_write_config_word(struct pci_dev *dev, int where, u16 value) argument
340 apecs_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
[all...]
H A Dcore_t2.c92 mk_conf_addr(struct pci_dev *dev, int where, unsigned long *pci_addr, argument
99 DBG(("mk_conf_addr(bus=%d, dfn=0x%x, where=0x%x,"
101 bus, device_fn, where, pci_addr, type1));
115 addr = (0x0800L << device) | ((device_fn & 7) << 8) | (where);
119 addr = (bus << 16) | (device_fn << 8) | (where);
221 t2_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
226 if (mk_conf_addr(dev, where, &pci_addr, &type1))
230 *value = conf_read(addr, type1) >> ((where & 3) * 8);
235 t2_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
240 if (mk_conf_addr(dev, where,
249 t2_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
263 t2_write_config(struct pci_dev *dev, int where, u32 value, long mask) argument
277 t2_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
283 t2_write_config_word(struct pci_dev *dev, int where, u16 value) argument
289 t2_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/sibyte/sb1250/
H A Dpci.c54 * This macro calculates the offset into config space where
58 #define CFGOFFSET(bus,devfn,where) (((bus)<<16)+((devfn)<<8)+(where))
64 #define CFGADDR(dev,where) (A_PHYS_LDTPCI_CFG_MATCH_BITS + \
65 CFGOFFSET(dev->bus->number,dev->devfn,where))
104 sb1250_pci_read_config_byte(struct pci_dev *dev, int where, u8 * val) argument
107 u32 cfgaddr = CFGADDR(dev, where);
120 *val = (data >> ((where & 3) << 3)) & 0xff;
127 sb1250_pci_read_config_word(struct pci_dev *dev, int where, u16 * val) argument
130 u32 cfgaddr = CFGADDR(dev, where);
152 sb1250_pci_read_config_dword(struct pci_dev *dev, int where, u32 * val) argument
178 sb1250_pci_write_config_byte(struct pci_dev *dev, int where, u8 val) argument
194 sb1250_pci_write_config_word(struct pci_dev *dev, int where, u16 val) argument
213 sb1250_pci_write_config_dword(struct pci_dev *dev, int where, u32 val) argument
319 unsigned long where, size; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/i386/kernel/
H A Dpci-visws.c27 #define CONFIG_CMD(dev, where) (0x80000000 | (dev->bus->number << 16) | (dev->devfn << 8) | (where & ~3))
29 static int pci_conf1_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
31 outl(CONFIG_CMD(dev,where), 0xCF8);
32 *value = inb(0xCFC + (where&3));
36 static int pci_conf1_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
38 outl(CONFIG_CMD(dev,where), 0xCF8);
39 *value = inw(0xCFC + (where&2));
43 static int pci_conf1_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
45 outl(CONFIG_CMD(dev,where),
50 pci_conf1_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
57 pci_conf1_write_config_word(struct pci_dev *dev, int where, u16 value) argument
64 pci_conf1_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/ddb5xxx/ddb5477/
H A Dpci_ops.c136 u32 where,
142 db_assert((where & 3) == 0);
143 db_assert(where < (1 << 8));
156 *val = *(volatile u32*) (base + (func_num << 8) + where);
163 u32 where,
169 db_assert((where & 1) == 0);
171 status = read_config_dword(swap, dev, where & ~3, &result);
172 if (where & 2) result >>= 16;
179 u32 where,
185 status = read_config_dword(swap, dev, where
134 read_config_dword(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u32 *val) argument
161 read_config_word(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u16 *val) argument
177 read_config_byte(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u8 *val) argument
192 write_config_dword(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u32 val) argument
219 write_config_word(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u16 val) argument
239 write_config_byte(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u8 val) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/video/
H A Dfbcon-vga-planes.c156 char *where; local
170 where = p->screen_base + sx + sy * p->line_length;
173 writeb(0, where);
174 where++;
176 where += line_ofs;
187 char *where = p->screen_base + xx + yy * p->line_length * fontheight(p); local
196 for (y = 0; y < fontheight(p); y++, where += p->line_length)
197 rmw(where);
199 where -= p->line_length * y;
202 for (y = 0; y < fontheight(p); y++, where
216 char *where = p->screen_base + xx + yy * p->line_length * fontheight(p); local
243 char *where; local
282 char *where; local
315 char *where = p->screen_base + xx + yy * p->line_length * fontheight(p); local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/atari/
H A Dhades-pci.c51 * unsigned char where)
60 static void *mk_conf_addr(struct pci_dev *dev, int where) argument
65 DBG_DEVS(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x, pci_addr=0x%p)\n",
66 dev->bus->number, dev->devfn, where, pci_addr));
80 result = (void *) (pci_conf_base_virt[device] | (function << 8) | (where));
85 static int hades_read_config_byte(struct pci_dev *dev, int where, u8 *value) argument
91 if ((pci_addr = (unsigned char *) mk_conf_addr(dev, where)) == NULL)
99 static int hades_read_config_word(struct pci_dev *dev, int where, u16 *value) argument
105 if (where & 0x1)
108 if ((pci_addr = (unsigned short *) mk_conf_addr(dev, where))
116 hades_read_config_dword(struct pci_dev *dev, int where, u32 *value) argument
190 hades_write_config_byte(struct pci_dev *dev, int where, u8 value) argument
202 hades_write_config_word(struct pci_dev *dev, int where, u16 value) argument
214 hades_write_config_dword(struct pci_dev *dev, int where, u32 value) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/mips-boards/generic/
H A Dpci.c55 struct pci_dev *dev, unsigned char where, u32 *data)
82 ((where / 4) << GT_PCI0_CFGADDR_REGNUM_SHF) |
157 pci_addr |= (where & ~0x3) << PCI_CFG_TYPE0_REG_SHF;
221 ((where /4 ) << MSC01_PCI_CFGADDR_RNUM_SHF) |
260 static int mips_pcibios_read_config_byte (struct pci_dev *dev, int where, argument
265 if (mips_pcibios_config_access(PCI_ACCESS_READ, dev, where, &data))
268 *val = (data >> ((where & 3) << 3)) & 0xff;
273 static int mips_pcibios_read_config_word (struct pci_dev *dev, int where, argument
278 if (where & 1)
281 if (mips_pcibios_config_access(PCI_ACCESS_READ, dev, where,
54 mips_pcibios_config_access(unsigned char access_type, struct pci_dev *dev, unsigned char where, u32 *data) argument
289 mips_pcibios_read_config_dword(struct pci_dev *dev, int where, u32 *val) argument
305 mips_pcibios_write_config_byte(struct pci_dev *dev, int where, u8 val) argument
322 mips_pcibios_write_config_word(struct pci_dev *dev, int where, u16 val) argument
343 mips_pcibios_write_config_dword(struct pci_dev *dev, int where, u32 val) argument
513 unsigned long where, size; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/ddb5xxx/ddb5074/
H A Dpci_ops.c134 u32 where,
140 db_assert((where & 3) == 0);
141 db_assert(where < (1 << 8));
154 *val = *(volatile u32*) (base + (func_num << 8) + where);
161 u32 where,
167 db_assert((where & 1) == 0);
169 status = read_config_dword(swap, dev, where & ~3, &result);
170 if (where & 2) result >>= 16;
177 u32 where,
183 status = read_config_dword(swap, dev, where
132 read_config_dword(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u32 *val) argument
159 read_config_word(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u16 *val) argument
175 read_config_byte(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u8 *val) argument
190 write_config_dword(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u32 val) argument
217 write_config_word(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u16 val) argument
237 write_config_byte(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u8 val) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/ddb5xxx/ddb5476/
H A Dpci_ops.c145 u32 where,
151 db_assert((where & 3) == 0);
152 db_assert(where < (1 << 8));
165 *val = *(volatile u32*) (base + (func_num << 8) + where);
172 u32 where,
178 db_assert((where & 1) == 0);
180 status = read_config_dword(swap, dev, where & ~3, &result);
181 if (where & 2) result >>= 16;
188 u32 where,
194 status = read_config_dword(swap, dev, where
143 read_config_dword(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u32 *val) argument
170 read_config_word(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u16 *val) argument
186 read_config_byte(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u8 *val) argument
201 write_config_dword(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u32 val) argument
228 write_config_word(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u16 val) argument
248 write_config_byte(struct pci_config_swap *swap, struct pci_dev *dev, u32 where, u8 val) argument
[all...]

Completed in 233 milliseconds

12345678