/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
H A D | benchmark.c | 53 unsigned long size, unsigned long step) in benchmark_insert() 61 for (index = 0 ; index < size ; index += step) in benchmark_insert() 69 printv(2, "Size: %8ld, step: %8ld, insertion: %15lld ns\n", in benchmark_insert() 70 size, step, nsec); in benchmark_insert() 74 unsigned long size, unsigned long step) in benchmark_tagging() 82 for (index = 0 ; index < size ; index += step) in benchmark_tagging() 90 printv(2, "Size: %8ld, step: %8ld, tagging: %17lld ns\n", in benchmark_tagging() 91 size, step, nsec); in benchmark_tagging() 95 unsigned long size, unsigned long step) in benchmark_delete() 103 for (index = 0 ; index < size ; index += step) in benchmark_delete() 52 benchmark_insert(struct radix_tree_root *root, unsigned long size, unsigned long step) benchmark_insert() argument 73 benchmark_tagging(struct radix_tree_root *root, unsigned long size, unsigned long step) benchmark_tagging() argument 94 benchmark_delete(struct radix_tree_root *root, unsigned long size, unsigned long step) benchmark_delete() argument 115 benchmark_size(unsigned long size, unsigned long step) benchmark_size() argument 140 unsigned long step[] = {1, 2, 7, 15, 63, 64, 65, benchmark() local [all...] |
/kernel/linux/linux-6.6/tools/testing/radix-tree/ |
H A D | benchmark.c | 53 unsigned long size, unsigned long step) in benchmark_insert() 61 for (index = 0 ; index < size ; index += step) in benchmark_insert() 69 printv(2, "Size: %8ld, step: %8ld, insertion: %15lld ns\n", in benchmark_insert() 70 size, step, nsec); in benchmark_insert() 74 unsigned long size, unsigned long step) in benchmark_tagging() 82 for (index = 0 ; index < size ; index += step) in benchmark_tagging() 90 printv(2, "Size: %8ld, step: %8ld, tagging: %17lld ns\n", in benchmark_tagging() 91 size, step, nsec); in benchmark_tagging() 95 unsigned long size, unsigned long step) in benchmark_delete() 103 for (index = 0 ; index < size ; index += step) in benchmark_delete() 52 benchmark_insert(struct radix_tree_root *root, unsigned long size, unsigned long step) benchmark_insert() argument 73 benchmark_tagging(struct radix_tree_root *root, unsigned long size, unsigned long step) benchmark_tagging() argument 94 benchmark_delete(struct radix_tree_root *root, unsigned long size, unsigned long step) benchmark_delete() argument 115 benchmark_size(unsigned long size, unsigned long step) benchmark_size() argument 140 unsigned long step[] = {1, 2, 7, 15, 63, 64, 65, benchmark() local [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | test_bitmap.c | 312 #define step (sizeof(u64) / sizeof(unsigned long)) macro 315 {0, "1", &exp1[1 * step], 8, 0}, 316 {0, "0-15", &exp1[2 * step], 32, 0}, 317 {0, "16-31", &exp1[3 * step], 32, 0}, 318 {0, "0-31:1/2", &exp1[4 * step], 32, 0}, 319 {0, "1-31:1/2", &exp1[5 * step], 32, 0}, 320 {0, "0-31:1/4", &exp1[6 * step], 32, 0}, 321 {0, "1-31:1/4", &exp1[7 * step], 32, 0}, 322 {0, "0-31:4/4", &exp1[8 * step], 32, 0}, 323 {0, "1-31:4/4", &exp1[9 * step], 3 430 #undef step global() macro [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 71 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument 97 (GDC_CMD_BITMAP << 16) | (2 + (step * height)); in mb86290fb_imageblit1() 102 memcpy(&cmd[9 + i * step], line, step << 2); in mb86290fb_imageblit1() 106 for (k = 0; k < step; k++) in mb86290fb_imageblit1() 107 cmd[9 + i * step + k] = in mb86290fb_imageblit1() 108 cpu_to_be32(cmd[9 + i * step + k]); in mb86290fb_imageblit1() 120 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument 130 (GDC_CMD_BLT_DRAW << 16) | (2 + (height * step)); in mb86290fb_imageblit8() 140 for (j = 0; j < step; in mb86290fb_imageblit8() 159 mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, u16 width, u16 height, u32 fgcolor, u32 bgcolor, const struct fb_image *image, struct fb_info *info) mb86290fb_imageblit16() argument 192 u16 step; mb86290fb_imageblit() local [all...] |
/kernel/linux/linux-6.6/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; in mb86290fb_imageblit8() 157 mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, u16 width, u16 height, u32 fgcolor, u32 bgcolor, const struct fb_image *image, struct fb_info *info) mb86290fb_imageblit16() argument 190 u16 step; mb86290fb_imageblit() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | intel_step.c | 145 u8 step = gmd->step + STEP_A0; in gmd_to_intel_step() local 147 if (step >= STEP_FUTURE) { in gmd_to_intel_step() 152 return step; in gmd_to_intel_step() 162 struct intel_step_info step = {}; in intel_step_init() local 165 step.graphics_step = gmd_to_intel_step(i915, in intel_step_init() 167 step.media_step = gmd_to_intel_step(i915, in intel_step_init() 169 step.display_step = STEP_A0 + DISPLAY_RUNTIME_INFO(i915)->ip.step; in intel_step_init() 170 if (step in intel_step_init() 346 intel_step_name(enum intel_step step) intel_step_name() argument [all...] |
/kernel/linux/linux-5.10/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 << in igt_ring_direction() [all...] |
/kernel/linux/linux-6.6/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 << in igt_ring_direction() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/ |
H A D | ecc-mxic.c | 372 /* Trigger each step manually */ in mxic_ecc_init_ctx_external() 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 < ct in mxic_ecc_reconstruct_oobbuf() 510 int step; mxic_ecc_add_room_in_oobbuf() local 527 int step; mxic_ecc_count_biterrs() local 558 int offset, nents, step, ret; mxic_ecc_prepare_io_req_external() local 617 int nents, step, ret; mxic_ecc_finish_io_req_external() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | test_bitmap.c | 372 #define step (sizeof(u64) / sizeof(unsigned long)) macro 375 {0, "1", &exp1[1 * step], 8, 0}, 376 {0, "0-15", &exp1[2 * step], 32, 0}, 377 {0, "16-31", &exp1[3 * step], 32, 0}, 378 {0, "0-31:1/2", &exp1[4 * step], 32, 0}, 379 {0, "1-31:1/2", &exp1[5 * step], 32, 0}, 380 {0, "0-31:1/4", &exp1[6 * step], 32, 0}, 381 {0, "1-31:1/4", &exp1[7 * step], 32, 0}, 382 {0, "0-31:4/4", &exp1[8 * step], 32, 0}, 383 {0, "1-31:4/4", &exp1[9 * step], 3 569 #undef step global() macro [all...] |
H A D | linear_ranges.c | 22 * be all equal - range with selectors 0,...,2 with step 0 still contains 41 * be all equal - range with selectors 0,...,2 with step 0 still contains 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 in linear_range_get_selector_within() [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | wbt.h | 81 * wbt_step - trace wb event step 83 * @step: the current scale step count 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; 118 TP_printk("%s: %s: step=%d, window=%luus, background=%u, normal=%u, max=%u", 119 __entry->name, __entry->msg, __entry->step, __entr [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | wbt.h | 81 * wbt_step - trace wb event step 83 * @step: the current scale step count 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; 118 TP_printk("%s: %s: step=%d, window=%luus, background=%u, normal=%u, max=%u", 119 __entry->name, __entry->msg, __entry->step, __entr [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_enc.c | 118 .step = 1, 134 .step = 1, 142 .step = 1, 150 .step = 1, 159 .step = 1, 168 .step = 1, 176 .step = 1, 184 .step = 1, 193 .step = 1, 210 .step [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_enc.c | 118 .step = 1, 134 .step = 1, 142 .step = 1, 150 .step = 1, 159 .step = 1, 168 .step = 1, 176 .step = 1, 184 .step = 1, 193 .step = 1, 210 .step [all...] |
/test/testfwk/arkxtest/uitest/test/ |
H A D | ui_action_test.cpp | 144 uint32_t step = 0; in TEST_F() local 147 // check the TouchEvent of each step in TEST_F() 151 uint32_t expectedTimeOffset = (totalCostMs * step) / steps; in TEST_F() 155 if (step == 0) { in TEST_F() 158 } else if (step == events.GetSize() - 1) { in TEST_F() 165 step++; in TEST_F() 191 uint32_t step = 0; in TEST_F() local 194 // check the TouchEvent of each step in TEST_F() 198 uint32_t expectedTimeOffset = (totalCostMs * step) / steps; in TEST_F() 202 if (step in TEST_F() 232 uint32_t step = 0; TEST_F() local 278 const uint32_t step = 4; TEST_F() local 315 const uint32_t step = 4; TEST_F() local 372 uint32_t step = 0; TEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/include/media/ |
H A D | lm3554.h | 36 .step = (_step), \ 48 .step = 1, \ 96 #define LM3554_VALUE_TO_PERCENT(v, step) (((((unsigned long)(v)) * (step)) + 50) / 100) 97 #define LM3554_PERCENT_TO_VALUE(p, step) (((((unsigned long)(p)) * 100) + (step >> 1)) / (step))
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/include/media/ |
H A D | lm3554.h | 36 .step = (_step), \ 48 .step = 1, \ 96 #define LM3554_VALUE_TO_PERCENT(v, step) (((((unsigned long)(v)) * (step)) + 50) / 100) 97 #define LM3554_PERCENT_TO_VALUE(p, step) (((((unsigned long)(p)) * 100) + (step >> 1)) / (step))
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | da903x-regulator.c | 309 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ 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) \ 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) \ 352 DA903x_LDO(DA9034, _id, min, max, step, vre [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | da903x-regulator.c | 309 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ 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) \ 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) \ 352 DA903x_LDO(DA9034, _id, min, max, step, vre [all...] |
/kernel/linux/linux-5.10/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() 353 pr_err("Inserting context=%llx (order=%d, step=%d) did not return leaf (height=%d, prefix=%llx\n", 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() [all...] |
/kernel/linux/linux-6.6/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() 353 pr_err("Inserting context=%llx (order=%d, step=%d) did not return leaf (height=%d, prefix=%llx\n", 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() [all...] |
/kernel/linux/linux-6.6/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() 423 pr_debug("Changing page protection on range 0x%lx-0x%lx, to 0x%lx, step 0x%x\n", in change_memory_range() 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); // align in hash__change_memory_range() 418 change_memory_range(unsigned long start, unsigned long end, unsigned int step, unsigned long newpp) change_memory_range() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
H A D | subcore.c | 142 u8 step; member 148 static void wait_for_sync_step(int step) in wait_for_sync_step() argument 153 while(per_cpu(split_state, i).step < step) in wait_for_sync_step() 184 per_cpu(split_state, cpu).step = SYNC_STEP_UNSPLIT; in unsplit_core() 218 split_core_secondary_loop(&per_cpu(split_state, cpu).step); in split_core() 250 per_cpu(split_state, smp_processor_id()).step = SYNC_STEP_FINISHED; in cpu_do_split() 308 while(per_cpu(split_state, cpu).step < SYNC_STEP_FINISHED) in cpu_update_split_mode() 344 state->step = SYNC_STEP_INITIAL; in set_subcores_per_core()
|