Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 25 of 153) sorted by relevance

1234567

/Zephyr-latest/tests/lib/cmsis_dsp/transform/src/
Drq15.c40 q15_t *scratch, *output; in test_arm_rfft_q15() local
46 scratch = malloc(length * sizeof(q15_t)); in test_arm_rfft_q15()
47 zassert_not_null(scratch, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_rfft_q15()
53 memcpy(scratch, input, length * sizeof(q15_t)); in test_arm_rfft_q15()
56 arm_rfft_q15(&inst, scratch, output); in test_arm_rfft_q15()
64 free(scratch); in test_arm_rfft_q15()
137 q15_t *scratch, *output; in test_arm_rifft_q15() local
143 scratch = calloc(length + 2, sizeof(q15_t)); /* see #24701 */ in test_arm_rifft_q15()
144 zassert_not_null(scratch, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_rifft_q15()
150 memcpy(scratch, input, length * sizeof(q15_t)); in test_arm_rifft_q15()
[all …]
Drq31.c24 q31_t *scratch, *output; in test_arm_rfft_q31() local
30 scratch = malloc(length * sizeof(q31_t)); in test_arm_rfft_q31()
31 zassert_not_null(scratch, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_rfft_q31()
37 memcpy(scratch, input, length * sizeof(q31_t)); in test_arm_rfft_q31()
40 arm_rfft_q31(&inst, scratch, output); in test_arm_rfft_q31()
48 free(scratch); in test_arm_rfft_q31()
121 q31_t *scratch, *output; in test_arm_rifft_q31() local
127 scratch = calloc(length + 2, sizeof(q31_t)); /* see #24701 */ in test_arm_rifft_q31()
128 zassert_not_null(scratch, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_rifft_q31()
134 memcpy(scratch, input, length * sizeof(q31_t)); in test_arm_rifft_q31()
[all …]
Drf16.c24 float16_t *output, *scratch; in test_arm_rfft_f16_real_backend() local
33 scratch = calloc(length + 2, sizeof(float16_t)); /* see #24701 */ in test_arm_rfft_f16_real_backend()
34 zassert_not_null(scratch, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_rfft_f16_real_backend()
37 memcpy(scratch, input, length * sizeof(float16_t)); in test_arm_rfft_f16_real_backend()
40 arm_rfft_fast_f16(&inst, scratch, output, inverse); in test_arm_rfft_f16_real_backend()
50 free(scratch); in test_arm_rfft_f16_real_backend()
Drf32.c24 float32_t *output, *scratch; in test_arm_rfft_f32_real_backend() local
33 scratch = calloc(length + 2, sizeof(float32_t)); /* see #24701 */ in test_arm_rfft_f32_real_backend()
34 zassert_not_null(scratch, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_rfft_f32_real_backend()
37 memcpy(scratch, input, length * sizeof(float32_t)); in test_arm_rfft_f32_real_backend()
40 arm_rfft_fast_f32(&inst, scratch, output, inverse); in test_arm_rfft_f32_real_backend()
50 free(scratch); in test_arm_rfft_f32_real_backend()
Drf64.c23 float64_t *output, *scratch; in test_arm_rfft_f64_real_backend() local
32 scratch = calloc(length + 2, sizeof(float64_t)); /* see #24701 */ in test_arm_rfft_f64_real_backend()
33 zassert_not_null(scratch, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_rfft_f64_real_backend()
36 memcpy(scratch, input, length * sizeof(float64_t)); in test_arm_rfft_f64_real_backend()
39 arm_rfft_fast_f64(&inst, scratch, output, inverse); in test_arm_rfft_f64_real_backend()
49 free(scratch); in test_arm_rfft_f64_real_backend()
/Zephyr-latest/tests/lib/cmsis_dsp/matrix/src/
Dbinary_q15.c33 q15_t *tmp1, *tmp2, *scratch, *output; in test_op2() local
51 scratch = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2()
52 zassert_not_null(scratch, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
87 scratch); in test_op2()
114 free(scratch); in test_op2()
128 q15_t *tmp1, *tmp2, *scratch, *output; in test_op2c() local
146 scratch = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2c()
147 zassert_not_null(scratch, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2c()
182 scratch); in test_op2c()
209 free(scratch); in test_op2c()
Dbinary_q7.c29 q7_t *tmp1, *tmp2, *scratch, *output; in test_op2() local
47 scratch = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q7_t)); in test_op2()
48 zassert_not_null(scratch, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
83 scratch); in test_op2()
110 free(scratch); in test_op2()
/Zephyr-latest/tests/lib/cmsis_dsp/interpolation/src/
Df32.c105 float32_t *scratch; in test_arm_spline() local
114 scratch = malloc(((n * 2) - 1) * sizeof(float32_t)); in test_arm_spline()
115 zassert_not_null(scratch, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_spline()
123 (float32_t *)input_x, (float32_t *)input_y, n, coeff, scratch); in test_arm_spline()
136 free(scratch); in test_arm_spline()
/Zephyr-latest/tests/lib/cmsis_dsp/support/src/
Df32.c236 float32_t *scratch; in test_arm_merge_sort_out() local
244 scratch = malloc(length * sizeof(float32_t)); in test_arm_merge_sort_out()
245 zassert_not_null(scratch, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_merge_sort_out()
248 arm_merge_sort_init_f32(&inst, dir, scratch); in test_arm_merge_sort_out()
260 free(scratch); in test_arm_merge_sort_out()
374 float32_t *scratch; in test_arm_merge_sort_const() local
382 scratch = malloc(length * sizeof(float32_t)); in test_arm_merge_sort_const()
383 zassert_not_null(scratch, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_merge_sort_const()
386 arm_merge_sort_init_f32(&inst, dir, scratch); in test_arm_merge_sort_const()
398 free(scratch); in test_arm_merge_sort_const()
/Zephyr-latest/drivers/watchdog/
Dwdt_rpi_pico.c78 watchdog_hw->scratch[4] = 0; in wdt_rpi_pico_setup()
79 watchdog_hw->scratch[5] = 0; in wdt_rpi_pico_setup()
80 watchdog_hw->scratch[6] = 0; in wdt_rpi_pico_setup()
81 watchdog_hw->scratch[7] = 0; in wdt_rpi_pico_setup()
/Zephyr-latest/drivers/sdhc/
Dsdhc_spi.c104 uint8_t scratch[MAX_CMD_READ]; member
166 ret = sdhc_spi_rx(config->spi_dev, spi_cfg, data->scratch, 10); in sdhc_spi_init_card()
230 uint8_t *response = dev_data->scratch; in sdhc_spi_response_get()
248 response = dev_data->scratch; in sdhc_spi_response_get()
307 response = dev_data->scratch; in sdhc_spi_response_get()
328 response = dev_data->scratch; in sdhc_spi_response_get()
375 .buf = dev_data->scratch, in sdhc_spi_send_cmd()
376 .len = sizeof(dev_data->scratch), in sdhc_spi_send_cmd()
395 memset(dev_data->scratch, 0xFF, sizeof(dev_data->scratch)); in sdhc_spi_send_cmd()
396 cmd_buf = dev_data->scratch + 1; in sdhc_spi_send_cmd()
/Zephyr-latest/drivers/pcie/host/
Dcontroller.c73 uintptr_t scratch, bar_bus_addr; in pcie_generic_ctrl_enumerate_bars() local
80 data = scratch = pcie_conf_read(bdf, reg); in pcie_generic_ctrl_enumerate_bars()
90 scratch |= ((uint64_t)pcie_conf_read(bdf, reg + 1)) << 32; in pcie_generic_ctrl_enumerate_bars()
91 if (PCIE_CONF_BAR_ADDR(scratch) == PCIE_CONF_BAR_INVAL64) { in pcie_generic_ctrl_enumerate_bars()
95 if (PCIE_CONF_BAR_ADDR(scratch) == PCIE_CONF_BAR_INVAL) { in pcie_generic_ctrl_enumerate_bars()
103 pcie_conf_write(bdf, reg, scratch & 0xFFFFFFFF); in pcie_generic_ctrl_enumerate_bars()
108 pcie_conf_write(bdf, reg + 1, scratch >> 32); in pcie_generic_ctrl_enumerate_bars()
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/
Dutil_app_cfg.h39 uint8_t scratch[256]; member
Dutil_app_cfg.c27 .scratch = { 0 }
/Zephyr-latest/boards/silabs/radio_boards/slwrb4104a/
Dslwrb4104a.dts45 /* Reserve 32 kB for the scratch partition */
47 label = "image-scratch";
/Zephyr-latest/boards/silabs/radio_boards/slwrb4170a/
Dslwrb4170a.dts45 /* Reserve 32 kB for the scratch partition */
47 label = "image-scratch";
/Zephyr-latest/boards/silabs/radio_boards/slwrb4255a/
Dslwrb4255a.dts47 /* Reserve 32 kB for the scratch partition */
49 label = "image-scratch";
/Zephyr-latest/boards/silabs/radio_boards/slwrb4250b/
Dslwrb4250b.dts68 /* Reserve 30 kB for the scratch partition */
70 label = "image-scratch";
/Zephyr-latest/boards/silabs/radio_boards/slwrb4161a/
Dslwrb4161a.dts45 /* Reserve 32 kB for the scratch partition */
47 label = "image-scratch";
/Zephyr-latest/arch/xtensa/core/
DCMakeLists.txt66 # There, if there is no THREADPTR, we need a scratch register
72 # scratch register.
76 # Generates a list of device-specific scratch register choices
81 $<$<BOOL:${MAY_NEED_SYSCALL_SCRATCH_REG}>:--syscall-scratch>
/Zephyr-latest/samples/subsys/fs/littlefs/boards/
Dparticle_xenon.overlay29 label = "scratch";
/Zephyr-latest/samples/subsys/shell/fs/boards/
Dparticle_xenon.overlay29 label = "scratch";
/Zephyr-latest/dts/common/espressif/
Dpartitions_0x0_default_16M.dtsi35 label = "image-scratch";
Dpartitions_0x0_default_2M.dtsi35 label = "image-scratch";
Dpartitions_0x0_default_32M.dtsi35 label = "image-scratch";

1234567