Lines Matching refs:part_info
178 const struct si1145_part_info *part_info; member
401 if (data->part_info->uncompressed_meas_rate) in si1145_set_meas_rate()
412 if (data->part_info->uncompressed_meas_rate) in si1145_read_samp_freq()
435 if (data->part_info->uncompressed_meas_rate) in si1145_store_samp_freq()
1039 switch (data->part_info->num_leds) { in si1145_initialize()
1114 if (data->part_info == &si1145_part_info[SI1132] || in si1145_initialize()
1115 data->part_info == &si1145_part_info[SI1145] || in si1145_initialize()
1116 data->part_info == &si1145_part_info[SI1146] || in si1145_initialize()
1117 data->part_info == &si1145_part_info[SI1147]) { in si1145_initialize()
1165 for_each_set_bit(i, scan_mask, data->part_info->num_channels) { in si1145_validate_scan_mask()
1286 data->part_info = &si1145_part_info[id->driver_data]; in si1145_probe()
1302 if (part_id != data->part_info->part) { in si1145_probe()
1304 part_id, data->part_info->part); in si1145_probe()
1309 indio_dev->channels = data->part_info->channels; in si1145_probe()
1310 indio_dev->num_channels = data->part_info->num_channels; in si1145_probe()
1311 indio_dev->info = data->part_info->iio_info; in si1145_probe()