Lines Matching defs:chip

140 static int tsl2563_set_power(struct tsl2563_chip *chip, int on)  in tsl2563_set_power()
154 static int tsl2563_get_power(struct tsl2563_chip *chip) in tsl2563_get_power()
166 static int tsl2563_configure(struct tsl2563_chip *chip) in tsl2563_configure()
203 struct tsl2563_chip *chip = in tsl2563_poweroff_work() local
208 static int tsl2563_detect(struct tsl2563_chip *chip) in tsl2563_detect()
223 static int tsl2563_read_id(struct tsl2563_chip *chip, u8 *id) in tsl2563_read_id()
271 static void tsl2563_wait_adc(struct tsl2563_chip *chip) in tsl2563_wait_adc()
292 static int tsl2563_adjust_gainlevel(struct tsl2563_chip *chip, u16 adc) in tsl2563_adjust_gainlevel()
313 static int tsl2563_get_adc(struct tsl2563_chip *chip) in tsl2563_get_adc()
461 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_write_raw() local
483 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_read_raw() local
575 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_read_thresh() local
596 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_write_thresh() local
626 struct tsl2563_chip *chip = iio_priv(dev_info); in tsl2563_event_handler() local
644 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_write_interrupt_config() local
686 struct tsl2563_chip *chip = iio_priv(indio_dev); in tsl2563_read_interrupt_config() local
719 struct tsl2563_chip *chip; in tsl2563_probe() local
816 struct tsl2563_chip *chip = i2c_get_clientdata(client); in tsl2563_remove() local
835 struct tsl2563_chip *chip = i2c_get_clientdata(to_i2c_client(dev)); in tsl2563_suspend() local
853 struct tsl2563_chip *chip = i2c_get_clientdata(to_i2c_client(dev)); in tsl2563_resume() local