Home
last modified time | relevance | path

Searched refs:gp2ap002 (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/iio/light/
H A Dgp2ap002.c140 struct gp2ap002 { struct
156 struct gp2ap002 *gp2ap002 = iio_priv(indio_dev); in gp2ap002_prox_irq() argument
161 if (!gp2ap002->enabled) in gp2ap002_prox_irq()
164 ret = regmap_read(gp2ap002->map, GP2AP002_PROX, &val); in gp2ap002_prox_irq()
166 dev_err(gp2ap002->dev, "error reading proximity\n"); in gp2ap002_prox_irq()
172 dev_dbg(gp2ap002->dev, "close\n"); in gp2ap002_prox_irq()
173 ret = regmap_write(gp2ap002->map, GP2AP002_HYS, in gp2ap002_prox_irq()
174 gp2ap002->hys_far); in gp2ap002_prox_irq()
176 dev_err(gp2ap002->dev, in gp2ap002_prox_irq()
182 dev_dbg(gp2ap002->dev, "far\n"); in gp2ap002_prox_irq()
[all …]
H A DMakefile25 obj-$(CONFIG_GP2AP002) += gp2ap002.o
H A DKconfig221 module will be called gp2ap002.
/linux/arch/arm/boot/dts/st/
H A Dste-ux500-samsung-skomer.dts610 gp2ap002 {
H A Dste-ux500-samsung-kyle.dts623 gp2ap002 {
H A Dste-ux500-samsung-janice.dts859 gp2ap002 {