Lines Matching refs:tsl2563_chip
98 struct tsl2563_chip { struct
123 static int tsl2563_set_power(struct tsl2563_chip *chip, int on) in tsl2563_set_power() argument
137 static int tsl2563_get_power(struct tsl2563_chip *chip) in tsl2563_get_power()
149 static int tsl2563_configure(struct tsl2563_chip *chip) in tsl2563_configure()
178 struct tsl2563_chip *chip = in tsl2563_poweroff_work()
179 container_of(work, struct tsl2563_chip, poweroff_work.work); in tsl2563_poweroff_work()
183 static int tsl2563_detect(struct tsl2563_chip *chip) in tsl2563_detect()
198 static int tsl2563_read_id(struct tsl2563_chip *chip, u8 *id) in tsl2563_read_id()
212 static int tsl2563_configure_irq(struct tsl2563_chip *chip, bool enable) in tsl2563_configure_irq()
264 static void tsl2563_wait_adc(struct tsl2563_chip *chip) in tsl2563_wait_adc()
285 static int tsl2563_adjust_gainlevel(struct tsl2563_chip *chip, u16 adc) in tsl2563_adjust_gainlevel()
306 static int tsl2563_get_adc(struct tsl2563_chip *chip) in tsl2563_get_adc()
454 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_write_raw()
476 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_read_raw()
568 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_read_thresh()
589 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_write_thresh()
617 struct tsl2563_chip *chip = iio_priv(dev_info); in tsl2563_event_handler()
635 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_write_interrupt_config()
668 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_read_interrupt_config()
699 struct tsl2563_chip *chip; in tsl2563_probe()
786 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_remove()
799 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_suspend()
818 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_resume()