Searched refs:lv0104cs (Results 1 – 3 of 3) sorted by relevance
160 static int lv0104cs_get_lux(struct lv0104cs_private *lv0104cs, in lv0104cs_get_lux() argument167 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() local236 mutex_lock(&lv0104cs->lock); in lv0104cs_read_raw()[all …]
35 obj-$(CONFIG_LV0104CS) += lv0104cs.o
383 the module will be called lv0104cs.