Searched refs:idx (Results 1 - 25 of 495) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/cfe/cfe/main/
H A Dcfe_background.c107 int idx; local
109 for (idx = 0; idx < MAX_BACKGROUND_TASKS; idx++) {
110 if (cfe_bg_tasklist[idx] == NULL) {
111 cfe_bg_tasklist[idx] = func;
112 cfe_bg_args[idx] = arg;
132 int idx; local
134 for (idx = 0; idx < MAX_BACKGROUND_TASK
166 int idx; local
[all...]
H A Dcfe_console.c411 int idx = 0; local
427 console_write(str,idx);
457 idx = 0;
461 if (idx > 0) {
462 idx--;
467 while (idx > 0) {
468 idx--;
479 if (idx < (len-1)) {
480 str[idx] = ch;
481 idx
858 int idx = 0; local
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/verif/
H A Dvapisubr.c104 int idx; local
107 for (idx = 0; idx < cnt; idx++) {
108 if ((idx & 1) == 0) xprintf("# ");
109 xprintf(" %8s=%016llX ",gpregnames[idx],gprs[idx]);
110 if ((idx & 1) == 1) xprintf("\n");
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dbrlock.h80 static inline void br_read_lock (enum brlock_indices idx) argument
86 if (idx >= __BR_END)
89 read_lock(&__brlock_array[smp_processor_id()][idx]);
92 static inline void br_read_unlock (enum brlock_indices idx) argument
94 if (idx >= __BR_END)
97 read_unlock(&__brlock_array[smp_processor_id()][idx]);
101 static inline void br_read_lock (enum brlock_indices idx) argument
110 if (idx >= __BR_END)
113 ctr = &__brlock_array[smp_processor_id()][idx];
114 lock = &__br_write_locks[idx]
140 br_read_unlock(enum brlock_indices idx) argument
159 br_write_lock(enum brlock_indices idx) argument
166 br_write_unlock(enum brlock_indices idx) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dbrlock.h80 static inline void br_read_lock (enum brlock_indices idx) argument
86 if (idx >= __BR_END)
89 read_lock(&__brlock_array[smp_processor_id()][idx]);
92 static inline void br_read_unlock (enum brlock_indices idx) argument
94 if (idx >= __BR_END)
97 read_unlock(&__brlock_array[smp_processor_id()][idx]);
101 static inline void br_read_lock (enum brlock_indices idx) argument
110 if (idx >= __BR_END)
113 ctr = &__brlock_array[smp_processor_id()][idx];
114 lock = &__br_write_locks[idx]
140 br_read_unlock(enum brlock_indices idx) argument
159 br_write_lock(enum brlock_indices idx) argument
166 br_write_unlock(enum brlock_indices idx) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/
H A Dget_line_from_file.c41 int idx = 0; local
50 while (idx > linebufsz-2)
52 linebuf[idx++] = (char)ch;
57 if (idx == 0)
60 linebuf[idx] = 0;
H A Dfgets_str.c34 int idx = 0; local
44 while (idx > linebufsz - 2) {
48 linebuf[idx] = ch;
49 idx++;
52 end_string_offset = idx - term_length;
54 idx -= term_length;
58 if (idx == 0) {
61 linebuf[idx] = '\0';
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/mtd/maps/
H A Dtqm8xxl.c170 int idx = 0, ret = 0; local
184 for(idx = 0 ; idx < FLASH_BANK_MAX ; idx++)
189 printk("%s: chip probing count %d\n", __FUNCTION__, idx);
191 map_banks[idx] = (struct map_info *)kmalloc(sizeof(struct map_info), GFP_KERNEL);
192 if(map_banks[idx] == NULL)
198 memset((void *)map_banks[idx], 0, sizeof(struct map_info));
199 map_banks[idx]->name = (char *)kmalloc(16, GFP_KERNEL);
200 if(map_banks[idx]
292 unsigned int idx = 0; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/include/
H A Dll_map.h7 extern const char *ll_index_to_name(int idx);
8 extern const char *ll_idx_n2a(int idx, char *buf);
9 extern int ll_index_to_type(int idx);
10 extern unsigned ll_index_to_flags(int idx);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc/mm/
H A Dhighmem.c22 unsigned long idx; local
28 idx = type + KM_TYPE_NR * smp_processor_id();
29 vaddr = fix_kmap_begin + idx * PAGE_SIZE;
34 if (!pte_none(*(kmap_pte + idx)))
37 set_pte(kmap_pte + idx, mk_pte(page, kmap_prot));
46 unsigned long idx = type + KM_TYPE_NR * smp_processor_id(); local
51 if (vaddr != fix_kmap_begin + idx * PAGE_SIZE)
61 pte_clear(kmap_pte + idx);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips/
H A Dfixmap.h36 * highger than 1) use fixmap_set(idx,phys) to associate
57 extern void __set_fixmap (enum fixed_addresses idx,
60 #define set_fixmap(idx, phys) \
61 __set_fixmap(idx, phys, PAGE_KERNEL)
65 #define set_fixmap_nocache(idx, phys) \
66 __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
83 * 'index to address' translation. If anyone tries to use the idx
87 static inline unsigned long fix_to_virt(const unsigned int idx) argument
98 if (idx >= __end_of_fixed_addresses)
101 return __fix_to_virt(idx);
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips/
H A Dfixmap.h36 * highger than 1) use fixmap_set(idx,phys) to associate
57 extern void __set_fixmap (enum fixed_addresses idx,
60 #define set_fixmap(idx, phys) \
61 __set_fixmap(idx, phys, PAGE_KERNEL)
65 #define set_fixmap_nocache(idx, phys) \
66 __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
83 * 'index to address' translation. If anyone tries to use the idx
87 static inline unsigned long fix_to_virt(const unsigned int idx) argument
98 if (idx >= __end_of_fixed_addresses)
101 return __fix_to_virt(idx);
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm/
H A Dfixmap.h36 * highger than 1) use fixmap_set(idx,phys) to associate
57 extern void __set_fixmap (enum fixed_addresses idx,
60 #define set_fixmap(idx, phys) \
61 __set_fixmap(idx, phys, PAGE_KERNEL)
65 #define set_fixmap_nocache(idx, phys) \
66 __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
83 * 'index to address' translation. If anyone tries to use the idx
87 static inline unsigned long fix_to_virt(const unsigned int idx) argument
98 if (idx >= __end_of_fixed_addresses)
101 return __fix_to_virt(idx);
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-x86_64/
H A Dfixmap.h30 * highger than 1) use fixmap_set(idx,phys) to associate
52 extern void __set_fixmap (enum fixed_addresses idx,
55 #define set_fixmap(idx, phys) \
56 __set_fixmap(idx, phys, PAGE_KERNEL)
60 #define set_fixmap_nocache(idx, phys) \
61 __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
72 * 'index to address' translation. If anyone tries to use the idx
76 extern inline unsigned long fix_to_virt(const unsigned int idx) argument
87 if (idx >= __end_of_fixed_addresses)
90 return __fix_to_virt(idx);
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-x86_64/
H A Dfixmap.h30 * highger than 1) use fixmap_set(idx,phys) to associate
52 extern void __set_fixmap (enum fixed_addresses idx,
55 #define set_fixmap(idx, phys) \
56 __set_fixmap(idx, phys, PAGE_KERNEL)
60 #define set_fixmap_nocache(idx, phys) \
61 __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
72 * 'index to address' translation. If anyone tries to use the idx
76 extern inline unsigned long fix_to_virt(const unsigned int idx) argument
87 if (idx >= __end_of_fixed_addresses)
90 return __fix_to_virt(idx);
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm/
H A Dfixmap.h36 * highger than 1) use fixmap_set(idx,phys) to associate
57 extern void __set_fixmap (enum fixed_addresses idx,
60 #define set_fixmap(idx, phys) \
61 __set_fixmap(idx, phys, PAGE_KERNEL)
65 #define set_fixmap_nocache(idx, phys) \
66 __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
83 * 'index to address' translation. If anyone tries to use the idx
87 static inline unsigned long fix_to_virt(const unsigned int idx) argument
98 if (idx >= __end_of_fixed_addresses)
101 return __fix_to_virt(idx);
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/hosttools/
H A Dmkpcidb.c101 int idx; local
130 for (idx = 0; idx < cnt; idx++) {
132 knowndevs[idx].vendor,
133 knowndevs[idx].product,
134 knowndevs[idx].flags,
135 knowndevs[idx].vendorname,
136 knowndevs[idx].productname);
140 for (idx
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dsed.c145 static int index_of_next_unescaped_regexp_delim(struct sed_cmd *sed_cmd, const char *str, int idx) argument
147 for ( ; str[idx]; idx++) {
148 if (str[idx] == sed_cmd->delimiter && str[idx-1] != '\\')
149 return idx;
162 int idx = 0; local
167 if (isdigit(my_str[idx])) {
169 idx++;
170 } while (isdigit(my_str[idx]));
202 int idx = 0; local
279 int idx = 0; local
354 int idx = 0; local
391 int idx = 0; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/lib/
H A Dbrlock.c23 void __br_write_lock (enum brlock_indices idx) argument
28 write_lock(&__brlock_array[cpu_logical_map(i)][idx]);
31 void __br_write_unlock (enum brlock_indices idx) argument
36 write_unlock(&__brlock_array[cpu_logical_map(i)][idx]);
47 void __br_write_lock (enum brlock_indices idx) argument
52 spin_lock(&__br_write_locks[idx].lock);
54 if (__brlock_array[cpu_logical_map(i)][idx] != 0) {
55 spin_unlock(&__br_write_locks[idx].lock);
62 void __br_write_unlock (enum brlock_indices idx) argument
64 spin_unlock(&__br_write_locks[idx]
[all...]
/asus-wl-520gu-7.0.1.45/src/router/shared/
H A Ddefaults.c313 int idx; local
323 for (idx = 0; router_defaults[idx].name != NULL; idx++) {
324 if (strcmp(router_defaults[idx].name, fixed_name) == 0) {
325 return router_defaults[idx].value;
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/ui/
H A Dui_test_ether.c126 int idx; local
151 cfe_ioctl(fh,IOCTL_ETHER_SETSPEED,(uint8_t *) &speed,sizeof(speed),&idx,0);
160 for (idx = 0; idx < count; idx++) {
184 for (idx = 0; idx < res; idx++) {
185 xprintf("%02X",packet[idx]);
186 if ((idx
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/usb/
H A Dusbmain.c114 int idx; local
132 for (idx = 0; idx < usb_buscnt; idx++) {
133 if (usb_buses[idx]) {
134 usb_poll(usb_buses[idx]);
135 usb_daemon(usb_buses[idx]);
207 int idx; local
209 idx = 0;
211 while (pci_find_class(PCI_CLASS_SERIALBUS,idx,
299 int idx; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ppc/
H A Dhighmem.h84 unsigned int idx; local
90 idx = type + KM_TYPE_NR*smp_processor_id();
91 vaddr = KMAP_FIX_BEGIN + idx * PAGE_SIZE;
93 if (!pte_none(*(kmap_pte+idx)))
96 set_pte(kmap_pte+idx, mk_pte(page, kmap_prot));
106 unsigned int idx = type + KM_TYPE_NR*smp_processor_id(); local
111 if (vaddr != KMAP_FIX_BEGIN + idx * PAGE_SIZE)
118 pte_clear(kmap_pte+idx);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ppc/
H A Dhighmem.h84 unsigned int idx; local
90 idx = type + KM_TYPE_NR*smp_processor_id();
91 vaddr = KMAP_FIX_BEGIN + idx * PAGE_SIZE;
93 if (!pte_none(*(kmap_pte+idx)))
96 set_pte(kmap_pte+idx, mk_pte(page, kmap_prot));
106 unsigned int idx = type + KM_TYPE_NR*smp_processor_id(); local
111 if (vaddr != KMAP_FIX_BEGIN + idx * PAGE_SIZE)
118 pte_clear(kmap_pte+idx);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-i386/
H A Dfixmap.h37 * highger than 1) use fixmap_set(idx,phys) to associate
79 extern void __set_fixmap (enum fixed_addresses idx,
82 #define set_fixmap(idx, phys) \
83 __set_fixmap(idx, phys, PAGE_KERNEL)
87 #define set_fixmap_nocache(idx, phys) \
88 __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
105 * 'index to address' translation. If anyone tries to use the idx
109 static inline unsigned long fix_to_virt(const unsigned int idx) argument
120 if (idx >= __end_of_fixed_addresses)
123 return __fix_to_virt(idx);
[all...]

Completed in 120 milliseconds

1234567891011>>