Searched refs:loop (Results 1 - 200 of 2208) sorted by relevance

1234567891011>>

/linux-4.4.14/net/rds/
H A Dloop.h4 /* loop.c */
H A DMakefile4 loop.o page.o rdma.o
/linux-4.4.14/arch/mn10300/proc-mn2ws0050/
H A Dproc-init.c35 int loop; processor_init() local
38 for (loop = 0x000; loop < 0x400; loop += 8) processor_init()
39 __set_intr_stub(loop, __common_exception); processor_init()
75 for (loop = 0; loop < GxICR_NUM_IRQS; loop++) processor_init()
76 GxICR(loop) = GxICR_LEVEL_6 | GxICR_DETECT; processor_init()
78 for (loop = 0; loop < NR_IRQS; loop++) processor_init()
79 GxICR(loop) = GxICR_LEVEL_6 | GxICR_DETECT; processor_init()
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/
H A DMakefile11 # loop.S can only be built 64-bit
12 count_instructions: loop.S count_instructions.c $(EXTRA_SOURCES)
36 rm -f $(TEST_PROGS) loop.o
H A Dcount_instructions.c73 /* Count how many instructions it takes to do a null loop */ determine_overhead()
113 printf("Overhead of null loop: %llu instructions\n", overhead); test_body()
/linux-4.4.14/drivers/usb/gadget/function/
H A Df_loopback.c154 [0].s = "loop input to output",
173 struct f_loopback *loop = func_to_loop(f); loopback_bind() local
191 loop->in_ep = usb_ep_autoconfig(cdev->gadget, &fs_loop_source_desc); loopback_bind()
192 if (!loop->in_ep) { loopback_bind()
199 loop->out_ep = usb_ep_autoconfig(cdev->gadget, &fs_loop_sink_desc); loopback_bind()
200 if (!loop->out_ep) loopback_bind()
221 f->name, loop->in_ep->name, loop->out_ep->name); loopback_bind()
241 struct f_loopback *loop = ep->driver_data; loopback_complete() local
242 struct usb_composite_dev *cdev = loop->function.config->cdev; loopback_complete()
247 if (ep == loop->out_ep) { loopback_complete()
256 ep = loop->in_ep; loopback_complete()
264 ep = loop->out_ep; loopback_complete()
272 ERROR(cdev, "Unable to loop back buffer to %s: %d\n", loopback_complete()
279 ERROR(cdev, "%s loop complete --> %d, %d/%d\n", ep->name, loopback_complete()
292 usb_ep_free_request(ep == loop->in_ep ? loopback_complete()
293 loop->out_ep : loop->in_ep, loopback_complete()
300 static void disable_loopback(struct f_loopback *loop) disable_loopback() argument
304 cdev = loop->function.config->cdev; disable_loopback()
305 disable_endpoints(cdev, loop->in_ep, loop->out_ep, NULL, NULL); disable_loopback()
306 VDBG(cdev, "%s disabled\n", loop->function.name); disable_loopback()
311 struct f_loopback *loop = ep->driver_data; lb_alloc_ep_req() local
313 return alloc_ep_req(ep, len, loop->buflen); lb_alloc_ep_req()
317 struct f_loopback *loop) alloc_requests()
329 for (i = 0; i < loop->qlen && result == 0; i++) { alloc_requests()
332 in_req = usb_ep_alloc_request(loop->in_ep, GFP_ATOMIC); alloc_requests()
336 out_req = lb_alloc_ep_req(loop->out_ep, 0); alloc_requests()
348 result = usb_ep_queue(loop->out_ep, out_req, GFP_ATOMIC); alloc_requests()
351 loop->out_ep->name, result); alloc_requests()
359 free_ep_req(loop->out_ep, out_req); alloc_requests()
361 usb_ep_free_request(loop->in_ep, in_req); alloc_requests()
367 struct f_loopback *loop, struct usb_ep *ep) enable_endpoint()
371 result = config_ep_by_speed(cdev->gadget, &(loop->function), ep); enable_endpoint()
378 ep->driver_data = loop; enable_endpoint()
386 enable_loopback(struct usb_composite_dev *cdev, struct f_loopback *loop) enable_loopback() argument
390 result = enable_endpoint(cdev, loop, loop->in_ep); enable_loopback()
394 result = enable_endpoint(cdev, loop, loop->out_ep); enable_loopback()
398 result = alloc_requests(cdev, loop); enable_loopback()
402 DBG(cdev, "%s enabled\n", loop->function.name); enable_loopback()
406 usb_ep_disable(loop->out_ep); enable_loopback()
408 usb_ep_disable(loop->in_ep); enable_loopback()
416 struct f_loopback *loop = func_to_loop(f); loopback_set_alt() local
420 disable_loopback(loop); loopback_set_alt()
421 return enable_loopback(cdev, loop); loopback_set_alt()
426 struct f_loopback *loop = func_to_loop(f); loopback_disable() local
428 disable_loopback(loop); loopback_disable()
433 struct f_loopback *loop; loopback_alloc() local
436 loop = kzalloc(sizeof *loop, GFP_KERNEL); loopback_alloc()
437 if (!loop) loopback_alloc()
446 loop->buflen = lb_opts->bulk_buflen; loopback_alloc()
447 loop->qlen = lb_opts->qlen; loopback_alloc()
448 if (!loop->qlen) loopback_alloc()
449 loop->qlen = 32; loopback_alloc()
451 loop->function.name = "loopback"; loopback_alloc()
452 loop->function.bind = loopback_bind; loopback_alloc()
453 loop->function.set_alt = loopback_set_alt; loopback_alloc()
454 loop->function.disable = loopback_disable; loopback_alloc()
455 loop->function.strings = loopback_strings; loopback_alloc()
457 loop->function.free_func = lb_free_func; loopback_alloc()
459 return &loop->function; loopback_alloc()
316 alloc_requests(struct usb_composite_dev *cdev, struct f_loopback *loop) alloc_requests() argument
366 enable_endpoint(struct usb_composite_dev *cdev, struct f_loopback *loop, struct usb_ep *ep) enable_endpoint() argument
/linux-4.4.14/arch/arm64/include/asm/
H A Dpercpu.h43 unsigned long loop, ret; \
51 "stxrb %w[loop], %w[ret], %[ptr]\n" \
52 : [loop] "=&r" (loop), [ret] "=&r" (ret), \
55 } while (loop); \
62 "stxrh %w[loop], %w[ret], %[ptr]\n" \
63 : [loop] "=&r" (loop), [ret] "=&r" (ret), \
66 } while (loop); \
73 "stxr %w[loop], %w[ret], %[ptr]\n" \
74 : [loop] "=&r" (loop), [ret] "=&r" (ret), \
77 } while (loop); \
84 "stxr %w[loop], %[ret], %[ptr]\n" \
85 : [loop] "=&r" (loop), [ret] "=&r" (ret), \
88 } while (loop); \
149 unsigned long ret, loop; __percpu_xchg() local
156 "stxrb %w[loop], %w[val], %[ptr]\n" __percpu_xchg()
157 : [loop] "=&r"(loop), [ret] "=&r"(ret), __percpu_xchg()
160 } while (loop); __percpu_xchg()
166 "stxrh %w[loop], %w[val], %[ptr]\n" __percpu_xchg()
167 : [loop] "=&r"(loop), [ret] "=&r"(ret), __percpu_xchg()
170 } while (loop); __percpu_xchg()
176 "stxr %w[loop], %w[val], %[ptr]\n" __percpu_xchg()
177 : [loop] "=&r"(loop), [ret] "=&r"(ret), __percpu_xchg()
180 } while (loop); __percpu_xchg()
186 "stxr %w[loop], %[val], %[ptr]\n" __percpu_xchg()
187 : [loop] "=&r"(loop), [ret] "=&r"(ret), __percpu_xchg()
190 } while (loop); __percpu_xchg()
H A Dtimex.h23 * the delay loop.
/linux-4.4.14/arch/mn10300/proc-mn103e010/
H A Dproc-init.c21 int loop; processor_init() local
24 for (loop = 0x000; loop < 0x400; loop += 8) processor_init()
25 __set_intr_stub(loop, __common_exception); processor_init()
58 for (loop = 0; loop < NR_IRQS; loop++) processor_init()
59 GxICR(loop) = GxICR_LEVEL_6 | GxICR_DETECT; processor_init()
/linux-4.4.14/arch/xtensa/include/asm/
H A Dasmmacro.h32 * cond true condition (used in loop'cond')
36 * restart loop. 'as' register must not have been modified!
46 * loop for given size as immediate
53 loop \at, 99f
62 * loop for given size in register
76 loop\cond \at, 99f
101 * loop from ar to as
112 loop \at, 99f
120 * restart loop. registers must be unchanged
126 loop \as, 99f
134 * end of loop with no increment of the address.
145 * end of loop with increment of the address.
H A Ddelay.h25 /* 2 cycles per loop. */ __delay()
/linux-4.4.14/fs/afs/
H A Dvolume.c51 int ret, loop; afs_volume_lookup() local
71 for (loop = 0; loop < vlocation->vldb.nservers; loop++) afs_volume_lookup()
72 srvtmask |= vlocation->vldb.srvtmask[loop]; afs_volume_lookup()
116 for (loop = 0; loop < 8; loop++) { afs_volume_lookup()
117 if (vlocation->vldb.srvtmask[loop] & (1 << volume->type)) { afs_volume_lookup()
119 volume->cell, &vlocation->vldb.servers[loop]); afs_volume_lookup()
162 for (loop = volume->nservers - 1; loop >= 0; loop--) afs_volume_lookup()
163 afs_put_server(volume->servers[loop]); afs_volume_lookup()
175 int loop; afs_put_volume() local
206 for (loop = volume->nservers - 1; loop >= 0; loop--) afs_put_volume()
207 afs_put_server(volume->servers[loop]); afs_put_volume()
223 int ret, state, loop; afs_volume_pick_fileserver() local
247 for (loop = 0; loop < volume->nservers; loop++) { afs_volume_pick_fileserver()
248 server = volume->servers[loop]; afs_volume_pick_fileserver()
251 _debug("consider %d [%d]", loop, state); afs_volume_pick_fileserver()
311 unsigned loop; afs_volume_release_fileserver() local
332 for (loop = 0; loop < volume->nservers; loop++) afs_volume_release_fileserver()
333 if (volume->servers[loop] == server) afs_volume_release_fileserver()
341 memmove(&volume->servers[loop], afs_volume_release_fileserver()
342 &volume->servers[loop + 1], afs_volume_release_fileserver()
343 sizeof(volume->servers[loop]) * afs_volume_release_fileserver()
344 (volume->nservers - loop)); afs_volume_release_fileserver()
394 /* tell the caller to loop around and try the next server */ afs_volume_release_fileserver()
H A Dvlclient.c67 int loop; afs_deliver_vl_get_entry_by_xxx() local
82 for (loop = 0; loop < 64; loop++) afs_deliver_vl_get_entry_by_xxx()
83 entry->name[loop] = ntohl(*bp++); afs_deliver_vl_get_entry_by_xxx()
84 entry->name[loop] = 0; afs_deliver_vl_get_entry_by_xxx()
90 for (loop = 0; loop < 8; loop++) afs_deliver_vl_get_entry_by_xxx()
91 entry->servers[loop].s_addr = *bp++; afs_deliver_vl_get_entry_by_xxx()
95 for (loop = 0; loop < 8; loop++) { afs_deliver_vl_get_entry_by_xxx()
97 entry->srvtmask[loop] = 0; afs_deliver_vl_get_entry_by_xxx()
99 entry->srvtmask[loop] |= AFS_VOL_VTM_RW; afs_deliver_vl_get_entry_by_xxx()
101 entry->srvtmask[loop] |= AFS_VOL_VTM_RO; afs_deliver_vl_get_entry_by_xxx()
103 entry->srvtmask[loop] |= AFS_VOL_VTM_BAK; afs_deliver_vl_get_entry_by_xxx()
H A Dcmservice.c179 int ret, loop; afs_deliver_cb_callback() local
228 for (loop = call->count; loop > 0; loop--, cb++) { afs_deliver_cb_callback()
270 for (loop = call->count; loop > 0; loop--, cb++) { afs_deliver_cb_callback()
457 unsigned loop; afs_deliver_cb_probe_uuid() local
499 for (loop = 0; loop < 6; loop++) afs_deliver_cb_probe_uuid()
500 r->node[loop] = ntohl(b[loop + 5]); afs_deliver_cb_probe_uuid()
529 int loop, nifs; SRXAFSCB_TellMeAboutYourself() local
566 for (loop = 0; loop < 6; loop++) SRXAFSCB_TellMeAboutYourself()
567 reply.ia.uuid[loop + 5] = htonl((s8) afs_uuid.node[loop]); SRXAFSCB_TellMeAboutYourself()
570 for (loop = 0; loop < nifs; loop++) { SRXAFSCB_TellMeAboutYourself()
571 reply.ia.ifaddr[loop] = ifs[loop].address.s_addr; SRXAFSCB_TellMeAboutYourself()
572 reply.ia.netmask[loop] = ifs[loop].netmask.s_addr; SRXAFSCB_TellMeAboutYourself()
573 reply.ia.mtu[loop] = htonl(ifs[loop].mtu); SRXAFSCB_TellMeAboutYourself()
H A Dsecurity.c55 int loop; afs_zap_permits() local
59 for (loop = permits->count - 1; loop >= 0; loop--) afs_zap_permits()
60 key_put(permits->permits[loop].key); afs_zap_permits()
134 int count, loop; afs_cache_permit() local
177 for (loop = count; loop > 0; loop--) { afs_cache_permit()
224 int loop, ret; afs_check_permit() local
249 for (loop = permits->count; loop > 0; loop--) { afs_check_permit()
H A Dwrite.c281 unsigned count, loop; afs_kill_pages() local
298 for (loop = 0; loop < count; loop++) { afs_kill_pages()
299 ClearPageUptodate(pv.pages[loop]); afs_kill_pages()
301 SetPageError(pv.pages[loop]); afs_kill_pages()
302 end_page_writeback(pv.pages[loop]); afs_kill_pages()
322 int loop, ret; afs_write_back_from_locked_page() local
356 for (loop = 0; loop < n; loop++) { afs_write_back_from_locked_page()
357 page = pages[loop]; afs_write_back_from_locked_page()
374 count += loop; afs_write_back_from_locked_page()
375 if (loop < n) { afs_write_back_from_locked_page()
376 for (; loop < n; loop++) afs_write_back_from_locked_page()
377 put_page(pages[loop]); afs_write_back_from_locked_page()
381 start += loop; afs_write_back_from_locked_page()
575 unsigned count, loop; afs_pages_written_back() local
597 for (loop = 0; loop < count; loop++) { afs_pages_written_back()
598 struct page *page = pv.pages[loop]; afs_pages_written_back()
H A Drxrpc.c277 unsigned count, n, loop, offset, to; afs_send_pages() local
295 loop = 0; afs_send_pages()
299 if (first + loop >= last) afs_send_pages()
303 iov->iov_base = kmap(pages[loop]) + offset; afs_send_pages()
315 if (first + loop >= last) afs_send_pages()
319 kunmap(pages[loop]); afs_send_pages()
322 } while (++loop < count); afs_send_pages()
325 for (loop = 0; loop < count; loop++) afs_send_pages()
326 put_page(pages[loop]); afs_send_pages()
/linux-4.4.14/drivers/scsi/qla2xxx/
H A Dqla_settings.h9 /* Max time to wait for the loop to be in LOOP_READY state */
/linux-4.4.14/fs/cachefiles/
H A Dkey.c42 int loop, len, max, seg, mark, print; cachefiles_cook_key() local
50 for (loop = 2; loop < keylen; loop++) { cachefiles_cook_key()
51 ch = raw[loop]; cachefiles_cook_key()
102 for (loop = keylen; loop > 0; loop--) { cachefiles_cook_key()
121 for (loop = keylen; loop > 0; loop--) { cachefiles_cook_key()
/linux-4.4.14/fs/ramfs/
H A Dfile-nommu.c68 unsigned long npages, xpages, loop; ramfs_nommu_expand_for_mapping() local
99 for (loop = npages; loop < xpages; loop++) ramfs_nommu_expand_for_mapping()
100 __free_page(pages + loop); ramfs_nommu_expand_for_mapping()
108 for (loop = 0; loop < npages; loop++) { ramfs_nommu_expand_for_mapping()
109 struct page *page = pages + loop; ramfs_nommu_expand_for_mapping()
111 ret = add_to_page_cache_lru(page, inode->i_mapping, loop, ramfs_nommu_expand_for_mapping()
127 while (loop < npages) ramfs_nommu_expand_for_mapping()
128 __free_page(pages + loop++); ramfs_nommu_expand_for_mapping()
209 unsigned long maxpages, lpages, nr, loop, ret; ramfs_nommu_get_unmapped_area() local
243 for (loop = lpages; loop > 1; loop--) ramfs_nommu_get_unmapped_area()
252 for (loop = nr; loop > 0; loop--) ramfs_nommu_get_unmapped_area()
/linux-4.4.14/net/rxrpc/
H A Dar-key.c168 int loop; rxrpc_free_krb5_principal() local
171 for (loop = princ->n_name_parts - 1; loop >= 0; loop--) rxrpc_free_krb5_principal()
172 kfree(princ->name_parts[loop]); rxrpc_free_krb5_principal()
188 int loop; rxrpc_rxk5_free() local
195 for (loop = rxk5->n_addresses - 1; loop >= 0; loop--) rxrpc_rxk5_free()
196 rxrpc_free_krb5_tagged(&rxk5->addresses[loop]); rxrpc_rxk5_free()
200 for (loop = rxk5->n_authdata - 1; loop >= 0; loop--) rxrpc_rxk5_free()
201 rxrpc_free_krb5_tagged(&rxk5->authdata[loop]); rxrpc_rxk5_free()
218 unsigned int toklen = *_toklen, n_parts, loop, tmp; rxrpc_krb5_decode_principal() local
241 for (loop = 0; loop < n_parts; loop++) { rxrpc_krb5_decode_principal()
250 princ->name_parts[loop] = kmalloc(tmp + 1, GFP_KERNEL); rxrpc_krb5_decode_principal()
251 if (!princ->name_parts[loop]) rxrpc_krb5_decode_principal()
253 memcpy(princ->name_parts[loop], xdr, tmp); rxrpc_krb5_decode_principal()
254 princ->name_parts[loop][tmp] = 0; rxrpc_krb5_decode_principal()
339 unsigned int toklen = *_toklen, n_elem, loop; rxrpc_krb5_decode_tagged_array() local
366 for (loop = 0; loop < n_elem; loop++) { rxrpc_krb5_decode_tagged_array()
367 ret = rxrpc_krb5_decode_tagged_data(&td[loop], rxrpc_krb5_decode_tagged_array()
553 unsigned int len, tmp, loop, ntoken, toklen, sec_ix; rxrpc_preparse_xdr() local
584 for (loop = 0; loop < len; loop++) rxrpc_preparse_xdr()
585 if (!isprint(cp[loop])) rxrpc_preparse_xdr()
588 for (; loop < tmp; loop++) rxrpc_preparse_xdr()
589 if (cp[loop]) rxrpc_preparse_xdr()
607 loop = ntoken; rxrpc_preparse_xdr()
620 } while (--loop > 0); rxrpc_preparse_xdr()
1055 int loop; rxrpc_read() local
1086 for (loop = 0; loop < princ->n_name_parts; loop++) rxrpc_read()
1087 toksize += RND(strlen(princ->name_parts[loop])); rxrpc_read()
1092 for (loop = 0; loop < princ->n_name_parts; loop++) rxrpc_read()
1093 toksize += RND(strlen(princ->name_parts[loop])); rxrpc_read()
1101 for (loop = 0; loop < token->k5->n_addresses; loop++) rxrpc_read()
1102 toksize += RND(token->k5->addresses[loop].data_len); rxrpc_read()
1108 for (loop = 0; loop < token->k5->n_authdata; loop++) rxrpc_read()
1109 toksize += RND(token->k5->authdata[loop].data_len); rxrpc_read()
1186 for (loop = 0; loop < princ->n_name_parts; loop++) rxrpc_read()
1187 ENCODE_STR(princ->name_parts[loop]); rxrpc_read()
1192 for (loop = 0; loop < princ->n_name_parts; loop++) rxrpc_read()
1193 ENCODE_STR(princ->name_parts[loop]); rxrpc_read()
1208 for (loop = 0; loop < token->k5->n_addresses; loop++) { rxrpc_read()
1209 ENCODE(token->k5->addresses[loop].tag); rxrpc_read()
1210 ENCODE_DATA(token->k5->addresses[loop].data_len, rxrpc_read()
1211 token->k5->addresses[loop].data); rxrpc_read()
1218 for (loop = 0; loop < token->k5->n_authdata; loop++) { rxrpc_read()
1219 ENCODE(token->k5->authdata[loop].tag); rxrpc_read()
1220 ENCODE_DATA(token->k5->authdata[loop].data_len, rxrpc_read()
1221 token->k5->authdata[loop].data); rxrpc_read()
H A Dar-skbuff.c57 int loop; rxrpc_hard_ACK_data() local
64 for (loop = 0; loop < RXRPC_ACKR_WINDOW_ASZ; loop++) { rxrpc_hard_ACK_data()
65 call->ackr_window[loop] >>= 1; rxrpc_hard_ACK_data()
66 call->ackr_window[loop] |= rxrpc_hard_ACK_data()
67 call->ackr_window[loop + 1] << (BITS_PER_LONG - 1); rxrpc_hard_ACK_data()
H A Dar-ack.c222 int loop; rxrpc_resend() local
234 for (loop = call->acks_tail; rxrpc_resend()
235 loop != call->acks_head || stop; rxrpc_resend()
236 loop = (loop + 1) & (call->acks_winsz - 1) rxrpc_resend()
238 p_txb = call->acks_window + loop; rxrpc_resend()
291 int loop; rxrpc_resend_timer() local
303 for (loop = call->acks_unacked; rxrpc_resend_timer()
304 loop != call->acks_head; rxrpc_resend_timer()
305 loop = (loop + 1) & (call->acks_winsz - 1) rxrpc_resend_timer()
307 p_txb = call->acks_window + loop; rxrpc_resend_timer()
344 int loop; rxrpc_process_soft_ACKs() local
357 for (loop = 0; loop < ack->nAcks; loop++) { rxrpc_process_soft_ACKs()
359 p_txb += (call->acks_tail + loop) & (call->acks_winsz - 1); rxrpc_process_soft_ACKs()
364 switch (sacks[loop]) { rxrpc_process_soft_ACKs()
375 _debug("Unsupported ACK type %d", sacks[loop]); rxrpc_process_soft_ACKs()
381 call->acks_unacked = (call->acks_tail + loop) & (call->acks_winsz - 1); rxrpc_process_soft_ACKs()
385 for (loop = call->acks_unacked; rxrpc_process_soft_ACKs()
386 loop != call->acks_head; rxrpc_process_soft_ACKs()
387 loop = (loop + 1) & (call->acks_winsz - 1) rxrpc_process_soft_ACKs()
389 p_txb = call->acks_window + loop; rxrpc_process_soft_ACKs()
892 int genbit, loop, nbit, ioc, ret, mtu; rxrpc_process_call() local
1112 for (loop = 0; loop < RXRPC_ACKR_WINDOW_ASZ; loop++) { rxrpc_process_call()
1113 nbit = loop * BITS_PER_LONG; rxrpc_process_call()
1114 for (bits = call->ackr_window[loop]; bits; bits >>= 1 rxrpc_process_call()
1116 _debug("- l=%d n=%d b=%lx", loop, nbit, bits); rxrpc_process_call()
H A Dar-connevent.c151 int loop, ret; rxrpc_process_event() local
197 for (loop = 0; loop < RXRPC_MAXCALLS; loop++) rxrpc_process_event()
198 rxrpc_call_is_secure(conn->channels[loop]); rxrpc_process_event()
/linux-4.4.14/arch/sh/lib64/
H A Dmemset.S53 pta/l loop, tr1
56 addi r20, -7*8, r8 // loop end address; This might overflow, so we need
57 // to use a different test before we start the loop
58 bge/u r24, r9, tr1 // loop
72 loop: label
81 bgeu/l r8, r25, tr1 // loop
H A Dstrlen.S23 pta/l loop, tr0
24 loop: label
H A Dstrcpy.S38 pta/l loop, tr0
51 beqi/l r6, 0, tr0 // loop
62 beqi/l r6, 0, tr0 // loop
80 loop: label
91 beqi/l r6, 0, tr0 // loop
/linux-4.4.14/arch/alpha/lib/
H A Dstrcat.S29 $loop: ldq $1, 8($16)
32 beq $2, $loop
H A Dev67-strlen.S38 $loop: ldq $1, 8($0) # L :
41 beq $2, $loop # U :
H A Dstrlen.S32 loop: ldq $1, 8($0) label
36 beq $2, loop
H A Dev6-clear_user.S39 * it's going to be worth the effort to hand-unroll a big loop, and use wh64.
92 * values upon initial entry to the loop
98 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)
105 * going to be able to use the large block clear loop at least once.
136 * staggered fashion, we can still do this loop in 5 fetches
139 * Assumes the wh64 needs to be for 2 trips through the loop in the future
141 * through the loop, and if there are less than two trips left, the target
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
H A Dev6-copy_user.S71 * This loop aligns the destination a byte at a time
72 * We know we have at least one trip through this loop
82 * which allows us zero dependencies within either quadpack in the loop
95 bic $0,7,$4 # .. .. E .. : number bytes as a quadword loop
104 /* Misaligned quadword loop - not unrolled. Leave it that way. */
126 /* We know we have at least one trip through the byte loop */
131 /* Do the trailing byte loop load, then hop into the store part of the loop */
135 * Based upon the usage context, it's worth the effort to unroll this loop
153 * unroll this to be an 8x loop (which would enable us to use the wh64
205 * For small copies (or the tail of a larger copy), do a very simple byte loop.
222 * which allows us zero dependencies within either quadpack in the loop
H A Dev6-memset.S18 * however the loop has been unrolled to enable better memory throughput,
22 * A future enhancement might be to put in a byte store loop for really
118 and $16, 0x3f, $2 # E : Forward work (only useful for unrolled loop)
125 * through unrolled loop. Do a quad at a time to get us 0mod64
153 * Assumes the wh64 needs to be for 2 trips through the loop in the future
155 * through the loop, and if there are less than two trips left, the target
177 subq $3, 16, $2 # E : Repeat the loop at least once more?
192 * Simple loop for trailing quadwords, or for small amounts
193 * of data (where we can't use an unrolled loop and wh64)
295 and $16, 0x3f, $2 # E : Forward work (only useful for unrolled loop)
298 blt $4, loop # U :
302 * through unrolled loop. Do a quad at a time to get us 0mod64
330 * Assumes the wh64 needs to be for 2 trips through the loop in the future
332 * through the loop, and if there are less than two trips left, the target
354 subq $3, 16, $2 # E : Repeat the loop at least once more?
369 * Simple loop for trailing quadwords, or for small amounts
370 * of data (where we can't use an unrolled loop and wh64)
372 loop: label
376 bne $3,loop # U : more?
482 and $16, 0x3f, $2 # E : Forward work (only useful for unrolled loop)
489 * through unrolled loop. Do a quad at a time to get us 0mod64
517 * Assumes the wh64 needs to be for 2 trips through the loop in the future
519 * through the loop, and if there are less than two trips left, the target
541 subq $3, 16, $2 # E : Repeat the loop at least once more?
556 * Simple loop for trailing quadwords, or for small amounts
557 * of data (where we can't use an unrolled loop and wh64)
H A Dclear_user.S45 $loop:
88 beq $4, $loop # .. e1 :
99 br $loop # e1 :
H A Dstrchr.S24 andnot a0, 7, v0 # .. e1 : align our loop pointer
40 $loop: ldq t0, 8(v0) # e0 :
47 beq t0, $loop # .. e1 (zdb)
H A Dev67-strchr.S38 andnot a0, 7, v0 # E : align our loop pointer
63 * Yuk. This loop is going to stall like crazy waiting for the
68 $loop: ldq t0, 8(v0) # L : Latency=3
76 beq t0, $loop # U :
H A Dstrrchr.S42 /* Character search main loop */
43 $loop:
51 beq t1, $loop # .. e1 : if we havnt seen a null, loop
H A Dev67-strcat.S43 $loop: ldq $1, 8($16) # L :
46 beq $2, $loop # U :
H A Dstrncat.S35 $loop: ldq $1, 8($16)
38 beq $2, $loop
H A Dev6-copy_page.S26 loop code. In theory, EV6 should be able to execute this loop in
52 further by unrolling the loop and doing multiple prefetches per cycle.
103 /* Main prefetching/write-hinting loop. */
171 /* Non-prefetching, non-write-hinting cleanup loop for the
H A Dev67-strrchr.S64 /* Character search main loop */
65 $loop:
78 beq t1, $loop # U : if we havnt seen a null, loop
H A Dev67-strncat.S49 $loop: ldq $1, 8($16) # L :
52 beq $2, $loop # U :
H A Dmemset.S77 loop: label
81 bne $3,loop /* .. E1 */
/linux-4.4.14/include/asm-generic/
H A Dtimex.h17 * and define this in order to avoid the expensive delay loop
/linux-4.4.14/arch/score/include/asm/
H A Ddelay.h8 /* 3 cycles per loop. */ __delay()
/linux-4.4.14/tools/perf/util/
H A Dintlist.h61 * @pos: the &struct int_node to use as a loop cursor.
62 * @ilist: the &struct intlist for loop.
70 * @pos: the &struct int_node to use as a loop cursor.
72 * @ilist: the &struct intlist for loop.
H A Dstrlist.h66 * @pos: the &struct str_node to use as a loop cursor.
67 * @slist: the &struct strlist for loop.
75 * @pos: the &struct str_node to use as a loop cursor.
77 * @slist: the &struct strlist for loop.
H A Dlevenshtein.c22 * In other words, at the start of the big loop, row2[j + 1] contains the
26 * All the big loop does is determine the partial minimum-cost paths.
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
H A DMakefile23 instruction_count_test: ../loop.S
H A Dinstruction_count_test.c17 * Run a calibrated instruction loop and count instructions executed using
69 /* Count how many instructions it takes to do a null loop */ determine_overhead()
132 printf("Overhead of null loop: %lu instructions\n", overhead); instruction_count()
H A Dcycles_with_freeze_test.c78 /* Make sure we loop until we take at least one EBB */ cycles_with_freeze()
94 printf("Outside of loop, FC NOT set MMCR0 0x%lx\n", val); cycles_with_freeze()
/linux-4.4.14/arch/arm/mach-zx/
H A Dzx296702-pm-domain.c41 unsigned long loop = 1000; normal_power_off() local
64 } while (--loop && !tmp); normal_power_off()
66 if (!loop) { normal_power_off()
77 unsigned long loop = 10000; normal_power_on() local
85 } while (--loop && tmp); normal_power_on()
87 if (!loop) { normal_power_on()
/linux-4.4.14/arch/frv/kernel/
H A Dgdb-stub.c248 int loop = 0; gdbstub_strcpy() local
249 while ((dst[loop] = src[loop])) gdbstub_strcpy()
250 loop++; gdbstub_strcpy()
847 int bkpt, loop, xloop; gdbstub_set_breakpoint() local
870 for (loop = 0; loop < len/4; loop++) gdbstub_set_breakpoint()
871 if (!gdbstub_read_dword(&((uint32_t *) addr)[loop], gdbstub_set_breakpoint()
872 &gdbstub_bkpts[bkpt].originsns[loop])) gdbstub_set_breakpoint()
875 for (loop = 0; loop < len/4; loop++) gdbstub_set_breakpoint()
876 if (!gdbstub_write_dword(&((uint32_t *) addr)[loop], gdbstub_set_breakpoint()
880 for (xloop = 0; xloop < loop; xloop++) gdbstub_set_breakpoint()
951 for (loop = 0; loop < len; loop++) gdbstub_set_breakpoint()
952 dbmr.bytes[tmp + loop] = 0; gdbstub_set_breakpoint()
1011 int bkpt, loop; gdbstub_clear_breakpoint() local
1033 for (loop = 0; loop < len/4; loop++) gdbstub_clear_breakpoint()
1034 if (!gdbstub_write_dword(&((uint32_t *) addr)[loop], gdbstub_clear_breakpoint()
1035 gdbstub_bkpts[bkpt].originsns[loop])) gdbstub_clear_breakpoint()
1090 for (loop = 0; loop < len; loop++) gdbstub_clear_breakpoint()
1091 dbmr.bytes[tmp + loop] = 0; gdbstub_clear_breakpoint()
1182 int loop; gdbstub_show_regs() local
1191 for (loop = 0; loop < NR_PT_REGS; loop++) { gdbstub_show_regs()
1192 printk("%s %08lx", regnames[loop + 0], reg[loop + 0]); gdbstub_show_regs()
1194 if (loop == NR_PT_REGS - 1 || loop % 5 == 4) gdbstub_show_regs()
1311 int loop; gdbstub_get_mmu_state() local
1322 for (loop = 0; loop < 64; loop++) { gdbstub_get_mmu_state()
1323 asm volatile("tlbpr %0,gr0,#1,#0" :: "r"(loop << PAGE_SHIFT)); gdbstub_get_mmu_state()
1331 for (loop = 0; loop < 64; loop++) { gdbstub_get_mmu_state()
1332 asm volatile("tlbpr %0,gr0,#1,#0" :: "r"(loop << PAGE_SHIFT)); gdbstub_get_mmu_state()
1395 unsigned long addr, length, loop, dbar, temp, temp2, temp3; gdbstub() local
1611 for (loop = 1; loop <= 27; loop++) gdbstub()
1612 ptr = mem2hex(&__debug_user_context->i.gr[loop], ptr, 4, 0); gdbstub()
1624 for (loop = 32; loop <= 63; loop++) gdbstub()
1625 ptr = mem2hex(&__debug_user_context->i.gr[loop], ptr, 4, 0); gdbstub()
1628 for (loop = 0; loop <= 63; loop++) gdbstub()
1629 ptr = mem2hex(&__debug_user_context->f.fr[loop], ptr, 4, 0); gdbstub()
1667 for (loop = 0; loop <= 7; loop++) gdbstub()
1668 ptr = mem2hex(&__debug_user_context->f.acc[loop], ptr, 4, 0); gdbstub()
1672 for (loop = 0; loop <= 1; loop++) gdbstub()
1673 ptr = mem2hex(&__debug_user_context->f.msr[loop], ptr, 4, 0); gdbstub()
1690 for (loop = 1; loop <= 27; loop++) gdbstub()
1691 ptr = hex2mem(ptr, &__debug_user_context->i.gr[loop], 4); gdbstub()
1703 for (loop = 32; loop <= 63; loop++) gdbstub()
1704 ptr = hex2mem(ptr, &__debug_user_context->i.gr[loop], 4); gdbstub()
1707 for (loop = 0; loop <= 63; loop++) gdbstub()
1708 ptr = mem2hex(&__debug_user_context->f.fr[loop], ptr, 4, 0); gdbstub()
1716 for (loop = 132; loop <= 140; loop++) gdbstub()
1735 for (loop = 0; loop <= 7; loop++) gdbstub()
1736 ptr = hex2mem(ptr, &__debug_user_context->f.acc[loop], 4); gdbstub()
1740 for (loop = 0; loop <= 1; loop++) gdbstub()
1741 ptr = hex2mem(ptr, &__debug_user_context->f.msr[loop], 4); gdbstub()
H A Dtraps.c497 int loop; show_regs() local
507 for (loop = 0; loop < NR_PT_REGS; loop++) { show_regs()
508 printk("%s %08lx", regnames[loop + 0], reg[loop + 0]); show_regs()
510 if (loop == NR_PT_REGS - 1 || loop % 5 == 4) show_regs()
545 int loop; show_backtrace_regs() local
553 for (loop = 0; loop < NR_PT_REGS; loop++) { show_backtrace_regs()
554 printk("%s %08lx", regnames[loop + 0], reg[loop + 0]); show_backtrace_regs()
556 if (loop == NR_PT_REGS - 1 || loop % 5 == 4) show_backtrace_regs()
606 /* dump frame 0 outside of the loop */ show_backtrace()
H A Dsetup.c287 int loop; dump_memory_map()
288 for (loop = 1; loop <= 7; loop++) { dump_memory_map()
289 unsigned long lcr = __get_LCR(loop), lsbr = __get_LSBR(loop); dump_memory_map()
291 loop, dump_memory_map()
292 lsbr, lsbr + __get_LSAM(loop), dump_memory_map()
621 /* calculate the number of __delay() loop iterations per sec (2 insn loop) */ determine_clocks()
708 * calibrate the delay loop
714 printk("Calibrating delay loop... %lu.%02lu BogoMIPS\n", calibrate_delay()
1135 int loop; mb93090_sendlcdcmd() local
1142 for (loop = 10000; loop > 0; loop--) mb93090_sendlcdcmd()
/linux-4.4.14/arch/frv/include/asm/
H A Ddelay.h19 * delay loop - runs at __core_clock_speed_HZ / 2 [there are 2 insns in the loop]
/linux-4.4.14/arch/cris/arch-v10/lib/
H A 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
H A 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
H A Dcsumcpfruser.S32 ;; Here from the movem loop; restore stack.
38 ;; Here from the word loop; r12 is off by 2; add it back.
H A Dusercopy.c105 ;; Update n for the first loop \n\ __copy_user()
120 addq 44,$r12 ;; compensate for last loop underflowing n \n\ __copy_user()
128 ; we jump back into the loop if the loop-branch was taken. There is no \n\ __copy_user()
153 /* Either we directly start copying, using dword copying in a loop, or __copy_user()
271 ;; Update n for the first loop \n\ __copy_user_zeroing()
280 addq 44,$r12 ;; compensate for last loop underflowing n \n\ __copy_user_zeroing()
287 ;; Do not jump back into the loop if we fail. For some uses, we get a \n\ __copy_user_zeroing()
316 /* Either we directly start copying here, using dword copying in a loop, __copy_user_zeroing()
339 movem loop. The *_3 case *will* get the correct count for retn. */ __copy_user_zeroing()
455 ;; Update n for the first loop \n\ __do_clear_user()
462 addq 12*4,$r12 ;; compensate for last loop underflowing n\n\ __do_clear_user()
/linux-4.4.14/arch/powerpc/include/asm/
H A Ddelay.h25 * result in large errors. While each iteration of the loop inside mdelay
45 * @condition when the loop terminates. This allows you to determine the cause
46 * of the loop terminates. If the return value is zero, then you know a
50 * until a status bit changes. The timeout ensures that the loop still
H A Drunlatch.h14 * in the idle loop and we don't want to mess up
/linux-4.4.14/arch/tile/lib/
H A Dspinlock_common.h17 * The mfspr in __spinlock_relax() is 5 or 6 cycles plus 2 for loop
43 * 2^exponent is how many times we go around the loop, delay_backoff()
45 * loop, so we need to go around minimum 2 = 2^1 times, so we delay_backoff()
H A Dmemset_32.c28 /* Experimentation shows that a trivial tight loop is a win up until memset()
42 * write this loop. memset()
74 /* This must be at least 8 or the following loop doesn't work. */ memset()
H A Dmemset_64.c28 /* Experimentation shows that a trivial tight loop is a win up until memset()
42 * write this loop. memset()
73 /* This must be at least 8 or the following loop doesn't work. */ memset()
H A Dmemcpy_32.S107 /* Copying >= 256 bytes, so jump to complex prefetching loop. */
112 * Aligned 4 byte at a time copy loop
167 /* On entry to this loop:
170 * - r2 >= (256 - 60), only the first time the loop trips.
205 * loop. Might as well get it out of the way now.
245 * benefit of the final cleanup loop. But we don't want to
248 * branch to top of loop to execute final prefetch, and its
421 /* This loop runs twice.
425 * the second. It is incremented inside the loop. Encountering
426 * an even value at the end of the loop makes it stop.
524 /* byte-at-a-time loop faulted, so zero the rest. */
H A Dmemmove.c47 /* Manually software-pipeline this loop. */ memmove()
/linux-4.4.14/arch/mn10300/mm/
H A Dinit.c52 int loop; paging_init() local
61 for (loop = VMALLOC_START / (PAGE_SIZE * PTRS_PER_PTE); paging_init()
62 loop < VMALLOC_END / (PAGE_SIZE * PTRS_PER_PTE); paging_init()
63 loop++ paging_init()
65 set_pgd(swapper_pg_dir + loop, __pgd(__pa(ppte) | _PAGE_TABLE)); paging_init()
/linux-4.4.14/arch/arm/mach-socfpga/
H A Dself-refresh.S53 * r3 : loop counter
55 * return value: lower 16 bits: loop count going into self refresh
56 * upper 16 bits: loop count exiting self refresh
120 * Shift loop count for exiting self refresh into upper 16 bits.
121 * Leave loop count for requesting self refresh in lower 16 bits.
/linux-4.4.14/fs/
H A Dbinfmt_elf_fdpic.c146 int retval, loop; elf_fdpic_fetch_phdrs() local
165 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { elf_fdpic_fetch_phdrs()
504 int loop; create_elf_fdpic_tables() local
686 for (loop = bprm->argc; loop > 0; loop--) { create_elf_fdpic_tables()
698 for (loop = bprm->envc; loop > 0; loop--) { create_elf_fdpic_tables()
770 int loop, ret; elf_fdpic_map_file() local
774 for (loop = 0; loop < params->hdr.e_phnum; loop++) elf_fdpic_map_file()
775 if (params->phdrs[loop].p_type == PT_LOAD) elf_fdpic_map_file()
814 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { elf_fdpic_map_file()
830 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { elf_fdpic_map_file()
839 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { elf_fdpic_map_file()
855 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { elf_fdpic_map_file()
860 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { elf_fdpic_map_file()
893 for (loop = 1; loop < nloads; loop++) { elf_fdpic_map_file()
920 for (loop = 0; loop < loadmap->nsegs; loop++, seg++) elf_fdpic_map_file()
922 loop, elf_fdpic_map_file()
947 int loop, ret; elf_fdpic_map_file_constdisp_on_uclinux() local
955 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { elf_fdpic_map_file_constdisp_on_uclinux()
956 if (params->phdrs[loop].p_type != PT_LOAD) elf_fdpic_map_file_constdisp_on_uclinux()
980 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { elf_fdpic_map_file_constdisp_on_uclinux()
981 if (params->phdrs[loop].p_type != PT_LOAD) elf_fdpic_map_file_constdisp_on_uclinux()
1035 int loop, dvset; elf_fdpic_map_file_by_direct_mmap() local
1045 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { elf_fdpic_map_file_by_direct_mmap()
1111 loop, phdr->p_memsz + disp, prot, flags, elf_fdpic_map_file_by_direct_mmap()
1132 kdebug("clear[%d] ad=%lx sz=%lx", loop, maddr, disp); elf_fdpic_map_file_by_direct_mmap()
1157 loop, xaddr, excess - excess1, prot, flags, elf_fdpic_map_file_by_direct_mmap()
1166 loop, maddr + phdr->p_filesz, excess1); elf_fdpic_map_file_by_direct_mmap()
1175 loop, maddr + phdr->p_filesz, excess); elf_fdpic_map_file_by_direct_mmap()
/linux-4.4.14/arch/metag/lib/
H A 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/include/linux/
H A Dhashtable.h117 * @bkt: integer to use as bucket loop cursor
118 * @obj: the type * to use as a loop cursor for each entry
129 * @bkt: integer to use as bucket loop cursor
130 * @obj: the type * to use as a loop cursor for each entry
142 * @bkt: integer to use as bucket loop cursor
144 * @obj: the type * to use as a loop cursor for each entry
156 * @obj: the type * to use as a loop cursor for each entry
168 * @obj: the type * to use as a loop cursor for each entry
180 * @obj: the type * to use as a loop cursor for each entry
195 * @obj: the type * to use as a loop cursor for each entry
H A Dlist_bl.h136 * @tpos: the type * to use as a loop cursor.
137 * @pos: the &struct hlist_node to use as a loop cursor.
150 * @tpos: the type * to use as a loop cursor.
151 * @pos: the &struct hlist_node to use as a loop cursor.
H A Dlist_nulls.h93 * @tpos: the type * to use as a loop cursor.
94 * @pos: the &struct hlist_node to use as a loop cursor.
107 * @tpos: the type * to use as a loop cursor.
108 * @pos: the &struct hlist_node to use as a loop cursor.
H A Ddelay.h23 * while loop for the common cases where n <= MAX_UDELAY_MS -- Paul G.
H A Dbit_spinlock.h19 * the body of the outer loop. If it is contended, then bit_spin_lock()
20 * within the inner loop a non-atomic test is used to bit_spin_lock()
H A Dof_graph.h34 * @child: loop variable pointing to the current endpoint node
36 * When breaking out of the loop, of_node_put(child) has to be called manually.
H A Dlist.h405 * @pos: the &struct list_head to use as a loop cursor.
413 * @pos: the &struct list_head to use as a loop cursor.
421 * @pos: the &struct list_head to use as a loop cursor.
431 * @pos: the &struct list_head to use as a loop cursor.
442 * @pos: the type * to use as a loop cursor.
453 * @pos: the type * to use as a loop cursor.
475 * @pos: the type * to use as a loop cursor.
489 * @pos: the type * to use as a loop cursor.
503 * @pos: the type * to use as a loop cursor.
515 * @pos: the type * to use as a loop cursor.
528 * @pos: the type * to use as a loop cursor.
544 * @pos: the type * to use as a loop cursor.
559 * @pos: the type * to use as a loop cursor.
574 * list_safe_reset_next - reset a stale list_for_each_entry_safe loop
575 * @pos: the loop cursor used in the list_for_each_entry_safe loop
580 * modified concurrently (eg. the lock is dropped in the loop body). An
583 * completing the current iteration of the loop body.
710 * @pos: the type * to use as a loop cursor.
721 * @pos: the type * to use as a loop cursor.
731 * @pos: the type * to use as a loop cursor.
740 * @pos: the type * to use as a loop cursor.
H A Drculist_nulls.h103 * @tpos: the type * to use as a loop cursor.
104 * @pos: the &struct hlist_nulls_node to use as a loop cursor.
109 * as this loop can be restarted [2]
H A Dplist.h148 * @pos: the type * to use as a loop counter
156 * @pos: the type * to use as a loop cursor
166 * @pos: the type * to use as a loop counter
177 * @pos: the type * to use as a loop counter
186 * @pos: the type * to use as a loop cursor
198 * @pos: the type * to use as a loop counter
H A Drhashtable.h377 * @pos: the &struct rhash_head to use as a loop cursor.
389 * @pos: the &struct rhash_head to use as a loop cursor.
398 * @tpos: the type * to use as a loop cursor.
399 * @pos: the &struct rhash_head to use as a loop cursor.
412 * @tpos: the type * to use as a loop cursor.
413 * @pos: the &struct rhash_head to use as a loop cursor.
424 * @tpos: the type * to use as a loop cursor.
425 * @pos: the &struct rhash_head to use as a loop cursor.
426 * @next: the &struct rhash_head to use as next in loop cursor.
432 * remove the loop cursor from the list.
445 * @pos: the &struct rhash_head to use as a loop cursor.
462 * @pos: the &struct rhash_head to use as a loop cursor.
475 * @tpos: the type * to use as a loop cursor.
476 * @pos: the &struct rhash_head to use as a loop cursor.
494 * @tpos: the type * to use as a loop cursor.
495 * @pos: the &struct rhash_head to use as a loop cursor.
/linux-4.4.14/drivers/macintosh/
H A Dwindfarm_pm121.c94 * dependencies, we must trigger HD loop before OD loop before CPU
95 * loop.
100 * HD Fan control loop.
122 * OD Fan control loop.
144 * GPU Fan control loop.
166 * KODIAK (aka northbridge) Fan control loop.
188 * CPU Fan control loop.
195 * CPU Slew control loop.
248 /* Set to kick the control loop into life */
257 /* All sys loops. Note the HD before the OD loop in order to have it
355 /* Since each loop handles only one control and we want to avoid
357 * loop params. Some data are not set, there are common to all loop
370 /* GPU Fan control loop */
385 /* HD Fan control loop */
400 /* KODIAK Fan control loop */
415 /* OD Fan control loop */
438 /* State data used by the system fans control loop
455 /* State data used by the cpu fans control loop
573 pr_debug("pm121: %s Fan control loop initialized.\n" pm121_create_sys_fans()
580 /* note that this is not optimal since another loop may still pm121_create_sys_fans()
582 printk(KERN_WARNING "pm121: failed to set up %s loop " pm121_create_sys_fans()
691 "CPU control loop (%d)\n", piddata->history_len); pm121_create_cpu_fans()
867 * the control loop levels, but we don't want to keep it clear pm121_tick()
H A Dwindfarm_pm81.c19 * System Fans control loop. Different based on models. In addition to the
20 * usual PID algorithm, the control loop gets 2 additional pairs of linear
29 * - the value of the target of the CPU Fan control loop is retrieved,
69 * CPU Fan control loop. The loop is identical for all models. it
71 * systems fan control loop target result (the one before it gets scaled
72 * by the System Fans control loop itself). Then, the max value of the
80 * CPU Slew control loop. Not implemented. The cpufreq driver in linux is
85 * WARNING ! The CPU control loop requires the CPU tmax for the current
142 /* Set to kick the control loop into life */
159 /* Parameters for the System Fans control loop. Parameters
177 /* State data used by the system fans control loop
191 * Configs for SMU System Fan control loop
246 /* State data used by the cpu fans control loop
436 "CPU control loop (%d)\n", piddata->history_len); wf_smu_create_cpu_fans()
603 * the control loop levels, but we don't want to keep it clear wf_smu_tick()
H A Dwindfarm_pid.h36 int first; /* first run of the loop */
71 int first; /* first run of the loop */
/linux-4.4.14/arch/parisc/kernel/
H A Dpacache.S89 movb,<,n %arg3, %r31, fitdone /* If loop < 0, skip */
95 copy %arg2, %r29 /* Init middle loop count */
98 addib,COND(>) -1, %r31, fitmanymiddle /* Adjusted inner loop decr */
101 addib,COND(>) -1, %r29, fitmanymiddle /* Middle loop decr */
102 copy %arg3, %r31 /* Re-init inner loop count */
105 addib,COND(<=),n -1, %r22, fitdone /* Outer loop count decr */
110 copy %arg2, %r29 /* init middle loop count */
113 addib,COND(>) -1, %r29, fitonemiddle /* Middle loop count decr */
114 pitlbe,m %arg1(%sr1, %r28) /* pitlbe for one loop */
116 addib,COND(>) -1, %r22, fitoneloop /* Outer loop count decr */
132 movb,<,n %arg3, %r31, fdtdone /* If loop < 0, skip */
138 copy %arg2, %r29 /* Init middle loop count */
141 addib,COND(>) -1, %r31, fdtmanymiddle /* Adjusted inner loop decr */
144 addib,COND(>) -1, %r29, fdtmanymiddle /* Middle loop decr */
145 copy %arg3, %r31 /* Re-init inner loop count */
148 addib,COND(<=),n -1, %r22,fdtdone /* Outer loop count decr */
153 copy %arg2, %r29 /* init middle loop count */
156 addib,COND(>) -1, %r29, fdtonemiddle /* Middle loop count decr */
157 pdtlbe,m %arg1(%sr1, %r28) /* pdtlbe for one loop */
159 addib,COND(>) -1, %r22, fdtoneloop /* Outer loop count decr */
210 rsm PSW_SM_I, %r22 /* No mmgt ops during loop*/
213 movb,<,n %arg3, %r31, fisync /* If loop < 0, do sync */
216 addib,COND(>) -1, %r31, fimanyloop /* Adjusted inner loop decr */
219 movb,tr %arg3, %r31, fimanyloop /* Re-init inner loop count */
220 addib,COND(<=),n -1, %arg2, fisync /* Outer loop decr */
249 addib,COND(>) -1, %arg2, fioneloop2 /* Outer loop count decr */
250 fice,m %arg1(%sr1, %arg0) /* Fice for one loop */
277 rsm PSW_SM_I, %r22 /* No mmgt ops during loop*/
280 movb,<,n %arg3, %r31, fdsync /* If loop < 0, do sync */
283 addib,COND(>) -1, %r31, fdmanyloop /* Adjusted inner loop decr */
286 movb,tr %arg3, %r31, fdmanyloop /* Re-init inner loop count */
287 addib,COND(<=),n -1, %arg2, fdsync /* Outer loop decr */
316 addib,COND(>) -1, %arg2, fdoneloop2 /* Outer loop count decr */
317 fdce,m %arg1(%sr1, %arg0) /* Fdce for one loop */
366 /* Unroll the loop. */
436 * Unroll the loop by hand and arrange insn appropriately.
492 * This loop is optimized for PCXL/PCXL2 ldw/ldw and stw/stw
634 * Unroll the loop by hand and arrange insn appropriately.
694 * This loop is optimized for PCXL/PCXL2 ldw/ldw and stw/stw
/linux-4.4.14/arch/x86/lib/
H A Dmemcpy_32.c29 /* Handle more 16 bytes in loop */ memmove()
54 * We gobble 16 bytes forward in each loop. memmove()
120 * We gobble 16 bytes backward in each loop. memmove()
H A Dcopy_user_64.S78 jb 20f /* less then 8 bytes, go to byte copy loop */
180 jb 2f /* less than 8 bytes, go to byte copy loop */
258 /* Perform 4x8-byte nocache loop-copy */
288 /* Perform 8-byte nocache loop-copy */
323 /* Perform byte "cache" loop-copy for the remainder */
H A Dcsum-partial_64.c31 * Unrolling to an 128 bytes inner loop.
67 /* main loop using 64byte blocks */ do_csum()
H A Ddelay.c29 /* simple loop based delay: */ delay_loop()
89 * counts with TSC frequency. The input value is the loop of the
/linux-4.4.14/drivers/pcmcia/
H A Dpcmcia_cis.c32 * @function: the device function we loop for
71 * pccard_loop_tuple() - loop over tuples in the CIS
73 * @function: the device function we loop for
83 * returns 0, the loop exits. Returns 0 on success or errorcode otherwise.
251 * pcmcia_loop_config() - loop over configuration options
252 * @p_dev: the struct pcmcia_device which we need to loop for.
305 struct pcmcia_loop_mem *loop = priv; pcmcia_do_loop_tuple() local
307 return loop->loop_tuple(loop->p_dev, tuple, loop->priv_data); pcmcia_do_loop_tuple()
311 * pcmcia_loop_tuple() - loop over tuples in the CIS
312 * @p_dev: the struct pcmcia_device which we need to loop for.
320 * returns 0, the loop exits. Returns 0 on success or errorcode otherwise.
328 struct pcmcia_loop_mem loop = { pcmcia_loop_tuple() local
334 &loop, pcmcia_do_loop_tuple); pcmcia_loop_tuple()
369 * @p_dev: the struct pcmcia_device which we need to loop for.
/linux-4.4.14/arch/mips/kernel/
H A Dsync-r4k.c49 * We loop a few times to get a primed instruction cache, synchronise_count_master()
60 /* slaves loop on '!= 2' */ synchronise_count_master()
70 * Everyone initialises count in the last loop: synchronise_count_master()
120 * Everyone initialises count in the last loop: synchronise_count_slave()
/linux-4.4.14/arch/s390/kernel/vdso32/
H A Dclock_gettime.S36 tml %r4,0x0001 /* pending update ? loop */
79 tml %r4,0x0001 /* pending update ? loop */
89 tml %r4,0x0001 /* pending update ? loop */
99 tml %r4,0x0001 /* pending update ? loop */
/linux-4.4.14/arch/sh/lib/
H A Ddelay.c15 * normally taking two cycles each loop, as with all __delay()
/linux-4.4.14/arch/ia64/lib/
H A Dmemcpy.S42 * so, we handle everything with no taken branches (other than the loop
98 brp.loop.imp 1b, 2f
113 * copy loop. This performs relatively poorly on Itanium, but it doesn't
121 brp.loop.imp 1f, 2f
135 * It is faster to put a stop bit in the loop here because it makes
142 brp.loop.imp 1b, 2f
158 * if the source is also aligned. If so, we do a simple load/store-loop
161 * is not aligned, we branch off to the non-congruent loop.
279 brp.loop.imp 1b, 2f \
H A Dstrlen.S25 // loop unroll using rotating registers.
57 // - we don't use the epilogue counter to exit the loop but we need to set
60 // - after the loop we must test for Nat values because neither the
119 (p6) br.wtop.dptk 1b // loop until p6 == 0
139 (p8) mov val1=val2 // the other test got us out of the loop
155 // mechanism. that's why the loop is not as good as the previous one
172 cmp.eq p0,p6=r0,r0 // nullify first ld8 in loop
183 (p6) br.wtop.dptk 2b // loop until p6 == 0
H A Dclear_user.S36 // in which case we do the byte by byte loop.
39 // the head part, the body is a 16byte store loop and we finish we the
76 // the various counters compared to how long the loop is supposed
85 // .Lexit4: comes from byte by byte loop
129 // 16bytes/iteration core loop
132 // we come into the loop only when we are 16-byte aligned.
188 // .Lexit3: comes from core loop, need restore pr/lc
H A Dcopy_page_mck.S27 * We use a software-pipelined loop to control the overall operation. The pipeline
36 * This all sounds very complicated, but thanks to the modulo-scheduled loop support,
40 * as the separate .prefetch_loop. Logically, this loop performs exactly like the
41 * main-loop (.line_copy), but has all known-to-be-predicated-off instructions removed,
42 * so that each loop iteration is faster (again, good for cached case).
115 mov ar.ec = 1 // special unrolled loop
130 // same as .line_copy loop, but with all predicated-off instructions removed:
H A Dstrlen_user.S29 // loads and loop unroll using rotating registers.
60 // - we don't use the epilogue counter to exit the loop but we need to set
63 // - after the loop we must test for Nat values because neither the
122 (p6) br.wtop.dptk.few 1b // loop until p6 == 0
158 // mechanism. that's why the loop is not as good as the previous one
169 cmp.eq p0,p6=r0,r0 // nullify first ld8 in loop
180 (p6) br.wtop.dptk.few 2b // loop until p6 == 0
H A Ddo_csum.S21 * back-to-back 8-byte words per loop. Clean up the initialization
22 * for the loop. Support the cases where load latency = 1 or 2.
31 // we can checksum 16 bytes/loop. Before reaching that point we must
35 // before entering the core loop, if any. The checksum is a sum so it
43 // We use a (LOAD_LATENCY+2)-stage pipeline in the loop to account for
49 // This version avoids synchronization in the core loop by also using a
71 // | | LOAD_LATENCY+1 : final checksum when out of the loop
179 // load two back-to-back 8-byte words per loop thereafter.
207 // Calculate the checksum loading two 8-byte words per loop.
211 shr.u count=count,1 // we do 16 bytes per loop
216 brp.loop.imp 1f,2f
H A Dmemset.S14 we get to a 16B-aligned address, then loop on 128 B chunks using an
15 early store as prefetching, then loop on 32B chucks, then clear remaining
134 mov loopcnt = PREF_AHEAD-1 // default prefetch loop
143 add tmp = -1, linecnt // next loop count
204 mov loopcnt = PREF_AHEAD-1 // default prefetch loop
213 add tmp = -1, linecnt // next loop count
H A Dclear_page.S35 mov r16 = PAGE_SIZE/L3_LINE_SIZE-1 // main loop count, -1=repeat/until
/linux-4.4.14/arch/m68k/fpsp040/
H A 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/arch/arm/kernel/
H A Darch_timer.c28 /* Use the architected timer for the delay loop. */ arch_timer_delay_timer_register()
/linux-4.4.14/drivers/scsi/pcmcia/
H A Dnsp_message.c27 nsp_dbg(NSP_DEBUG_MSGINOCCUR, "msgin loop"); nsp_message_in()
66 nsp_dbg(NSP_DEBUG_MSGOUTOCCUR, "msgout loop"); nsp_message_out()
/linux-4.4.14/drivers/block/
H A Dloop.h2 * loop.h
18 #include <uapi/linux/loop.h>
H A DMakefile17 obj-$(CONFIG_BLK_DEV_LOOP) += loop.o
H A Dloop.c2 * linux/drivers/block/loop.c
27 * Maximum number of loop devices now dynamic via max_loop module parameter.
30 * Maximum number of loop devices when compiled-in now selectable by passing
39 * Support up to 256 loop devices
79 #include "loop.h"
184 * size of loop is bigger than the backing device's and the loop __loop_update_dio()
256 "loop: Transfer error at byte offset %llu, length %i.\n", lo_do_transfer()
276 "loop: Write error at byte offset %llu, length %i.\n", lo_write_bvec()
485 /* nomerge for loop request queue */ lo_rw_aio()
622 * Helper to flush the IOs in loop, but keeping loop thread running
647 pr_warn("%s: partition scan of loop%d (%s) failed (rc=%d)\n", loop_reread_partitions()
656 * This can only work if the loop device is used read-only, and if the
670 /* the loop device has to be read-only */ loop_change_fd()
715 /* loop sysfs attributes */
807 .name = "loop",
862 &lo->worker, "loop%d", lo->lo_number); loop_prepare_queue()
1024 * If we've explicitly asked to tear down the loop device, loop_clr_fd()
1408 * Transfer 32-bit compatibility structure in userspace to 64-bit loop info
1441 * Transfer 64-bit loop info to 32-bit compatibility structure in userspace
1575 * In autoclear mode, stop the loop thread lo_release()
1607 MODULE_PARM_DESC(max_loop, "Maximum number of loop devices");
1609 MODULE_PARM_DESC(max_part, "Maximum number of partitions per loop device");
1777 * extended minor space, the main loop device numbers will continue loop_add()
1778 * to match the loop minors, regardless of the number of partitions loop_add()
1782 * all loop devices. The minors for the main loop devices will be loop_add()
1802 sprintf(disk->disk_name, "loop%d", i); loop_add()
1943 .name = "loop-control",
1948 MODULE_ALIAS("devname:loop-control");
1989 * create CONFIG_BLK_DEV_LOOP_MIN_COUNT loop devices at module loop_init()
1991 * /dev/loop-control interface, or be instantiated by accessing loop_init()
2002 if (register_blkdev(LOOP_MAJOR, "loop")) { loop_init()
2016 printk(KERN_INFO "loop: module loaded\n"); loop_init()
2042 unregister_blkdev(LOOP_MAJOR, "loop"); loop_exit()
H A Dcryptoloop.c2 Linux loop encryption enabling module
30 #include "loop.h"
33 MODULE_DESCRIPTION("loop blockdevice transferfunction adaptor / CryptoAPI");
/linux-4.4.14/arch/cris/arch-v32/lib/
H A Dcsumcpfruser.S32 ;; Here from the movem loop; restore stack.
38 ;; Here from the word loop; r12 is off by 2; add it back.
H A Dchecksumcopy.S32 addoq -10*4, $acr, $acr ; loop counter in latency cycle
58 addq 10*4,$r12 ; compensate for last loop underflowing length
H A Dusercopy.c93 ;; Update n for the first loop \n\ __copy_user()
101 addq 44,$r12 ;; compensate for last loop underflowing n \n\ __copy_user()
225 ;; Update n for the first loop \n\ __copy_user_zeroing()
235 addq 44,$r12 ;; compensate for last loop underflowing n \n\ __copy_user_zeroing()
241 ;; Do not jump back into the loop if we fail. For some uses, we get a \n\ __copy_user_zeroing()
267 /* Either we directly start copying here, using dword copying in a loop, __copy_user_zeroing()
290 movem loop. The *_3 case *will* get the correct count for retn. */ __copy_user_zeroing()
406 ;; Update n for the first loop \n\ __do_clear_user()
414 addq 12*4,$r12 ;; compensate for last loop underflowing n \n\ __do_clear_user()
H A Dchecksum.S55 addq 10*4,$r11 ; compensate for last loop underflowing length
/linux-4.4.14/include/uapi/linux/
H A Datmdev.h127 #define __ATM_LM_NONE 0 /* no loop back ^ ^ ^ ^ */
128 #define __ATM_LM_AAL 1 /* loop back PDUs --' | | | */
129 #define __ATM_LM_ATM 2 /* loop back ATM cells ---' | | */
130 /* RESERVED 4 loop back on PHY side ---' */
131 #define __ATM_LM_PHY 8 /* loop back bits (digital) ----' | */
132 #define __ATM_LM_ANALOG 16 /* loop back the analog signal --------' */
135 #define __ATM_LM_MKLOC(n) ((n)) /* Local (i.e. loop TX to RX) */
136 #define __ATM_LM_MKRMT(n) ((n) << 8) /* Remote (i.e. loop RX to TX) */
H A Dloop.h2 * include/linux/loop.h
92 /* /dev/loop-control interface */
/linux-4.4.14/arch/hexagon/lib/
H A Dmemset.S55 if p1 jump 2f /* skip byte loop */
60 loop0(1f, r2) /* byte loop */
62 1: /* byte loop */
68 2: /* skip byte loop */
112 if !p0 jump 7f /* skip double loop */
117 loop0(6f, r10) /* double loop */
123 6: /* double loop */
130 7: /* skip double loop */
/linux-4.4.14/tools/testing/selftests/powerpc/tm/
H A Dtm-resched-dscr.c13 * Hard loop checking to see if the transaction has become doomed.
59 /* hard loop until the transaction becomes doomed */ test_body()
/linux-4.4.14/arch/microblaze/lib/
H A Dfastcopy.S66 brid a_xfer_first_loop /* loop */
102 bneid r4, a_block_aligned /* while (n) loop */
161 bneid r4, a_bu3_loop /* while (n) loop */
210 bneid r4, a_bu1_loop /* while (n) loop */
259 bneid r4, a_bu2_loop /* while (n) loop */
279 bneid r4, a_word_aligned /* loop */
303 bneid r4, a_wu3_loop /* while (n) loop */
317 bneid r4, a_wu1_loop /* while (n) loop */
331 bneid r4, a_wu2_loop /* while (n) loop */
346 brid a_xfer_end_loop /* loop */
388 brid d_xfer_first_loop /* loop */
424 bneid r4, d_block_aligned /* while (n) loop */
483 bneid r4, d_bu3_loop /* while (n) loop */
532 bneid r4, d_bu1_loop /* while (n) loop */
581 bneid r4, d_bu2_loop /* while (n) loop */
602 bneid r4, d_word_aligned /* loop */
624 bneid r4, d_wu3_loop /* while (n) loop */
637 bneid r4, d_wu1_loop /* while (n) loop */
650 bneid r4, d_wu2_loop /* while (n) loop */
662 brid d_xfer_end_loop /* loop */
/linux-4.4.14/drivers/pci/hotplug/
H A Dcpqphp_nvram.c243 u8 loop; store_HRT() local
306 loop = 0; store_HRT()
309 loop ++; store_HRT()
325 p_ev_ctrl->mem_avail = loop; store_HRT()
331 loop = 0; store_HRT()
334 loop ++; store_HRT()
350 p_ev_ctrl->p_mem_avail = loop; store_HRT()
356 loop = 0; store_HRT()
359 loop ++; store_HRT()
375 p_ev_ctrl->io_avail = loop; store_HRT()
381 loop = 0; store_HRT()
384 loop ++; store_HRT()
400 p_ev_ctrl->bus_avail = loop; store_HRT()
H A Dcpqphp_core.c179 int loop; pci_print_IRQ_route() local
185 for (loop = 0; loop < len; ++loop) { pci_print_IRQ_route()
186 tbus = cpqhp_routing_table->slots[loop].bus; pci_print_IRQ_route()
187 tdevice = cpqhp_routing_table->slots[loop].devfn; pci_print_IRQ_route()
188 tslot = cpqhp_routing_table->slots[loop].slot; pci_print_IRQ_route()
338 long loop; get_slot_mapping() local
347 for (loop = 0; loop < len; ++loop) { get_slot_mapping()
348 tbus = cpqhp_routing_table->slots[loop].bus; get_slot_mapping()
349 tdevice = cpqhp_routing_table->slots[loop].devfn >> 3; get_slot_mapping()
350 tslot = cpqhp_routing_table->slots[loop].slot; get_slot_mapping()
743 int loop; one_time_init() local
765 for (loop = 0; loop < 256; loop++) one_time_init()
766 cpqhp_slot_list[loop] = NULL; one_time_init()
1310 int loop; unload_cpqphpd() local
1371 for (loop = 0; loop < 256; loop++) { unload_cpqphpd()
1372 next = cpqhp_slot_list[loop]; unload_cpqphpd()
H A Dibmphp_core.c140 int loop; ibmphp_init_devno() local
156 for (loop = 0; loop < len; loop++) { ibmphp_init_devno()
157 if ((*cur_slot)->number == rtable->slots[loop].slot && ibmphp_init_devno()
158 (*cur_slot)->bus == rtable->slots[loop].bus) { ibmphp_init_devno()
159 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn); ibmphp_init_devno()
175 debug("rtable->slots[loop].irq[0].bitmap = %x\n", ibmphp_init_devno()
176 rtable->slots[loop].irq[0].bitmap); ibmphp_init_devno()
177 debug("rtable->slots[loop].irq[1].bitmap = %x\n", ibmphp_init_devno()
178 rtable->slots[loop].irq[1].bitmap); ibmphp_init_devno()
179 debug("rtable->slots[loop].irq[2].bitmap = %x\n", ibmphp_init_devno()
180 rtable->slots[loop].irq[2].bitmap); ibmphp_init_devno()
181 debug("rtable->slots[loop].irq[3].bitmap = %x\n", ibmphp_init_devno()
182 rtable->slots[loop].irq[3].bitmap); ibmphp_init_devno()
184 debug("rtable->slots[loop].irq[0].link = %x\n", ibmphp_init_devno()
185 rtable->slots[loop].irq[0].link); ibmphp_init_devno()
186 debug("rtable->slots[loop].irq[1].link = %x\n", ibmphp_init_devno()
187 rtable->slots[loop].irq[1].link); ibmphp_init_devno()
188 debug("rtable->slots[loop].irq[2].link = %x\n", ibmphp_init_devno()
189 rtable->slots[loop].irq[2].link); ibmphp_init_devno()
190 debug("rtable->slots[loop].irq[3].link = %x\n", ibmphp_init_devno()
191 rtable->slots[loop].irq[3].link); ibmphp_init_devno()
H A Dcpqphp_pci.c246 int loop, len; PCI_GetBusDevHelper() local
251 for (loop = 0; loop < len; ++loop) { PCI_GetBusDevHelper()
252 tbus = cpqhp_routing_table->slots[loop].bus; PCI_GetBusDevHelper()
253 tdevice = cpqhp_routing_table->slots[loop].devfn; PCI_GetBusDevHelper()
254 tslot = cpqhp_routing_table->slots[loop].slot; PCI_GetBusDevHelper()
433 /* this loop skips to the next present function cpqhp_save_config()
454 } /* End of FOR loop */ cpqhp_save_config()
523 /* this loop skips to the next present function cpqhp_save_slot_config()
592 /* FIXME: this loop is duplicated in the non-bridge cpqhp_save_base_addr_length()
628 } /* End of base register loop */ cpqhp_save_base_addr_length()
667 } /* End of base register loop */ cpqhp_save_base_addr_length()
861 } /* End of base register loop */ cpqhp_save_used_resources()
932 } /* End of base register loop */ cpqhp_save_used_resources()
1144 } /* End of base register loop */ cpqhp_valid_replace()
/linux-4.4.14/arch/mn10300/kernel/
H A Dgdb-stub.c224 int loop = 0; gdbstub_strcpy() local
225 while ((dst[loop] = src[loop])) gdbstub_strcpy()
226 loop++; gdbstub_strcpy()
1084 int bkpt, loop, xloop; gdbstub_set_breakpoint() local
1098 for (loop = 0; loop < len; loop++) gdbstub_set_breakpoint()
1099 if (gdbstub_read_byte(&addr[loop], gdbstub_set_breakpoint()
1100 &gdbstub_bkpts[bkpt].origbytes[loop] gdbstub_set_breakpoint()
1107 for (loop = 0; loop < len; loop++) gdbstub_set_breakpoint()
1108 if (gdbstub_write_byte(0xF7, &addr[loop]) < 0) gdbstub_set_breakpoint()
1111 for (loop = 0; loop < len; loop++) gdbstub_set_breakpoint()
1112 if (gdbstub_write_byte(0xFF, &addr[loop]) < 0) gdbstub_set_breakpoint()
1135 for (xloop = 0; xloop < loop; xloop++) gdbstub_set_breakpoint()
1146 int bkpt, loop; gdbstub_clear_breakpoint() local
1165 for (loop = 0; loop < len; loop++) gdbstub_clear_breakpoint()
1166 if (gdbstub_write_byte(gdbstub_bkpts[bkpt].origbytes[loop], gdbstub_clear_breakpoint()
1167 addr + loop) < 0) gdbstub_clear_breakpoint()
1187 int loop; gdbstub() local
1204 /* skip the initial pause loop */ gdbstub()
1417 for (loop = 0; loop < 32; loop++) gdbstub()
1418 ptr = mem2hex(&gdbstub_fpufs_array[loop], gdbstub()
1467 for (loop = 0; loop < 32; loop++) /* 32 - FS0-31 */ gdbstub()
1597 if (!hexToInt(&ptr, &loop) || *ptr++ != ',' || gdbstub()
1607 if (loop != 0 || gdbstub()
1625 if (!hexToInt(&ptr, &loop) || *ptr++ != ',' || gdbstub()
1635 if (loop != 0 || gdbstub()
/linux-4.4.14/drivers/acpi/acpica/
H A Ddscontrol.c82 * If this is an additional iteration of a while loop, continue. acpi_ds_exec_begin_control_op()
90 /* Reset the state to start-of-loop */ acpi_ds_exec_begin_control_op()
113 * of a loop acpi_ds_exec_begin_control_op()
205 /* Predicate was true, the body of the loop was just executed */ acpi_ds_exec_end_control_op()
208 * This loop counter mechanism allows the interpreter to escape acpi_ds_exec_end_control_op()
210 * when the hardware does not respond within a while loop and the acpi_ds_exec_end_control_op()
211 * loop does not implement a timeout. acpi_ds_exec_end_control_op()
221 * Go back and evaluate the predicate and maybe execute the loop acpi_ds_exec_end_control_op()
230 /* Predicate was false, terminate this while loop */ acpi_ds_exec_end_control_op()
/linux-4.4.14/drivers/gpu/drm/gma500/
H A Dintel_gmbus.c276 u32 val, loop = 0; gmbus_xfer() local
288 } while (--len && ++loop < 4); gmbus_xfer()
291 u32 val, loop; gmbus_xfer() local
293 val = loop = 0; gmbus_xfer()
295 val |= *buf++ << (8 * loop); gmbus_xfer()
296 } while (--len && ++loop < 4); gmbus_xfer()
314 val = loop = 0; gmbus_xfer()
316 val |= *buf++ << (8 * loop); gmbus_xfer()
317 } while (--len && ++loop < 4); gmbus_xfer()
/linux-4.4.14/drivers/mmc/host/
H A Dsdricoh_cs.c143 unsigned int loop; sdricoh_query_status() local
146 for (loop = 0; loop < timeout; loop++) { sdricoh_query_status()
153 if (loop == timeout) { sdricoh_query_status()
158 /* do not do this check in the loop as some commands fail otherwise */ sdricoh_query_status()
172 unsigned int loop = 0; sdricoh_mmc_cmd() local
180 for (loop = 0; loop < CMD_TIMEOUT; loop++) { sdricoh_mmc_cmd()
186 /* don't check for timeout in the loop it is not always sdricoh_mmc_cmd()
189 if (loop == CMD_TIMEOUT || status & STATUS_CMD_TIMEOUT) sdricoh_mmc_cmd()
/linux-4.4.14/crypto/asymmetric_keys/
H A Dverify_pefile.c249 unsigned *canon, tmp, loop, i, hashed_bytes; pefile_digest_pe_contents() local
278 for (loop = 1; loop < ctx->n_sections; loop++) { pefile_digest_pe_contents()
279 for (i = 0; i < loop; i++) { pefile_digest_pe_contents()
281 &ctx->secs[loop]) > 0) { pefile_digest_pe_contents()
283 (loop - i) * sizeof(canon[0])); pefile_digest_pe_contents()
287 canon[i] = loop; pefile_digest_pe_contents()
291 for (loop = 0; loop < ctx->n_sections; loop++) { pefile_digest_pe_contents()
292 i = canon[loop]; pefile_digest_pe_contents()
/linux-4.4.14/arch/mips/include/asm/sn/
H A Dlaunch.h21 * corresponding to a target processor that is in a slave loop, then sends
23 * function, then returns to the slave loop. The master may poll or wait
58 * The slave_launch routine turns on the BUSY flag, and the slave loop
H A Dnmi.h21 * corresponding to a target processor that is in a slave loop, then sends
24 * the slave loop. The master does not wait for the slaves before
/linux-4.4.14/drivers/spi/
H A Dspi-bfin5xx.c229 /* clear RXS (we check for RXS inside the loop) */ bfin_spi_u8_writer()
279 /* clear RXS (we check for RXS inside the loop) */ bfin_spi_u16_writer()
385 int loop = 0; bfin_spi_pio_irq_handler() local
398 for (loop = 0; loop < n_bytes / 2; loop++) bfin_spi_pio_irq_handler()
402 for (loop = 0; loop < n_bytes; loop++) bfin_spi_pio_irq_handler()
427 for (loop = 0; loop < n_bytes / 2; loop++) { bfin_spi_pio_irq_handler()
434 for (loop = 0; loop < n_bytes; loop++) { bfin_spi_pio_irq_handler()
444 for (loop = 0; loop < n_bytes / 2; loop++) { bfin_spi_pio_irq_handler()
450 for (loop = 0; loop < n_bytes; loop++) { bfin_spi_pio_irq_handler()
460 for (loop = 0; loop < n_bytes / 2; loop++) { bfin_spi_pio_irq_handler()
466 for (loop = 0; loop < n_bytes; loop++) { bfin_spi_pio_irq_handler()
797 int loop; bfin_spi_pump_transfers() local
800 for (loop = 0; loop < bits_per_word / 16; bfin_spi_pump_transfers()
801 loop++) { bfin_spi_pump_transfers()
806 for (loop = 0; loop < bits_per_word / 8; loop++) bfin_spi_pump_transfers()
/linux-4.4.14/drivers/net/can/
H A Dvcan.c88 int loop; vcan_tx() local
97 loop = skb->pkt_type == PACKET_LOOPBACK; vcan_tx()
102 if (loop) { vcan_tx()
116 if (loop) { vcan_tx()
/linux-4.4.14/arch/x86/purgatory/
H A Dpurgatory.c67 /* loop forever */ purgatory()
/linux-4.4.14/arch/c6x/include/asm/
H A Ddelay.h22 /* 6 cycles per loop */ __delay()
H A Dtraps.h19 #define EXCEPT_CAUSE_LBX (1 << 7) /* loop buffer exception */
/linux-4.4.14/lib/
H A Dmemweight.c29 * The reason that this last loop is distinct from the preceding memweight()
H A Dplist.c222 int nr_expect = 0, i, loop; plist_test() local
230 for (loop = 0; loop < 1000; loop++) { plist_test()
/linux-4.4.14/arch/mips/include/asm/mach-paravirt/
H A Dkernel-entry-init.h35 b 2b # Unknown CPU, loop forever.
/linux-4.4.14/arch/s390/kernel/vdso64/
H A Dclock_gettime.S37 tmll %r4,0x0001 /* pending update ? loop */
63 tmll %r4,0x0001 /* pending update ? loop */
73 tmll %r4,0x0001 /* pending update ? loop */
83 tmll %r4,0x0001 /* pending update ? loop */
H A Dgettimeofday.S30 tmll %r4,0x0001 /* pending update ? loop */
/linux-4.4.14/arch/sh/kernel/
H A Didle.c2 * The idle loop for all SuperH platforms.
/linux-4.4.14/arch/mn10300/lib/
H A Ddelay.c17 * basic delay loop
/linux-4.4.14/arch/parisc/include/asm/
H A Dsmp.h8 ** slave CPUs still in "Icache loop".
/linux-4.4.14/arch/frv/mm/
H A Dpgalloc.c55 int loop; __set_pmd() local
63 for (loop = PME_SIZE; loop > 0; loop -= 4) { __set_pmd()
/linux-4.4.14/arch/arm/lib/
H A DMakefile9 delay.o delay-loop.o findbit.o memchr.o memcpy.o \
H A Ddelay.c30 * Default to the loop-based delay implementation.
93 pr_info("Switching to timer-based delay loop, resolution %lluns\n", res); register_current_timer_delay()
/linux-4.4.14/tools/include/linux/
H A Dlist.h25 * @pos: the &struct list_head to use as a loop cursor, from where to start
/linux-4.4.14/include/linux/iio/frequency/
H A Dad9523.h134 * @rpole2: PLL2 loop filter Rpole resistor value.
135 * @rzero: PLL2 loop filter Rzero resistor value.
136 * @cpole1: PLL2 loop filter Cpole capacitor value.
137 * @rzero_bypass_en: PLL2 loop filter Rzero bypass enable.
/linux-4.4.14/tools/power/cpupower/bench/
H A Dbenchmark.h20 /* load loop, this schould take about 1 to 2ms to complete */
H A Dconfig.h20 /* initial loop count for the load calibration */
/linux-4.4.14/arch/xtensa/variants/fsf/include/variant/
H A Dtie-asm.h33 * (not including zero-overhead loop registers).
48 * (not including zero-overhead loop registers).
/linux-4.4.14/drivers/clk/tegra/
H A Dclk-dfll.c26 * DFLL can be operated in either open-loop mode or closed-loop mode.
27 * In open-loop mode, the DFLL generates an output clock appropriate
28 * to the supply voltage. In closed-loop mode, when configured with a
72 /* DFLL_PARAMS: tuning coefficients for closed loop integrator */
108 /* DFLL_OUTPUT_CFG: closed loop mode control registers */
128 /* DFLL_OUTPUT_FORCE: closed loop mode voltage forcing control */
161 /* DFLL_I2C_VDD_REG_ADDR: PMIC I2C address for closed loop mode */
233 * @DFLL_TUNE_LOW: DFLL in the low-voltage range (or open-loop mode)
480 * Change the DFLL's operating mode between disabled, open-loop mode,
481 * and closed-loop mode, or vice versa.
716 * frequency represented by @req. DFLL must be in closed-loop mode.
744 * settings. In closed-loop mode, update new settings immediately to
746 * until the next switch to closed loop. Returns 0 upon success,
775 * DFLL enable/disable & open-loop <-> closed-loop transitions
779 * dfll_disable - switch from open-loop mode to disabled mode
783 * or -EPERM if the DFLL is not currently in open-loop mode.
800 * dfll_enable - switch a disabled DFLL to open-loop mode
821 * dfll_set_open_loop_config - prepare to switch to open-loop mode
824 * Prepare to switch the DFLL to open-loop mode. This switches the
835 /* always tune low (safe) in open loop */ dfll_set_open_loop_config()
847 * tegra_dfll_lock - switch from open-loop to closed-loop mode
852 * DFLL is not currently in open-loop mode.
883 * tegra_dfll_unlock - switch from closed-loop to open-loop mode
887 * or -EPERM if the DFLL is not currently in open-loop mode.
912 * When the DFLL is being controlled by the CCF, always enter closed loop
1078 * internal monitoring hardware. This works in both open-loop and
1079 * closed-loop mode, and takes the output scaler setting into account.
1250 * program parameters for the closed loop integrator, DVCO tuning,
/linux-4.4.14/arch/arc/lib/
H A Dstrcpy-700.S36 loop: label
49 beq loop
H A Dmemcmp.S29 * loop.
30 * So we move the branch to the start of the loop, duplicate it
H A Dmemset.S11 #define SMALL 7 /* Must be at least 6 to deal with alignment/loop issues. */
/linux-4.4.14/lib/mpi/
H A Dgeneric_mpih-add1.c40 /* The loop counter and index J goes from -SIZE to -1. This way mpihelp_add_n()
41 the loop becomes faster. */ mpihelp_add_n()
H A Dgeneric_mpih-mul1.c40 /* The loop counter and index J goes from -S1_SIZE to -1. This way mpihelp_mul_1()
41 * the loop becomes faster. */ mpihelp_mul_1()
H A Dgeneric_mpih-mul2.c41 /* The loop counter and index J goes from -SIZE to -1. This way mpihelp_addmul_1()
42 * the loop becomes faster. */ mpihelp_addmul_1()
H A Dgeneric_mpih-mul3.c41 /* The loop counter and index J goes from -SIZE to -1. This way mpihelp_submul_1()
42 * the loop becomes faster. */ mpihelp_submul_1()
H A Dgeneric_mpih-sub1.c39 /* The loop counter and index J goes from -SIZE to -1. This way mpihelp_sub_n()
40 the loop becomes faster. */ mpihelp_sub_n()
/linux-4.4.14/kernel/locking/
H A Dqspinlock_paravirt.h167 int loop; pv_wait_node() local
170 for (loop = SPIN_THRESHOLD; loop; loop--) { pv_wait_node()
253 int loop; pv_wait_head() local
263 for (loop = SPIN_THRESHOLD; loop; loop--) { pv_wait_head()
/linux-4.4.14/arch/powerpc/kernel/
H A Didle_book3e.S24 .macro BOOK3E_IDLE name loop
72 \loop
/linux-4.4.14/arch/powerpc/lib/
H A Dcopy_32.S367 /* the main body of the cacheline loop */
423 * this stuff handles faults in the cacheline loop and branches to either
441 /* read fault in cacheline loop */
445 /* or write fault in cacheline loop */
451 /* read fault in final word loop */
454 /* write fault in final word loop */
459 /* read fault in final byte loop */
462 /* write fault in final byte loop */
/linux-4.4.14/arch/m32r/mm/
H A Dcache.c65 while ((mccr = *MCCR) & MCCR_IIV); /* loop while invalidating... */ _flush_cache_all()
87 while ((mccr = *MCCR) & MCCR_IIV); /* loop while invalidating... */ _flush_cache_copyback_all()
/linux-4.4.14/net/netfilter/
H A Dxt_u32.c31 * (=IPv4 and (TCP or UDP)). Outer loop runs over the "&&" operands. u32_match_it()
46 /* Inner loop runs over "&", "<<", ">>" and "@" operands */ u32_match_it()
/linux-4.4.14/arch/m68k/lib/
H A Dchecksum.c61 /* unrolled loop for the main part: do 8 longs at once */ csum_partial()
96 /* loop for rest longs */ csum_partial()
161 /* unrolled loop for the main part: do 8 longs at once */ csum_partial_copy_from_user()
212 /* loop for rest longs */ csum_partial_copy_from_user()
348 /* unrolled loop for the main part: do 8 longs at once */ csum_partial_copy_nocheck()
391 /* loop for rest longs */ csum_partial_copy_nocheck()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dmkregtable.c368 * @pos: the &struct list_head to use as a loop cursor.
377 * @pos: the &struct list_head to use as a loop cursor.
386 * @pos: the &struct list_head to use as a loop cursor.
396 * @pos: the &struct list_head to use as a loop cursor.
407 * @pos: the type * to use as a loop cursor.
418 * @pos: the type * to use as a loop cursor.
440 * @pos: the type * to use as a loop cursor.
454 * @pos: the type * to use as a loop cursor.
468 * @pos: the type * to use as a loop cursor.
480 * @pos: the type * to use as a loop cursor.
493 * @pos: the type * to use as a loop cursor.
509 * @pos: the type * to use as a loop cursor.
524 * @pos: the type * to use as a loop cursor.
/linux-4.4.14/lib/zlib_inflate/
H A Dinftrees.c71 decoding tables are built in the large loop below, the integer codes zlib_inflate_table()
136 Create and fill in decoding tables. In this loop, the table being zlib_inflate_table()
161 sym increments through all symbols, and the loop terminates when zlib_inflate_table()
163 routine permits incomplete codes, so another loop after this one fills zlib_inflate_table()
186 /* initialize state for loop */ zlib_inflate_table()
278 Fill in rest of table for incomplete codes. This loop is similar to the zlib_inflate_table()
279 loop above in incrementing huff for table indices. It is assumed that zlib_inflate_table()
280 len is equal to curr + drop, so there is no loop needed to increment zlib_inflate_table()
281 through high index bits. When the current sub-table is filled, the loop zlib_inflate_table()
/linux-4.4.14/fs/ceph/
H A Dcache.c151 int loop, nr_pages; ceph_fscache_inode_now_uncached() local
165 for (loop = 0; loop < nr_pages; loop++) ceph_fscache_inode_now_uncached()
166 ClearPageFsCache(pvec.pages[loop]); ceph_fscache_inode_now_uncached()
/linux-4.4.14/fs/cifs/
H A Dcache.c300 int loop, nr_pages; cifs_fscache_inode_now_uncached() local
314 for (loop = 0; loop < nr_pages; loop++) cifs_fscache_inode_now_uncached()
315 ClearPageFsCache(pvec.pages[loop]); cifs_fscache_inode_now_uncached()
/linux-4.4.14/init/
H A Dcalibrate.c51 * A simple loop like calibrate_delay_direct()
283 pr_info("Calibrating delay loop (skipped) " calibrate_delay()
288 pr_info("Calibrating delay loop (skipped) " calibrate_delay()
292 pr_info("Calibrating delay loop (skipped), " calibrate_delay()
302 pr_info("Calibrating delay loop... "); calibrate_delay()
/linux-4.4.14/arch/ia64/kernel/
H A Drelocate_kernel.S135 .loop:
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/pci/emu10k1/
H A Demu10k1_patch.c72 /* be sure loop points start < end */ snd_emu10k1_sample_new()
129 /* handle reverse (or bidirectional) loop */ snd_emu10k1_sample_new()
131 /* copy loop in reverse */ snd_emu10k1_sample_new()
149 /* modify loop pointers */ snd_emu10k1_sample_new()
179 /* if no blank loop is attached in the sample, add it */ snd_emu10k1_sample_new()
/linux-4.4.14/sound/synth/emux/
H A Demux_effect.c90 {PARM_WORD, 0, 0xffff, -1, 0}, /* loop start */
91 {PARM_WORD, 0, 0xffff, -1, 0}, /* loop end */
93 {PARM_WORD, 0, 0xffff, -1, 0}, /* coarse loop start */
94 {PARM_WORD, 0, 0xffff, -1, 0}, /* coarse loop end */
262 /* correct sample and loop points */ snd_emux_setup_effect()
/linux-4.4.14/arch/arm/mach-omap2/
H A Dsleep24xx.S9 * Fixed idle loop sleep
79 loop: label
81 bne loop
/linux-4.4.14/drivers/video/fbdev/matrox/
H A Dmatroxfb_accel.c373 u_int32_t loop; matroxfb_cfb4_clear() local
375 for (loop = height; loop > 0; loop --) { matroxfb_cfb4_clear()
382 u_int32_t loop; matroxfb_cfb4_clear() local
384 for (loop = height; loop > 0; loop --) { matroxfb_cfb4_clear()
/linux-4.4.14/drivers/media/pci/saa7164/
H A Dsaa7164-cmd.c137 int loop = 1; saa7164_cmd_dequeue() local
144 while (loop) { saa7164_cmd_dequeue()
352 u32 loop; saa7164_cmd_send() local
411 loop = 1; saa7164_cmd_send()
412 while (loop) { saa7164_cmd_send()
413 dprintk(DBGLVL_CMD, "%s() loop\n", __func__); saa7164_cmd_send()
416 dprintk(DBGLVL_CMD, "%s() loop ret = %d\n", __func__, ret); saa7164_cmd_send()
572 } /* (loop) */ saa7164_cmd_send()
/linux-4.4.14/drivers/media/tuners/
H A Dtda18271.h72 /* slave tuner output & loop thru & xtal oscillator always on */
75 /* slave tuner output loop thru off */
H A Dfc0012.h42 * RF loop-through
/linux-4.4.14/arch/m68k/include/asm/
H A Ddelay.h15 * The ColdFire runs the delay loop at significantly different speeds
102 * nanoseconds per loop
/linux-4.4.14/tools/thermal/tmon/
H A Dpid.c56 /* cached data from previous loop */
61 * 1. use CPU burn to produce open loop unit step response
/linux-4.4.14/drivers/input/joystick/
H A Danalog.c92 #define ANALOG_LOOP_TIME 2000 /* 2 * loop */
98 #define ANALOG_FUZZ_MAGIC 36 /* 36 u*ms/loop */
130 int loop; member in struct:analog_port
253 u64 time[4], start, loop, now; analog_cooked_read() local
259 loopout = (ANALOG_LOOP_TIME * port->loop) / 1000; analog_cooked_read()
272 loop = now; analog_cooked_read()
280 if ((last ^ this) && (delta(loop, now) < loopout)) { analog_cooked_read()
294 port->axes[j] = (delta(start, time[i]) << ANALOG_FUZZ_BITS) / port->loop; analog_cooked_read()
386 * analog_calibrate_timer() calibrates the timer and computes loop
429 port->loop = tx / 50; analog_calibrate_timer()
630 port->fuzz = (port->speed * ANALOG_FUZZ_MAGIC) / port->loop / 1000 + ANALOG_FUZZ_BITS; analog_init_port()
/linux-4.4.14/drivers/usb/early/
H A Dehci-dbgp.c164 int loop = DBGP_TIMEOUT; dbgp_wait_until_complete() local
172 } while (--loop > 0); dbgp_wait_until_complete()
174 if (!loop) dbgp_wait_until_complete()
200 static int dbgp_wait_until_done(unsigned ctrl, int loop) dbgp_wait_until_done() argument
220 if (ret == -DBGP_ERR_BAD && --loop > 0) dbgp_wait_until_done()
234 if (--loop > 0) dbgp_wait_until_done()
434 int loop; dbgp_ehci_startup() local
454 loop = 1000; dbgp_ehci_startup()
460 } while (--loop > 0); dbgp_ehci_startup()
462 if (!loop) { dbgp_ehci_startup()
472 int loop = 250 * 1000; dbgp_ehci_controller_reset() local
481 } while ((cmd & CMD_RESET) && (--loop > 0)); dbgp_ehci_controller_reset()
483 if (!loop) { dbgp_ehci_controller_reset()
618 int loop; ehci_reset_port() local
637 loop = 100 * 1000; ehci_reset_port()
643 } while ((portsc & PORT_RESET) && (--loop > 0)); ehci_reset_port()
654 /* If we've finished resetting, then break out of the loop */ ehci_reset_port()
/linux-4.4.14/drivers/cpuidle/
H A Dcoupled.c71 * the waiting loop, in the ready loop, or in the coupled idle state.
72 * ready_count tracks the number of cpus that are in the ready loop
135 * once to minimize entering the ready loop with a poke pending, which would
251 * Returns true if all of the cpus in a coupled set are out of the ready loop.
263 * Returns true if all cpus coupled to this target state are in the ready loop
275 * Returns true if all cpus coupled to this target state are in the wait loop
287 * Returns true if all of the cpus in a coupled set are out of the waiting loop.
367 * cpuidle_coupled_set_waiting - mark this cpu as in the wait loop
388 * cpuidle_coupled_set_not_waiting - mark this cpu as leaving the wait loop
409 * cpuidle_coupled_set_done - mark this cpu as leaving the ready loop
524 * two cpus could arrive at the waiting loop at the same time, cpuidle_enter_state_coupled()
525 * but the first of the two to arrive could skip the loop without cpuidle_enter_state_coupled()
588 * ready loop. The pending interrupt may be lost by the interrupt cpuidle_enter_state_coupled()
616 * all other cpus will loop back into the safe idle state instead of cpuidle_enter_state_coupled()
723 /* Force all cpus out of the waiting loop. */ cpuidle_coupled_prevent_idle()
748 /* Force cpus out of the prevent loop. */ cpuidle_coupled_allow_idle()
H A Dcpuidle.h18 /* idle loop */
/linux-4.4.14/drivers/hwmon/
H A Dg762.c80 #define G762_REG_FAN_CMD1_FAN_MODE 0x10 /* fan mode: closed/open-loop */
145 u8 set_cnt; /* controls fan rotation speed in closed-loop mode */
152 u8 set_out; /* controls fan rotation speed in open-loop mode */
163 * 4: FAN_MODE 1:closed-loop, 0:open-loop
417 /* Set fan mode. Accepts either 1 (open-loop) or 2 (closed-loop). */ do_set_pwm_enable()
438 * value of 254 if it is 255 when switching to open-loop. do_set_pwm_enable()
490 * 255 (full speed). This only makes sense in open-loop mode.
510 * Set fan RPM value. Can be called both in closed and open-loop mode
511 * but effect will only be seen after closed-loop mode is configured.
858 * (i.e. closed or open-loop).
864 * 1 : manual fan speed control enabled (use pwm[1-*]) (open-loop)
865 * 2+: automatic fan speed control enabled (use fan[1-*]_target) (closed-loop)
901 * (which affects fan speed) in open-loop mode. 0 stops the fan and 255
933 * closed-loop mode. Speed is given as a RPM value; then the chip will regulate
/linux-4.4.14/drivers/media/rc/keymaps/
H A Drc-avermedia-dvbt.c36 { 0x38, KEY_SEARCH }, /* 'loop' */
H A Drc-pixelview-mk12.c35 { 0x866b13, KEY_AGAIN }, /* loop */
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/
H A Ddevice.h19 * Will return -ETIMEDOUT unless the loop was terminated with 'break',
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dtimer.h32 * Will return -ETIMEDOUT unless the loop was terminated with 'break',
/linux-4.4.14/arch/x86/include/asm/
H A Dmach_timer.h9 * output busy loop as low as possible. We avoid reading the CTC registers
/linux-4.4.14/arch/x86/include/asm/trace/
H A Dirq_vectors.h76 * itself can cause irq_work, which would lead to an infinite loop;
/linux-4.4.14/arch/xtensa/kernel/
H A Dmxhead.S35 * Initialize WB, WS, and clear PS.EXCM (to allow loop instructions).
/linux-4.4.14/crypto/
H A Djitterentropy.c122 * Update of the loop count used for the next round of
131 * @return Newly calculated loop counter
159 * RNG loop count. jent_loop_shuffle()
175 * 1st loop, 1st shift generates 0xd000
176 * 1st loop, 2nd shift generates 0x000d
177 * 2nd loop, 1st shift generates 0xcd00
178 * 2nd loop, 2nd shift generates 0x000c
179 * 3rd loop, 1st shift generates 0xbcd0
180 * 3rd loop, 2nd shift generates 0x000b
181 * 4th loop, 1st shift generates 0xabcd
182 * 4th loop, 2nd shift generates 0x000a
188 * is used to measure the CPU execution time jitter. Any change to the loop in
527 * We multiply the loop value with ->osr to obtain the jent_gen_entropy()
672 * that we only have a few loop counts to do testing. These jent_entropy_init()
673 * loop counts may show some slight skew and we produce jent_entropy_init()
743 * only after the first loop is executed as we need to prime jent_entropy_init()
/linux-4.4.14/drivers/clk/qcom/
H A Dclk-pll.h36 * struct clk_pll - phase locked loop (PLL)
/linux-4.4.14/include/uapi/sound/
H A Dsfnt_info.h119 int loopstart, loopend; /* loop offset correction */
164 int loopstart, loopend; /* loop start & end offset */
170 #define SNDRV_SFNT_SAMPLE_NO_BLANK 4 /* no blank loop is attached */
171 #define SNDRV_SFNT_SAMPLE_SINGLESHOT 8 /* single-shot w/o loop */
/linux-4.4.14/kernel/power/
H A Dautosleep.c57 * system from trying to suspend and waking up in a tight loop. try_to_suspend()
/linux-4.4.14/include/linux/can/
H A Dcore.h58 extern int can_send(struct sk_buff *skb, int loop);
/linux-4.4.14/arch/h8300/lib/
H A Dmemcpy.S38 adds #4,er4 ; loop count check value
/linux-4.4.14/arch/arm64/kernel/
H A Dtime.c78 /* Calibrate the delay loop directly */ time_init()
/linux-4.4.14/arch/avr32/lib/
H A Dcsum_partial_copy_generic.S40 /* The inner loop */
H A Dmemcpy.S12 * This implementation does word-aligned loads in the main loop,

Completed in 8039 milliseconds

1234567891011>>