Home
last modified time | relevance | path

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

123456789

/Zephyr-latest/include/zephyr/arch/xtensa/
Dcache.h31 size_t step = XCHAL_DCACHE_LINESIZE; in arch_dcache_flush_range() local
32 size_t first = ROUND_DOWN(addr, step); in arch_dcache_flush_range()
33 size_t last = ROUND_UP(((long)addr) + bytes, step); in arch_dcache_flush_range()
36 for (line = first; bytes && line < last; line += step) { in arch_dcache_flush_range()
47 size_t step = XCHAL_DCACHE_LINESIZE; in arch_dcache_flush_and_invd_range() local
48 size_t first = ROUND_DOWN(addr, step); in arch_dcache_flush_and_invd_range()
49 size_t last = ROUND_UP(((long)addr) + bytes, step); in arch_dcache_flush_and_invd_range()
52 for (line = first; bytes && line < last; line += step) { in arch_dcache_flush_and_invd_range()
63 size_t step = XCHAL_DCACHE_LINESIZE; in arch_dcache_invd_range() local
64 size_t first = ROUND_DOWN(addr, step); in arch_dcache_invd_range()
[all …]
/Zephyr-latest/samples/basic/fade_led/src/
Dmain.c25 uint32_t step = pwm_led0.period / NUM_STEPS; in main() local
46 pulse_width += step; in main()
48 pulse_width = pwm_led0.period - step; in main()
52 if (pulse_width >= step) { in main()
53 pulse_width -= step; in main()
55 pulse_width = step; in main()
/Zephyr-latest/samples/modules/tflite-micro/hello_world/train/
Dtrain_hello_world_model.ipynb446 …"10/10 [==============================] - 1s 47ms/step - loss: 0.7289 - mae: 0.7120 - val_loss: 0.…
448 …"10/10 [==============================] - 0s 6ms/step - loss: 0.6329 - mae: 0.6488 - val_loss: 0.5…
450 …"10/10 [==============================] - 0s 6ms/step - loss: 0.5201 - mae: 0.5735 - val_loss: 0.5…
452 …"10/10 [==============================] - 0s 6ms/step - loss: 0.5057 - mae: 0.5760 - val_loss: 0.4…
454 …"10/10 [==============================] - 0s 5ms/step - loss: 0.4502 - mae: 0.5459 - val_loss: 0.4…
456 …"10/10 [==============================] - 0s 6ms/step - loss: 0.4168 - mae: 0.5332 - val_loss: 0.4…
458 …"10/10 [==============================] - 0s 6ms/step - loss: 0.4211 - mae: 0.5341 - val_loss: 0.4…
460 …"10/10 [==============================] - 0s 6ms/step - loss: 0.3988 - mae: 0.5287 - val_loss: 0.4…
462 …"10/10 [==============================] - 0s 5ms/step - loss: 0.3901 - mae: 0.5230 - val_loss: 0.4…
464 …"10/10 [==============================] - 0s 5ms/step - loss: 0.3804 - mae: 0.5179 - val_loss: 0.3…
[all …]
/Zephyr-latest/tests/bluetooth/host/cs/bt_le_cs_step_data_parse/src/
Dmain.c108 static bool bt_le_cs_step_data_parse_func_custom_fake(struct bt_le_cs_subevent_step *step, in bt_le_cs_step_data_parse_func_custom_fake() argument
115 zassert_equal(step->mode, *ud->data); in bt_le_cs_step_data_parse_func_custom_fake()
120 zassert_equal(step->channel, *ud->data); in bt_le_cs_step_data_parse_func_custom_fake()
125 zassert_equal(step->data_len, *ud->data); in bt_le_cs_step_data_parse_func_custom_fake()
129 zassert_true(ud->len >= step->data_len); in bt_le_cs_step_data_parse_func_custom_fake()
130 zassert_mem_equal(step->data, ud->data, step->data_len); in bt_le_cs_step_data_parse_func_custom_fake()
131 ud->data += step->data_len; in bt_le_cs_step_data_parse_func_custom_fake()
132 ud->len -= step->data_len; in bt_le_cs_step_data_parse_func_custom_fake()
/Zephyr-latest/include/zephyr/sys/
Dlinear_range.h65 uint32_t step; member
83 .step = (_step), \
129 return r->min + (int32_t)(r->step * (r->max_idx - r->min_idx)); in linear_range_get_max_value()
149 *val = r->min + (int32_t)(r->step * (idx - r->min_idx)); in linear_range_get_value()
206 if (r->step == 0U) { in linear_range_get_index()
210 r->step); in linear_range_get_index()
285 if (r->step == 0U) { in linear_range_get_win_index()
290 *idx = r->min_idx + DIV_ROUND_UP((uint32_t)(val_min - r->min), r->step); in linear_range_get_win_index()
291 if ((r->min + r->step * (*idx - r->min_idx)) > val_max) { in linear_range_get_win_index()
/Zephyr-latest/tests/drivers/build_all/stepper/
Dgpio.dtsi9 micro-step-res = <1>;
19 micro-step-res = <1>;
23 step-gpios = <&test_gpio 0 0>;
33 step-gpios = <&test_gpio 0 0>;
/Zephyr-latest/drivers/video/
Dvideo_common.c110 uint64_t step = stepwise->step.numerator; in video_closest_frmival_stepwise() local
114 min *= stepwise->max.denominator * stepwise->step.denominator * desired->denominator; in video_closest_frmival_stepwise()
115 max *= stepwise->min.denominator * stepwise->step.denominator * desired->denominator; in video_closest_frmival_stepwise()
116 step *= stepwise->min.denominator * stepwise->max.denominator * desired->denominator; in video_closest_frmival_stepwise()
117 goal *= stepwise->min.denominator * stepwise->max.denominator * stepwise->step.denominator; in video_closest_frmival_stepwise()
123 match->numerator = min + DIV_ROUND_CLOSEST(goal - min, step) * step; in video_closest_frmival_stepwise()
125 stepwise->step.denominator * desired->denominator; in video_closest_frmival_stepwise()
/Zephyr-latest/doc/build/dts/
Dintro.rst9 step-by-step guides and examples, see :ref:`dt-howtos`.
/Zephyr-latest/drivers/regulator/
DKconfig.mpm543045 bool "MPM54304 DC/DC step-down power module"
10 Enable MPM54304 DC/DC step-down power module support.
/Zephyr-latest/drivers/input/
Dinput_gpio_qdec.c130 uint8_t step = 0x00; in gpio_qdec_get_step() local
141 step |= 0x01; in gpio_qdec_get_step()
144 step |= 0x02; in gpio_qdec_get_step()
153 return step; in gpio_qdec_get_step()
163 uint8_t step; in gpio_qdec_sample_timer_timeout() local
171 step = gpio_qdec_get_step(dev); in gpio_qdec_sample_timer_timeout()
173 if (data->prev_step == step) { in gpio_qdec_sample_timer_timeout()
182 switch ((data->prev_step << 4U) | step) { in gpio_qdec_sample_timer_timeout()
199 data->prev_step = step; in gpio_qdec_sample_timer_timeout()
/Zephyr-latest/tests/drivers/video/api/src/
Dvideo_emul.c91 uint32_t min, max, step; in ZTEST() local
102 fie.stepwise.step.denominator; in ZTEST()
103 min = fie.stepwise.max.denominator * fie.stepwise.step.denominator * in ZTEST()
105 max = fie.stepwise.min.denominator * fie.stepwise.step.denominator * in ZTEST()
107 step = fie.stepwise.min.denominator * fie.stepwise.max.denominator * in ZTEST()
108 fie.stepwise.step.numerator; in ZTEST()
111 for (q.numerator = min; q.numerator <= max; q.numerator += step) { in ZTEST()
/Zephyr-latest/arch/arm64/core/
Dmmu.c381 size_t step, level_size = 1ULL << LEVEL_TO_VA_SIZE_SHIFT(level); in del_mapping() local
384 for ( ; size; virt += step, size -= step) { in del_mapping()
385 step = level_size - (virt & (level_size - 1)); in del_mapping()
386 if (step > size) { in del_mapping()
387 step = size; in del_mapping()
395 if (step != level_size && is_block_desc(*pte)) { in del_mapping()
402 del_mapping(subtable, virt, step, level + 1); in del_mapping()
458 size_t step, level_size = 1ULL << LEVEL_TO_VA_SIZE_SHIFT(level); in privatize_table() local
462 for ( ; size; virt += step, size -= step) { in privatize_table()
463 step = level_size - (virt & (level_size - 1)); in privatize_table()
[all …]
/Zephyr-latest/samples/bluetooth/channel_sounding/src/
Ddistance_estimation.c171 static bool process_step_data(struct bt_le_cs_subevent_step *step, void *user_data) in process_step_data() argument
175 if (step->mode == BT_CONN_LE_CS_MAIN_MODE_2) { in process_step_data()
177 (struct bt_hci_le_cs_step_data_mode_2 *)step->data; in process_step_data()
186 mode_2_data[context->mode_2_data_index].channel = step->channel; in process_step_data()
221 } else if (step->mode == BT_HCI_OP_LE_CS_MAIN_MODE_1) { in process_step_data()
223 (struct bt_hci_le_cs_step_data_mode_1 *)step->data; in process_step_data()
/Zephyr-latest/tests/drivers/stepper/stepper_api/boards/
Dnucleo_g071rb.overlay10 micro-step-res = <1>;
Dqemu_x86_64.overlay25 micro-step-res = <1>;
Dnucleo_f767zi.overlay22 step-gpios = <&arduino_header 19 0>; /* D13 */
/Zephyr-latest/samples/boards/nordic/nrf_led_matrix/src/
Dmain.c137 uint8_t step = (0xFF - MIN_BRIGHTNESS) / STEPS; in update_through_framebuffer() local
164 step /= 2; in update_through_framebuffer()
168 MIN_BRIGHTNESS + diff * step; in update_through_framebuffer()
/Zephyr-latest/samples/sensor/thermometer/boards/
Dnrf52840dk_nrf52840.overlay24 zephyr,resolution = <12>; /* 0.055C per ADC step */
/Zephyr-latest/doc/services/debugging/
Dgdbstub.rst33 * Continue and step the target
101 The test should run successfully, and now let's do something similar step-by-step
191 #. Use command ``s`` or ``step`` to step through program until it reaches
263 #. If step (``s`` or ``step``) is used here, it will continue execution
282 ``step`` is issued, as in this case. This is due to the assignment
291 (gdb) step
/Zephyr-latest/drivers/stepper/step_dir/
DKconfig7 Enable library used for step direction stepper drivers.
/Zephyr-latest/samples/bluetooth/tmap_bmr/src/
Dvcp_vol_renderer.c52 vcp_register_param.step = 1; in vcp_vol_renderer_init()
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/
Dvcp_vol_renderer.c52 vcp_register_param.step = 1; in vcp_vol_renderer_init()
/Zephyr-latest/drivers/pinctrl/renesas/rcar/
Dpfc_rcar.c130 uint8_t offset, size, step; in pfc_rcar_set_drive_strength() local
138 step = PFC_RCAR_DRIVE_STEP(size); in pfc_rcar_set_drive_strength()
139 if ((strength < step) || (strength > PFC_RCAR_DRIVE_MAX)) { in pfc_rcar_set_drive_strength()
146 strength = (strength / step) - 1U; in pfc_rcar_set_drive_strength()
/Zephyr-latest/cmake/compiler/armclang/
Dcompiler_flags.cmake1 # First step is to inherit all properties from gcc, as clang is compatible with most flags.
/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/
Dstream_lc3.c47 const float step = 2 * 3.1415f / sine_period_samples; in fill_audio_buf_sin() local
50 const float sample = sinf(i * step); in fill_audio_buf_sin()

123456789