Home
last modified time | relevance | path

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

/drivers/iio/adc/
Dmax9611.c209 static int max9611_read_single(struct max9611_dev *max9611, in max9611_read_single() argument
222 mutex_lock(&max9611->lock); in max9611_read_single()
223 ret = i2c_smbus_write_byte_data(max9611->i2c_client, in max9611_read_single()
226 dev_err(max9611->dev, "i2c write byte failed: 0x%2x - 0x%2x\n", in max9611_read_single()
228 mutex_unlock(&max9611->lock); in max9611_read_single()
236 ret = i2c_smbus_read_word_swapped(max9611->i2c_client, reg_addr); in max9611_read_single()
238 dev_err(max9611->dev, "i2c read word from 0x%2x failed\n", in max9611_read_single()
240 mutex_unlock(&max9611->lock); in max9611_read_single()
245 mutex_unlock(&max9611->lock); in max9611_read_single()
262 static int max9611_read_csa_voltage(struct max9611_dev *max9611, in max9611_read_csa_voltage() argument
[all …]
DMakefile71 obj-$(CONFIG_MAX9611) += max9611.o
DKconfig750 tristate "Maxim max9611/max9612 ADC driver"
753 Say yes here to build support for Maxim max9611/max9612 current sense
757 called max9611.