Home
last modified time | relevance | path

Searched full:tries (Results 1 – 25 of 2099) sorted by relevance

12345678910>>...84

/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
Dadf_clock.c44 u32 delta_us, tries; in measure_clock() local
47 tries = MEASURE_CLOCK_RETRIES; in measure_clock()
58 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD_US && --tries); in measure_clock()
60 if (!tries) { in measure_clock()
67 tries = MEASURE_CLOCK_RETRIES; in measure_clock()
77 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD_US && --tries); in measure_clock()
79 if (!tries) { in measure_clock()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-dm355evm.c37 int tries = 0; in dm355evm_rtc_read_time() local
48 if (tries && time.bytes[0] == status) in dm355evm_rtc_read_time()
55 if (tries && time.bytes[1] == status) in dm355evm_rtc_read_time()
62 if (tries && time.bytes[2] == status) in dm355evm_rtc_read_time()
69 if (tries && time.bytes[3] == status) in dm355evm_rtc_read_time()
73 } while (++tries < 5); in dm355evm_rtc_read_time()
Drtc-rtd119x.c89 int tries = 0; in rtd119x_rtc_read_time() local
98 tries++; in rtd119x_rtc_read_time()
103 if (tries >= 3) in rtd119x_rtc_read_time()
106 if (tries > 1) in rtd119x_rtc_read_time()
107 dev_dbg(dev, "%s: needed %i tries\n", __func__, tries); in rtd119x_rtc_read_time()
Drtc-cadence.c157 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_sd7220.c177 int ret, pat, tries, chn; in qib_resync_ibepb() local
182 for (tries = 0; tries < (4 * IBSD_RESYNC_TRIES); ++tries) { in qib_resync_ibepb()
189 if (ret != 0xF0 && ret != 0x55 && tries == 0) in qib_resync_ibepb()
623 int tries; in epb_trans() local
630 for (tries = EPB_TRANS_TRIES; tries; --tries) { in epb_trans()
638 if (tries > 0 && o_vp) in epb_trans()
640 return tries; in epb_trans()
662 int tries, ret; in qib_sd7220_reg_mod() local
691 for (tries = EPB_TRANS_TRIES; tries; --tries) { in qib_sd7220_reg_mod()
698 if (tries > 0) { in qib_sd7220_reg_mod()
[all …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
Dqib_sd7220.c177 int ret, pat, tries, chn; in qib_resync_ibepb() local
182 for (tries = 0; tries < (4 * IBSD_RESYNC_TRIES); ++tries) { in qib_resync_ibepb()
189 if (ret != 0xF0 && ret != 0x55 && tries == 0) in qib_resync_ibepb()
623 int tries; in epb_trans() local
630 for (tries = EPB_TRANS_TRIES; tries; --tries) { in epb_trans()
638 if (tries > 0 && o_vp) in epb_trans()
640 return tries; in epb_trans()
662 int tries, ret; in qib_sd7220_reg_mod() local
690 for (tries = EPB_TRANS_TRIES; tries; --tries) { in qib_sd7220_reg_mod()
697 if (tries > 0) { in qib_sd7220_reg_mod()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-hisi/
Dplatmcpm.c194 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()
/kernel/linux/linux-6.6/arch/arm/mach-hisi/
Dplatmcpm.c194 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()
/kernel/linux/linux-6.6/tools/testing/memblock/tests/
Dalloc_api.c21 * 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 …]
Dalloc_helpers_api.c5 * 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
Dbasic_api.c106 * 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 …]
Dalloc_nid_api.c51 * 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 …]
Dalloc_exact_nid_api.c23 * 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 …]
/kernel/linux/linux-6.6/drivers/rtc/
Drtc-rtd119x.c88 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()
Drtc-cadence.c157 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()
/kernel/linux/linux-6.6/drivers/char/hw_random/
Darm_smccc_trng.c67 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()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dzylonite-wm97xx.c90 static u16 last, tries; in wm97xx_acc_pen_down() local
99 if (tries > 5) { in wm97xx_acc_pen_down()
100 tries = 0; in wm97xx_acc_pen_down()
106 tries++; in wm97xx_acc_pen_down()
127 tries = 0; in wm97xx_acc_pen_down()
Dmainstone-wm97xx.c60 static u16 last, tries; variable
132 if (tries > 5) { in wm97xx_acc_pen_down()
133 tries = 0; in wm97xx_acc_pen_down()
139 tries++; in wm97xx_acc_pen_down()
160 tries = 0; in wm97xx_acc_pen_down()
/kernel/linux/linux-6.6/drivers/macintosh/
Dwindfarm_fcu_controls.c89 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 …]
/kernel/linux/linux-5.10/drivers/macintosh/
Dwindfarm_fcu_controls.c89 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sa.c208 unsigned *tries) in amdgpu_sa_bo_next_hole() argument
242 /* limit the number of tries each ring gets */ in amdgpu_sa_bo_next_hole()
243 if (tries[i] > 2) { in amdgpu_sa_bo_next_hole()
264 ++tries[idx]; in amdgpu_sa_bo_next_hole()
280 unsigned tries[AMDGPU_SA_NUM_FENCE_LISTS]; in amdgpu_sa_bo_new() local
302 tries[i] = 0; in amdgpu_sa_bo_new()
314 } while (amdgpu_sa_bo_next_hole(sa_manager, fences, tries)); in amdgpu_sa_bo_new()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
Dmainstone-wm97xx.c119 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_sa.c249 unsigned *tries) in radeon_sa_bo_next_hole() argument
282 /* limit the number of tries each ring gets */ in radeon_sa_bo_next_hole()
283 if (tries[i] > 2) { in radeon_sa_bo_next_hole()
301 ++tries[best_bo->fence->ring]; in radeon_sa_bo_next_hole()
318 unsigned tries[RADEON_NUM_RINGS]; in radeon_sa_bo_new() local
337 tries[i] = 0; in radeon_sa_bo_new()
350 } while (radeon_sa_bo_next_hole(sa_manager, fences, tries)); in radeon_sa_bo_new()
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_suballoc.c226 unsigned int *tries) in drm_suballoc_next_hole() argument
261 /* limit the number of tries each freelist gets */ in drm_suballoc_next_hole()
262 if (tries[i] > 2) in drm_suballoc_next_hole()
280 ++tries[best_idx]; in drm_suballoc_next_hole()
317 unsigned int tries[DRM_SUBALLOC_MAX_QUEUES]; in drm_suballoc_new() local
341 tries[i] = 0; in drm_suballoc_new()
353 } while (drm_suballoc_next_hole(sa_manager, fences, tries)); in drm_suballoc_new()
/kernel/linux/linux-6.6/tools/crypto/ccp/
Dtest_dbc.py79 """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"""

12345678910>>...84