Lines Matching refs:channel_data
251 struct ads1015_channel_data channel_data[ADS1015_CHANNELS]; member
409 pga = data->channel_data[chan].pga; in ads1015_get_adc_result()
410 dr = data->channel_data[chan].data_rate; in ads1015_get_adc_result()
488 data->channel_data[chan->address].pga = i; in ads1015_set_scale()
502 data->channel_data[chan].data_rate = i; in ads1015_set_data_rate()
578 idx = data->channel_data[chan->address].pga; in ads1015_read_raw()
584 idx = data->channel_data[chan->address].data_rate; in ads1015_read_raw()
642 dr = data->channel_data[chan->address].data_rate; in ads1015_read_event()
688 dr = data->channel_data[chan->address].data_rate; in ads1015_write_event()
941 data->channel_data[channel].pga = pga; in ads1015_client_get_channels_config()
942 data->channel_data[channel].data_rate = data_rate; in ads1015_client_get_channels_config()
962 data->channel_data[k].pga = ADS1015_DEFAULT_PGA; in ads1015_get_channels_config()
963 data->channel_data[k].data_rate = ADS1015_DEFAULT_DATA_RATE; in ads1015_get_channels_config()