Lines Matching refs:part_info
182 const struct si1145_part_info *part_info; member
406 if (data->part_info->uncompressed_meas_rate) in si1145_set_meas_rate()
417 if (data->part_info->uncompressed_meas_rate) in si1145_read_samp_freq()
440 if (data->part_info->uncompressed_meas_rate) in si1145_store_samp_freq()
1045 switch (data->part_info->num_leds) { in si1145_initialize()
1120 if (data->part_info == &si1145_part_info[SI1132] || in si1145_initialize()
1121 data->part_info == &si1145_part_info[SI1145] || in si1145_initialize()
1122 data->part_info == &si1145_part_info[SI1146] || in si1145_initialize()
1123 data->part_info == &si1145_part_info[SI1147]) { in si1145_initialize()
1171 for_each_set_bit(i, scan_mask, data->part_info->num_channels) { in si1145_validate_scan_mask()
1305 data->part_info = &si1145_part_info[id->driver_data]; in si1145_probe()
1321 if (part_id != data->part_info->part) { in si1145_probe()
1323 part_id, data->part_info->part); in si1145_probe()
1329 indio_dev->channels = data->part_info->channels; in si1145_probe()
1330 indio_dev->num_channels = data->part_info->num_channels; in si1145_probe()
1331 indio_dev->info = data->part_info->iio_info; in si1145_probe()