Home
last modified time | relevance | path

Searched refs:adc_sequence (Results 1 – 25 of 55) sorted by relevance

123

/Zephyr-Core-3.4.0/drivers/adc/
Dadc_handlers.c26 static bool copy_sequence(struct adc_sequence *dst, in copy_sequence()
28 struct adc_sequence *src) in copy_sequence()
30 if (z_user_from_copy(dst, src, sizeof(struct adc_sequence)) != 0) { in copy_sequence()
52 const struct adc_sequence *user_sequence) in z_vrfy_adc_read()
55 struct adc_sequence sequence; in z_vrfy_adc_read()
60 (struct adc_sequence *)user_sequence), in z_vrfy_adc_read()
73 const struct adc_sequence *user_sequence, in z_vrfy_adc_read_async()
76 struct adc_sequence sequence; in z_vrfy_adc_read_async()
81 (struct adc_sequence *)user_sequence), in z_vrfy_adc_read_async()
Dadc_test.c26 const struct adc_sequence *sequence) in vnd_adc_read()
33 const struct adc_sequence *sequence, in vnd_adc_read_async()
Dadc_nrfx_saadc.c178 static int set_resolution(const struct adc_sequence *sequence) in set_resolution()
205 static int set_oversampling(const struct adc_sequence *sequence, in set_oversampling()
254 static int check_buffer_size(const struct adc_sequence *sequence, in check_buffer_size()
274 const struct adc_sequence *sequence) in start_read()
359 const struct adc_sequence *sequence) in adc_nrfx_read()
373 const struct adc_sequence *sequence, in adc_nrfx_read_async()
Dadc_nrfx_adc.c133 static int check_buffer_size(const struct adc_sequence *sequence, in check_buffer_size()
153 const struct adc_sequence *sequence) in start_read()
228 const struct adc_sequence *sequence) in adc_nrfx_read()
242 const struct adc_sequence *sequence, in adc_nrfx_read_async()
Dadc_rpi_pico.c125 const struct adc_sequence *sequence) in adc_rpi_check_buffer_size()
164 const struct adc_sequence *sequence) in adc_rpi_start_read()
235 const struct adc_sequence *sequence, in adc_rpi_read_async()
249 const struct adc_sequence *sequence) in adc_rpi_read()
Dadc_b91.c47 static int adc_b91_validate_buffer_size(const struct adc_sequence *sequence) in adc_b91_validate_buffer_size()
63 static int adc_b91_validate_sequence(const struct adc_sequence *sequence) in adc_b91_validate_sequence()
175 static int adc_b91_adc_start_read(const struct device *dev, const struct adc_sequence *sequence) in adc_b91_adc_start_read()
411 const struct adc_sequence *sequence) in adc_b91_read()
426 const struct adc_sequence *sequence, in adc_b91_read_async()
Dadc_ifx_cat1.c156 static int validate_buffer_size(const struct adc_sequence *sequence) in validate_buffer_size()
181 const struct adc_sequence *sequence) in start_read()
217 const struct adc_sequence *sequence) in ifx_cat1_adc_read()
230 const struct adc_sequence *sequence, in ifx_cat1_adc_read_async()
Dadc_smartbond_gpadc.c144 static int check_buffer_size(const struct adc_sequence *sequence, in check_buffer_size()
164 const struct adc_sequence *sequence) in start_read()
225 const struct adc_sequence *sequence) in adc_smartbond_read()
240 const struct adc_sequence *sequence, in adc_smartbond_read_async()
Dadc_smartbond_sdadc.c147 static int check_buffer_size(const struct adc_sequence *sequence, in check_buffer_size()
167 const struct adc_sequence *sequence) in start_read()
228 const struct adc_sequence *sequence) in sdadc_smartbond_read()
243 const struct adc_sequence *sequence, in sdadc_smartbond_read_async()
Dadc_ads1119.c281 static int ads1119_validate_buffer_size(const struct adc_sequence *sequence) in ads1119_validate_buffer_size()
296 static int ads1119_validate_sequence(const struct device *dev, const struct adc_sequence *sequence) in ads1119_validate_sequence()
338 const struct adc_sequence *sequence, in ads1119_adc_start_read()
392 const struct adc_sequence *sequence, in ads1119_adc_read_async()
405 const struct adc_sequence *sequence) in ads1119_read()
418 const struct adc_sequence *sequence) in ads1119_read()
Dadc_ads7052.c68 const struct adc_sequence *sequence) in ads7052_validate_buffer_size()
110 static int ads7052_start_read(const struct device *dev, const struct adc_sequence *sequence) in ads7052_start_read()
142 static int adc_ads7052_read_async(const struct device *dev, const struct adc_sequence *sequence, in adc_ads7052_read_async()
155 static int adc_ads7052_read(const struct device *dev, const struct adc_sequence *sequence) in adc_ads7052_read()
Diadc_gecko.c73 static int adc_gecko_check_buffer_size(const struct adc_sequence *sequence, in adc_gecko_check_buffer_size()
93 static int adc_gecko_check_resolution(const struct adc_sequence *sequence) in adc_gecko_check_resolution()
105 static int start_read(const struct device *dev, const struct adc_sequence *sequence) in start_read()
250 const struct adc_sequence *sequence) in adc_gecko_read()
264 const struct adc_sequence *sequence, in adc_gecko_read_async()
Dadc_xmc4xxx.c87 static int adc_xmc4xxx_validate_buffer_size(const struct adc_sequence *sequence) in adc_xmc4xxx_validate_buffer_size()
112 const struct adc_sequence *sequence) in start_read()
164 const struct adc_sequence *sequence) in adc_xmc4xxx_read()
177 const struct adc_sequence *sequence, in adc_xmc4xxx_read_async()
Dadc_mcp320x.c81 const struct adc_sequence *sequence) in mcp320x_validate_buffer_size()
107 const struct adc_sequence *sequence) in mcp320x_start_read()
137 const struct adc_sequence *sequence, in mcp320x_read_async()
151 const struct adc_sequence *sequence) in mcp320x_read()
Dadc_sam_afec.c172 static int check_buffer_size(const struct adc_sequence *sequence, in check_buffer_size()
189 const struct adc_sequence *sequence) in start_read()
254 const struct adc_sequence *sequence) in adc_sam_read()
320 const struct adc_sequence *sequence, in adc_sam_read_async()
Dadc_ite_it8xxx2.c256 static int check_buffer_size(const struct adc_sequence *sequence, in check_buffer_size()
276 const struct adc_sequence *sequence) in adc_it8xxx2_start_read()
334 const struct adc_sequence *sequence) in adc_it8xxx2_read()
348 const struct adc_sequence *sequence, in adc_it8xxx2_read_async()
Dadc_cc13xx_cc26xx.c192 const struct adc_sequence *sequence, in cc13xx_cc26xx_read()
227 const struct adc_sequence *sequence) in adc_cc13xx_cc26xx_read()
234 const struct adc_sequence *sequence, in adc_cc13xx_cc26xx_read_async()
/Zephyr-Core-3.4.0/include/zephyr/drivers/
Dadc.h425 struct adc_sequence;
464 const struct adc_sequence *sequence,
504 struct adc_sequence { struct
582 const struct adc_sequence *sequence); argument
590 const struct adc_sequence *sequence,
671 const struct adc_sequence *sequence);
674 const struct adc_sequence *sequence) in z_impl_adc_read()
703 const struct adc_sequence *sequence,
709 const struct adc_sequence *sequence, in z_impl_adc_read_async()
836 struct adc_sequence *seq) in adc_sequence_init_dt()
/Zephyr-Core-3.4.0/tests/drivers/adc/adc_api/src/
Dtest_adc.c88 struct adc_sequence sequence = { in test_task_one_channel()
115 struct adc_sequence sequence = { in test_task_multiple_channels()
158 struct adc_sequence sequence = { in test_task_asynchronous_call()
199 const struct adc_sequence *sequence, in sample_with_interval_callback()
220 struct adc_sequence sequence = { in test_task_with_interval()
252 const struct adc_sequence *sequence, in repeated_samplings_callback()
294 struct adc_sequence sequence = { in test_task_repeated_samplings()
324 struct adc_sequence sequence = { in test_task_invalid_request()
/Zephyr-Core-3.4.0/tests/drivers/adc/adc_dma/src/
Dtest_adc.c220 const struct adc_sequence sequence = { in test_task_one_channel()
253 const struct adc_sequence sequence = { in test_task_two_channels()
296 const struct adc_sequence sequence = { in test_task_asynchronous_call()
337 const struct adc_sequence *sequence, in sample_with_interval_callback()
340 struct adc_sequence *seq = (struct adc_sequence *)sequence; in sample_with_interval_callback()
362 const struct adc_sequence sequence = { in test_task_with_interval()
400 const struct adc_sequence *sequence, in repeated_samplings_callback()
450 const struct adc_sequence sequence = { in test_task_repeated_samplings()
485 struct adc_sequence sequence = { in test_task_invalid_request()
/Zephyr-Core-3.4.0/drivers/sensor/stm32_vbat/
Dstm32_vbat.c24 struct adc_sequence adc_seq;
37 struct adc_sequence *sp = &data->adc_seq; in stm32_vbat_sample_fetch()
91 struct adc_sequence *asp = &data->adc_seq; in stm32_vbat_init()
100 *asp = (struct adc_sequence){ in stm32_vbat_init()
/Zephyr-Core-3.4.0/drivers/sensor/stm32_vref/
Dstm32_vref.c23 struct adc_sequence adc_seq;
37 struct adc_sequence *sp = &data->adc_seq; in stm32_vref_sample_fetch()
108 struct adc_sequence *asp = &data->adc_seq; in stm32_vref_init()
117 *asp = (struct adc_sequence){ in stm32_vref_init()
/Zephyr-Core-3.4.0/samples/boards/nrf/battery/src/
Dbattery.c71 struct adc_sequence adc_seq;
88 struct adc_sequence *asp = &ddp->adc_seq; in divider_setup()
110 *asp = (struct adc_sequence){ in divider_setup()
178 struct adc_sequence *sp = &ddp->adc_seq; in battery_sample()
/Zephyr-Core-3.4.0/drivers/sensor/stm32_temp/
Dstm32_temp.c38 struct adc_sequence adc_seq;
66 struct adc_sequence *sp = &data->adc_seq; in stm32_temp_sample_fetch()
150 struct adc_sequence *asp = &data->adc_seq; in stm32_temp_init()
159 *asp = (struct adc_sequence){ in stm32_temp_init()
/Zephyr-Core-3.4.0/drivers/usb_c/vbus/
Dusbc_vbus_adc_priv.h29 struct adc_sequence sequence;

123