Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/light/
Dlv0104cs.c160 static int lv0104cs_get_lux(struct lv0104cs_private *lv0104cs, in lv0104cs_get_lux() argument
167 regval |= lv0104cs_scales[lv0104cs->scale].regval; in lv0104cs_get_lux()
168 regval |= lv0104cs_int_times[lv0104cs->int_time].regval; in lv0104cs_get_lux()
169 ret = lv0104cs_write_reg(lv0104cs->client, regval); in lv0104cs_get_lux()
174 switch (lv0104cs->int_time) { in lv0104cs_get_lux()
191 ret = lv0104cs_read_adc(lv0104cs->client, &adc_output); in lv0104cs_get_lux()
195 ret = lv0104cs_write_reg(lv0104cs->client, LV0104CS_REGVAL_SLEEP); in lv0104cs_get_lux()
200 switch (lv0104cs->scale) { in lv0104cs_get_lux()
230 struct lv0104cs_private *lv0104cs = iio_priv(indio_dev); in lv0104cs_read_raw() local
236 mutex_lock(&lv0104cs->lock); in lv0104cs_read_raw()
[all …]
DMakefile35 obj-$(CONFIG_LV0104CS) += lv0104cs.o
DKconfig383 the module will be called lv0104cs.