Lines Matching refs:VCNL4200_PS_CONF1
63 #define VCNL4200_PS_CONF1 0x03 /* Proximity configuration */ macro
303 ret = i2c_smbus_read_word_data(data->client, VCNL4200_PS_CONF1); in vcnl4000_write_ps_enable()
312 ret = i2c_smbus_write_word_data(data->client, VCNL4200_PS_CONF1, ret); in vcnl4000_write_ps_enable()
616 ret = i2c_smbus_read_word_data(data->client, VCNL4200_PS_CONF1); in vcnl4040_read_ps_it()
651 ret = i2c_smbus_read_word_data(data->client, VCNL4200_PS_CONF1); in vcnl4040_write_ps_it()
657 ret = i2c_smbus_write_word_data(data->client, VCNL4200_PS_CONF1, in vcnl4040_write_ps_it()
730 ret = i2c_smbus_read_word_data(data->client, VCNL4200_PS_CONF1); in vcnl4040_read_ps_period()
754 ret = i2c_smbus_read_word_data(data->client, VCNL4200_PS_CONF1); in vcnl4040_write_ps_period()
774 ret = i2c_smbus_read_word_data(data->client, VCNL4200_PS_CONF1); in vcnl4040_write_ps_period()
780 ret = i2c_smbus_write_word_data(data->client, VCNL4200_PS_CONF1, in vcnl4040_write_ps_period()
1453 ret = i2c_smbus_read_word_data(data->client, VCNL4200_PS_CONF1); in vcnl4040_read_event_config()
1495 ret = i2c_smbus_read_word_data(data->client, VCNL4200_PS_CONF1); in vcnl4040_write_event_config()
1507 ret = i2c_smbus_write_word_data(data->client, VCNL4200_PS_CONF1, in vcnl4040_write_event_config()