Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 200 of 420) sorted by relevance

123

/linux-4.4.14/drivers/usb/gadget/function/
Df_loopback.c173 struct f_loopback *loop = func_to_loop(f); in loopback_bind() local
191 loop->in_ep = usb_ep_autoconfig(cdev->gadget, &fs_loop_source_desc); in loopback_bind()
192 if (!loop->in_ep) { in loopback_bind()
199 loop->out_ep = usb_ep_autoconfig(cdev->gadget, &fs_loop_sink_desc); in loopback_bind()
200 if (!loop->out_ep) in loopback_bind()
221 f->name, loop->in_ep->name, loop->out_ep->name); in loopback_bind()
241 struct f_loopback *loop = ep->driver_data; in loopback_complete() local
242 struct usb_composite_dev *cdev = loop->function.config->cdev; in loopback_complete()
247 if (ep == loop->out_ep) { in loopback_complete()
256 ep = loop->in_ep; in loopback_complete()
[all …]
/linux-4.4.14/fs/afs/
Dvolume.c51 int ret, loop; in afs_volume_lookup() local
71 for (loop = 0; loop < vlocation->vldb.nservers; loop++) in afs_volume_lookup()
72 srvtmask |= vlocation->vldb.srvtmask[loop]; in afs_volume_lookup()
116 for (loop = 0; loop < 8; loop++) { in afs_volume_lookup()
117 if (vlocation->vldb.srvtmask[loop] & (1 << volume->type)) { in afs_volume_lookup()
119 volume->cell, &vlocation->vldb.servers[loop]); in afs_volume_lookup()
162 for (loop = volume->nservers - 1; loop >= 0; loop--) in afs_volume_lookup()
163 afs_put_server(volume->servers[loop]); in afs_volume_lookup()
175 int loop; in afs_put_volume() local
206 for (loop = volume->nservers - 1; loop >= 0; loop--) in afs_put_volume()
[all …]
Dvlclient.c67 int loop; in afs_deliver_vl_get_entry_by_xxx() local
82 for (loop = 0; loop < 64; loop++) in afs_deliver_vl_get_entry_by_xxx()
83 entry->name[loop] = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx()
84 entry->name[loop] = 0; in afs_deliver_vl_get_entry_by_xxx()
90 for (loop = 0; loop < 8; loop++) in afs_deliver_vl_get_entry_by_xxx()
91 entry->servers[loop].s_addr = *bp++; in afs_deliver_vl_get_entry_by_xxx()
95 for (loop = 0; loop < 8; loop++) { in afs_deliver_vl_get_entry_by_xxx()
97 entry->srvtmask[loop] = 0; in afs_deliver_vl_get_entry_by_xxx()
99 entry->srvtmask[loop] |= AFS_VOL_VTM_RW; in afs_deliver_vl_get_entry_by_xxx()
101 entry->srvtmask[loop] |= AFS_VOL_VTM_RO; in afs_deliver_vl_get_entry_by_xxx()
[all …]
Dcmservice.c179 int ret, loop; in afs_deliver_cb_callback() local
228 for (loop = call->count; loop > 0; loop--, cb++) { in afs_deliver_cb_callback()
270 for (loop = call->count; loop > 0; loop--, cb++) { in afs_deliver_cb_callback()
457 unsigned loop; in afs_deliver_cb_probe_uuid() local
499 for (loop = 0; loop < 6; loop++) in afs_deliver_cb_probe_uuid()
500 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_probe_uuid()
529 int loop, nifs; in SRXAFSCB_TellMeAboutYourself() local
566 for (loop = 0; loop < 6; loop++) in SRXAFSCB_TellMeAboutYourself()
567 reply.ia.uuid[loop + 5] = htonl((s8) afs_uuid.node[loop]); in SRXAFSCB_TellMeAboutYourself()
570 for (loop = 0; loop < nifs; loop++) { in SRXAFSCB_TellMeAboutYourself()
[all …]
Dsecurity.c55 int loop; in afs_zap_permits() local
59 for (loop = permits->count - 1; loop >= 0; loop--) in afs_zap_permits()
60 key_put(permits->permits[loop].key); in afs_zap_permits()
134 int count, loop; in afs_cache_permit() local
177 for (loop = count; loop > 0; loop--) { in afs_cache_permit()
224 int loop, ret; in afs_check_permit() local
249 for (loop = permits->count; loop > 0; loop--) { in afs_check_permit()
Dwrite.c281 unsigned count, loop; in afs_kill_pages() local
298 for (loop = 0; loop < count; loop++) { in afs_kill_pages()
299 ClearPageUptodate(pv.pages[loop]); in afs_kill_pages()
301 SetPageError(pv.pages[loop]); in afs_kill_pages()
302 end_page_writeback(pv.pages[loop]); in afs_kill_pages()
322 int loop, ret; in afs_write_back_from_locked_page() local
356 for (loop = 0; loop < n; loop++) { in afs_write_back_from_locked_page()
357 page = pages[loop]; in afs_write_back_from_locked_page()
374 count += loop; in afs_write_back_from_locked_page()
375 if (loop < n) { in afs_write_back_from_locked_page()
[all …]
Drxrpc.c277 unsigned count, n, loop, offset, to; in afs_send_pages() local
295 loop = 0; in afs_send_pages()
299 if (first + loop >= last) in afs_send_pages()
303 iov->iov_base = kmap(pages[loop]) + offset; in afs_send_pages()
315 if (first + loop >= last) in afs_send_pages()
319 kunmap(pages[loop]); in afs_send_pages()
322 } while (++loop < count); in afs_send_pages()
325 for (loop = 0; loop < count; loop++) in afs_send_pages()
326 put_page(pages[loop]); in afs_send_pages()
Dcache.c375 int loop, nr_pages; in afs_vnode_cache_now_uncached() local
391 for (loop = 0; loop < nr_pages; loop++) in afs_vnode_cache_now_uncached()
392 ClearPageFsCache(pvec.pages[loop]); in afs_vnode_cache_now_uncached()
/linux-4.4.14/arch/arm64/include/asm/
Dpercpu.h43 unsigned long loop, ret; \
52 : [loop] "=&r" (loop), [ret] "=&r" (ret), \
55 } while (loop); \
63 : [loop] "=&r" (loop), [ret] "=&r" (ret), \
66 } while (loop); \
74 : [loop] "=&r" (loop), [ret] "=&r" (ret), \
77 } while (loop); \
85 : [loop] "=&r" (loop), [ret] "=&r" (ret), \
88 } while (loop); \
149 unsigned long ret, loop; in __percpu_xchg() local
[all …]
/linux-4.4.14/arch/mn10300/proc-mn2ws0050/
Dproc-init.c35 int loop; in processor_init() local
38 for (loop = 0x000; loop < 0x400; loop += 8) in processor_init()
39 __set_intr_stub(loop, __common_exception); in processor_init()
75 for (loop = 0; loop < GxICR_NUM_IRQS; loop++) in processor_init()
76 GxICR(loop) = GxICR_LEVEL_6 | GxICR_DETECT; in processor_init()
78 for (loop = 0; loop < NR_IRQS; loop++) in processor_init()
79 GxICR(loop) = GxICR_LEVEL_6 | GxICR_DETECT; in processor_init()
/linux-4.4.14/fs/ramfs/
Dfile-nommu.c68 unsigned long npages, xpages, loop; in ramfs_nommu_expand_for_mapping() local
99 for (loop = npages; loop < xpages; loop++) in ramfs_nommu_expand_for_mapping()
100 __free_page(pages + loop); in ramfs_nommu_expand_for_mapping()
108 for (loop = 0; loop < npages; loop++) { in ramfs_nommu_expand_for_mapping()
109 struct page *page = pages + loop; in ramfs_nommu_expand_for_mapping()
111 ret = add_to_page_cache_lru(page, inode->i_mapping, loop, in ramfs_nommu_expand_for_mapping()
127 while (loop < npages) in ramfs_nommu_expand_for_mapping()
128 __free_page(pages + loop++); in ramfs_nommu_expand_for_mapping()
209 unsigned long maxpages, lpages, nr, loop, ret; in ramfs_nommu_get_unmapped_area() local
243 for (loop = lpages; loop > 1; loop--) in ramfs_nommu_get_unmapped_area()
[all …]
/linux-4.4.14/net/rxrpc/
Dar-key.c168 int loop; in rxrpc_free_krb5_principal() local
171 for (loop = princ->n_name_parts - 1; loop >= 0; loop--) in rxrpc_free_krb5_principal()
172 kfree(princ->name_parts[loop]); in rxrpc_free_krb5_principal()
188 int loop; in rxrpc_rxk5_free() local
195 for (loop = rxk5->n_addresses - 1; loop >= 0; loop--) in rxrpc_rxk5_free()
196 rxrpc_free_krb5_tagged(&rxk5->addresses[loop]); in rxrpc_rxk5_free()
200 for (loop = rxk5->n_authdata - 1; loop >= 0; loop--) in rxrpc_rxk5_free()
201 rxrpc_free_krb5_tagged(&rxk5->authdata[loop]); in rxrpc_rxk5_free()
218 unsigned int toklen = *_toklen, n_parts, loop, tmp; in rxrpc_krb5_decode_principal() local
241 for (loop = 0; loop < n_parts; loop++) { in rxrpc_krb5_decode_principal()
[all …]
Dar-skbuff.c57 int loop; in rxrpc_hard_ACK_data() local
64 for (loop = 0; loop < RXRPC_ACKR_WINDOW_ASZ; loop++) { in rxrpc_hard_ACK_data()
65 call->ackr_window[loop] >>= 1; in rxrpc_hard_ACK_data()
66 call->ackr_window[loop] |= in rxrpc_hard_ACK_data()
67 call->ackr_window[loop + 1] << (BITS_PER_LONG - 1); in rxrpc_hard_ACK_data()
Dar-ack.c222 int loop; in rxrpc_resend() local
234 for (loop = call->acks_tail; in rxrpc_resend()
235 loop != call->acks_head || stop; in rxrpc_resend()
236 loop = (loop + 1) & (call->acks_winsz - 1) in rxrpc_resend()
238 p_txb = call->acks_window + loop; in rxrpc_resend()
291 int loop; in rxrpc_resend_timer() local
303 for (loop = call->acks_unacked; in rxrpc_resend_timer()
304 loop != call->acks_head; in rxrpc_resend_timer()
305 loop = (loop + 1) & (call->acks_winsz - 1) in rxrpc_resend_timer()
307 p_txb = call->acks_window + loop; in rxrpc_resend_timer()
[all …]
Dar-connevent.c151 int loop, ret; in rxrpc_process_event() local
197 for (loop = 0; loop < RXRPC_MAXCALLS; loop++) in rxrpc_process_event()
198 rxrpc_call_is_secure(conn->channels[loop]); in rxrpc_process_event()
Drxkad.c682 int loop; in rxkad_calc_response_checksum() local
685 for (loop = sizeof(*response); loop > 0; loop--) in rxkad_calc_response_checksum()
/linux-4.4.14/arch/frv/kernel/
Dgdb-stub.c248 int loop = 0; in gdbstub_strcpy() local
249 while ((dst[loop] = src[loop])) in gdbstub_strcpy()
250 loop++; in gdbstub_strcpy()
847 int bkpt, loop, xloop; in gdbstub_set_breakpoint() local
870 for (loop = 0; loop < len/4; loop++) in gdbstub_set_breakpoint()
871 if (!gdbstub_read_dword(&((uint32_t *) addr)[loop], in gdbstub_set_breakpoint()
872 &gdbstub_bkpts[bkpt].originsns[loop])) in gdbstub_set_breakpoint()
875 for (loop = 0; loop < len/4; loop++) in gdbstub_set_breakpoint()
876 if (!gdbstub_write_dword(&((uint32_t *) addr)[loop], in gdbstub_set_breakpoint()
880 for (xloop = 0; xloop < loop; xloop++) in gdbstub_set_breakpoint()
[all …]
Dtraps.c497 int loop; in show_regs() local
507 for (loop = 0; loop < NR_PT_REGS; loop++) { in show_regs()
508 printk("%s %08lx", regnames[loop + 0], reg[loop + 0]); in show_regs()
510 if (loop == NR_PT_REGS - 1 || loop % 5 == 4) in show_regs()
545 int loop; in show_backtrace_regs() local
553 for (loop = 0; loop < NR_PT_REGS; loop++) { in show_backtrace_regs()
554 printk("%s %08lx", regnames[loop + 0], reg[loop + 0]); in show_backtrace_regs()
556 if (loop == NR_PT_REGS - 1 || loop % 5 == 4) in show_backtrace_regs()
Dsetup.c287 int loop; in dump_memory_map()
288 for (loop = 1; loop <= 7; loop++) { in dump_memory_map()
289 unsigned long lcr = __get_LCR(loop), lsbr = __get_LSBR(loop); in dump_memory_map()
291 loop, in dump_memory_map()
292 lsbr, lsbr + __get_LSAM(loop), in dump_memory_map()
1135 int loop; in mb93090_sendlcdcmd() local
1142 for (loop = 10000; loop > 0; loop--) in mb93090_sendlcdcmd()
/linux-4.4.14/fs/cachefiles/
Dkey.c42 int loop, len, max, seg, mark, print; in cachefiles_cook_key() local
50 for (loop = 2; loop < keylen; loop++) { in cachefiles_cook_key()
51 ch = raw[loop]; in cachefiles_cook_key()
102 for (loop = keylen; loop > 0; loop--) { in cachefiles_cook_key()
121 for (loop = keylen; loop > 0; loop--) { in cachefiles_cook_key()
Dnamei.c36 unsigned keylen, loop; in __cachefiles_printk_object() local
71 for (loop = 0; loop < keylen; loop++) in __cachefiles_printk_object()
72 pr_cont("%02x", keybuf[loop]); in __cachefiles_printk_object()
/linux-4.4.14/arch/mn10300/proc-mn103e010/
Dproc-init.c21 int loop; in processor_init() local
24 for (loop = 0x000; loop < 0x400; loop += 8) in processor_init()
25 __set_intr_stub(loop, __common_exception); in processor_init()
58 for (loop = 0; loop < NR_IRQS; loop++) in processor_init()
59 GxICR(loop) = GxICR_LEVEL_6 | GxICR_DETECT; in processor_init()
/linux-4.4.14/lib/
Dbuild_OID_registry61 for (my $loop = 2; $loop <= $#components; $loop++) {
62 my $c = $components[$loop];
101 for (my $loop = 2; $loop <= $#components; $loop++) {
102 my $c = $components[$loop];
Dplist.c222 int nr_expect = 0, i, loop; in plist_test() local
230 for (loop = 0; loop < 1000; loop++) { in plist_test()
/linux-4.4.14/fs/
Dbinfmt_elf_fdpic.c146 int retval, loop; in elf_fdpic_fetch_phdrs() local
165 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_fetch_phdrs()
504 int loop; in create_elf_fdpic_tables() local
686 for (loop = bprm->argc; loop > 0; loop--) { in create_elf_fdpic_tables()
698 for (loop = bprm->envc; loop > 0; loop--) { in create_elf_fdpic_tables()
770 int loop, ret; in elf_fdpic_map_file() local
774 for (loop = 0; loop < params->hdr.e_phnum; loop++) in elf_fdpic_map_file()
775 if (params->phdrs[loop].p_type == PT_LOAD) in elf_fdpic_map_file()
814 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file()
830 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_map_file()
[all …]
Dinode.c1854 unsigned int loop; in inode_init_early() local
1873 for (loop = 0; loop < (1U << i_hash_shift); loop++) in inode_init_early()
1874 INIT_HLIST_HEAD(&inode_hashtable[loop]); in inode_init_early()
1879 unsigned int loop; in inode_init() local
1904 for (loop = 0; loop < (1U << i_hash_shift); loop++) in inode_init()
1905 INIT_HLIST_HEAD(&inode_hashtable[loop]); in inode_init()
Ddcache.c3378 unsigned int loop; in dcache_init_early() local
3397 for (loop = 0; loop < (1U << d_hash_shift); loop++) in dcache_init_early()
3398 INIT_HLIST_BL_HEAD(dentry_hashtable + loop); in dcache_init_early()
3403 unsigned int loop; in dcache_init() local
3428 for (loop = 0; loop < (1U << d_hash_shift); loop++) in dcache_init()
3429 INIT_HLIST_BL_HEAD(dentry_hashtable + loop); in dcache_init()
/linux-4.4.14/kernel/locking/
Dqspinlock_paravirt.h167 int loop; in pv_wait_node() local
170 for (loop = SPIN_THRESHOLD; loop; loop--) { in pv_wait_node()
253 int loop; in pv_wait_head() local
263 for (loop = SPIN_THRESHOLD; loop; loop--) { in pv_wait_head()
Drwsem-xadd.c127 long oldcount, woken, loop, adjustment; in __rwsem_do_wake() local
185 loop = woken; in __rwsem_do_wake()
201 } while (--loop); in __rwsem_do_wake()
/linux-4.4.14/arch/mn10300/mm/
Dinit.c52 int loop; in paging_init() local
61 for (loop = VMALLOC_START / (PAGE_SIZE * PTRS_PER_PTE); in paging_init()
62 loop < VMALLOC_END / (PAGE_SIZE * PTRS_PER_PTE); in paging_init()
63 loop++ in paging_init()
65 set_pgd(swapper_pg_dir + loop, __pgd(__pa(ppte) | _PAGE_TABLE)); in paging_init()
Dmisalignment.c328 unsigned tmp, npop, dispsz, loop; in misalignment() local
462 for (loop = 0; loop < dispsz; loop += 8) { in misalignment()
466 disp |= byte << loop; in misalignment()
467 kdebug("{%p} disp[%02x]=%02x", pc, loop, byte); in misalignment()
/linux-4.4.14/arch/mn10300/kernel/
Dgdb-stub.c224 int loop = 0; in gdbstub_strcpy() local
225 while ((dst[loop] = src[loop])) in gdbstub_strcpy()
226 loop++; in gdbstub_strcpy()
1084 int bkpt, loop, xloop; in gdbstub_set_breakpoint() local
1098 for (loop = 0; loop < len; loop++) in gdbstub_set_breakpoint()
1099 if (gdbstub_read_byte(&addr[loop], in gdbstub_set_breakpoint()
1100 &gdbstub_bkpts[bkpt].origbytes[loop] in gdbstub_set_breakpoint()
1107 for (loop = 0; loop < len; loop++) in gdbstub_set_breakpoint()
1108 if (gdbstub_write_byte(0xF7, &addr[loop]) < 0) in gdbstub_set_breakpoint()
1111 for (loop = 0; loop < len; loop++) in gdbstub_set_breakpoint()
[all …]
Dsmp.c631 int loop; in smp_prepare_cpu_init() local
643 for (loop = 0; loop < GxICR_NUM_IRQS; loop++) in smp_prepare_cpu_init()
644 GxICR(loop) = GxICR_LEVEL_6 | GxICR_DETECT; in smp_prepare_cpu_init()
/linux-4.4.14/Documentation/hwmon/
Dg7625 and performs closed-loop or open-loop control of the fan speed. Two
24 fan1_target: set desired fan speed. This only makes sense in closed-loop
38 fan1_alarm: in closed-loop control mode, if fan RPM value is 25% out
43 speed control (open-loop) via pwm1 described below, 2 for
44 automatic fan speed control (closed-loop) via fan1_target
49 pwm1: get or set PWM fan control value in open-loop mode. This is an
54 when current fan speed control mode is open-loop ('pwm1_enable' set to 1),
56 entry (0 stops the fan, 255 makes it run at full speed). In closed-loop mode
58 the chip via 'fan1_target'. In closed-loop mode, the target speed is compared
Dmax665035 fan1_target rw desired fan speed in RPM (closed loop mode only)
36 pwm1_enable rw regulator mode, 0=full on, 1=open loop, 2=closed loop
38 Used in open loop mode only.
Damc682148 pwm1_enable rw regulator mode, 1=open loop, 2=fan controlled
78 the closed loop mode.
Dg760a16 and performs closed-loop control of the fan speed.
Dlm7029 comprise the MOSI/MISO loop. At the end of the transfer, the 11-bit 2's
/linux-4.4.14/crypto/asymmetric_keys/
Dverify_pefile.c249 unsigned *canon, tmp, loop, i, hashed_bytes; in pefile_digest_pe_contents() local
278 for (loop = 1; loop < ctx->n_sections; loop++) { in pefile_digest_pe_contents()
279 for (i = 0; i < loop; i++) { in pefile_digest_pe_contents()
281 &ctx->secs[loop]) > 0) { in pefile_digest_pe_contents()
283 (loop - i) * sizeof(canon[0])); in pefile_digest_pe_contents()
287 canon[i] = loop; in pefile_digest_pe_contents()
291 for (loop = 0; loop < ctx->n_sections; loop++) { in pefile_digest_pe_contents()
292 i = canon[loop]; in pefile_digest_pe_contents()
/linux-4.4.14/drivers/pci/hotplug/
Dcpqphp_nvram.c243 u8 loop; in store_HRT() local
306 loop = 0; in store_HRT()
309 loop ++; in store_HRT()
325 p_ev_ctrl->mem_avail = loop; in store_HRT()
331 loop = 0; in store_HRT()
334 loop ++; in store_HRT()
350 p_ev_ctrl->p_mem_avail = loop; in store_HRT()
356 loop = 0; in store_HRT()
359 loop ++; in store_HRT()
375 p_ev_ctrl->io_avail = loop; in store_HRT()
[all …]
Dcpqphp_core.c179 int loop; in pci_print_IRQ_route() local
185 for (loop = 0; loop < len; ++loop) { in pci_print_IRQ_route()
186 tbus = cpqhp_routing_table->slots[loop].bus; in pci_print_IRQ_route()
187 tdevice = cpqhp_routing_table->slots[loop].devfn; in pci_print_IRQ_route()
188 tslot = cpqhp_routing_table->slots[loop].slot; in pci_print_IRQ_route()
338 long loop; in get_slot_mapping() local
347 for (loop = 0; loop < len; ++loop) { in get_slot_mapping()
348 tbus = cpqhp_routing_table->slots[loop].bus; in get_slot_mapping()
349 tdevice = cpqhp_routing_table->slots[loop].devfn >> 3; in get_slot_mapping()
350 tslot = cpqhp_routing_table->slots[loop].slot; in get_slot_mapping()
[all …]
Dibmphp_core.c140 int loop; in ibmphp_init_devno() local
156 for (loop = 0; loop < len; loop++) { in ibmphp_init_devno()
157 if ((*cur_slot)->number == rtable->slots[loop].slot && in ibmphp_init_devno()
158 (*cur_slot)->bus == rtable->slots[loop].bus) { in ibmphp_init_devno()
159 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn); in ibmphp_init_devno()
176 rtable->slots[loop].irq[0].bitmap); in ibmphp_init_devno()
178 rtable->slots[loop].irq[1].bitmap); in ibmphp_init_devno()
180 rtable->slots[loop].irq[2].bitmap); in ibmphp_init_devno()
182 rtable->slots[loop].irq[3].bitmap); in ibmphp_init_devno()
185 rtable->slots[loop].irq[0].link); in ibmphp_init_devno()
[all …]
Dcpqphp_ctrl.c1803 int loop = 0; in interrupt_event_handler() local
1812 for (loop = 0; loop < 10; loop++) { in interrupt_event_handler()
1814 if (ctrl->event_queue[loop].event_type != 0) { in interrupt_event_handler()
1815 hp_slot = ctrl->event_queue[loop].hp_slot; in interrupt_event_handler()
1828 if (ctrl->event_queue[loop].event_type == INT_BUTTON_PRESS) { in interrupt_event_handler()
1830 } else if (ctrl->event_queue[loop].event_type == in interrupt_event_handler()
1861 else if (ctrl->event_queue[loop].event_type == INT_BUTTON_RELEASE) { in interrupt_event_handler()
1898 else if (ctrl->event_queue[loop].event_type == INT_POWER_FAULT) { in interrupt_event_handler()
1905 ctrl->event_queue[loop].event_type = 0; in interrupt_event_handler()
2157 int loop; in switch_leds() local
[all …]
Dcpqphp_pci.c246 int loop, len; in PCI_GetBusDevHelper() local
251 for (loop = 0; loop < len; ++loop) { in PCI_GetBusDevHelper()
252 tbus = cpqhp_routing_table->slots[loop].bus; in PCI_GetBusDevHelper()
253 tdevice = cpqhp_routing_table->slots[loop].devfn; in PCI_GetBusDevHelper()
254 tslot = cpqhp_routing_table->slots[loop].slot; in PCI_GetBusDevHelper()
/linux-4.4.14/drivers/spi/
Dspi-bfin5xx.c385 int loop = 0; in bfin_spi_pio_irq_handler() local
398 for (loop = 0; loop < n_bytes / 2; loop++) in bfin_spi_pio_irq_handler()
402 for (loop = 0; loop < n_bytes; loop++) in bfin_spi_pio_irq_handler()
427 for (loop = 0; loop < n_bytes / 2; loop++) { in bfin_spi_pio_irq_handler()
434 for (loop = 0; loop < n_bytes; loop++) { in bfin_spi_pio_irq_handler()
444 for (loop = 0; loop < n_bytes / 2; loop++) { in bfin_spi_pio_irq_handler()
450 for (loop = 0; loop < n_bytes; loop++) { in bfin_spi_pio_irq_handler()
460 for (loop = 0; loop < n_bytes / 2; loop++) { in bfin_spi_pio_irq_handler()
466 for (loop = 0; loop < n_bytes; loop++) { in bfin_spi_pio_irq_handler()
797 int loop; in bfin_spi_pump_transfers() local
[all …]
Dspi-qup.c167 unsigned long loop; in spi_qup_set_state() local
170 loop = 0; in spi_qup_set_state()
175 if (++loop > SPI_DELAY_RETRY) in spi_qup_set_state()
179 if (loop) in spi_qup_set_state()
181 loop, state); in spi_qup_set_state()
198 loop = 0; in spi_qup_set_state()
203 if (++loop > SPI_DELAY_RETRY) in spi_qup_set_state()
Dspi-fsl-espi.c374 int i, loop; in fsl_espi_rw_trans() local
382 for (pos = 0, loop = 0; pos < total_len; pos += trans_len, loop++) { in fsl_espi_rw_trans()
397 if (loop > 0) in fsl_espi_rw_trans()
422 if (loop > 0) in fsl_espi_rw_trans()
/linux-4.4.14/arch/arm/mach-zx/
Dzx296702-pm-domain.c41 unsigned long loop = 1000; in normal_power_off() local
64 } while (--loop && !tmp); in normal_power_off()
66 if (!loop) { in normal_power_off()
77 unsigned long loop = 10000; in normal_power_on() local
85 } while (--loop && tmp); in normal_power_on()
87 if (!loop) { in normal_power_on()
/linux-4.4.14/arch/xtensa/include/asm/
Dasmmacro.h53 loop \at, 99f
76 loop\cond \at, 99f
112 loop \at, 99f
126 loop \as, 99f
/linux-4.4.14/arch/metag/lib/
Dmemcpy.S15 ! If there are less than 16 bytes to copy use the byte copy loop
49 ! blocks, then jump to the unaligned copy loop or fall through to the aligned
50 ! copy loop as appropriate.
55 BNZ $Lunaligned_copy ! if unaligned, use unaligned copy loop
74 ! If there are any remaining bytes use the byte copy loop, otherwise we are done
91 ! if there is no mis-alignment after all, use the aligned copy loop
102 BLT $Lunaligned_1_2_3 ! use 1-3 byte mis-alignment loop
103 BZ $Lunaligned_4 ! use 4 byte mis-alignment loop
114 ! Move data 4 bytes before we enter the main loop
179 ! address of the remaining bytes, and fall through to the byte copy loop.
/linux-4.4.14/drivers/net/can/
Dvcan.c88 int loop; in vcan_tx() local
97 loop = skb->pkt_type == PACKET_LOOPBACK; in vcan_tx()
102 if (loop) { in vcan_tx()
116 if (loop) { in vcan_tx()
/linux-4.4.14/arch/frv/mm/
Dpgalloc.c55 int loop; in __set_pmd() local
63 for (loop = PME_SIZE; loop > 0; loop -= 4) { in __set_pmd()
/linux-4.4.14/drivers/mmc/host/
Dsdricoh_cs.c143 unsigned int loop; in sdricoh_query_status() local
146 for (loop = 0; loop < timeout; loop++) { in sdricoh_query_status()
153 if (loop == timeout) { in sdricoh_query_status()
172 unsigned int loop = 0; in sdricoh_mmc_cmd() local
180 for (loop = 0; loop < CMD_TIMEOUT; loop++) { in sdricoh_mmc_cmd()
189 if (loop == CMD_TIMEOUT || status & STATUS_CMD_TIMEOUT) in sdricoh_mmc_cmd()
/linux-4.4.14/arch/m68k/fpsp040/
Dbinstr.S25 | A2. Beginning of the loop:
43 | A7. Decrement d6 (LEN counter) and repeat the loop until zero.
81 | A2. Copy d2:d3 to d4:d5. Start loop.
83 loop: label
113 tstw %d7 |if zero, store digit & to loop
122 dbf %d0,loop |do loop some more!
129 dbf %d0,loop |do loop some more!
/linux-4.4.14/drivers/usb/early/
Dehci-dbgp.c164 int loop = DBGP_TIMEOUT; in dbgp_wait_until_complete() local
172 } while (--loop > 0); in dbgp_wait_until_complete()
174 if (!loop) in dbgp_wait_until_complete()
200 static int dbgp_wait_until_done(unsigned ctrl, int loop) in dbgp_wait_until_done() argument
220 if (ret == -DBGP_ERR_BAD && --loop > 0) in dbgp_wait_until_done()
234 if (--loop > 0) in dbgp_wait_until_done()
434 int loop; in dbgp_ehci_startup() local
454 loop = 1000; in dbgp_ehci_startup()
460 } while (--loop > 0); in dbgp_ehci_startup()
462 if (!loop) { in dbgp_ehci_startup()
[all …]
/linux-4.4.14/drivers/gpu/drm/gma500/
Dintel_gmbus.c276 u32 val, loop = 0; in gmbus_xfer() local
288 } while (--len && ++loop < 4); in gmbus_xfer()
291 u32 val, loop; in gmbus_xfer() local
293 val = loop = 0; in gmbus_xfer()
295 val |= *buf++ << (8 * loop); in gmbus_xfer()
296 } while (--len && ++loop < 4); in gmbus_xfer()
314 val = loop = 0; in gmbus_xfer()
316 val |= *buf++ << (8 * loop); in gmbus_xfer()
317 } while (--len && ++loop < 4); in gmbus_xfer()
/linux-4.4.14/arch/alpha/lib/
Dev6-clear_user.S98 subq $1, 16, $4 # .. .. .. E : If < 16, we can not use the huge loop
99 and $6, 0x3f, $2 # .. .. E .. : Forward work for huge loop
100 subq $2, 0x40, $3 # .. E .. .. : bias counter (huge loop)
152 subq $1, 16, $4 # .. .. E .. : Forward calculation - repeat the loop?
164 subq $0, 168, $5 # E : U L L U : two trips through the loop left?
210 # so we will use $0 as the loop counter
Dclear_user.S45 $loop:
88 beq $4, $loop # .. e1 :
99 br $loop # e1 :
Dev67-strlen.S38 $loop: ldq $1, 8($0) # L :
41 beq $2, $loop # U :
Dev67-strcat.S43 $loop: ldq $1, 8($16) # L :
46 beq $2, $loop # U :
Dstrlen.S32 loop: ldq $1, 8($0) label
36 beq $2, loop
Dstrcat.S29 $loop: ldq $1, 8($16)
32 beq $2, $loop
Dev6-memset.S118 and $16, 0x3f, $2 # E : Forward work (only useful for unrolled loop)
177 subq $3, 16, $2 # E : Repeat the loop at least once more?
295 and $16, 0x3f, $2 # E : Forward work (only useful for unrolled loop)
298 blt $4, loop # U :
354 subq $3, 16, $2 # E : Repeat the loop at least once more?
372 loop: label
376 bne $3,loop # U : more?
482 and $16, 0x3f, $2 # E : Forward work (only useful for unrolled loop)
541 subq $3, 16, $2 # E : Repeat the loop at least once more?
Dstrncat.S35 $loop: ldq $1, 8($16)
38 beq $2, $loop
Dmemset.S77 loop: label
81 bne $3,loop /* .. E1 */
Dstrchr.S24 andnot a0, 7, v0 # .. e1 : align our loop pointer
40 $loop: ldq t0, 8(v0) # e0 :
47 beq t0, $loop # .. e1 (zdb)
Dev67-strchr.S38 andnot a0, 7, v0 # E : align our loop pointer
68 $loop: ldq t0, 8(v0) # L : Latency=3
76 beq t0, $loop # U :
Dev67-strncat.S49 $loop: ldq $1, 8($16) # L :
52 beq $2, $loop # U :
Dstrrchr.S43 $loop:
51 beq t1, $loop # .. e1 : if we havnt seen a null, loop
Dev67-strrchr.S65 $loop:
78 beq t1, $loop # U : if we havnt seen a null, loop
Dev6-memcpy.S61 cmple $18, 127, $1 # E : Can we unroll the loop?
79 cmple $18, 127, $1 # E : Can we go through the unrolled loop?
/linux-4.4.14/fs/nfs/
Dfscache-index.c266 int loop, nr_pages; in nfs_fscache_inode_now_uncached() local
282 for (loop = 0; loop < nr_pages; loop++) in nfs_fscache_inode_now_uncached()
283 ClearPageFsCache(pvec.pages[loop]); in nfs_fscache_inode_now_uncached()
/linux-4.4.14/arch/x86/kernel/
Dapb_timer.c369 u32 loop, shift; in apbt_quick_calibrate() local
385 loop = (apbt_freq / 1000) << 4; in apbt_quick_calibrate()
391 old += loop; in apbt_quick_calibrate()
402 if (unlikely(loop >> shift == 0)) { in apbt_quick_calibrate()
407 scale = (int)div_u64((t2 - t1), loop >> shift); in apbt_quick_calibrate()
Dhead_32.S197 loop 11b
230 loop 11b
504 loop 1b
515 loop 2b
/linux-4.4.14/fs/cifs/
Dcache.c300 int loop, nr_pages; in cifs_fscache_inode_now_uncached() local
314 for (loop = 0; loop < nr_pages; loop++) in cifs_fscache_inode_now_uncached()
315 ClearPageFsCache(pvec.pages[loop]); in cifs_fscache_inode_now_uncached()
/linux-4.4.14/arch/sh/lib64/
Dstrlen.S23 pta/l loop, tr0
24 loop: label
Dstrcpy.S38 pta/l loop, tr0
80 loop: label
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_post.c228 u32 patcnt, loop; in cbrscan_ast2150() local
232 for (loop = 0; loop < CBR_PASSNUM_AST2150; loop++) { in cbrscan_ast2150()
236 if (loop == CBR_PASSNUM_AST2150) in cbrscan_ast2150()
545 u32 data, data2, patcnt, loop; in cbr_scan() local
550 for (loop = 0; loop < CBR_PASSNUM2; loop++) { in cbr_scan()
558 if (loop == CBR_PASSNUM2) in cbr_scan()
580 u32 data, data2, patcnt, loop; in cbr_scan2() local
585 for (loop = 0; loop < CBR_PASSNUM2; loop++) { in cbr_scan2()
593 if (loop == CBR_PASSNUM2) in cbr_scan2()
610 u32 patcnt, loop; in cbr_scan3() local
[all …]
Dast_mode.c149 struct ast_vbios_enhtable *loop = vbios_mode->enh_table; in ast_get_vbios_mode_info() local
151 while (loop->refresh_rate != 0xff) { in ast_get_vbios_mode_info()
154 (loop->flags & PVSync)) || in ast_get_vbios_mode_info()
156 (loop->flags & NVSync)) || in ast_get_vbios_mode_info()
158 (loop->flags & PHSync)) || in ast_get_vbios_mode_info()
160 (loop->flags & NHSync)))) { in ast_get_vbios_mode_info()
161 loop++; in ast_get_vbios_mode_info()
164 if (loop->refresh_rate <= refresh_rate in ast_get_vbios_mode_info()
165 && (!best || loop->refresh_rate > best->refresh_rate)) in ast_get_vbios_mode_info()
166 best = loop; in ast_get_vbios_mode_info()
[all …]
/linux-4.4.14/arch/cris/arch-v10/lib/
Dchecksum.S23 ;; need to save the registers we use below in the movem loop
33 subq 10*4,$r11 ; update length for the first loop
59 ;; fold the carry into the checksum, to avoid having to loop the carry
69 addq 10*4,$r11 ; compensate for last loop underflowing length
Dchecksumcopy.S27 ;; need to save the registers we use below in the movem loop
37 subq 10*4, $r12 ; update length for the first loop
65 ;; fold the carry into the checksum, to avoid having to loop the carry
75 addq 10*4,$r12 ; compensate for last loop underflowing length
Dcsumcpfruser.S32 ;; Here from the movem loop; restore stack.
38 ;; Here from the word loop; r12 is off by 2; add it back.
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dnvidia,tegra124-dfll.txt8 oscillator connected to the CPU voltage rail (VDD_CPU), and a closed loop
25 - ref: The closed loop reference clock
37 Required properties for the control loop parameters:
38 - nvidia,sample-rate: Sample rate of the DFLL control loop.
45 Optional properties for the control loop parameters:
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_i2c.c334 u32 val, loop = 0; in gmbus_xfer_read_chunk() local
345 } while (--len && ++loop < 4); in gmbus_xfer_read_chunk()
380 u32 val, loop; in gmbus_xfer_write_chunk() local
382 val = loop = 0; in gmbus_xfer_write_chunk()
383 while (len && loop < 4) { in gmbus_xfer_write_chunk()
384 val |= *buf++ << (8 * loop++); in gmbus_xfer_write_chunk()
397 val = loop = 0; in gmbus_xfer_write_chunk()
399 val |= *buf++ << (8 * loop); in gmbus_xfer_write_chunk()
400 } while (--len && ++loop < 4); in gmbus_xfer_write_chunk()
/linux-4.4.14/drivers/pcmcia/
Dpcmcia_cis.c305 struct pcmcia_loop_mem *loop = priv; in pcmcia_do_loop_tuple() local
307 return loop->loop_tuple(loop->p_dev, tuple, loop->priv_data); in pcmcia_do_loop_tuple()
328 struct pcmcia_loop_mem loop = { in pcmcia_loop_tuple() local
334 &loop, pcmcia_do_loop_tuple); in pcmcia_loop_tuple()
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/
DMakefile12 count_instructions: loop.S count_instructions.c $(EXTRA_SOURCES)
36 rm -f $(TEST_PROGS) loop.o
/linux-4.4.14/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c373 u_int32_t loop; in matroxfb_cfb4_clear() local
375 for (loop = height; loop > 0; loop --) { in matroxfb_cfb4_clear()
382 u_int32_t loop; in matroxfb_cfb4_clear() local
384 for (loop = height; loop > 0; loop --) { in matroxfb_cfb4_clear()
/linux-4.4.14/arch/powerpc/kernel/
Didle_book3e.S24 .macro BOOK3E_IDLE name loop
72 \loop
/linux-4.4.14/fs/ceph/
Dcache.c151 int loop, nr_pages; in ceph_fscache_inode_now_uncached() local
165 for (loop = 0; loop < nr_pages; loop++) in ceph_fscache_inode_now_uncached()
166 ClearPageFsCache(pvec.pages[loop]); in ceph_fscache_inode_now_uncached()
/linux-4.4.14/fs/9p/
Dcache.c159 int loop, nr_pages; in v9fs_cache_inode_now_uncached() local
171 for (loop = 0; loop < nr_pages; loop++) in v9fs_cache_inode_now_uncached()
172 ClearPageFsCache(pvec.pages[loop]); in v9fs_cache_inode_now_uncached()
/linux-4.4.14/Documentation/ia64/
Derr_inject.txt39 #cpu, loop, interval, err_type_info, err_struct_info, err_data_buffer
42 # loop: times the error will be injected.
717 u64 loop;
746 unsigned long cpu, loop, interval, err_type_info_conf, err_struct_info_conf;
769 &cpu, &loop, &interval,&err_type_info_conf,
779 &cpu, &loop, &interval,&err_type_info_conf,
786 parameters[num].loop=loop;
800 parameters[0].loop=line_para.loop;
842 log_info(parameters[i].cpu,"On cpu%ld: loop=%lx, interval=%lx(s)",
844 parameters[i].loop,
[all …]
/linux-4.4.14/arch/cris/arch-v32/lib/
Dcsumcpfruser.S32 ;; Here from the movem loop; restore stack.
38 ;; Here from the word loop; r12 is off by 2; add it back.
Dchecksumcopy.S32 addoq -10*4, $acr, $acr ; loop counter in latency cycle
58 addq 10*4,$r12 ; compensate for last loop underflowing length
Dchecksum.S55 addq 10*4,$r11 ; compensate for last loop underflowing length
/linux-4.4.14/arch/ia64/kernel/
Drelocate_kernel.S135 .loop: label
140 (p6) br.cond.sptk.few .loop;;
144 (p6) br.cond.sptk.few .loop;;
150 (p6) br.cond.sptk.few .loop
163 br.sptk.few .loop
/linux-4.4.14/sound/isa/gus/
Dgusmax.c108 int loop, max = 5; in snd_gusmax_interrupt() local
112 loop = 0; in snd_gusmax_interrupt()
116 loop++; in snd_gusmax_interrupt()
121 loop++; in snd_gusmax_interrupt()
123 } while (loop && --max > 0); in snd_gusmax_interrupt()
Dgus_irq.c36 int loop = 100; in snd_gus_interrupt() local
111 if (--loop > 0) in snd_gus_interrupt()
Dinterwave.c302 int loop, max = 5; in snd_interwave_interrupt() local
306 loop = 0; in snd_interwave_interrupt()
310 loop++; in snd_interwave_interrupt()
315 loop++; in snd_interwave_interrupt()
317 } while (loop && --max > 0); in snd_interwave_interrupt()
/linux-4.4.14/drivers/video/fbdev/via/
Daccel.c520 int loop = 0; in viafb_wait_engine_idle() local
532 VIA_VR_QUEUE_BUSY) && (loop < MAXLOOP)) { in viafb_wait_engine_idle()
533 loop++; in viafb_wait_engine_idle()
540 while ((readl(engine + VIA_REG_STATUS) & mask) && (loop < MAXLOOP)) { in viafb_wait_engine_idle()
541 loop++; in viafb_wait_engine_idle()
545 if (loop >= MAXLOOP) in viafb_wait_engine_idle()
/linux-4.4.14/arch/arc/lib/
Dstrcpy-700.S36 loop: label
49 beq loop
/linux-4.4.14/arch/arm/mach-omap2/
Dsleep24xx.S79 loop: label
81 bne loop
Dsram242x.S264 bne block @ loop if not
276 subs r4, r4, #1 @ dec loop
290 subs r0, r0, #1 @ dec loop
Dsram243x.S264 bne block @ loop if not
276 subs r4, r4, #1 @ dec loop
290 subs r0, r0, #1 @ dec loop
/linux-4.4.14/arch/arm/lib/
Ddiv64.S87 @ The division loop for needed upper bit positions.
103 @ The division loop for lower bit positions.
118 @ (the 33th bit) this is a false positive so resume the loop.
143 @ If possible, branch for another shift in the division loop.
Dfindbit.S58 b 2b @ loop for next bit
98 b 2b @ loop for next bit
134 b 2b @ loop for next bit
167 b 2b @ loop for next bit
Dlib1funcs.S56 @ at the left end of each 4 bit nibbles in the division loop
57 @ to save one loop in most cases.
65 @ division loop. Continue shifting until the divisor is
85 @ Division loop
152 @ division loop. Continue shifting until the divisor is
DMakefile9 delay.o delay-loop.o findbit.o memchr.o memcpy.o \
Dmemzero.S58 3: subs r1, r1, #64 @ 1 write 32 bytes out per loop
/linux-4.4.14/sound/isa/
Dsc6000.c201 int loop = 1000; in sc6000_wait_data() local
209 } while (loop--); in sc6000_wait_data()
226 int loop = 500000; in sc6000_write() local
238 } while (loop--); in sc6000_write()
326 int loop = 10; in sc6000_setup_board() local
334 } while ((sc6000_wait_data(vport) < 0) && loop--); in sc6000_setup_board()
/linux-4.4.14/arch/ia64/lib/
Dmemcpy.S98 brp.loop.imp 1b, 2f
121 brp.loop.imp 1f, 2f
142 brp.loop.imp 1b, 2f
279 brp.loop.imp 1b, 2f \
/linux-4.4.14/arch/xtensa/lib/
Dmemcopy.S93 bne a3, a7, .Lnextbyte # continue loop if $a3:src != $a7:src_end
138 srli a7, a4, 4 # number of loop iterations with 16B
165 bne a3, a8, .Loop1 # continue loop if a3:src != a8:src_end
245 bne a3, a10, .Loop2 # continue loop if a3:src != a10:src_end
359 bne a3, a7, .Lbacknextbyte # continue loop if
412 srli a7, a4, 4 # number of loop iterations with 16B
439 bne a3, a8, .backLoop1 # continue loop if a3:src != a8:src_start
520 bne a3, a10, .backLoop2 # continue loop if a3:src != a10:src_start
Dstrnlen_user.S71 srli a10, a3, 2 # number of loop iterations with 4B per loop
Dstrncpy_user.S72 srli a12, a4, 2 # number of loop iterations with 4B per loop
/linux-4.4.14/drivers/scsi/
Deata_pio.c286 unsigned int loop = 50; in eata_pio_send_command() local
289 if (--loop == 0) in eata_pio_send_command()
408 unsigned int loop = 100; in DEF_SCSI_QCMD() local
414 if (--loop == 0) { in DEF_SCSI_QCMD()
565 unsigned long loop = HZ / 2; in get_pio_conf_PIO() local
575 if (--loop == 0) in get_pio_conf_PIO()
581 loop = 50; in get_pio_conf_PIO()
584 if (--loop == 0) in get_pio_conf_PIO()
587 loop = 50; in get_pio_conf_PIO()
Dppa.c881 int loop, old_mode, status, k, ppb = dev->base; in device_check() local
885 for (loop = 0; loop < 8; loop++) { in device_check()
893 if (!ppa_select(dev, loop)) { in device_check()
898 loop, PPA_MODE_STRING[dev->mode]); in device_check()
947 loop, PPA_MODE_STRING[dev->mode]); in device_check()
Dimm.c1009 int loop, old_mode, status, k, ppb = dev->base; in device_check() local
1013 for (loop = 0; loop < 8; loop++) { in device_check()
1021 if (!imm_select(dev, loop)) { in device_check()
1026 loop, IMM_MODE_STRING[dev->mode]); in device_check()
1077 ppb, loop, IMM_MODE_STRING[dev->mode]); in device_check()
/linux-4.4.14/drivers/dma/xilinx/
Dxilinx_vdma.c563 int loop = XILINX_VDMA_LOOP_COUNT; in xilinx_vdma_halt() local
572 } while (loop--); in xilinx_vdma_halt()
574 if (!loop) { in xilinx_vdma_halt()
589 int loop = XILINX_VDMA_LOOP_COUNT; in xilinx_vdma_start() local
598 } while (loop--); in xilinx_vdma_start()
600 if (!loop) { in xilinx_vdma_start()
773 int loop = XILINX_VDMA_LOOP_COUNT; in xilinx_vdma_reset() local
785 } while (loop-- && tmp); in xilinx_vdma_reset()
787 if (!loop) { in xilinx_vdma_reset()
/linux-4.4.14/drivers/net/ethernet/microchip/
Denc28j60.c1120 int intflags, loop; in enc28j60_irq_work_handler() local
1128 loop = 0; in enc28j60_irq_work_handler()
1132 loop++; in enc28j60_irq_work_handler()
1135 ": intDMA(%d)\n", loop); in enc28j60_irq_work_handler()
1140 loop++; in enc28j60_irq_work_handler()
1143 ": intLINK(%d)\n", loop); in enc28j60_irq_work_handler()
1151 loop++; in enc28j60_irq_work_handler()
1154 ": intTX(%d)\n", loop); in enc28j60_irq_work_handler()
1174 loop++; in enc28j60_irq_work_handler()
1177 ": intTXErr(%d)\n", loop); in enc28j60_irq_work_handler()
[all …]
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dboot.c224 int loop, ret; in wl1251_boot_run_firmware() local
239 loop = 0; in wl1251_boot_run_firmware()
240 while (loop++ < INIT_LOOP) { in wl1251_boot_run_firmware()
257 if (loop > INIT_LOOP) { in wl1251_boot_run_firmware()
/linux-4.4.14/drivers/media/pci/tw68/
Dtw68-core.c199 int loop; in tw68_irq() local
205 for (loop = 0; loop < 10; loop++) { in tw68_irq()
/linux-4.4.14/drivers/media/dvb-frontends/
Dmb86a16.c968 static int SEQ_set(struct mb86a16_state *state, unsigned char loop) in SEQ_set() argument
971 if (mb86a16_write(state, 0x32, 0x02 | (loop << 2)) < 0) { in SEQ_set()
1047 int loop; in mb86a16_set_fe() local
1134 loop = 1; in mb86a16_set_fe()
1137 while (loop == 1) { in mb86a16_set_fe()
1143 loop = 0; in mb86a16_set_fe()
1148 loop = 0; in mb86a16_set_fe()
1152 loop = 1; in mb86a16_set_fe()
1155 while (loop == 1) { in mb86a16_set_fe()
1161 loop = 0; in mb86a16_set_fe()
[all …]
/linux-4.4.14/drivers/input/joystick/
Danalog.c130 int loop; member
253 u64 time[4], start, loop, now; in analog_cooked_read() local
259 loopout = (ANALOG_LOOP_TIME * port->loop) / 1000; in analog_cooked_read()
272 loop = now; in analog_cooked_read()
280 if ((last ^ this) && (delta(loop, now) < loopout)) { in analog_cooked_read()
294 port->axes[j] = (delta(start, time[i]) << ANALOG_FUZZ_BITS) / port->loop; in analog_cooked_read()
429 port->loop = tx / 50; in analog_calibrate_timer()
630 port->fuzz = (port->speed * ANALOG_FUZZ_MAGIC) / port->loop / 1000 + ANALOG_FUZZ_BITS; in analog_init_port()
/linux-4.4.14/sound/oss/
Daedsp16.c502 int loop = STATUSRETRY; in aedsp16_wait_data() local
512 } while (!(ret & 0x80) && loop--); in aedsp16_wait_data()
570 int loop = HARDRETRY; in aedsp16_write() local
584 } while (loop--); in aedsp16_write()
835 int loop = RETRY; in aedsp16_setup_board() local
863 } while ((aedsp16_wait_data(port) == FALSE) && loop--); in aedsp16_setup_board()
/linux-4.4.14/drivers/media/pci/saa7164/
Dsaa7164-cmd.c137 int loop = 1; in saa7164_cmd_dequeue() local
144 while (loop) { in saa7164_cmd_dequeue()
352 u32 loop; in saa7164_cmd_send() local
411 loop = 1; in saa7164_cmd_send()
412 while (loop) { in saa7164_cmd_send()
/linux-4.4.14/scripts/coccinelle/free/
Dkfree.cocci56 @loop exists@
74 position free.p1!=loop.ok,p2!={print.p,sz.p};
/linux-4.4.14/arch/unicore32/lib/
Dfindbit.S50 b 2b @ loop for next bit
87 b 2b @ loop for next bit
/linux-4.4.14/scripts/coccinelle/iterators/
Ditnull.cocci4 //# or in cases when the loop cursor is reassigned. The latter should only
5 //# happen when the matched code is on the way to a loop exit (break, goto,
Dlist_entry_update.cocci4 /// that there is a path from the reassignment back to the top of the loop.
Dfen.cocci1 /// These iterators only exit normally when the loop cursor is NULL, so there
/linux-4.4.14/Documentation/accounting/
Dgetdelays.c273 int loop = 0; in main() local
361 loop = 1; in main()
504 if (!loop) in main()
529 } while (loop); in main()
/linux-4.4.14/arch/sh/lib/
Dmemset-sh4.S36 ! Check if enough bytes need to be copied to be worth the big loop
38 cmp/gt r6,r0 ! (MT) 64 > len => slow loop
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dpio.c927 u32 loop = 0; in sc_wait_for_packet_egress() local
941 loop = 0; in sc_wait_for_packet_egress()
942 if (loop > 500) { in sc_wait_for_packet_egress()
952 loop++; in sc_wait_for_packet_egress()
987 u32 loop; in sc_restart() local
1003 loop = 0; in sc_restart()
1008 if (loop > 100) { in sc_restart()
1013 loop++; in sc_restart()
1029 loop = 0; in sc_restart()
1034 if (loop > 100) { in sc_restart()
[all …]
/linux-4.4.14/Documentation/s390/
D3270.ChangeLog28 Apr 2002: Fix 3270 console reboot loop
29 * (Belated log entry) Fixed reboot loop if 3270 console,
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dboot.c439 int loop, ret; in wlcore_boot_run_firmware() local
463 loop = 0; in wlcore_boot_run_firmware()
464 while (loop++ < INIT_LOOP) { in wlcore_boot_run_firmware()
485 if (loop > INIT_LOOP) { in wlcore_boot_run_firmware()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_i2c.c241 u8 n, m, loop; in radeon_get_i2c_prescale() local
259 for (loop = 1; loop < 255; loop++) { in radeon_get_i2c_prescale()
260 if ((nm / loop) < loop) in radeon_get_i2c_prescale()
263 n = loop - 1; in radeon_get_i2c_prescale()
264 m = loop - 2; in radeon_get_i2c_prescale()
/linux-4.4.14/fs/exofs/
DBUGS3 unmounted and mounted the kernel can get into an endless loop doing a readdir.
/linux-4.4.14/kernel/debug/
Dgdbstub.c1116 int loop; in gdbstub_exit() local
1132 for (loop = 0; loop < 3; loop++) { in gdbstub_exit()
1133 ch = buffer[loop]; in gdbstub_exit()
/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-mpeg.c358 int loop, handled = 0; in cx8802_irq() local
360 for (loop = 0; loop < MAX_IRQ_LOOP; loop++) { in cx8802_irq()
366 dprintk( 1, " loop: %d/%d\n", loop, MAX_IRQ_LOOP ); in cx8802_irq()
376 if (MAX_IRQ_LOOP == loop) { in cx8802_irq()
Dcx88-alsa.c265 int loop, handled = 0; in cx8801_irq() local
267 for (loop = 0; loop < MAX_IRQ_LOOP; loop++) { in cx8801_irq()
273 loop, MAX_IRQ_LOOP, status); in cx8801_irq()
283 if (MAX_IRQ_LOOP == loop) { in cx8801_irq()
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-core.c503 static void print_irqstatus(struct saa7134_dev *dev, int loop, in print_irqstatus() argument
509 loop, jiffies, report, status); in print_irqstatus()
529 int loop, handled = 0; in saa7134_irq() local
534 for (loop = 0; loop < 10; loop++) { in saa7134_irq()
556 print_irqstatus(dev,loop,report,status); in saa7134_irq()
618 if (10 == loop) { in saa7134_irq()
619 print_irqstatus(dev,loop,report,status); in saa7134_irq()
Dsaa7134-alsa.c211 int loop, handled = 0; in saa7134_alsa_irq() local
213 for (loop = 0; loop < 10; loop++) { in saa7134_alsa_irq()
227 if (loop == 10) { in saa7134_alsa_irq()
/linux-4.4.14/include/linux/can/
Dcore.h58 extern int can_send(struct sk_buff *skb, int loop);
/linux-4.4.14/drivers/block/
DKconfig217 drive partitions, CD-ROM drives or floppy drives. The loop devices
225 root file system inside a DOS FAT file using this loop device
228 To use the loop device, you need the losetup utility, found in the
232 The loop device driver can also be used to "hide" a file system in
246 Note that this loop device has nothing to do with the loopback
250 module will be called loop.
255 int "Number of loop devices to pre-create at init time"
259 Static number of loop devices to be unconditionally pre-created
263 line or with module-parameter loop.max_loop.
266 is used, it can be set to 0, since needed loop devices can be
[all …]
DMakefile17 obj-$(CONFIG_BLK_DEV_LOOP) += loop.o
/linux-4.4.14/Documentation/mtd/
Dnand_ecc.txt161 all cp calculation out of the if loop.
280 Note that of course now the loop is executed only 64 times (256/4).
421 and outside the loop added:
443 loop unrolling. This will eliminate a few if statements. I'll try
450 Unrolled the loop 1, 2, 3 and 4 times.
479 I decided to proceed with a four time unrolled loop anyway. It was my gut
493 Effectively so all odd digit rp assignments in the loop were removed.
495 Of course after the loop we need to correct things by adding code like:
516 THe code within the for loop was changed to:
570 loop; This eliminates 3 statements per loop. Of course after the loop we
[all …]
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
DMakefile23 instruction_count_test: ../loop.S
/linux-4.4.14/arch/ia64/hp/sim/boot/
Dboot_head.S101 .loop: fc r8 label
103 br.cloop.sptk.few .loop
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-i2c.c92 u8 loop = 0; in cx231xx_i2c_send_bytes() local
155 req_data.p_buffer = (u8 *) (buf_ptr + loop * 16); in cx231xx_i2c_send_bytes()
158 bus->i2c_reserve = (loop == 0) ? 0 : 1; in cx231xx_i2c_send_bytes()
162 loop++; in cx231xx_i2c_send_bytes()
/linux-4.4.14/Documentation/filesystems/
Dbfs.txt25 # mount -t bfs -o loop stand.img /mnt/stand
27 this will allocate the first available loopback device (and load loop.o
Ddirectory-locking107 These operations are guaranteed to avoid loop creation. Indeed,
110 source), such loop would have to contain these objects and the rest of it
111 would have to exist before rename(). I.e. at the moment of loop creation
/linux-4.4.14/fs/btrfs/
Ddelayed-ref.c343 bool loop = false; in btrfs_select_ref_head() local
350 if (!head && !loop) { in btrfs_select_ref_head()
353 loop = true; in btrfs_select_ref_head()
357 } else if (!head && loop) { in btrfs_select_ref_head()
366 if (loop) in btrfs_select_ref_head()
370 loop = true; in btrfs_select_ref_head()
/linux-4.4.14/arch/mips/cavium-octeon/executive/
DMakefile16 cvmx-helper-loop.o cvmx-helper-spi.o cvmx-helper-util.o \
/linux-4.4.14/Documentation/thermal/
Dpower_allocator.txt10 control loop starts operating. This is the first passive trip
67 for a number of reasons. The closed loop controller will take care of
135 an estimate, which is the reason for closed-loop control such as this.
160 `k_i` configures the PID loop's integral term constant. This term
172 `k_d` configures the PID loop's derivative term constant. It's
/linux-4.4.14/arch/mips/include/asm/mach-paravirt/
Dkernel-entry-init.h35 b 2b # Unknown CPU, loop forever.
/linux-4.4.14/net/rds/
DMakefile4 loop.o page.o rdma.o
/linux-4.4.14/arch/c6x/platforms/
Dcache.c144 loop: in cache_block_operation()
157 goto loop; in cache_block_operation()
/linux-4.4.14/drivers/i2c/busses/
Di2c-eg20t.c560 int loop; in pch_i2c_readbytes() local
564 for (loop = 1, read_index = 0; loop < length; loop++) { in pch_i2c_readbytes()
567 if (loop != 1) in pch_i2c_readbytes()
/linux-4.4.14/drivers/block/aoe/
Daoechr.c105 loop: in revalidate()
113 goto loop; in revalidate()
/linux-4.4.14/scripts/kconfig/
Dstreamline_config.pl632 loop: label
638 next loop;
/linux-4.4.14/drivers/gpio/
Dgpio-pxa.c407 int loop, gpio, gpio_base, n; in pxa_gpio_demux_handler() local
414 loop = 0; in pxa_gpio_demux_handler()
423 loop = 1; in pxa_gpio_demux_handler()
428 } while (loop); in pxa_gpio_demux_handler()
/linux-4.4.14/drivers/media/pci/cx25821/
Dcx25821-alsa.c369 int loop, handled = 0; in cx25821_irq() local
375 for (loop = 0; loop < 1; loop++) { in cx25821_irq()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c504 int loop; in qlcnic_dump_mux() local
509 for (loop = 0; loop < mux->no_ops; loop++) { in qlcnic_dump_mux()
522 int i, loop; in qlcnic_dump_que() local
529 for (loop = 0; loop < que->no_ops; loop++) { in qlcnic_dump_que()
/linux-4.4.14/tools/usb/
Dhcd-tests.sh251 loop)
/linux-4.4.14/arch/c6x/lib/
Ddivremu.S44 ;; The loop performs a maximum of 28 steps, so we do the
75 ;; loop backwards branch happens here
Ddivu.S56 ;; The loop performs a maximum of 28 steps, so we do the
87 ;; loop backwards branch happens here
/linux-4.4.14/Documentation/locking/
Drt-mutex-design.txt432 A loop is entered, where task is the owner to be checked for PI changes that
438 If the task is not blocked on a mutex then the loop is exited. We are at
446 or timeout and has left the PI chain. In either case, the loop is exited, since
453 the loop. Remember that the function started with the priority of the
460 lock, the pi_lock is released, and we restart the loop.
484 wait_lock, and continue the loop again. On the next iteration of the
485 loop, the previous owner of the mutex will be the task that will be
492 we have taken that task's pi_lock at the beginning of the loop.
506 task and continue the loop, doing the end of PI chain check again.
513 but never give up the wait_lock. So the PI chain loop is guaranteed to
[all …]
/linux-4.4.14/fs/tracefs/
Dinode.c576 loop: in tracefs_remove_recursive()
607 goto loop; in tracefs_remove_recursive()
618 goto loop; in tracefs_remove_recursive()
/linux-4.4.14/net/caif/
Dchnl_net.c428 u8 loop; in ipcaif_fill_info() local
435 loop = priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP; in ipcaif_fill_info()
436 if (nla_put_u8(skb, IFLA_CAIF_LOOPBACK, loop)) in ipcaif_fill_info()
/linux-4.4.14/arch/microblaze/lib/
Duaccess_old.S203 loop: /* r4, r19, r20, r21, r22, r23, r24, r25 are used for storing values */ label
212 bneid r7, loop
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dcn66xx_device.c370 u32 mask, i, loop = HZ; in lio_cn6xxx_disable_io_queues() local
381 while (((d32 & mask) != mask) && loop--) { in lio_cn6xxx_disable_io_queues()
400 loop = HZ; in lio_cn6xxx_disable_io_queues()
403 while (((d32 & mask) != mask) && loop--) { in lio_cn6xxx_disable_io_queues()
/linux-4.4.14/drivers/staging/wilc1000/
Dwilc_sdio.c560 int loop; in sdio_init() local
624 loop = 3; in sdio_init()
633 } while (loop--); in sdio_init()
635 if (loop <= 0) { in sdio_init()
/linux-4.4.14/arch/alpha/kernel/
Dhead.S87 # It is handy, on occasion, to make halt actually just loop.
/linux-4.4.14/tools/perf/Documentation/
Dperf-bench.txt112 --loop=::
126 % perf bench sched pipe -l 1000 # loop 1000
/linux-4.4.14/fs/debugfs/
Dinode.c598 loop: in debugfs_remove_recursive()
629 goto loop; in debugfs_remove_recursive()
640 goto loop; in debugfs_remove_recursive()
/linux-4.4.14/fs/fscache/
Dpage.c1148 unsigned long loop; in fscache_mark_pages_cached() local
1150 for (loop = 0; loop < pagevec->nr; loop++) in fscache_mark_pages_cached()
1151 fscache_mark_page_cached(op, pagevec->pages[loop]); in fscache_mark_pages_cached()
/linux-4.4.14/Documentation/timers/
Dtimers-howto.txt22 and will busy wait for enough loop cycles to achieve
44 -- Backed by busy-wait loop:
/linux-4.4.14/arch/blackfin/
DKconfig.debug116 prompt "Omit loop Tracing"
123 the trace buffer from overflowing because of any sort of loop (for, do
139 is spinning on a while or do loop.
145 the trace is spinning in a nested loop
/linux-4.4.14/drivers/bluetooth/
Dbtmrvl_sdio.c1154 u8 loop, func, data; in btmrvl_sdio_dump_regs() local
1160 for (loop = 0; loop < MAX_LOOP; loop++) { in btmrvl_sdio_dump_regs()
1164 if (loop == 0) { in btmrvl_sdio_dump_regs()
1166 func = loop; in btmrvl_sdio_dump_regs()
/linux-4.4.14/arch/h8300/lib/
Dmemcpy.S38 adds #4,er4 ; loop count check value
/linux-4.4.14/drivers/dma/
Dpl330.c635 unsigned loop, u8 cnt) in _emit_LP() argument
642 if (loop) in _emit_LP()
648 PL330_DBGCMD_DUMP(SZ_DMALP, "\tDMALP_%c %u\n", loop ? '1' : '0', cnt); in _emit_LP()
656 unsigned loop; member
665 unsigned loop = arg->loop; in _emit_LPEND() local
673 if (loop) in _emit_LPEND()
689 loop ? '1' : '0', in _emit_LPEND()
1224 lpend.loop = 0; in _loop()
1256 lpend.loop = 1; in _loop()
1263 lpend.loop = 0; in _loop()
/linux-4.4.14/Documentation/
Dlockup-watchdogs.txt8 A 'softlockup' is defined as a bug that causes the kernel to loop in
18 A 'hardlockup' is defined as a bug that causes the CPU to loop in
/linux-4.4.14/arch/mips/kvm/
D00README.txt26 when we ERET back to the guest. This causes the guest to hang in an infinite loop.
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dmemx.fuc273 // $r5 - outer loop counter
274 // $r6 - inner loop counter
316 // $r5 - inner inner loop counter
/linux-4.4.14/Documentation/input/
Dnotifier.txt23 order to "eat" the event: the notify loop is stopped and the keyboard event is
/linux-4.4.14/tools/testing/selftests/rcutorture/doc/
Drcu-test-image.txt12 sudo mount -o loop ./rcu-test-image /mnt
/linux-4.4.14/net/core/
Ddst.c76 loop: in dst_gc_task()
113 goto loop; in dst_gc_task()
/linux-4.4.14/Documentation/frv/
Datomic-ops.txt53 condition in ICC3 to remain with the Z flag set, thus causing step (5) to loop back to step (1).
62 manages to take place. In theory, this loop could cycle forever because there are too many
/linux-4.4.14/Documentation/RCU/
Drcu.txt31 block, switch to user-mode execution, or enter the idle loop.
36 executed in user mode, or executed in the idle loop, we can
/linux-4.4.14/drivers/net/ethernet/apm/xgene/
Dxgene_enet_sgmac.c238 u32 data, loop = 10; in xgene_sgmac_init() local
249 while (loop--) { in xgene_sgmac_init()
/linux-4.4.14/arch/cris/arch-v32/mm/
Dmmu.S71 ; doesn't recognize it and we get stuck in a loop of refill exceptions.
117 3: ; Probably not in a loop, continue normal processing
/linux-4.4.14/drivers/video/fbdev/
Dmxsfb.c371 unsigned loop; in mxsfb_disable_controller() local
383 loop = 1000; in mxsfb_disable_controller()
384 while (loop) { in mxsfb_disable_controller()
388 loop--; in mxsfb_disable_controller()
/linux-4.4.14/Documentation/devicetree/bindings/clock/ti/
Dapll.txt8 loop logic for multiplying the input clock to a desired output
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic79xx.seq97 * Now the normal loop.
502 * until we return to our idle loop), use a
625 * loop determines that neither of our FIFOs
628 * idle loop until the busfree at the end of
661 * Return to the idle loop. Our interrupt handler will take
678 * loop determines that neither of our FIFOs
681 * idle loop until the busfree at the end of
698 * If we see LQOBUSFREE, return to the idle loop.
845 * Main loop for information transfer phases. Wait for the
1038 * Pushed message loop to allow the kernel to
[all …]
/linux-4.4.14/arch/arm/mach-sa1100/
Dsleep.S143 20: b 20b @ loop waiting for sleep
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/
Dconsole.h229 int lstcon_test_add(char *batch_name, int type, int loop,
/linux-4.4.14/drivers/net/appletalk/
Dltpc.c520 loop: in idle()
527 if (state != inb_p(base+6)) goto loop; in idle()
628 goto loop; in idle()
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c649 enum hnae_loop loop, int en) in hns_ae_config_loopback() argument
654 switch (loop) { in hns_ae_config_loopback()
659 ret = hns_mac_config_mac_loopback(vf_cb->mac_cb, loop, en); in hns_ae_config_loopback()
Dhns_ethtool.c309 enum hnae_loop loop) in __lb_setup() argument
316 switch (loop) { in __lb_setup()
324 ret = h->dev->ops->set_loopback(h, loop, 0x1); in __lb_setup()
328 ret = h->dev->ops->set_loopback(h, loop, 0x1); in __lb_setup()
/linux-4.4.14/Documentation/kbuild/
DKconfig.recursion-issue-0133 # tools run in a loop. When this happens Kconfig exits and complains about
/linux-4.4.14/drivers/tty/serial/
Dapbuart.c351 int ctrl, loop = 0; in apbuart_scan_fifo_size() local
370 loop++; in apbuart_scan_fifo_size()

123