Lines Matching full:sequence
55 struct adc_sequence sequence; in z_vrfy_adc_read() local
59 K_OOPS(K_SYSCALL_VERIFY_MSG(copy_sequence(&sequence, &options, in z_vrfy_adc_read()
61 "invalid ADC sequence")); in z_vrfy_adc_read()
62 if (sequence.options != NULL) { 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()
67 return z_impl_adc_read((const struct device *)dev, &sequence); in z_vrfy_adc_read()
76 struct adc_sequence sequence; in z_vrfy_adc_read_async() local
80 K_OOPS(K_SYSCALL_VERIFY_MSG(copy_sequence(&sequence, &options, in z_vrfy_adc_read_async()
82 "invalid ADC sequence")); in z_vrfy_adc_read_async()
83 if (sequence.options != NULL) { 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()
89 return z_impl_adc_read_async((const struct device *)dev, &sequence, in z_vrfy_adc_read_async()