Lines Matching refs:chip_spec
125 const struct vcnl4000_chip_spec *chip_spec;
188 return data->chip_spec->set_power_state(data, true);
259 ret = data->chip_spec->set_power_state(data, true);
442 ret = data->chip_spec->measure_light(data, val);
447 ret = data->chip_spec->measure_proximity(data, val);
1027 data->chip_spec = &vcnl4000_chip_spec_cfg[data->id];
1029 ret = data->chip_spec->init(data);
1034 data->chip_spec->prod, data->rev);
1040 indio_dev->info = data->chip_spec->info;
1041 indio_dev->channels = data->chip_spec->channels;
1042 indio_dev->num_channels = data->chip_spec->num_channels;
1046 if (client->irq && data->chip_spec->irq_support) {
1087 data->chip_spec->set_power_state(data, false);
1126 return data->chip_spec->set_power_state(data, false);
1134 return data->chip_spec->set_power_state(data, false);
1142 return data->chip_spec->set_power_state(data, true);