| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_clock.c | 45 u32 delta_us, tries; in measure_clock() local 48 tries = MEASURE_CLOCK_RETRIES; in measure_clock() 59 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD_US && --tries); in measure_clock() 61 if (!tries) { in measure_clock() 68 tries = MEASURE_CLOCK_RETRIES; in measure_clock() 78 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD_US && --tries); in measure_clock() 80 if (!tries) { in measure_clock()
|
| /linux/arch/arm/mach-hisi/ |
| H A D | platmcpm.c | 194 unsigned int data, tries, count; in hip04_cpu_kill() local 204 for (tries = 0; tries < count; tries++) { in hip04_cpu_kill() 216 if (tries >= count) in hip04_cpu_kill() 221 for (tries = 0; tries < count; tries++) { in hip04_cpu_kill() 227 if (tries >= count) in hip04_cpu_kill()
|
| /linux/tools/testing/memblock/tests/ |
| H A D | alloc_api.c | 21 * A simple test that tries to allocate a small memory region. 53 * A test that tries to allocate memory next to a reserved region that starts at 114 * A test that tries to allocate memory when there is enough space at the end 156 * A test that tries to allocate memory when there is not enough space at the 204 * A test that tries to allocate memory when there are two reserved regions with 254 * A test that tries to allocate memory when there are two reserved regions with 308 * A test that tries to allocate memory when the memory is filled with reserved 347 * A test that tries to allocate memory when all memory is reserved. 370 * A test that tries to allocate memory when the memory is almost full, 404 * A test that tries to allocate memory when the memory is almost full, [all …]
|
| H A D | alloc_helpers_api.c | 5 * A simple test that tries to allocate a memory region above a specified, 47 * A test that tries to allocate a memory region above a certain address. 91 * A test that tries to allocate a memory region above an address that is too 136 * A test that tries to allocate a memory region when there is no space 183 * A test that tries to allocate a memory region with a minimal address below 219 * A test that tries to allocate a memory region above an address that is too 262 * A test that tries to allocate a memory region when there is no space 308 * A test that tries to allocate a memory region with a minimal address below
|
| H A D | alloc_nid_api.c | 51 * A simple test that tries to allocate a memory region within min_addr and 100 * A simple test that tries to allocate a memory region within min_addr and 153 * A simple test that tries to allocate a memory region, which spans over the 203 * A test that tries to allocate a memory region, which can't fit into 252 * A test that tries to allocate a memory region, which can't fit into 296 * A test that tries to allocate a memory region within min_addr min_addr range, 348 * A test that tries to allocate a memory region within min_addr and max_addr, 398 * A test that tries to allocate memory within min_addr and max_add range, when 464 * A test that tries to allocate memory within min_addr and max_add range, when 524 * A test that tries to allocate memory within min_addr and max_add range, when [all …]
|
| H A D | alloc_exact_nid_api.c | 23 * A test that tries to allocate a memory region in a specific NUMA node that 65 * A test that tries to allocate a memory region in a specific NUMA node that 121 * A test that tries to allocate a memory region that spans over the min_addr 178 * A test that tries to allocate a memory region that spans over the min_addr 235 * A test that tries to allocate memory within min_addr and max_add range when 292 * A test that tries to allocate a memory region in a specific NUMA node that 334 * A test that tries to allocate a memory region in a specific NUMA node that 392 * A test that tries to allocate a memory region that spans over the min_addr 449 * A test that tries to allocate a memory region that spans over the min_addr 506 * A test that tries to allocate memory within min_addr and max_add range when [all …]
|
| H A D | basic_api.c | 106 * A test that tries to add two memory blocks that don't overlap with one 154 * A test that tries to add two memory blocks r1 and r2, where r2 overlaps 206 * A test that tries to add two memory blocks r1 and r2, where r2 overlaps 258 * A test that tries to add two memory blocks r1 and r2, where r2 is 305 * A simple test that tries to add the same memory block twice. Expect 331 * A test that tries to add two memory blocks that don't overlap with one 383 * A simple test that tries to add a memory block r when r extends past 571 * A test that tries to mark two memory blocks that don't overlap as reserved: 618 * A test that tries to mark two memory blocks r1 and r2 as reserved, 671 * A test that tries to mark two memory blocks r1 and r2 as reserved, [all …]
|
| /linux/drivers/rtc/ |
| H A D | rtc-rtd119x.c | 88 int tries = 0; in rtd119x_rtc_read_time() local 97 tries++; in rtd119x_rtc_read_time() 102 if (tries >= 3) in rtd119x_rtc_read_time() 105 if (tries > 1) in rtd119x_rtc_read_time() 106 dev_dbg(dev, "%s: needed %i tries\n", __func__, tries); in rtd119x_rtc_read_time()
|
| H A D | rtc-cadence.c | 157 int tries; in cdns_rtc_set_time() local 170 for (tries = 0; tries < CDNS_RTC_MAX_REGS_TRIES; tries++) { in cdns_rtc_set_time() 221 int tries; in cdns_rtc_set_alarm() local 231 for (tries = 0; tries < CDNS_RTC_MAX_REGS_TRIES; tries++) { in cdns_rtc_set_alarm()
|
| /linux/drivers/char/hw_random/ |
| H A D | arm_smccc_trng.c | 67 int tries = 0; in smccc_trng_read() local 79 tries = 0; in smccc_trng_read() 84 tries++; in smccc_trng_read() 85 if (tries >= SMCCC_TRNG_MAX_TRIES) in smccc_trng_read()
|
| /linux/drivers/macintosh/ |
| H A D | windfarm_fcu_controls.c | 89 int tries, nr, nw; in wf_fcu_read_reg() local 94 tries = 0; in wf_fcu_read_reg() 97 if (nw > 0 || (nw < 0 && nw != -EIO) || tries >= 100) in wf_fcu_read_reg() 100 ++tries; in wf_fcu_read_reg() 107 tries = 0; in wf_fcu_read_reg() 110 if (nr > 0 || (nr < 0 && nr != -ENODEV) || tries >= 100) in wf_fcu_read_reg() 113 ++tries; in wf_fcu_read_reg() 125 int tries, nw; in wf_fcu_write_reg() local 131 tries = 0; in wf_fcu_write_reg() 134 if (nw > 0 || (nw < 0 && nw != -EIO) || tries >= 100) in wf_fcu_write_reg() [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | mainstone-wm97xx.c | 119 static u16 last, tries; in wm97xx_acc_pen_down() local 128 if (tries > 5) { in wm97xx_acc_pen_down() 129 tries = 0; in wm97xx_acc_pen_down() 135 tries++; in wm97xx_acc_pen_down() 156 tries = 0; in wm97xx_acc_pen_down()
|
| /linux/tools/crypto/ccp/ |
| H A D | test_dbc.py | 79 """tries to call get_nonce ioctl with invalid data structures""" 88 """tries to call set_uid ioctl with invalid data structures""" 97 """tries to call set_uid ioctl with invalid data structures""" 106 """tries to call param ioctl with invalid data structures""" 114 """tries to call the DBC ioctl with invalid data structures"""
|
| /linux/drivers/input/joystick/ |
| H A D | grip_mp.c | 322 int flags, tries = 0, bads = 0; in dig_mode_start() local 333 while (tries < 64 && bads < 8) { /* Reset multiport and try getting a packet */ in dig_mode_start() 341 tries++; in dig_mode_start() 479 int dig_mode, initialized = 0, tries = 0; in multiport_init() local 483 while (!dig_mode && tries < 4) { in multiport_init() 485 tries++; in multiport_init() 496 for (tries = 0; tries < 4096; tries++) { in multiport_init()
|
| /linux/tools/testing/selftests/arm64/mte/ |
| H A D | check_tags_inclusion.c | 63 /* Try to catch a excluded tag by a number of tries. */ in check_single_included_tags() 95 /* Try to catch a excluded tag by a number of tries. */ in check_multiple_included_tags() 126 /* Try to catch a excluded tag by a number of tries. */ in check_all_included_tags() 151 /* Try to catch a excluded tag by a number of tries. */ in check_none_included_tags()
|
| /linux/drivers/regulator/ |
| H A D | tps65090-regulator.c | 135 int ret, tries; in tps65090_fet_enable() local 141 tries = 0; in tps65090_fet_enable() 146 if (ret != -ENOTRECOVERABLE || tries == MAX_FET_ENABLE_TRIES) in tps65090_fet_enable() 155 tries++; in tps65090_fet_enable() 158 if (tries) in tps65090_fet_enable() 159 dev_warn(&rdev->dev, "reg %#x enable ok after %d tries\n", in tps65090_fet_enable() 160 rdev->desc->enable_reg, tries); in tps65090_fet_enable()
|
| /linux/arch/arm/mach-versatile/ |
| H A D | tc2_pm.c | 126 unsigned tries; in tc2_pm_wait_for_powerdown() local 131 for (tries = 0; tries < TIMEOUT_MSEC / POLL_MSEC; ++tries) { in tc2_pm_wait_for_powerdown()
|
| /linux/drivers/w1/slaves/ |
| H A D | w1_ds2430.c | 69 int tries = W1_F14_READ_RETRIES; in w1_f14_readblock() local 89 } while (--tries); in w1_f14_readblock() 147 int tries = W1_F14_READ_RETRIES; in w1_f14_write() local 177 if (--tries) in w1_f14_write()
|
| H A D | w1_ds2431.c | 68 int tries = W1_F2D_READ_RETRIES; in w1_f2d_readblock() local 89 } while (--tries); in w1_f2d_readblock() 147 int tries = W1_F2D_READ_RETRIES; in w1_f2d_write() local 176 if (--tries) in w1_f2d_write()
|
| H A D | w1_ds2805.c | 65 int tries = W1_F0D_READ_RETRIES; in w1_f0d_readblock() local 86 } while (--tries); in w1_f0d_readblock() 146 int tries = W1_F0D_READ_RETRIES; in w1_f0d_write() local 174 if (--tries) in w1_f0d_write()
|
| /linux/drivers/iio/humidity/ |
| H A D | si7005.c | 41 int tries = 50; in si7005_read_measurement() local 52 while (tries-- > 0) { in si7005_read_measurement() 60 if (tries < 0) { in si7005_read_measurement()
|
| /linux/fs/jffs2/ |
| H A D | Kconfig | 170 Tries the compressors in a predefined order and chooses the first 176 Tries all compressors and chooses the one which has the smallest 182 Tries all compressors and chooses the one which has the smallest
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | kvm-remote.sh | 163 tries=0 166 …echo Unable to download $T/binres.tgz to system $i, waiting and then retrying. $tries prior retri… 172 if test "$tries" > 5 178 tries=$((tries+1))
|
| /linux/drivers/mtd/ubi/ |
| H A D | eba.c | 897 * This function tries %UBI_IO_RETRIES before giving up. 902 int err, idx = vol_id2idx(ubi, vol_id), tries; in recover_peb() local 910 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in recover_peb() 935 * This function tries to write VID header and data belonging to logical 1016 int err, pnum, tries, vol_id = vol->vol_id; in ubi_eba_write_leb() local 1068 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in ubi_eba_write_leb() 1119 int err, tries, data_size = len, vol_id = vol->vol_id; in ubi_eba_write_leb_st() local 1157 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in ubi_eba_write_leb_st() 1197 int err, tries, vol_id = vol->vol_id; in ubi_eba_atomic_leb_change() local 1241 for (tries = 0; tries <= UBI_IO_RETRIES; tries++) { in ubi_eba_atomic_leb_change()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-octeon-core.h | 165 int tries = 1000; in octeon_i2c_reg_write() local 171 if (--tries < 0) in octeon_i2c_reg_write() 193 int tries = 1000; in octeon_i2c_reg_read() local 199 if (--tries < 0) { in octeon_i2c_reg_read()
|