/linux-4.1.27/arch/metag/mm/ |
D | cache.c | 202 int loops, step; in metag_phys_data_cache_flush() local 235 loops = ((part + 1) << (set_shift - 4)); in metag_phys_data_cache_flush() 238 loops /= step; in metag_phys_data_cache_flush() 249 loops >>= 1; in metag_phys_data_cache_flush() 253 while (loops-- != 0) { in metag_phys_data_cache_flush() 296 int loops, step; in metag_data_cache_flush() local 309 loops = ((int)start & (DCACHE_LINE_BYTES - 1)) + bytes + in metag_data_cache_flush() 311 loops >>= DCACHE_LINE_S; in metag_data_cache_flush() 324 switch (loops) { in metag_data_cache_flush() 328 loops -= 4; in metag_data_cache_flush() [all …]
|
/linux-4.1.27/arch/mips/kernel/ |
D | spinlock_test.c | 13 int loops; in ss_get() local 17 loops = 1000000; in ss_get() 24 loops--; in ss_get() 25 if (loops == 0) in ss_get() 46 int loops; member 56 int loops; in multi_other() local 61 loops = s->loops; in multi_other() 78 loops--; in multi_other() 79 if (loops == 0) in multi_other() 97 ms.loops = 1000000; in multi_get()
|
/linux-4.1.27/arch/x86/lib/ |
D | delay.c | 29 static void delay_loop(unsigned long loops) in delay_loop() argument 45 :"a" (loops) in delay_loop() 52 u32 bclock, now, loops = __loops; in delay_tsc() local 62 if ((now - bclock) >= loops) in delay_tsc() 80 loops -= (now - bclock); in delay_tsc() 109 void __delay(unsigned long loops) in __delay() argument 111 delay_fn(loops); in __delay()
|
/linux-4.1.27/arch/tile/lib/ |
D | spinlock_common.h | 40 u32 exponent, loops; in delay_backoff() local 57 loops = 1 << exponent; in delay_backoff() 60 loops += __insn_crc32_32(stack_pointer, get_cycles_low()) & in delay_backoff() 61 (loops - 1); in delay_backoff() 63 relax(loops); in delay_backoff()
|
/linux-4.1.27/arch/arc/include/asm/ |
D | delay.h | 22 static inline void __delay(unsigned long loops) in __delay() argument 27 : "+r"(loops) in __delay() 54 unsigned long loops; in __udelay() local 59 loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; in __udelay() 61 __delay(loops); in __udelay()
|
/linux-4.1.27/arch/avr32/lib/ |
D | delay.c | 29 void __delay(unsigned long loops) in __delay() argument 36 } while ((now - bclock) < loops); in __delay() 41 unsigned long long loops; in __const_udelay() local 44 : "=r"(loops) in __const_udelay() 46 __delay(loops >> 32); in __const_udelay()
|
/linux-4.1.27/arch/x86/boot/ |
D | a20.c | 24 int loops = MAX_8042_LOOPS; in empty_8042() local 27 while (loops--) { in empty_8042() 56 static int a20_test(int loops) in a20_test() argument 66 while (loops--) { in a20_test() 132 int loops = A20_ENABLE_LOOPS; in enable_a20() local 135 while (loops--) { in enable_a20()
|
/linux-4.1.27/arch/microblaze/include/asm/ |
D | delay.h | 18 static inline void __delay(unsigned long loops) in __delay() argument 24 : "=r" (loops) in __delay() 25 : "0" (loops)); in __delay() 52 unsigned loops = tmp >> 32; in __udelay() local 58 __delay(loops); in __udelay()
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | delay.h | 20 static inline void __delay(unsigned long loops) in __delay() argument 22 if (__builtin_constant_p(loops) && loops < 2) in __delay() 24 else if (loops >= 2) in __delay() 27 : "+r" (loops)); in __delay()
|
/linux-4.1.27/arch/metag/lib/ |
D | delay.c | 27 void __delay(unsigned long loops) in __delay() argument 35 } while ((now-bclock) < loops); in __delay() 41 u64 loops = (u64)xloops * (u64)loops_per_jiffy * HZ; in __const_udelay() local 42 __delay(loops >> 32); in __const_udelay()
|
D | ip_fast_csum.S | 13 !! TXRPT needs loops - 1
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | delay.h | 75 extern void ia64_delay_loop (unsigned long loops); 78 __delay (unsigned long loops) in __delay() argument 80 if (unlikely(loops < 1)) in __delay() 83 ia64_delay_loop (loops - 1); in __delay()
|
/linux-4.1.27/tools/perf/bench/ |
D | sched-pipe.c | 39 static int loops = LOOPS_DEFAULT; variable 45 OPT_INTEGER('l', "loop", &loops, "Specify number of loops"), 61 for (i = 0; i < loops; i++) { in worker_thread() 154 loops, threaded ? "threads" : "processes"); in bench_sched_pipe() 164 (double)result_usec / (double)loops); in bench_sched_pipe() 166 (int)((double)loops / in bench_sched_pipe()
|
D | sched-messaging.c | 36 static unsigned int loops = 100; variable 91 for (i = 0; i < loops; i++) { in sender() 216 ctx->num_packets = num_fds * loops; in group() 253 OPT_UINTEGER('l', "loop", &loops, "Specify number of loops"),
|
/linux-4.1.27/arch/frv/include/asm/ |
D | delay.h | 23 static inline void __delay(unsigned long loops) in __delay() argument 27 : "=r" (loops) in __delay() 28 : "0" (loops) in __delay()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | delay.h | 4 static __inline__ void __delay(unsigned long loops) { in __delay() argument 9 : "=r" (loops) : "0" (loops)); in __delay()
|
/linux-4.1.27/arch/score/include/asm/ |
D | delay.h | 6 static inline void __delay(unsigned long loops) in __delay() argument 13 : "=r" (loops) in __delay() 14 : "0" (loops)); in __delay()
|
/linux-4.1.27/arch/sh/lib64/ |
D | udelay.c | 24 void __delay(unsigned long loops) in __delay() argument 31 "ptabs %1, tr0\n\t":"=r"(loops), in __delay() 33 :"0"(loops)); in __delay()
|
/linux-4.1.27/arch/sh/lib/ |
D | delay.c | 10 void __delay(unsigned long loops) in __delay() argument 27 : "=r" (loops) in __delay() 28 : "0" (loops) in __delay()
|
D | memset-sh4.S | 52 shlr2 r3 ! number of loops 62 shld r0,r2 ! number of loops
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | delay_32.h | 12 static inline void __delay(unsigned long loops) in __delay() argument 17 "=&r" (loops) : in __delay() 18 "0" (loops) : in __delay()
|
D | delay_64.h | 11 void __delay(unsigned long loops);
|
/linux-4.1.27/arch/alpha/lib/ |
D | udelay.c | 22 __delay(int loops) in __delay() argument 31 : "=&r" (tmp), "=r" (loops) : "1"(loops)); in __delay()
|
/linux-4.1.27/arch/arm64/lib/ |
D | delay.c | 38 unsigned long loops; in __const_udelay() local 40 loops = xloops * loops_per_jiffy * HZ; in __const_udelay() 41 __delay(loops >> 32); in __const_udelay()
|
/linux-4.1.27/arch/nios2/lib/ |
D | delay.c | 34 u64 loops; in __const_udelay() local 36 loops = (u64)xloops * loops_per_jiffy * HZ; in __const_udelay() 38 __delay(loops >> 32); in __const_udelay()
|
/linux-4.1.27/arch/mips/lib/ |
D | delay.c | 26 void __delay(unsigned long loops) in __delay() argument 34 : "=r" (loops) in __delay() 35 : GCC_DADDI_IMM_ASM() (1), "0" (loops)); in __delay()
|
/linux-4.1.27/arch/openrisc/lib/ |
D | delay.c | 42 unsigned long long loops; in __const_udelay() local 44 loops = (unsigned long long)xloops * loops_per_jiffy * HZ; in __const_udelay() 46 __delay(loops >> 32); in __const_udelay()
|
/linux-4.1.27/arch/parisc/lib/ |
D | delay.c | 33 u32 bclock, now, loops = __loops; in __cr16_delay() local 41 if ((now - bclock) >= loops) in __cr16_delay() 60 loops -= (now - bclock); in __cr16_delay()
|
/linux-4.1.27/arch/m32r/lib/ |
D | delay.c | 17 void __delay(unsigned long loops) in __delay() argument 34 : "+r" (loops) in __delay() 53 : "+r" (loops) in __delay()
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
D | csrc-octeon.c | 69 unsigned loops = 2; in octeon_init_cvmcount() local 72 asm("" : "+r" (loops)); in octeon_init_cvmcount() 79 while (loops--) { in octeon_init_cvmcount() 166 void __delay(unsigned long loops) in __delay() argument 171 end = cur + loops; in __delay()
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | delay.h | 33 static inline void __delay(unsigned long loops) in __delay() argument 39 : "=d" (loops) in __delay() 40 : "0" (loops)); in __delay()
|
/linux-4.1.27/drivers/clocksource/ |
D | vt8500_timer.c | 59 int loops = msecs_to_loops(10); in vt8500_timer_read() local 62 && --loops) in vt8500_timer_read() 78 int loops = msecs_to_loops(10); in vt8500_timer_set_next_event() local 81 && --loops) in vt8500_timer_set_next_event()
|
/linux-4.1.27/drivers/sn/ |
D | ioc3.c | 219 int loops = 16, i; in read_redir_page() local 223 loops--; in read_redir_page() 224 if(loops<0) { in read_redir_page() 229 loops = 3; in read_redir_page() 230 while(loops>0) { in read_redir_page() 239 loops--; in read_redir_page() 250 int i,j,loops = 3,crc_ok; in read_redir_map() local 253 while(loops>0) { in read_redir_map() 270 loops--; in read_redir_map() 313 int i, loops = 3; in read_mac() local [all …]
|
/linux-4.1.27/kernel/locking/ |
D | spinlock_debug.c | 109 u64 loops = loops_per_jiffy * HZ; in __spin_lock_debug() local 111 for (i = 0; i < loops; i++) { in __spin_lock_debug() 179 u64 loops = loops_per_jiffy * HZ; 183 for (i = 0; i < loops; i++) { 254 u64 loops = loops_per_jiffy * HZ; 258 for (i = 0; i < loops; i++) {
|
/linux-4.1.27/arch/cris/include/arch-v10/arch/ |
D | delay.h | 4 static inline void __delay(int loops) in __delay() argument 14 : : "g" (loops) : "r9"); in __delay()
|
/linux-4.1.27/arch/arm/lib/ |
D | delay.c | 67 unsigned long long loops = xloops; in __timer_const_udelay() local 68 loops *= arm_delay_ops.ticks_per_jiffy; in __timer_const_udelay() 69 __timer_delay(loops >> UDELAY_SHIFT); in __timer_const_udelay()
|
D | lib1funcs.S | 263 rsbmi r1, r1, #0 @ loops below use unsigned. 304 rsbmi r1, r1, #0 @ loops below use unsigned.
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
D | delay.h | 15 __delay(int loops) in __delay() argument 25 : : "g" (loops) : "r9"); in __delay()
|
/linux-4.1.27/arch/mn10300/lib/ |
D | delay.c | 19 void __delay(unsigned long loops) in __delay() argument 31 : "0" (loops) in __delay()
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | delay.h | 14 static inline void __delay(unsigned long loops) in __delay() argument 20 : "a" (loops) in __delay()
|
/linux-4.1.27/arch/x86/um/ |
D | delay.c | 15 void __delay(unsigned long loops) in __delay() argument 31 : "a" (loops) in __delay()
|
/linux-4.1.27/arch/c6x/include/asm/ |
D | delay.h | 18 static inline void __delay(unsigned long loops) in __delay() argument 28 : "+a"(loops), "=A"(tmp)); in __delay()
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
D | bttv-audio-hook.c | 18 int bits_out, loops, vol, data; in winview_volume() local 30 for (loops = 17; loops >= 0 ; loops--) { in winview_volume() 31 if (bits_out & (1<<loops)) in winview_volume()
|
/linux-4.1.27/arch/x86/realmode/rm/ |
D | wakemain.c | 4 static void udelay(int loops) in udelay() argument 6 while (loops--) in udelay()
|
/linux-4.1.27/lib/zlib_inflate/ |
D | inffast.c | 262 unsigned long loops; in inflate_fast() local 276 loops = len >> 1; in inflate_fast() 283 while (--loops); in inflate_fast() 297 loops = len >> 1; in inflate_fast() 300 while (--loops); in inflate_fast()
|
/linux-4.1.27/tools/perf/tests/ |
D | rdpmc.c | 92 u64 i, loops = 1000; in __test__rdpmc() local 130 for (i = 0; i < loops; i++) in __test__rdpmc() 134 loops *= 10; in __test__rdpmc()
|
/linux-4.1.27/arch/s390/lib/ |
D | delay.c | 18 void __delay(unsigned long loops) in __delay() argument 27 asm volatile("0: brct %0,0b" : : "d" ((loops/2) + 1)); in __delay()
|
/linux-4.1.27/arch/arm/mach-mmp/ |
D | devices.c | 124 int loops; in usb_phy_init_internal() local 183 loops = 0; in usb_phy_init_internal() 186 loops++; in usb_phy_init_internal() 187 if (loops > 100) { in usb_phy_init_internal()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | wmt_ge_rops.c | 120 int loops = 5000000; in wmt_ge_sync() local 121 while ((readl(regbase + GE_STATUS_OFF) & 4) && --loops) in wmt_ge_sync() 123 return loops > 0 ? 0 : -EBUSY; in wmt_ge_sync()
|
D | carminefb.c | 433 u32 loops; in init_hardware() local 485 for (loops = 0; loops < CARMINE_DCTL_INIT_WAIT_LIMIT; loops++) { in init_hardware() 496 if (loops >= CARMINE_DCTL_INIT_WAIT_LIMIT) { in init_hardware()
|
/linux-4.1.27/fs/btrfs/tests/ |
D | extent-io-tests.c | 38 int loops = 0; in process_page_range() local 57 loops++; in process_page_range() 58 if (loops > 100000) { in process_page_range()
|
/linux-4.1.27/drivers/tty/serial/ |
D | sb1250-duart.c | 205 int loops = 10000; in sbd_receive_drain() local 207 while (sbd_receive_ready(sport) && --loops) in sbd_receive_drain() 209 return loops; in sbd_receive_drain() 219 int loops = 10000; in sbd_transmit_drain() local 221 while (!sbd_transmit_ready(sport) && --loops) in sbd_transmit_drain() 223 return loops; in sbd_transmit_drain() 233 int loops = 10000; in sbd_line_drain() local 235 while (!sbd_transmit_empty(sport) && --loops) in sbd_line_drain() 237 return loops; in sbd_line_drain()
|
D | zs.c | 233 int loops = 10000; in zs_receive_drain() local 235 while ((read_zsreg(zport, R0) & Rx_CH_AV) && --loops) in zs_receive_drain() 237 return loops; in zs_receive_drain() 243 int loops = 10000; in zs_transmit_drain() local 245 while (!(read_zsreg(zport, R0) & Tx_BUF_EMP) && --loops) { in zs_transmit_drain() 250 return loops; in zs_transmit_drain() 256 int loops = 10000; in zs_line_drain() local 258 while (!(read_zsreg(zport, R1) & ALL_SNT) && --loops) { in zs_line_drain() 263 return loops; in zs_line_drain()
|
D | vt8500_serial.c | 320 unsigned int loops = 1000; in vt8500_set_baud_rate() local 328 while ((vt8500_read(port, VT8500_URUSR) & (1 << 5)) && --loops) in vt8500_set_baud_rate() 379 unsigned int loops = 1000; in vt8500_set_termios() local 434 && --loops) in vt8500_set_termios()
|
D | sn_console.c | 530 int xmit_count, tail, head, loops, ii; in sn_transmit_chars() local 563 loops = (head < tail) ? 2 : 1; in sn_transmit_chars() 565 for (ii = 0; ii < loops; ii++) { in sn_transmit_chars()
|
D | dz.c | 812 int loops = 10000; in dz_console_putchar() local 835 } while (--loops); in dz_console_putchar() 837 if (loops) /* Cannot send otherwise. */ in dz_console_putchar()
|
D | 68328serial.c | 229 int loops = 0; in rs_put_char() local 233 while (!(UTX & UTX_TX_AVAIL) && (loops < 1000)) { in rs_put_char() 234 loops++; in rs_put_char()
|
D | ip22zilog.c | 999 int loops = ZS_PUT_CHAR_MAX_DELAY; in ip22zilog_put_char() local 1011 } while (--loops); in ip22zilog_put_char()
|
D | sunzilog.c | 1134 int loops = ZS_PUT_CHAR_MAX_DELAY; in sunzilog_putchar() local 1146 } while (--loops); in sunzilog_putchar()
|
D | pmac_zilog.c | 236 int loops = 0; in pmz_receive_chars() local 326 if ((++loops) > 1000) in pmz_receive_chars()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_knc.c | 217 int bit, loops; in knc_pmu_handle_irq() local 230 loops = 0; in knc_pmu_handle_irq() 233 if (++loops > 100) { in knc_pmu_handle_irq()
|
D | perf_event_intel.c | 1576 int bit, loops; in intel_pmu_handle_irq() local 1595 loops = 0; in intel_pmu_handle_irq() 1598 if (++loops > 100) { in intel_pmu_handle_irq()
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-jz4780.c | 194 unsigned long loops = 5; in jz4780_i2c_disable() local 204 } while (--loops); in jz4780_i2c_disable() 213 unsigned long loops = 5; in jz4780_i2c_enable() local 223 } while (--loops); in jz4780_i2c_enable() 232 unsigned long loops = 5; in jz4780_i2c_set_target() local 241 } while (--loops); in jz4780_i2c_set_target() 243 if (loops) { in jz4780_i2c_set_target()
|
D | i2c-ibm_iic.c | 465 int i, j, loops, ret = 0; in iic_xfer_bytes() local 472 loops = (len + 3) / 4; in iic_xfer_bytes() 473 for (i = 0; i < loops; ++i, len -= 4){ in iic_xfer_bytes() 481 if (i < loops - 1) in iic_xfer_bytes() 501 if (combined_xfer || (i < loops - 1)) in iic_xfer_bytes()
|
/linux-4.1.27/arch/x86/ |
D | Makefile_32.cpu | 27 cflags-$(CONFIG_MCRUSOE) += -march=i686 $(align)-functions=0 $(align)-jumps=0 $(align)-loops=0 28 …FICEON) += -march=i686 $(call tune,pentium3) $(align)-functions=0 $(align)-jumps=0 $(align)-loops=0 31 …) += $(call cc-option,-march=c3,-march=i486) $(align)-functions=0 $(align)-jumps=0 $(align)-loops=0
|
/linux-4.1.27/drivers/spi/ |
D | spi-s3c64xx.c | 203 unsigned long loops; in flush_fifo() local 218 loops = msecs_to_loops(1); in flush_fifo() 221 } while (TX_FIFO_LVL(val, sdd) && loops--); in flush_fifo() 223 if (loops == 0) in flush_fifo() 227 loops = msecs_to_loops(1); in flush_fifo() 234 } while (loops--); in flush_fifo() 236 if (loops == 0) in flush_fifo() 516 int loops; in wait_for_pio() local 545 loops = xfer->len / ((FIFO_LVL_MASK(sdd) >> 1) + 1); in wait_for_pio() 550 (loops ? ms : 0)); in wait_for_pio() [all …]
|
D | spi-octeon.c | 38 unsigned int loops = 0; in octeon_spi_wait_ready() local 41 if (loops++) in octeon_spi_wait_ready()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | delay.h | 15 extern void __delay(unsigned long loops);
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | delay.h | 4 extern void __delay(int loops);
|
/linux-4.1.27/drivers/media/common/saa7146/ |
D | saa7146_core.c | 102 unsigned long loops; in saa7146_wait_for_debi_done_busyloop() local 105 loops = us1; in saa7146_wait_for_debi_done_busyloop() 109 if (!loops--) { in saa7146_wait_for_debi_done_busyloop() 118 loops = us2 / 5; in saa7146_wait_for_debi_done_busyloop() 123 if (!loops--) { in saa7146_wait_for_debi_done_busyloop()
|
/linux-4.1.27/drivers/pwm/ |
D | pwm-vt8500.c | 69 int loops = msecs_to_loops(10); in pwm_busy_wait() local 72 while ((readl(vt8500->base + REG_STATUS) & mask) && --loops) in pwm_busy_wait() 75 if (unlikely(!loops)) in pwm_busy_wait()
|
/linux-4.1.27/arch/unicore32/include/asm/ |
D | delay.h | 19 extern void __delay(int loops);
|
/linux-4.1.27/arch/s390/include/asm/ |
D | delay.h | 18 void __delay(unsigned long loops);
|
/linux-4.1.27/arch/mips/include/asm/ |
D | delay.h | 16 extern void __delay(unsigned long loops);
|
/linux-4.1.27/arch/tile/include/asm/ |
D | delay.h | 24 extern void __delay(unsigned long loops);
|
/linux-4.1.27/include/asm-generic/ |
D | delay.h | 11 extern void __delay(unsigned long loops);
|
/linux-4.1.27/arch/metag/include/asm/ |
D | delay.h | 17 extern void __delay(unsigned long loops);
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | delay.h | 20 extern void __delay(unsigned long loops);
|
/linux-4.1.27/arch/blackfin/ |
D | Kconfig.debug | 126 Because zero-overhead Hardware loops are not recorded in the trace buffer, 127 this feature can be used to prevent trace overflow from loops that 136 bool "Compress single-level loops" 138 The trace buffer does not record single loops - helpful if trace 142 bool "Compress two-level loops" 144 The trace buffer does not record loops two levels deep. Helpful if
|
/linux-4.1.27/arch/arm/include/asm/ |
D | delay.h | 61 extern void __loop_delay(unsigned long loops);
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | mv_udc_core.c | 264 unsigned int loops; in queue_dtd() local 284 loops = LOOPS(READSAFE_TIMEOUT); in queue_dtd() 305 loops--; in queue_dtd() 306 if (loops == 0) { in queue_dtd() 638 unsigned int loops; in mv_ep_fifo_flush() local 657 loops = LOOPS(EPSTATUS_TIMEOUT); in mv_ep_fifo_flush() 661 if (loops == 0) { in mv_ep_fifo_flush() 689 loops--; in mv_ep_fifo_flush() 1016 unsigned int loops; in udc_reset() local 1028 loops = LOOPS(RESET_TIMEOUT); in udc_reset() [all …]
|
D | mv_u3d_core.c | 704 unsigned int loops; in mv_u3d_ep_fifo_flush() local 740 loops = LOOPS(MV_U3D_FLUSH_TIMEOUT); in mv_u3d_ep_fifo_flush() 747 if (loops == 0) { in mv_u3d_ep_fifo_flush() 753 loops--; in mv_u3d_ep_fifo_flush() 762 loops = LOOPS(MV_U3D_FLUSH_TIMEOUT); in mv_u3d_ep_fifo_flush() 769 if (loops == 0) { in mv_u3d_ep_fifo_flush() 775 loops--; in mv_u3d_ep_fifo_flush() 1073 unsigned int loops; in mv_u3d_controller_reset() local 1085 loops = LOOPS(MV_U3D_RESET_TIMEOUT); in mv_u3d_controller_reset() 1087 if (loops == 0) { in mv_u3d_controller_reset() [all …]
|
/linux-4.1.27/sound/isa/galaxy/ |
D | galaxy.c | 89 int loops = 1000; in dsp_get_byte() local 92 if (!loops--) in dsp_get_byte() 116 int loops = 1000; in dsp_command() local 119 if (!loops--) in dsp_command()
|
/linux-4.1.27/arch/alpha/kernel/ |
D | srmcons.c | 50 int count = 0, loops = 0; in srmcons_do_receive_chars() local 58 } while((result.bits.status & 1) && (++loops < 10)); in srmcons_do_receive_chars()
|
/linux-4.1.27/sound/core/ |
D | init.c | 581 int len, loops; in snd_card_set_id_no_lock() local 598 for (loops = 0; loops < SNDRV_CARDS; loops++) { in snd_card_set_id_no_lock() 607 sprintf(sfxstr, "_%X", loops + 1); in snd_card_set_id_no_lock()
|
/linux-4.1.27/drivers/usb/wusbcore/ |
D | wa-hc.h | 447 unsigned loops = 10; in __wa_wait_status() local 453 if (loops-- == 0) { in __wa_wait_status()
|
/linux-4.1.27/fs/gfs2/ |
D | rgrp.c | 1847 static bool gfs2_rgrp_congested(const struct gfs2_rgrpd *rgd, int loops) in gfs2_rgrp_congested() argument 1878 if (loops == 1) in gfs2_rgrp_congested() 1967 int loops = 0; in gfs2_inplace_reserve() local 1987 while (loops < 3) { in gfs2_inplace_reserve() 1995 if (loops == 0 && in gfs2_inplace_reserve() 1998 if ((loops < 2) && in gfs2_inplace_reserve() 2000 gfs2_rgrp_congested(rs->rs_rbm.rgd, loops)) in gfs2_inplace_reserve() 2008 if (!gfs2_rs_active(rs) && (loops < 2) && in gfs2_inplace_reserve() 2009 gfs2_rgrp_congested(rs->rs_rbm.rgd, loops)) in gfs2_inplace_reserve() 2023 (loops == 0 && ap->target > rs->rs_rbm.rgd->rd_extfail_pt)) in gfs2_inplace_reserve() [all …]
|
/linux-4.1.27/drivers/char/tpm/ |
D | tpm2-cmd.c | 562 unsigned int loops; in tpm2_do_selftest() local 570 loops = jiffies_to_msecs(duration) / delay_msec; in tpm2_do_selftest() 576 for (i = 0; i < loops; i++) { in tpm2_do_selftest()
|
D | tpm-interface.c | 752 unsigned int loops; in tpm_do_selftest() local 759 loops = jiffies_to_msecs(duration) / delay_msec; in tpm_do_selftest() 798 } while (--loops > 0); in tpm_do_selftest()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | tps6507x-ts.c | 130 s32 loops = 0; in tps6507x_adc_standby() local 152 loops++; in tps6507x_adc_standby()
|
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ |
D | count_instructions.c | 17 extern void thirty_two_instruction_loop(u64 loops);
|
/linux-4.1.27/scripts/coccinelle/free/ |
D | iounmap.cocci | 5 //# False positives can be due to loops.
|
D | clk_put.cocci | 5 //# False positives can be due to loops.
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-bench.txt | 86 Specify number of loops 113 Specify number of loops.
|
/linux-4.1.27/sound/soc/samsung/ |
D | s3c-i2s-v2.c | 227 unsigned long loops = msecs_to_loops(5); in s3c2412_snd_lrsync() local 231 while (--loops) { in s3c2412_snd_lrsync() 239 if (!loops) { in s3c2412_snd_lrsync()
|
/linux-4.1.27/Documentation/networking/ |
D | tc-actions-env-rules.txt | 12 avoid loops, etc. A few are generic enough that skb_act_clone()
|
D | ipvs-sysctl.txt | 23 in backup mode to avoid packet loops for DR/TUN methods.
|
D | vortex.txt | 182 service routine will loop. The default value is 32 loops. If this
|
D | filter.txt | 834 loops and other CFG validation; second step starts from the first insn and 1009 First step does DAG check to disallow loops and other CFG validation.
|
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/ |
D | instruction_count_test.c | 21 extern void thirty_two_instruction_loop(uint64_t loops);
|
/linux-4.1.27/drivers/usb/phy/ |
D | phy-mv-usb.c | 147 unsigned int loops; in mv_otg_reset() local 158 loops = 500; in mv_otg_reset() 160 if (loops == 0) { in mv_otg_reset() 165 loops--; in mv_otg_reset()
|
/linux-4.1.27/drivers/vfio/pci/ |
D | vfio_pci_config.c | 1208 int loops, ret, caps = 0; in vfio_cap_init() local 1226 loops = (PCI_CFG_SPACE_SIZE - PCI_STD_HEADER_SIZEOF) / PCI_CAP_SIZEOF; in vfio_cap_init() 1227 while (pos && loops--) { in vfio_cap_init() 1292 int loops, ret, ecaps = 0; in vfio_ecap_init() local 1299 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init() 1301 while (loops-- && epos >= PCI_CFG_SPACE_SIZE) { in vfio_ecap_init()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | time.c | 387 void __delay(unsigned long loops) in __delay() argument 399 } while (diff < loops); in __delay() 402 while (get_tbl() - start < loops) in __delay()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_bsg.h | 76 uint32_t loops; member
|
D | lpfc_bsg.c | 2370 link_diag_test_cmd->loops); in lpfc_sli4_bsg_link_diag_test()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | time_64.c | 783 void __delay(unsigned long loops) in __delay() argument 790 } while ((now-bclock) < loops); in __delay()
|
D | ds.c | 781 int msg_len, loops; in ldom_set_var() local 818 loops = 1000; in ldom_set_var() 820 if (loops-- < 0) in ldom_set_var()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | phy_ht.c | 387 static void b43_phy_ht_run_samples(struct b43_wldev *dev, u16 samps, u16 loops, in b43_phy_ht_run_samples() argument 400 if (loops != 0xFFFF) in b43_phy_ht_run_samples() 401 loops--; in b43_phy_ht_run_samples() 402 b43_phy_write(dev, B43_PHY_HT_SAMP_LOOP_CNT, loops); in b43_phy_ht_run_samples()
|
D | phy_lp.c | 1766 static void lpphy_run_samples(struct b43_wldev *dev, u16 samples, u16 loops, in lpphy_run_samples() argument 1771 if (loops != 0xFFFF) in lpphy_run_samples() 1772 loops--; in lpphy_run_samples() 1773 b43_phy_maskset(dev, B43_LPPHY_SMPL_PLAY_COUNT, 0xF000, loops); in lpphy_run_samples()
|
D | phy_n.c | 1585 static void b43_nphy_run_samples(struct b43_wldev *dev, u16 samps, u16 loops, in b43_nphy_run_samples() argument 1629 if (loops != 0xFFFF) in b43_nphy_run_samples() 1630 b43_phy_write(dev, B43_NPHY_SAMP_LOOPCNT, (loops - 1)); in b43_nphy_run_samples() 1632 b43_phy_write(dev, B43_NPHY_SAMP_LOOPCNT, loops); in b43_nphy_run_samples()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
D | ql4_nx.c | 959 int ret, loops = 0; in qla4_82xx_rom_fast_read() local 961 while ((qla4_82xx_rom_lock(ha) != 0) && (loops < 50000)) { in qla4_82xx_rom_fast_read() 963 loops++; in qla4_82xx_rom_fast_read() 965 if (loops >= 50000) { in qla4_82xx_rom_fast_read() 1590 int loops = 0; in qla4_82xx_rcvpeg_ready() local 1597 while ((state != PHAN_PEG_RCV_INITIALIZED) && (loops < 30000)) { in qla4_82xx_rcvpeg_ready() 1604 loops++; in qla4_82xx_rcvpeg_ready() 1607 if (loops >= 30000) { in qla4_82xx_rcvpeg_ready() 3663 int loops = 0; in qla4_82xx_read_flash_data() local 3664 while ((qla4_82xx_rom_lock(ha) != 0) && (loops < 50000)) { in qla4_82xx_read_flash_data() [all …]
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_hv.c | 1506 int i, loops; in debugfs_timings_read() local 1518 for (loops = 0; loops < 1000; ++loops) { in debugfs_timings_read() 1816 int i, loops; in kvmppc_wait_for_nap() local 1818 for (loops = 0; loops < 1000000; ++loops) { in kvmppc_wait_for_nap()
|
/linux-4.1.27/drivers/usb/musb/ |
D | omap2430.c | 157 int loops = 100; in omap2430_musb_set_vbus() local 172 || loops-- <= 0) { in omap2430_musb_set_vbus()
|
/linux-4.1.27/kernel/trace/ |
D | trace_selftest.c | 28 unsigned int loops = 0; in trace_test_buffer_cpu() local 38 if (loops++ > trace_buf_size) { in trace_test_buffer_cpu()
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
D | if_cs.c | 356 int loops = 0; in if_cs_send_cmd() local 366 if (++loops > 100) { in if_cs_send_cmd()
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
D | omap_crtc.c | 429 int loops = 0; in omap_crtc_flush() local 435 if (++loops > 10) { in omap_crtc_flush()
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-class-net-mesh | 31 is enabled. This feature detects and avoids loops
|
/linux-4.1.27/sound/pci/ |
D | sis7019.c | 764 u16 loops = vperiod / period_size; in sis_prepare_timing_voice() local 767 tail += loops - 1; in sis_prepare_timing_voice() 768 tail /= loops; in sis_prepare_timing_voice()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | mpic.c | 667 unsigned int loops = 100000; in mpic_unmask_irq() local 678 if (!loops--) { in mpic_unmask_irq() 688 unsigned int loops = 100000; in mpic_mask_irq() local 700 if (!loops--) { in mpic_mask_irq()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_nx.c | 957 int ret, loops = 0; in qla82xx_rom_fast_read() local 961 while ((qla82xx_rom_lock(ha) != 0) && (loops < 50000)) { in qla82xx_rom_fast_read() 964 loops++; in qla82xx_rom_fast_read() 966 if (loops >= 50000) { in qla82xx_rom_fast_read() 1067 int loops = 0; in ql82xx_rom_lock_d() local 1071 while ((qla82xx_rom_lock(ha) != 0) && (loops < 50000)) { in ql82xx_rom_lock_d() 1074 loops++; in ql82xx_rom_lock_d() 1076 if (loops >= 50000) { in ql82xx_rom_lock_d()
|
/linux-4.1.27/drivers/usb/early/ |
D | ehci-dbgp.c | 299 int size, int loops) in dbgp_bulk_read() argument 319 ret = dbgp_wait_until_done(ctrl, loops); in dbgp_bulk_read()
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | hisax.h | 1308 int loops = USEC_PER_SEC / HZ; \ 1309 while (loops--) \
|
/linux-4.1.27/crypto/ |
D | testmgr.h | 92 unsigned short loops; member 20728 .loops = 1, 20742 .loops = 1, 20756 .loops = 1, 20770 .loops = 1, 20784 .loops = 1, 20798 .loops = 10000,
|
D | testmgr.c | 1474 for (j = 0; j < template[i].loops; j++) { in test_cprng()
|
/linux-4.1.27/drivers/message/fusion/ |
D | mptfc.c | 198 int loops = 40; /* seconds */ in mptfc_block_error_handler() local 204 || (loops > 0 && ioc->active == 0)) { in mptfc_block_error_handler() 214 loops --; in mptfc_block_error_handler()
|
/linux-4.1.27/arch/cris/arch-v32/mm/ |
D | mmu.S | 72 ; The workaround detects such loops and exits them by flushing
|
/linux-4.1.27/Documentation/devicetree/bindings/clock/ |
D | qoriq-clock.txt | 5 multiple phase locked loops (PLL) to create a variety of frequencies
|
/linux-4.1.27/Documentation/trace/ |
D | tracepoints.txt | 106 put in inline functions, inlined static functions, and unrolled loops
|
/linux-4.1.27/Documentation/arm/ |
D | tcm.txt | 53 - Idle loops where all external RAM is set to self-refresh
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | ptp.c | 814 unsigned int loops = 0; in efx_ptp_synchronize() local 834 loops++; in efx_ptp_synchronize() 837 if (loops <= 1) in efx_ptp_synchronize()
|
/linux-4.1.27/Documentation/device-mapper/ |
D | verity.txt | 80 avoid restart loops.
|
/linux-4.1.27/Documentation/scsi/ |
D | aha152x.txt | 13 less polling loops), has slightly higher throughput (at
|
D | ChangeLog.1992-1997 | 502 Do not use waiting loops - use up and down mechanism as long 1772 SLOW_HANDSHAKE, and SLOW_RATE. Update assembly loops for transferring
|
/linux-4.1.27/drivers/net/wireless/ |
D | mwl8k.c | 598 int loops; in mwl8k_send_fw_load_cmd() local 611 loops = 1000; in mwl8k_send_fw_load_cmd() 628 } while (--loops); in mwl8k_send_fw_load_cmd() 632 return loops ? 0 : -ETIMEDOUT; in mwl8k_send_fw_load_cmd() 741 int loops; in mwl8k_load_firmware() local 776 loops = 500000; in mwl8k_load_firmware() 791 } while (--loops); in mwl8k_load_firmware() 793 return loops ? 0 : -ETIMEDOUT; in mwl8k_load_firmware()
|
/linux-4.1.27/Documentation/filesystems/ |
D | directory-locking | 108 the only operation that could introduce loops is cross-directory rename.
|
D | romfs.txt | 130 loops, and creating all the . and .. links for directories. This is
|
D | xfs-self-describing-metadata.txt | 49 pointers in a btree end up with loops in them) are the key to understanding what
|
/linux-4.1.27/drivers/net/ethernet/natsemi/ |
D | ns83820.c | 1722 int loops = 0; local 1730 loops++; 1752 dprintk("%s: done %s in %d loops\n", ndev->name, name, loops);
|
/linux-4.1.27/drivers/dma/ |
D | pl330.c | 902 unsigned long loops = msecs_to_loops(5); in _until_dmac_idle() local 910 } while (--loops); in _until_dmac_idle() 912 if (!loops) in _until_dmac_idle()
|
/linux-4.1.27/Documentation/timers/ |
D | timekeeping.txt | 164 loop to delay a certain number of jiffy fractions using a "lpj" (loops per
|
/linux-4.1.27/Documentation/locking/ |
D | ww-mutex-design.txt | 71 has a void return type. Note that since ww mutex code needs loops/retries
|
/linux-4.1.27/fs/btrfs/ |
D | extent-tree.c | 3405 int loops = 0; in btrfs_start_dirty_block_groups() local 3535 if (!ret && loops == 0) { in btrfs_start_dirty_block_groups() 3536 loops++; in btrfs_start_dirty_block_groups() 4353 int loops; in shrink_delalloc() local 4375 loops = 0; in shrink_delalloc() 4376 while (delalloc_bytes && loops < 3) { in shrink_delalloc() 4408 loops++; in shrink_delalloc()
|
D | extent_io.c | 1685 int loops = 0; in find_lock_delalloc_range() local 1723 if (!loops) { in find_lock_delalloc_range() 1725 loops = 1; in find_lock_delalloc_range()
|
/linux-4.1.27/arch/arm/crypto/ |
D | sha1-armv4-large.S | 25 @ small = detached Xload/update, loops are folded;
|
/linux-4.1.27/drivers/usb/gadget/ |
D | Kconfig | 354 Loopback function loops back a configurable number of transfers.
|
/linux-4.1.27/Documentation/ |
D | media-framework.txt | 241 supported by the graph traversal API. To prevent infinite loops, the graph
|
/linux-4.1.27/sound/pci/ymfpci/ |
D | ymfpci_main.c | 785 int loops = 4; in snd_ymfpci_irq_wait() local 787 while (loops-- > 0) { in snd_ymfpci_irq_wait()
|
/linux-4.1.27/sound/pci/asihpi/ |
D | asihpi.c | 767 int loops = 0; in snd_card_asihpi_timer_function() local 848 loops++; in snd_card_asihpi_timer_function()
|
/linux-4.1.27/drivers/usb/gadget/legacy/ |
D | Kconfig | 22 sources bulk data; or it loops back a configurable number of
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | tg3.c | 1113 unsigned int loops; in __tg3_readphy() local 1134 loops = PHY_BUSY_LOOPS; in __tg3_readphy() 1135 while (loops != 0) { in __tg3_readphy() 1144 loops -= 1; in __tg3_readphy() 1148 if (loops != 0) { in __tg3_readphy() 1172 unsigned int loops; in __tg3_writephy() local 1196 loops = PHY_BUSY_LOOPS; in __tg3_writephy() 1197 while (loops != 0) { in __tg3_writephy() 1205 loops -= 1; in __tg3_writephy() 1209 if (loops != 0) in __tg3_writephy()
|
/linux-4.1.27/Documentation/s390/ |
D | cds.txt | 433 program that at its end loops back to its beginning by means of a transfer in
|
/linux-4.1.27/Documentation/RCU/ |
D | checklist.txt | 317 code, or idle loops will complete. Therefore, if your
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_n.c | 23190 wlc_phy_runsamples_nphy(struct brcms_phy *pi, u16 num_samps, u16 loops, in wlc_phy_runsamples_nphy() argument 23254 if (loops != 0xffff) in wlc_phy_runsamples_nphy() 23255 write_phy_reg(pi, 0xc4, loops - 1); in wlc_phy_runsamples_nphy() 23257 write_phy_reg(pi, 0xc4, loops); in wlc_phy_runsamples_nphy() 23284 u16 loops = 0xffff; in wlc_phy_tx_tone_nphy() local 23292 wlc_phy_runsamples_nphy(pi, num_samps, loops, wait, iqmode, in wlc_phy_tx_tone_nphy()
|
/linux-4.1.27/tools/testing/ktest/ |
D | ktest.pl | 1928 my $loops;
|
/linux-4.1.27/sound/pci/rme9652/ |
D | hdsp.c | 691 static int hdsp_wait_for_iobox(struct hdsp *hdsp, unsigned int loops, in hdsp_wait_for_iobox() argument 699 for (i = 0; i != loops; ++i) { in hdsp_wait_for_iobox()
|
/linux-4.1.27/scripts/kconfig/ |
D | zconf.lex.c_shipped | 1029 while ( 1 ) /* loops until end-of-file is reached */
|
/linux-4.1.27/scripts/genksyms/ |
D | lex.lex.c_shipped | 787 while ( 1 ) /* loops until end-of-file is reached */
|
/linux-4.1.27/scripts/dtc/ |
D | dtc-lexer.lex.c_shipped | 885 while ( 1 ) /* loops until end-of-file is reached */
|
/linux-4.1.27/Documentation/kbuild/ |
D | makefiles.txt | 490 alignment of functions, loops etc. $(cc-option-align), when used
|
/linux-4.1.27/lib/ |
D | Kconfig.debug | 39 the "loops per jiffie" value.
|
/linux-4.1.27/arch/arm/ |
D | Kconfig | 1176 written polling loops from denying visibility of updates to memory.
|