Lines Matching defs:spec
51 struct dac5571_spec const *spec;
68 shift = 12 - data->spec->resolution;
82 shift = 16 - data->spec->resolution;
256 *val2 = data->spec->resolution;
276 if (val >= (1 << data->spec->resolution) || val < 0)
311 const struct dac5571_spec *spec;
329 spec = &dac5571_spec[id->driver_data];
330 indio_dev->num_channels = spec->num_channels;
331 data->spec = spec;
343 switch (spec->num_channels) {
357 for (i = 0; i < spec->num_channels; i++) {