Searched refs:VCNL4000_COMMAND (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/iio/light/ |
H A D | vcnl4000.c | 43 #define VCNL4000_COMMAND 0x80 /* Command register */ macro 461 ret = i2c_smbus_write_byte_data(data->client, VCNL4000_COMMAND, in vcnl4000_measure() 468 ret = i2c_smbus_read_byte_data(data->client, VCNL4000_COMMAND); in vcnl4000_measure() 569 ret = i2c_smbus_read_byte_data(data->client, VCNL4000_COMMAND); in vcnl4010_is_in_periodic_mode() 1441 ret = i2c_smbus_write_byte_data(data->client, VCNL4000_COMMAND, in vcnl4010_config_threshold() 1717 return i2c_smbus_write_byte_data(data->client, VCNL4000_COMMAND, cmd); in vcnl4010_buffer_postenable() 1729 return i2c_smbus_write_byte_data(data->client, VCNL4000_COMMAND, 0); in vcnl4010_buffer_predisable()
|