Searched refs:isl29501 (Results 1 – 3 of 3) sorted by relevance
197 static int isl29501_register_read(struct isl29501_private *isl29501, in isl29501_register_read() argument205 mutex_lock(&isl29501->lock); in isl29501_register_read()207 ret = i2c_smbus_read_byte_data(isl29501->client, reg->msb); in isl29501_register_read()214 ret = i2c_smbus_read_byte_data(isl29501->client, reg->lsb); in isl29501_register_read()219 mutex_unlock(&isl29501->lock); in isl29501_register_read()225 mutex_unlock(&isl29501->lock); in isl29501_register_read()230 static u32 isl29501_register_write(struct isl29501_private *isl29501, in isl29501_register_write() argument243 mutex_lock(&isl29501->lock); in isl29501_register_write()245 ret = i2c_smbus_write_byte_data(isl29501->client, in isl29501_register_write()251 ret = i2c_smbus_write_byte_data(isl29501->client, reg->lsb, value); in isl29501_register_write()[all …]
11 obj-$(CONFIG_ISL29501) += isl29501.o
72 called isl29501.