Home
last modified time | relevance | path

Searched refs:step (Results 1 – 25 of 798) sorted by relevance

12345678910>>...32

/Linux-v5.15/lib/
Dtest_bitmap.c329 #define step (sizeof(u64) / sizeof(unsigned long)) macro
332 {0, "1", &exp1[1 * step], 8, 0},
333 {0, "0-15", &exp1[2 * step], 32, 0},
334 {0, "16-31", &exp1[3 * step], 32, 0},
335 {0, "0-31:1/2", &exp1[4 * step], 32, 0},
336 {0, "1-31:1/2", &exp1[5 * step], 32, 0},
337 {0, "0-31:1/4", &exp1[6 * step], 32, 0},
338 {0, "1-31:1/4", &exp1[7 * step], 32, 0},
339 {0, "0-31:4/4", &exp1[8 * step], 32, 0},
340 {0, "1-31:4/4", &exp1[9 * step], 32, 0},
[all …]
Dlinear_ranges.c72 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-v5.15/tools/testing/radix-tree/
Dbenchmark.c53 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-v5.15/drivers/gpu/drm/i915/gt/
Dselftest_ring.c52 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-v5.15/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c71 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; j++) { in mb86290fb_imageblit8()
141 cmd[3 + i * step + j] = in mb86290fb_imageblit8()
[all …]
/Linux-v5.15/Documentation/translations/zh_CN/core-api/
Dcpu_hotplug.rst273 bash-394 [001] 22.976: cpuhp_enter: cpu: 0004 target: 140 step: 169 (cpuhp_kick_ap_work)
274 cpuhp/4-31 [004] 22.977: cpuhp_enter: cpu: 0004 target: 140 step: 168 (sched_cpu_deactivate)
275 cpuhp/4-31 [004] 22.990: cpuhp_exit: cpu: 0004 state: 168 step: 168 ret: 0
276 cpuhp/4-31 [004] 22.991: cpuhp_enter: cpu: 0004 target: 140 step: 144 (mce_cpu_pre_down)
277 cpuhp/4-31 [004] 22.992: cpuhp_exit: cpu: 0004 state: 144 step: 144 ret: 0
278 …cpuhp/4-31 [004] 22.993: cpuhp_multi_enter: cpu: 0004 target: 140 step: 143 (virtnet_cpu_down_p…
279 cpuhp/4-31 [004] 22.994: cpuhp_exit: cpu: 0004 state: 143 step: 143 ret: 0
280 cpuhp/4-31 [004] 22.995: cpuhp_enter: cpu: 0004 target: 140 step: 142 (cacheinfo_cpu_pre_down)
281 cpuhp/4-31 [004] 22.996: cpuhp_exit: cpu: 0004 state: 142 step: 142 ret: 0
282 bash-394 [001] 22.997: cpuhp_exit: cpu: 0004 state: 140 step: 169 ret: 0
[all …]
/Linux-v5.15/include/trace/events/
Dwbt.h92 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-v5.15/drivers/media/platform/s5p-mfc/
Ds5p_mfc_enc.c118 .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 = 0,
[all …]
/Linux-v5.15/drivers/staging/media/atomisp/include/media/
Dlm3554.h36 .step = (_step), \
48 .step = 1, \
96 #define LM3554_VALUE_TO_PERCENT(v, step) (((((unsigned long)(v)) * (step)) + 50) / 100) argument
97 #define LM3554_PERCENT_TO_VALUE(p, step) (((((unsigned long)(p)) * 100) + (step >> 1)) / (step)) argument
/Linux-v5.15/drivers/gpu/drm/i915/
Dintel_step.c129 struct intel_step_info step = {}; in intel_step_init() local
183 step = revids[revid]; in intel_step_init()
201 step = revids[revid]; in intel_step_init()
204 step.gt_step = STEP_FUTURE; in intel_step_init()
205 step.display_step = STEP_FUTURE; in intel_step_init()
209 if (drm_WARN_ON(&i915->drm, step.gt_step == STEP_NONE)) in intel_step_init()
212 RUNTIME_INFO(i915)->step = step; in intel_step_init()
219 const char *intel_step_name(enum intel_step step) in intel_step_name() argument
221 switch (step) { in intel_step_name()
/Linux-v5.15/arch/powerpc/platforms/powernv/
Dsubcore.c142 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()
194 per_cpu(split_state, cpu).step = SYNC_STEP_UNSPLIT; in unsplit_core()
228 split_core_secondary_loop(&per_cpu(split_state, cpu).step); in split_core()
260 per_cpu(split_state, smp_processor_id()).step = SYNC_STEP_FINISHED; in cpu_do_split()
318 while(per_cpu(split_state, cpu).step < SYNC_STEP_FINISHED) in cpu_update_split_mode()
354 state->step = SYNC_STEP_INITIAL; in set_subcores_per_core()
/Linux-v5.15/drivers/gpu/drm/i915/selftests/
Di915_syncmap.c335 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-v5.15/drivers/clk/sunxi-ng/
Dccu_phase.c18 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-v5.15/arch/powerpc/mm/book3s64/
Dhash_pgtable.c407 unsigned int step, nr_cpus, master_cpu; member
418 unsigned int step, unsigned long newpp) in change_memory_range() argument
423 start, end, newpp, step); in change_memory_range()
425 for (idx = start; idx < end; idx += step) in change_memory_range()
488 change_memory_range(parms->start, parms->end, parms->step, parms->newpp); in change_memory_range_fn()
501 unsigned int step, shift; in hash__change_memory_range() local
504 step = 1 << shift; in hash__change_memory_range()
506 start = ALIGN_DOWN(start, step); in hash__change_memory_range()
507 end = ALIGN(end, step); // aligns up in hash__change_memory_range()
517 chmem_parms.step = step; in hash__change_memory_range()
[all …]
/Linux-v5.15/drivers/regulator/
Dda903x-regulator.c309 #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-v5.15/Documentation/devicetree/bindings/mtd/
Dhisi504-nand.txt17 - 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-v5.15/Documentation/devicetree/bindings/regulator/
Dtps51632-regulator.txt9 - 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-v5.15/tools/testing/selftests/bpf/map_tests/
Dlpm_trie_map_batch_ops.c76 __u32 step, count, total, total_success; in test_lpm_trie_map_batch_ops() local
97 for (step = 1; step < max_entries; step++) { in test_lpm_trie_map_batch_ops()
107 count = step; in test_lpm_trie_map_batch_ops()
127 count = step; in test_lpm_trie_map_batch_ops()
129 if (max_entries - total < step) in test_lpm_trie_map_batch_ops()
Dhtab_map_batch_ops.c83 int err, step, value_size; in __test_map_lookup_and_delete_batch() local
147 for (step = 1; step < max_entries; step++) { in __test_map_lookup_and_delete_batch()
155 count = step; in __test_map_lookup_and_delete_batch()
190 count = step; in __test_map_lookup_and_delete_batch()
192 if (max_entries - total < step) in __test_map_lookup_and_delete_batch()
218 count = step; in __test_map_lookup_and_delete_batch()
/Linux-v5.15/drivers/staging/vc04_services/bcm2835-camera/
Dcontrols.c84 u64 step; /* step size of the control */ member
924 .step = 1,
935 .step = 1,
946 .step = 1,
957 .step = 1,
968 .step = 1,
979 .step = 1,
990 .step = 1,
1001 .step = 0,
1013 .step = 1,
[all …]
/Linux-v5.15/Documentation/admin-guide/media/
Dsi4713.rst79 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-v5.15/Documentation/devicetree/bindings/input/touchscreen/
Dti-tsc-adc.txt15 programmable steps each step is used to
41 ti,charge-delay: Length of touch screen charge delay step in terms of
49 charge step, so this does in fact function as a
54 ti,chan-step-opendelay: List of open delays for each channel of
58 step configuration registers and before
61 ti,chan-step-sampledelay: List of sample delays for each channel
67 ti,chan-step-avg: Number of averages to be performed for each
87 ti,chan-step-opendelay = <0x098 0x3ffff 0x098 0x0>;
88 ti,chan-step-sampledelay = <0xff 0x0 0xf 0x0>;
89 ti,chan-step-avg = <16 2 4 8>;
/Linux-v5.15/drivers/clk/imx/
Dclk-cpu.c17 struct clk *step; member
48 ret = clk_set_parent(cpu->mux, cpu->step); in clk_cpu_set_rate()
75 struct clk *step) in imx_clk_hw_cpu() argument
89 cpu->step = step; in imx_clk_hw_cpu()
/Linux-v5.15/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c370 u_int32_t step = minfo->fbcon.var.xres_virtual >> 1; in matroxfb_cfb4_clear() local
373 unsigned int uaddr = sy * step + sx - 1; in matroxfb_cfb4_clear()
378 uaddr += step; in matroxfb_cfb4_clear()
382 unsigned int uaddr = sy * step + sx + width; in matroxfb_cfb4_clear()
387 uaddr += step; in matroxfb_cfb4_clear()
409 u_int32_t step; in matroxfb_1bpp_imageblit() local
421 step = (width + 7) >> 3; in matroxfb_1bpp_imageblit()
422 charcell = height * step; in matroxfb_1bpp_imageblit()
425 if (width == step << 3) { in matroxfb_1bpp_imageblit()
457 if ((step & 3) == 0) { in matroxfb_1bpp_imageblit()
[all …]
/Linux-v5.15/drivers/md/
Ddm-stats.c49 sector_t step; member
223 (unsigned long long)s->step, in dm_stats_cleanup()
235 sector_t step, unsigned stat_flags, in dm_stats_create() argument
255 if (end < start || !step) in dm_stats_create()
259 if (dm_sector_div64(n_entries, step)) in dm_stats_create()
289 s->step = step; in dm_stats_create()
461 (unsigned long long)s->step, in dm_stats_list()
604 offset = dm_sector_div64(rel_sector, s->step); in __dm_stat_bio()
612 if (fragment_len > s->step - offset) in __dm_stat_bio()
613 fragment_len = s->step - offset; in __dm_stat_bio()
[all …]

12345678910>>...32