Home
last modified time | relevance | path

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

/openbmc/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 DMakefile23 obj-$(CONFIG_GP2AP002) += gp2ap002.o
H A DKconfig195 module will be called gp2ap002.
/openbmc/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 {
/openbmc/linux/
H A DMAINTAINERS19499 F: Documentation/devicetree/bindings/iio/light/sharp,gp2ap002.yaml
19500 F: drivers/iio/light/gp2ap002.c
H A Dopengrok2.0.log[all...]
H A Dopengrok0.0.log[all...]