Lines Matching +full:adc +full:- +full:mode
4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/drivers/adc.h>
35 if (dst->options) { in copy_sequence()
36 if (k_usermode_from_copy(options, dst->options, in copy_sequence()
41 dst->options = options; in copy_sequence()
44 if (K_SYSCALL_MEMORY_WRITE(dst->buffer, dst->buffer_size) != 0) { in copy_sequence()
61 "invalid ADC sequence")); in z_vrfy_adc_read()
63 K_OOPS(K_SYSCALL_VERIFY_MSG(sequence.options->callback == NULL, in z_vrfy_adc_read()
64 "ADC sequence callbacks forbidden from user mode")); in z_vrfy_adc_read()
82 "invalid ADC sequence")); in z_vrfy_adc_read_async()
84 K_OOPS(K_SYSCALL_VERIFY_MSG(sequence.options->callback == NULL, in z_vrfy_adc_read_async()
85 "ADC sequence callbacks forbidden from user mode")); in z_vrfy_adc_read_async()