/linux/tools/testing/radix-tree/ |
H A D | benchmark.c | 53 unsigned long size, unsigned long step) in benchmark_insert() argument 61 for (index = 0 ; index < size ; index += step) in benchmark_insert() 70 size, step, nsec); in benchmark_insert() 74 unsigned long size, unsigned long step) in benchmark_tagging() argument 82 for (index = 0 ; index < size ; index += step) in benchmark_tagging() 91 size, step, nsec); in benchmark_tagging() 95 unsigned long size, unsigned long step) in benchmark_delete() argument 103 for (index = 0 ; index < size ; index += step) in benchmark_delete() 112 size, step, nsec); in benchmark_delete() 115 static void benchmark_size(unsigned long size, unsigned long step) in benchmark_size() argument [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_step.c | 119 struct xe_step_info step = {}; in xe_step_pre_gmdid_get() local 167 return step; in xe_step_pre_gmdid_get() 170 step = revids[revid]; in xe_step_pre_gmdid_get() 188 step = revids[revid]; in xe_step_pre_gmdid_get() 191 step.graphics = STEP_FUTURE; in xe_step_pre_gmdid_get() 195 drm_WARN_ON(&xe->drm, step.graphics == STEP_NONE); in xe_step_pre_gmdid_get() 199 step.basedie = basedie_info[baseid]; in xe_step_pre_gmdid_get() 202 step.basedie = STEP_FUTURE; in xe_step_pre_gmdid_get() 206 return step; in xe_step_pre_gmdid_get() 225 struct xe_step_info step = { in xe_step_gmdid_get() local [all …]
|
/linux/include/linux/ |
H A D | iov_iter.h | 25 iov_ustep_f step) in iterate_ubuf() argument 30 remain = step(base + iter->iov_offset, 0, len, priv, priv2); in iterate_ubuf() 42 iov_ustep_f step) in iterate_iovec() argument 52 remain = step(p->iov_base + skip, progress, part, priv, priv2); in iterate_iovec() 76 iov_step_f step) in iterate_kvec() argument 86 remain = step(p->iov_base + skip, progress, part, priv, priv2); in iterate_kvec() 110 iov_step_f step) in iterate_bvec() argument 123 remain = step(kaddr + offset % PAGE_SIZE, progress, part, priv, priv2); in iterate_bvec() 149 iov_step_f step) in iterate_folioq() argument 173 remain = step(base, progress, part, priv, priv2); in iterate_folioq() [all …]
|
/linux/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 69 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument 95 (GDC_CMD_BITMAP << 16) | (2 + (step * height)); in mb86290fb_imageblit1() 100 memcpy(&cmd[9 + i * step], line, step << 2); in mb86290fb_imageblit1() 104 for (k = 0; k < step; k++) in mb86290fb_imageblit1() 105 cmd[9 + i * step + k] = in mb86290fb_imageblit1() 106 cpu_to_be32(cmd[9 + i * step + k]); in mb86290fb_imageblit1() 118 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument 128 (GDC_CMD_BLT_DRAW << 16) | (2 + (height * step)); in mb86290fb_imageblit8() 138 for (j = 0; j < step; j++) { in mb86290fb_imageblit8() 139 cmd[3 + i * step + j] = in mb86290fb_imageblit8() [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_ring.c | 52 static int check_ring_step(struct intel_ring *ring, u32 x, u32 step) in check_ring_step() argument 54 u32 prev = x, next = intel_ring_wrap(ring, x + step); in check_ring_step() 65 static int check_ring_offset(struct intel_ring *ring, u32 x, u32 step) in check_ring_offset() argument 69 err |= check_ring_step(ring, x, step); in check_ring_offset() 70 err |= check_ring_step(ring, intel_ring_wrap(ring, x + 1), step); in check_ring_offset() 71 err |= check_ring_step(ring, intel_ring_wrap(ring, x - 1), step); in check_ring_offset() 80 int step, err = 0; in igt_ring_direction() local 89 for (step = 1; step < half; step <<= 1) { in igt_ring_direction() 90 err |= check_ring_offset(ring, 0, step); in igt_ring_direction() 91 err |= check_ring_offset(ring, half, step); in igt_ring_direction()
|
/linux/drivers/mtd/nand/ |
H A D | ecc-mxic.c | 484 int step; in mxic_ecc_extract_status_bytes() local 487 for (step = 0; step < ctx->steps; step++) { in mxic_ecc_extract_status_bytes() 489 ((STAT_BYTES + ctx->oob_step_sz) * step); in mxic_ecc_extract_status_bytes() 491 ctx->status[step] = buf[next_stat_pos]; in mxic_ecc_extract_status_bytes() 498 int step; in mxic_ecc_reconstruct_oobbuf() local 501 for (step = 0; step < ctx->steps; step++) in mxic_ecc_reconstruct_oobbuf() 502 memcpy(dst + (step * ctx->oob_step_sz), in mxic_ecc_reconstruct_oobbuf() 503 src + (step * (ctx->oob_step_sz + STAT_BYTES)), in mxic_ecc_reconstruct_oobbuf() 510 int step; in mxic_ecc_add_room_in_oobbuf() local 513 for (step = 0; step < ctx->steps; step++) in mxic_ecc_add_room_in_oobbuf() [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | intel_step.c | 138 u8 step = gmd->step + STEP_A0; in gmd_to_intel_step() local 140 if (step >= STEP_FUTURE) { in gmd_to_intel_step() 145 return step; in gmd_to_intel_step() 153 struct intel_step_info step = {}; in intel_step_init() local 156 step.graphics_step = gmd_to_intel_step(i915, in intel_step_init() 158 step.media_step = gmd_to_intel_step(i915, in intel_step_init() 161 RUNTIME_INFO(i915)->step = step; in intel_step_init() 227 step = revids[revid]; in intel_step_init() 245 step = revids[revid]; in intel_step_init() 248 step.graphics_step = STEP_FUTURE; in intel_step_init() [all …]
|
/linux/lib/ |
H A D | test_bitmap.c | 436 #define step (sizeof(u64) / sizeof(unsigned long)) macro 439 {0, "1", &exp1[1 * step], 8, 0}, 440 {0, "0-15", &exp1[2 * step], 32, 0}, 441 {0, "16-31", &exp1[3 * step], 32, 0}, 442 {0, "0-31:1/2", &exp1[4 * step], 32, 0}, 443 {0, "1-31:1/2", &exp1[5 * step], 32, 0}, 444 {0, "0-31:1/4", &exp1[6 * step], 32, 0}, 445 {0, "1-31:1/4", &exp1[7 * step], 32, 0}, 446 {0, "0-31:4/4", &exp1[8 * step], 32, 0}, 447 {0, "1-31:4/4", &exp1[9 * step], 32, 0}, [all …]
|
H A D | linear_ranges.c | 72 return r->min + (r->max_sel - r->min_sel) * r->step; in linear_range_get_max_value() 93 *val = r->min + (selector - r->min_sel) * r->step; in linear_range_get_value() 154 if (r->step == 0) in linear_range_get_selector_low() 157 *selector = (val - r->min) / r->step + r->min_sel; in linear_range_get_selector_low() 235 if (r->step == 0) in linear_range_get_selector_high() 238 *selector = DIV_ROUND_UP(val - r->min, r->step) + r->min_sel; in linear_range_get_selector_high() 268 if (r->step == 0) in linear_range_get_selector_within() 271 *selector = (val - r->min) / r->step + r->min_sel; in linear_range_get_selector_within()
|
/linux/include/trace/events/ |
H A D | wbt.h | 92 int step, unsigned long window, unsigned int bg, 95 TP_ARGS(bdi, msg, step, window, bg, normal, max), 100 __field(int, step) 111 __entry->step = step; 119 __entry->name, __entry->msg, __entry->step, __entry->window, 132 int step, unsigned int inflight), 134 TP_ARGS(bdi, status, step, inflight), 139 __field(int, step) 147 __entry->step = step; 152 __entry->status, __entry->step, __entry->inflight)
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | cpu_hotplug.rst | 586 bash-394 [001] 22.976: cpuhp_enter: cpu: 0004 target: 140 step: 169 (cpuhp_kick_ap_work) 587 cpuhp/4-31 [004] 22.977: cpuhp_enter: cpu: 0004 target: 140 step: 168 (sched_cpu_deactivate) 588 cpuhp/4-31 [004] 22.990: cpuhp_exit: cpu: 0004 state: 168 step: 168 ret: 0 589 cpuhp/4-31 [004] 22.991: cpuhp_enter: cpu: 0004 target: 140 step: 144 (mce_cpu_pre_down) 590 cpuhp/4-31 [004] 22.992: cpuhp_exit: cpu: 0004 state: 144 step: 144 ret: 0 591 …cpuhp/4-31 [004] 22.993: cpuhp_multi_enter: cpu: 0004 target: 140 step: 143 (virtnet_cpu_down_p… 592 cpuhp/4-31 [004] 22.994: cpuhp_exit: cpu: 0004 state: 143 step: 143 ret: 0 593 cpuhp/4-31 [004] 22.995: cpuhp_enter: cpu: 0004 target: 140 step: 142 (cacheinfo_cpu_pre_down) 594 cpuhp/4-31 [004] 22.996: cpuhp_exit: cpu: 0004 state: 142 step: 142 ret: 0 595 bash-394 [001] 22.997: cpuhp_exit: cpu: 0004 state: 140 step: 169 ret: 0 [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | htab_mem_bench.c | 14 unsigned int step; member 32 ctx->from += ctx->step; in write_htab() 50 ctx->from += ctx->step; in del_htab() 61 update.step = nr_thread; in overwrite() 73 update.step = nr_thread; in batch_add_batch_del() 89 update.step = nr_thread / 2; in add_only() 101 update.step = nr_thread / 2; in del_only()
|
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_syncmap.c | 335 unsigned int step, order, idx; in igt_syncmap_join_below() local 344 for (step = 0; step < KSYNCMAP; step++) { in igt_syncmap_join_below() 346 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below() 354 context, order, step, sync->height, sync->prefix); in igt_syncmap_join_below() 361 for (step = 0; step < KSYNCMAP; step++) { in igt_syncmap_join_below() 363 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below() 367 context, order, step); in igt_syncmap_join_below() 375 context + idx, order, step); in igt_syncmap_join_below() 384 for (step = 0; step < KSYNCMAP; step++) { in igt_syncmap_join_below() 385 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below() [all …]
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | subcore.c | 144 u8 step; member 150 static void wait_for_sync_step(int step) in wait_for_sync_step() argument 155 while(per_cpu(split_state, i).step < step) in wait_for_sync_step() 196 per_cpu(split_state, cpu).step = SYNC_STEP_UNSPLIT; in unsplit_core() 230 split_core_secondary_loop(&per_cpu(split_state, cpu).step); in split_core() 262 per_cpu(split_state, smp_processor_id()).step = SYNC_STEP_FINISHED; in cpu_do_split() 320 while(per_cpu(split_state, cpu).step < SYNC_STEP_FINISHED) in cpu_update_split_mode() 356 state->step = SYNC_STEP_INITIAL; in set_subcores_per_core()
|
/linux/drivers/regulator/ |
H A D | da903x-regulator.c | 309 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 316 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ 319 .uV_step = (step) * 1000, \ 329 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument 336 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ 339 .uV_step = (step) * 1000, \ 351 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 352 DA903x_LDO(DA9034, _id, min, max, step, vreg, shift, nbits, ereg, ebit) 354 #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 355 DA903x_LDO(DA9030, _id, min, max, step, vreg, shift, nbits, ereg, ebit) [all …]
|
/linux/arch/powerpc/mm/book3s64/ |
H A D | hash_pgtable.c | 407 unsigned int step, nr_cpus; member 419 unsigned int step, unsigned long newpp) in change_memory_range() argument 424 start, end, newpp, step); in change_memory_range() 426 for (idx = start; idx < end; idx += step) in change_memory_range() 490 change_memory_range(parms->start, parms->end, parms->step, parms->newpp); in change_memory_range_fn() 503 unsigned int step, shift; in hash__change_memory_range() local 506 step = 1 << shift; in hash__change_memory_range() 508 start = ALIGN_DOWN(start, step); in hash__change_memory_range() 509 end = ALIGN(end, step); // aligns up in hash__change_memory_range() 519 chmem_parms.step = step; in hash__change_memory_range() [all …]
|
/linux/fs/bcachefs/ |
H A D | time_stats.c | 46 if (unlikely(!e->step)) { in quantiles_update() 48 e->step = max_t(unsigned, v / 2, 1024); in quantiles_update() 50 e->m = e->m >= e->step in quantiles_update() 51 ? e->m - e->step in quantiles_update() 54 e->m = e->m + e->step > e->m in quantiles_update() 55 ? e->m + e->step in quantiles_update() 59 if ((e->m > v ? e->m - v : v - e->m) < e->step) in quantiles_update() 60 e->step = max_t(unsigned, e->step / 2, 1); in quantiles_update()
|
/linux/drivers/gpu/drm/xe/tests/ |
H A D | xe_wa_test.c | 24 struct xe_step_info step; member 32 .step = { .graphics = STEP_ ## graphics_step__ } \ 41 .step = { .graphics = STEP_ ## graphics_step__ } \ 52 .step = { .graphics = STEP_ ## graphics_step__, \ 95 .graphics_step = param->step.graphics, in xe_wa_test_init() 96 .media_step = param->step.media, in xe_wa_test_init() 113 xe->info.step = param->step; in xe_wa_test_init()
|
/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_phase.c | 18 u16 step, parent_div; in ccu_phase_get_phase() local 52 step = DIV_ROUND_CLOSEST(360, parent_div); in ccu_phase_get_phase() 53 return delay * step; in ccu_phase_get_phase() 86 u16 step, parent_div; in ccu_phase_set_phase() local 104 step = DIV_ROUND_CLOSEST(360, parent_div); in ccu_phase_set_phase() 105 delay = DIV_ROUND_CLOSEST(degrees, step); in ccu_phase_set_phase()
|
/linux/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | controls.c | 77 u64 step; /* step size of the control */ member 918 .step = 1, 929 .step = 1, 940 .step = 1, 951 .step = 1, 962 .step = 1, 973 .step = 1, 984 .step = 1, 995 .step = 0, 1007 .step = 1, [all …]
|
/linux/Documentation/devicetree/bindings/mtd/ |
H A D | hisi504-nand.txt | 17 - nand-ecc-strength: Number of bits to correct per ECC step. 18 - nand-ecc-step-size: Number of data bytes covered by a single ECC step. 20 The following ECC strength and step size are currently supported: 22 - nand-ecc-strength = <16>, nand-ecc-step-size = <1024> 36 nand-ecc-step-size = <1024>;
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | tps51632-regulator.txt | 9 - ti,dvfs-step-20mV: The 20mV step voltage when PWM DVFS enabled. Missing this 10 will set 10mV step voltage in PWM DVFS mode. In normal mode, the voltage 11 step is 10mV as per datasheet. 26 ti,dvfs-step-20mV;
|
/linux/Documentation/admin-guide/media/ |
H A D | si4713.rst | 79 rds_signal_deviation (int) : min=0 max=90000 step=10 default=200 value=200 flags=slider 80 rds_program_id (int) : min=0 max=65535 step=1 default=0 value=0 81 rds_program_type (int) : min=0 max=31 step=1 default=0 value=0 82 rds_ps_name (str) : min=0 max=96 step=8 value='si4713 ' 83 rds_radio_text (str) : min=0 max=384 step=32 value='' 85 audio_limiter_release_time (int) : min=250 max=102390 step=50 default=5010 value=5010 flags=slider 86 audio_limiter_deviation (int) : min=0 max=90000 step=10 default=66250 value=66250 flags=slider 88 audio_compression_gain (int) : min=0 max=20 step=1 default=15 value=15 flags=slider 89 audio_compression_threshold (int) : min=-40 max=0 step=1 default=-40 value=-40 flags=slider 90 audio_compression_attack_time (int) : min=0 max=5000 step=500 default=0 value=0 flags=slider [all …]
|
/linux/tools/testing/selftests/bpf/map_tests/ |
H A D | lpm_trie_map_batch_ops.c | 71 __u32 step, count, total, total_success; in test_lpm_trie_map_batch_ops() local 93 for (step = 1; step < max_entries; step++) { in test_lpm_trie_map_batch_ops() 103 count = step; in test_lpm_trie_map_batch_ops() 123 count = step; in test_lpm_trie_map_batch_ops() 125 if (max_entries - total < step) in test_lpm_trie_map_batch_ops()
|
/linux/net/sunrpc/auth_gss/ |
H A D | gss_krb5_keys.c | 306 u32 outlen, u32 count, struct xdr_netobj *step) in krb5_cmac_Ki() argument 319 ret = crypto_shash_update(desc, step->data, step->len); in krb5_cmac_Ki() 334 ret = crypto_shash_final(desc, step->data); in krb5_cmac_Ki() 374 struct xdr_netobj step = { .data = NULL }; in krb5_kdf_feedback_cmac() local 400 step.len = blocksize; in krb5_kdf_feedback_cmac() 401 step.data = kzalloc(step.len, gfp_mask); in krb5_kdf_feedback_cmac() 402 if (!step.data) in krb5_kdf_feedback_cmac() 412 ret = krb5_cmac_Ki(tfm, constant, outkey->len, count, &step); in krb5_kdf_feedback_cmac() 416 memcpy(DR.data + offset, step.data, blocksize); in krb5_kdf_feedback_cmac() 427 kfree_sensitive(step.data); in krb5_kdf_feedback_cmac()
|