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() argument251 mutex_lock(&isl29501->lock); in isl29501_register_write()253 ret = i2c_smbus_write_byte_data(isl29501->client, in isl29501_register_write()259 ret = i2c_smbus_write_byte_data(isl29501->client, reg->lsb, lsb); in isl29501_register_write()[all …]
8 obj-$(CONFIG_ISL29501) += isl29501.o
34 called isl29501.