/openbmc/linux/tools/testing/radix-tree/ |
H A D | benchmark.c | 53 unsigned long size, unsigned long step) in benchmark_insert() argument 70 size, step, nsec); in benchmark_insert() 91 size, step, nsec); in benchmark_tagging() 112 size, step, nsec); in benchmark_delete() 120 benchmark_insert(&tree, size, step); in benchmark_size() 121 benchmark_tagging(&tree, size, step); in benchmark_size() 127 size, step, tagged); in benchmark_size() 129 size, step, normal); in benchmark_size() 131 benchmark_delete(&tree, size, step); in benchmark_size() 148 for (s = 0; step[s]; s++) in benchmark() [all …]
|
/openbmc/linux/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 169 step.display_step = STEP_A0 + DISPLAY_RUNTIME_INFO(i915)->ip.step; in intel_step_init() 172 step.display_step = STEP_FUTURE; in intel_step_init() 175 RUNTIME_INFO(i915)->step = step; in intel_step_init() 247 step = revids[revid]; in intel_step_init() 265 step = revids[revid]; in intel_step_init() 276 RUNTIME_INFO(i915)->step = step; in intel_step_init() [all …]
|
/openbmc/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()
|
/openbmc/linux/lib/ |
H A D | test_bitmap.c | 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}, 392 {0, "", &exp1[12 * step], 8, 0}, 393 {0, "\n", &exp1[12 * step], 8, 0}, 399 {0, "1-1", &exp1[1 * step], 32, 0}, 400 {0, "15-15", &exp1[13 * step], 32, 0}, 401 {0, "31-31", &exp1[14 * step], 32, 0}, 415 {0, "N-N", &exp1[14 * step], 32, 0}, 428 {0, "all", &exp1[8 * 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()
|
/openbmc/linux/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 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() 139 cmd[3 + i * step + j] = in mb86290fb_imageblit8() 142 cmd[3 + i * step + j] |= in mb86290fb_imageblit8() 176 memcpy(&cmd[3 + i * step], line, step); in mb86290fb_imageblit16() 190 u16 step; in mb86290fb_imageblit() local 207 step = (width + 31) >> 5; in mb86290fb_imageblit() 208 cmdlen = 9 + height * step; in mb86290fb_imageblit() 224 step = (width + 1) >> 1; in mb86290fb_imageblit() [all …]
|
/openbmc/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() 498 int step; in mxic_ecc_reconstruct_oobbuf() local 501 for (step = 0; step < ctx->steps; step++) 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() 527 int step; in mxic_ecc_count_biterrs() local 529 for (step = 0; step < ctx->steps; step++) { in mxic_ecc_count_biterrs() 582 for (step = 0; step < ctx->steps; step++) { in mxic_ecc_prepare_io_req_external() 600 for (step = 0; step < ctx->steps; step++) { in mxic_ecc_prepare_io_req_external() [all …]
|
/openbmc/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)
|
/openbmc/linux/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 = 0, [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | exynos_spi.c | 74 if (step == 4) { in spi_request_bytes() 106 int step; in spi_rx_tx() local 117 step = 1; in spi_rx_tx() 120 step = 4; in spi_rx_tx() 152 out_bytes -= step; in spi_rx_tx() 154 txp += step; in spi_rx_tx() 155 tx_lvl += step; in spi_rx_tx() 167 if (step == 4) in spi_rx_tx() 171 rxp += step; in spi_rx_tx() 175 toread -= step; in spi_rx_tx() [all …]
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial_ar933x.c | 43 static u32 ar933x_serial_get_baud(u32 clk, u32 scale, u32 step) in ar933x_serial_get_baud() argument 50 t *= step; in ar933x_serial_get_baud() 58 u32 *scale, u32 *step) in ar933x_serial_get_scale_step() argument 64 *step = 0; in ar933x_serial_get_scale_step() 83 *step = tstep; in ar933x_serial_get_scale_step() 91 u32 val, scale, step; in ar933x_serial_setbrg() local 94 ar933x_serial_get_scale_step(val, baudrate, &scale, &step); in ar933x_serial_setbrg() 98 val |= (step & AR933X_UART_CLK_STEP_M) in ar933x_serial_setbrg() 201 u32 val, scale, step; in _debug_uart_init() local 217 CONFIG_BAUDRATE, &scale, &step); in _debug_uart_init() [all …]
|
/openbmc/linux/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) argument 97 #define LM3554_PERCENT_TO_VALUE(p, step) (((((unsigned long)(p)) * 100) + (step >> 1)) / (step)) argument
|
/openbmc/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()
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | cpu_hotplug.rst | 594 cpuhp/4-31 [004] 22.990: cpuhp_exit: cpu: 0004 state: 168 step: 168 ret: 0 596 cpuhp/4-31 [004] 22.992: cpuhp_exit: cpu: 0004 state: 144 step: 144 ret: 0 598 cpuhp/4-31 [004] 22.994: cpuhp_exit: cpu: 0004 state: 143 step: 143 ret: 0 600 cpuhp/4-31 [004] 22.996: cpuhp_exit: cpu: 0004 state: 142 step: 142 ret: 0 601 bash-394 [001] 22.997: cpuhp_exit: cpu: 0004 state: 140 step: 169 ret: 0 604 cpuhp/4-31 [004] 95.542: cpuhp_exit: cpu: 0004 state: 141 step: 141 ret: 0 606 cpuhp/4-31 [004] 95.544: cpuhp_exit: cpu: 0004 state: 142 step: 142 ret: 0 608 cpuhp/4-31 [004] 95.546: cpuhp_exit: cpu: 0004 state: 143 step: 143 ret: 0 610 cpuhp/4-31 [004] 95.548: cpuhp_exit: cpu: 0004 state: 144 step: 144 ret: 0 612 cpuhp/4-31 [004] 95.550: cpuhp_exit: cpu: 0004 state: 145 step: 145 ret: 0 [all …]
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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 …]
|
/openbmc/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;
|
/openbmc/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>;
|
/openbmc/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 …]
|
/openbmc/linux/drivers/regulator/ |
H A D | da903x-regulator.c | 316 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ 319 .uV_step = (step) * 1000, \ 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) 358 DA903x_DVC(DA9030, _id, min, max, step, vreg, nbits, ureg, ubit, \ 362 DA903x_DVC(DA9034, _id, min, max, step, vreg, nbits, ureg, ubit, \ [all …]
|
/openbmc/qemu/net/ |
H A D | announce.c | 22 int64_t step; in qemu_announce_timer_step() local 24 step = timer->params.initial + in qemu_announce_timer_step() 26 timer->params.step; in qemu_announce_timer_step() 28 if (step < 0 || step > timer->params.max) { in qemu_announce_timer_step() 29 step = timer->params.max; in qemu_announce_timer_step() 31 timer_mod(timer->tm, qemu_clock_get_ms(timer->type) + step); in qemu_announce_timer_step() 33 return step; in qemu_announce_timer_step()
|
/openbmc/u-boot/drivers/power/ |
H A D | tps6586x.c | 136 static int calculate_next_voltage(int voltage, int target, int step) in calculate_next_voltage() argument 138 int diff = voltage < target ? step : -step; in calculate_next_voltage() 140 if (abs(target - voltage) > step) in calculate_next_voltage() 168 int tps6586x_adjust_sm0_sm1(int sm0_target, int sm1_target, int step, int rate, in tps6586x_adjust_sm0_sm1() argument 224 sm0 = calculate_next_voltage(sm0, sm0_target, step); in tps6586x_adjust_sm0_sm1() 232 sm1 = calculate_next_voltage(sm1, sm1_target, step); in tps6586x_adjust_sm0_sm1()
|
/openbmc/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()
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | ti,am3359-adc.yaml | 33 ti,chan-step-opendelay: 36 to wait after applying the step configuration registers and before sending 42 ti,chan-step-sampledelay: 50 ti,chan-step-avg: 72 ti,chan-step-opendelay = <0x098 0x3ffff 0x098 0x0>; 73 ti,chan-step-sampledelay = <0xff 0x0 0xf 0x0>; 74 ti,chan-step-avg = <16 2 4 8>;
|