Home
last modified time | relevance | path

Searched refs:isl29501 (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/iio/proximity/
Disl29501.c197 static int isl29501_register_read(struct isl29501_private *isl29501, in isl29501_register_read() argument
205 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() argument
251 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 …]
DMakefile8 obj-$(CONFIG_ISL29501) += isl29501.o
DKconfig34 called isl29501.