Lines Matching defs:channel
25 * One channel for pressure, the other for timestamp.
129 struct iio_chan_spec *channel;
148 channel = state->channels;
150 channel->info_mask_separate = BIT(IIO_CHAN_INFO_RAW);
151 channel->info_mask_shared_by_all =
154 channel->info_mask_shared_by_all_available =
156 channel->scan_type.realbits = CROS_EC_SENSOR_BITS;
157 channel->scan_type.storagebits = CROS_EC_SENSOR_BITS;
158 channel->scan_type.shift = 0;
159 channel->scan_index = 0;
160 channel->ext_info = cros_ec_sensors_ext_info;
161 channel->scan_type.sign = 'u';
166 channel->type = IIO_PRESSURE;
174 channel++;
175 channel->type = IIO_TIMESTAMP;
176 channel->channel = -1;
177 channel->scan_index = 1;
178 channel->scan_type.sign = 's';
179 channel->scan_type.realbits = 64;
180 channel->scan_type.storagebits = 64;