Searched refs:gp2ap002 (Results 1 – 6 of 6) sorted by relevance
140 struct gp2ap002 { struct156 struct gp2ap002 *gp2ap002 = iio_priv(indio_dev); in gp2ap002_prox_irq() argument161 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 …]
25 obj-$(CONFIG_GP2AP002) += gp2ap002.o
221 module will be called gp2ap002.
610 gp2ap002 {
623 gp2ap002 {
859 gp2ap002 {