Searched refs:ltc2309 (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/iio/adc/ |
H A D | ltc2309.c | 36 struct ltc2309 { struct 102 static int ltc2309_read_raw_channel(struct ltc2309 *ltc2309, in ltc2309_read_raw_channel() argument 113 ret = i2c_smbus_write_byte(ltc2309->client, din); in ltc2309_read_raw_channel() 115 dev_err(ltc2309->dev, "i2c command failed: %pe\n", in ltc2309_read_raw_channel() 120 ret = i2c_master_recv(ltc2309->client, (char *)&buf, 2); in ltc2309_read_raw_channel() 122 dev_err(ltc2309->dev, "i2c read failed: %pe\n", ERR_PTR(ret)); in ltc2309_read_raw_channel() 135 struct ltc2309 *ltc2309 = iio_priv(indio_dev); in ltc2309_read_raw() local 140 mutex_lock(<c2309->lock); in ltc2309_read_raw() 141 ret = ltc2309_read_raw_channel(ltc2309, chan->address, val); in ltc2309_read_raw() 142 mutex_unlock(<c2309->lock); in ltc2309_read_raw() [all …]
|
H A D | Makefile | 66 obj-$(CONFIG_LTC2309) += ltc2309.o
|
H A D | Kconfig | 710 be called ltc2309.
|