Searched refs:current_channel (Results 1 – 5 of 5) sorted by relevance
149 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_context_start_sampling() local155 val |= m_channels[current_channel].gp_adc_ctrl_reg; in adc_context_start_sampling()159 GPADC->GP_ADC_CTRL2_REG = m_channels[current_channel].gp_adc_ctrl2_reg; in adc_context_start_sampling()236 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_smartbond_isr() local243 data->channel_read_mask ^= 1 << current_channel; in adc_smartbond_isr()
150 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in adc_context_start_sampling() local161 val |= m_sdchannels[current_channel].sd_adc_ctrl_reg; in adc_context_start_sampling()242 int current_channel = u32_count_trailing_zeros(data->channel_read_mask); in sdadc_smartbond_isr() local249 data->channel_read_mask ^= 1 << current_channel; in sdadc_smartbond_isr()
367 uint8_t current_channel = find_msb_set(data->ctx.sequence.channels) - 1; in max1125x_read_sample() local387 buffer_tx[0] = MAX1125X_CMD_READ | MAX1125X_REG_DATA(current_channel); in max1125x_read_sample()
104 uint16_t current_channel; member
390 data.current_channel = 0; in b91_init()447 if (data.current_channel != channel) { in b91_set_channel()448 data.current_channel = channel; in b91_set_channel()