Lines Matching refs:m_data
37 static struct driver_data m_data = { variable
38 ADC_CONTEXT_INIT_TIMER(m_data, ctx),
39 ADC_CONTEXT_INIT_LOCK(m_data, ctx),
40 ADC_CONTEXT_INIT_SYNC(m_data, ctx),
119 nrfx_adc_buffer_convert(m_data.buffer, m_data.active_channels); in adc_context_start_sampling()
129 m_data.buffer += m_data.active_channels; in adc_context_update_buffer_pointer()
217 m_data.buffer = sequence->buffer; in start_read()
218 m_data.active_channels = active_channels; in start_read()
220 adc_context_start_read(&m_data.ctx, sequence); in start_read()
222 error = adc_context_wait_for_completion(&m_data.ctx); in start_read()
232 adc_context_lock(&m_data.ctx, false, NULL); in adc_nrfx_read()
234 adc_context_release(&m_data.ctx, error); in adc_nrfx_read()
247 adc_context_lock(&m_data.ctx, true, async); in adc_nrfx_read_async()
249 adc_context_release(&m_data.ctx, error); in adc_nrfx_read_async()
260 adc_context_on_sampling_done(&m_data.ctx, dev); in event_handler()
279 adc_context_unlock_unconditionally(&m_data.ctx); in init_adc()