/linux-master/tools/testing/selftests/powerpc/pmu/ |
H A D | count_stcx_fail.c | 17 extern void thirty_two_instruction_loop_with_ll_sc(u64 loops, u64 *ll_sc_target);
|
/linux-master/drivers/tty/serial/ |
H A D | sb1250-duart.c | 196 int loops = 10000; local 198 while (sbd_receive_ready(sport) && --loops) 200 return loops; 210 int loops = 10000; local 212 while (!sbd_transmit_ready(sport) && --loops) 214 return loops; 224 int loops = 10000; local 226 while (!sbd_transmit_empty(sport) && --loops) 228 return loops;
|
H A D | zs.c | 230 int loops = 10000; local 232 while ((read_zsreg(zport, R0) & Rx_CH_AV) && --loops) 234 return loops; 240 int loops = 10000; local 242 while (!(read_zsreg(zport, R0) & Tx_BUF_EMP) && --loops) { 247 return loops; 253 int loops = 10000; local 255 while (!(read_zsreg(zport, R1) & ALL_SNT) && --loops) { 260 return loops;
|
H A D | vt8500_serial.c | 284 unsigned int loops = 1000; local 292 while ((vt8500_read(port, VT8500_URUSR) & (1 << 5)) && --loops) 343 unsigned int loops = 1000; local 398 && --loops)
|
H A D | dz.c | 812 int loops = 10000; local 835 } while (--loops); 837 if (loops) /* Cannot send otherwise. */
|
/linux-master/kernel/rcu/ |
H A D | refscale.c | 81 // Number of loops per experiment, all readers execute operations concurrently. 82 torture_param(long, loops, 10000, "Number of loops per experiment."); 797 cur_ops->readsection(loops); 799 cur_ops->delaysection(loops, readdelay / 1000, readdelay % 1000); 984 result_avg[exp] = div_u64(1000 * process_durations(nreaders), nreaders * loops); 1028 "--- %s: verbose=%d verbose_batched=%d shutdown=%d holdoff=%d lookup_instances=%ld loops=%ld nreaders=%d nruns=%d readdelay=%d\n", scale_type, tag, 1029 verbose, verbose_batched, shutdown, holdoff, lookup_instances, loops, nreaders, nruns, readdelay); 1125 if (WARN_ONCE(loops <= 0, "%s: loops [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | srmcons.c | 51 int count = 0, loops = 0; local 59 } while((result.bits.status & 1) && (++loops < 10));
|
/linux-master/mm/ |
H A D | debug.c | 119 int loops = 5; local 140 if (loops-- > 0)
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-ibm_iic.c | 463 int i, j, loops, ret = 0; local 470 loops = (len + 3) / 4; 471 for (i = 0; i < loops; ++i, len -= 4){ 479 if (i < loops - 1) 499 if (combined_xfer || (i < loops - 1))
|
H A D | i2c-jz4780.c | 186 unsigned long loops = 5; local 196 } while (--loops); 205 unsigned long loops = 5; local 215 } while (--loops); 224 unsigned long loops = 5; local 233 } while (--loops); 235 if (loops) {
|
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | trans-gen2.c | 428 u32 value, loops = 0; local 446 loops++; 450 "Polled for IML load: irq=%d, loops=%d, CSR_LTR_LAST_MSG=0x%x\n", 451 irq, loops, value);
|
/linux-master/sound/isa/galaxy/ |
H A D | galaxy.c | 76 int loops = 1000; local 79 if (!loops--) 103 int loops = 1000; local 106 if (!loops--)
|
/linux-master/drivers/usb/gadget/udc/ |
H A D | mv_udc_core.c | 257 unsigned int loops; local 277 loops = LOOPS(READSAFE_TIMEOUT); 298 loops--; 299 if (loops == 0) { 625 unsigned int loops; local 644 loops = LOOPS(EPSTATUS_TIMEOUT); 648 if (loops == 0) { 676 loops--; 1005 unsigned int loops; local 1017 loops 1859 unsigned int loops; local [all...] |
H A D | mv_u3d_core.c | 691 unsigned int loops; local 727 loops = LOOPS(MV_U3D_FLUSH_TIMEOUT); 734 if (loops == 0) { 740 loops--; 749 loops = LOOPS(MV_U3D_FLUSH_TIMEOUT); 756 if (loops == 0) { 762 loops--; 1062 unsigned int loops; local 1074 loops = LOOPS(MV_U3D_RESET_TIMEOUT); 1076 if (loops [all...] |
/linux-master/drivers/spi/ |
H A D | spi-s3c64xx.c | 230 unsigned long loops; local 245 loops = msecs_to_loops(1); 248 } while (TX_FIFO_LVL(val, sdd) && loops--); 250 if (loops == 0) 254 loops = msecs_to_loops(1); 261 } while (loops--); 263 if (loops == 0) 620 int loops; local 658 * size, calculate the loops and read the fifo as many times. 659 * loops [all...] |
/linux-master/fs/btrfs/ |
H A D | space-info.c | 81 * space_info->total_bytes. This loops through the ->priority_tickets and 605 int loops; local 622 * flushing loops and hope for the best. Delalloc will expand 642 loops = 0; 643 while ((delalloc_bytes || ordered_bytes) && loops < 3) { 689 loops++; 1160 int loops = 0; local 1177 loops++; 1238 if (loops == 1 && !space_info->reclaim_size)
|
/linux-master/fs/gfs2/ |
H A D | rgrp.c | 1899 * @loops: An indication of how picky we can be (0=very, 1=less so) 1915 * respective variences, and multiplied by a factor depending on @loops 1923 static bool gfs2_rgrp_congested(const struct gfs2_rgrpd *rgd, int loops) argument 1963 if (loops == 1) 2036 * available. After a couple of passes (loops == 2), the prospects of finding 2054 int loops = 0; local 2077 while (loops < 3) { 2087 if (loops == 0 && 2090 if ((loops < 2) && 2092 gfs2_rgrp_congested(rs->rs_rgd, loops)) [all...] |
/linux-master/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | epn.c | 422 u32 state, reg, loops; local 431 for (loops = 0; loops < 1000; loops++) { 439 if (loops >= 1000)
|
/linux-master/drivers/video/fbdev/ |
H A D | carminefb.c | 435 u32 loops; local 487 for (loops = 0; loops < CARMINE_DCTL_INIT_WAIT_LIMIT; loops++) { 498 if (loops >= CARMINE_DCTL_INIT_WAIT_LIMIT) {
|
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_est.c | 641 int i, loops, ntest; local 658 loops = 1; 676 for (i = loops * cache_factor; i > 0; i--) 689 /* Do more loops on low time resolution */ 690 loops *= 2; 696 do_div(val, loops);
|
/linux-master/sound/core/ |
H A D | init.c | 704 int len, loops; local 721 for (loops = 0; loops < SNDRV_CARDS; loops++) { 730 sprintf(sfxstr, "_%X", loops + 1);
|
/linux-master/drivers/char/tpm/ |
H A D | tpm1-cmd.c | 645 unsigned int loops; local 652 loops = jiffies_to_msecs(duration) / delay_msec; 691 } while (--loops > 0);
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.h | 85 uint32_t loops; member in struct:sli4_link_diag
|
/linux-master/drivers/vfio/pci/ |
H A D | vfio_pci_config.c | 1522 int loops, ret, caps = 0; local 1540 loops = (PCI_CFG_SPACE_SIZE - PCI_STD_HEADER_SIZEOF) / PCI_CAP_SIZEOF; 1541 while (pos && loops--) { 1615 int loops, ret, ecaps = 0; local 1622 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; 1624 while (loops-- && epos >= PCI_CFG_SPACE_SIZE) {
|
/linux-master/arch/arm/lib/ |
H A D | lib1funcs.S | 271 rsbmi r1, r1, #0 @ loops below use unsigned. 312 rsbmi r1, r1, #0 @ loops below use unsigned.
|