Home
last modified time | relevance | path

Searched refs:user_buffer (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/kernel/cache/src/
Dtest_cache_api.c12 static ZTEST_BMEM uint8_t user_buffer[SIZE]; variable
37 ret = sys_cache_instr_flush_range(user_buffer, SIZE); in ZTEST()
40 ret = sys_cache_instr_invd_range(user_buffer, SIZE); in ZTEST()
43 ret = sys_cache_instr_flush_and_invd_range(user_buffer, SIZE); in ZTEST()
57 ret = sys_cache_data_flush_range(user_buffer, SIZE); in ZTEST()
60 ret = sys_cache_data_invd_range(user_buffer, SIZE); in ZTEST()
63 ret = sys_cache_data_flush_and_invd_range(user_buffer, SIZE); in ZTEST()
72 ret = sys_cache_data_flush_range(user_buffer, SIZE); in ZTEST_USER()
75 ret = sys_cache_data_invd_range(user_buffer, SIZE); in ZTEST_USER()
78 ret = sys_cache_data_flush_and_invd_range(user_buffer, SIZE); in ZTEST_USER()
/Zephyr-latest/soc/nordic/common/
Ddmm.h105 int dmm_buffer_out_prepare(void *region, void const *user_buffer, size_t user_length,
142 int dmm_buffer_in_prepare(void *region, void *user_buffer, size_t user_length, void **buffer_in);
164 int dmm_buffer_in_release(void *region, void *user_buffer, size_t user_length, void *buffer_in);
178 static ALWAYS_INLINE int dmm_buffer_out_prepare(void *region, void const *user_buffer,
183 *buffer_out = (void *)user_buffer;
194 static ALWAYS_INLINE int dmm_buffer_in_prepare(void *region, void *user_buffer, size_t user_length,
199 *buffer_in = user_buffer;
203 static ALWAYS_INLINE int dmm_buffer_in_release(void *region, void *user_buffer, size_t user_length,
207 ARG_UNUSED(user_buffer);
Ddmm.c82 static bool is_user_buffer_correctly_preallocated(void const *user_buffer, size_t user_length, in is_user_buffer_correctly_preallocated() argument
85 uintptr_t addr = (uintptr_t)user_buffer; in is_user_buffer_correctly_preallocated()
125 int dmm_buffer_out_prepare(void *region, void const *user_buffer, size_t user_length, in dmm_buffer_out_prepare() argument
132 *buffer_out = (void *)user_buffer; in dmm_buffer_out_prepare()
147 if (is_user_buffer_correctly_preallocated(user_buffer, user_length, dh->region)) { in dmm_buffer_out_prepare()
149 *buffer_out = (void *)user_buffer; in dmm_buffer_out_prepare()
161 memcpy(*buffer_out, user_buffer, user_length); in dmm_buffer_out_prepare()
199 int dmm_buffer_in_prepare(void *region, void *user_buffer, size_t user_length, void **buffer_in) in dmm_buffer_in_prepare() argument
205 *buffer_in = (void *)user_buffer; in dmm_buffer_in_prepare()
220 if (is_user_buffer_correctly_preallocated(user_buffer, user_length, dh->region)) { in dmm_buffer_in_prepare()
[all …]
/Zephyr-latest/drivers/adc/
Dadc_nrfx_saadc.c93 void *user_buffer; member
336 m_data.user_buffer = (uint8_t *)m_data.user_buffer + in adc_context_update_buffer_pointer()
569 m_data.user_buffer = sequence->buffer; in start_read()
628 memcpy(m_data.user_buffer, m_data.samples_buffer, in saadc_irq_handler()