Lines Matching defs:chip

201 static int apds990x_read_byte(struct apds990x_chip *chip, u8 reg, u8 *data)  in apds990x_read_byte()
214 static int apds990x_read_word(struct apds990x_chip *chip, u8 reg, u16 *data) in apds990x_read_word()
227 static int apds990x_write_byte(struct apds990x_chip *chip, u8 reg, u8 data) in apds990x_write_byte()
239 static int apds990x_write_word(struct apds990x_chip *chip, u8 reg, u16 data) in apds990x_write_word()
251 static int apds990x_mode_on(struct apds990x_chip *chip) in apds990x_mode_on()
263 static u16 apds990x_lux_to_threshold(struct apds990x_chip *chip, u32 lux) in apds990x_lux_to_threshold()
321 static inline int apds990x_set_atime(struct apds990x_chip *chip, u32 time_ms) in apds990x_set_atime()
334 static int apds990x_refresh_pthres(struct apds990x_chip *chip, int data) in apds990x_refresh_pthres()
359 static int apds990x_refresh_athres(struct apds990x_chip *chip) in apds990x_refresh_athres()
375 static void apds990x_force_a_refresh(struct apds990x_chip *chip) in apds990x_force_a_refresh()
383 static void apds990x_force_p_refresh(struct apds990x_chip *chip) in apds990x_force_p_refresh()
391 static int apds990x_calc_again(struct apds990x_chip *chip) in apds990x_calc_again()
446 static int apds990x_get_lux(struct apds990x_chip *chip, int clear, int ir) in apds990x_get_lux()
467 static int apds990x_ack_int(struct apds990x_chip *chip, u8 mode) in apds990x_ack_int()
491 struct apds990x_chip *chip = data; in apds990x_irq() local
551 static int apds990x_configure(struct apds990x_chip *chip) in apds990x_configure()
581 static int apds990x_detect(struct apds990x_chip *chip) in apds990x_detect()
613 static int apds990x_chip_on(struct apds990x_chip *chip) in apds990x_chip_on()
630 static int apds990x_chip_off(struct apds990x_chip *chip) in apds990x_chip_off()
640 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_lux_show() local
688 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_lux_calib_show() local
697 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_lux_calib_store() local
728 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_rate_show() local
733 static int apds990x_set_arate(struct apds990x_chip *chip, int rate) in apds990x_set_arate()
762 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_rate_store() local
788 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_prox_show() local
812 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_prox_enable_show() local
821 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_prox_enable_store() local
853 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_prox_reporting_mode_show() local
863 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_prox_reporting_mode_store() local
891 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_lux_thresh_above_show() local
899 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_lux_thresh_below_show() local
904 static ssize_t apds990x_set_lux_thresh(struct apds990x_chip *chip, u32 *target, in apds990x_set_lux_thresh()
934 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_lux_thresh_above_store() local
946 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_lux_thresh_below_store() local
965 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_prox_threshold_show() local
974 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_prox_threshold_store() local
1009 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_power_state_store() local
1038 struct apds990x_chip *chip = dev_get_drvdata(dev); in apds990x_chip_id_show() local
1072 struct apds990x_chip *chip; in apds990x_probe() local
1205 struct apds990x_chip *chip = i2c_get_clientdata(client); in apds990x_remove() local
1230 struct apds990x_chip *chip = i2c_get_clientdata(client); in apds990x_suspend() local
1239 struct apds990x_chip *chip = i2c_get_clientdata(client); in apds990x_resume() local
1255 struct apds990x_chip *chip = i2c_get_clientdata(client); in apds990x_runtime_suspend() local
1264 struct apds990x_chip *chip = i2c_get_clientdata(client); in apds990x_runtime_resume() local