Home
last modified time | relevance | path

Searched refs:opt3001 (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/iio/light/
H A Dopt3001.c102 struct opt3001 { struct
227 static int opt3001_find_scale(const struct opt3001 *opt, int val, in opt3001_find_scale()
246 static void opt3001_to_iio_ret(struct opt3001 *opt, u8 exponent, in opt3001_to_iio_ret()
259 static void opt3001_set_mode(struct opt3001 *opt, u16 *reg, u16 mode) in opt3001_set_mode()
314 static int opt3001_get_processed(struct opt3001 *opt, int *val, int *val2) in opt3001_get_processed()
437 static int opt3001_get_int_time(struct opt3001 *opt, int *val, int *val2) in opt3001_get_int_time()
445 static int opt3001_set_int_time(struct opt3001 *opt, int time) in opt3001_set_int_time()
480 struct opt3001 *opt = iio_priv(iio); in opt3001_read_raw()
512 struct opt3001 *opt = iio_priv(iio); in opt3001_write_raw()
539 struct opt3001 *opt = iio_priv(iio); in opt3001_read_event_value()
[all …]
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am642-hummingboard-t.dts142 compatible = "ti,opt3001";