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