Searched refs:bh1770_chip (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/misc/
H A Dbh1770glc.c134 struct bh1770_chip { struct
196 static inline int bh1770_lux_interrupt_control(struct bh1770_chip *chip, bh1770_lux_interrupt_control()
206 static inline int bh1770_prox_interrupt_control(struct bh1770_chip *chip, bh1770_prox_interrupt_control()
216 static int bh1770_lux_rate(struct bh1770_chip *chip, int rate_index) bh1770_lux_rate()
231 static int bh1770_prox_rate(struct bh1770_chip *chip, int mode) bh1770_prox_rate()
244 static inline int bh1770_led_cfg(struct bh1770_chip *chip) bh1770_led_cfg()
260 static inline u8 bh1770_psraw_to_adjusted(struct bh1770_chip *chip, u8 psraw) bh1770_psraw_to_adjusted()
270 static inline u8 bh1770_psadjusted_to_raw(struct bh1770_chip *chip, u8 ps) bh1770_psadjusted_to_raw()
288 static int bh1770_prox_set_threshold(struct bh1770_chip *chip) bh1770_prox_set_threshold()
303 static inline u16 bh1770_lux_raw_to_adjusted(struct bh1770_chip *chip, u16 raw) bh1770_lux_raw_to_adjusted()
310 static inline u16 bh1770_lux_adjusted_to_raw(struct bh1770_chip *chip, bh1770_lux_adjusted_to_raw()
317 static int bh1770_lux_update_thresholds(struct bh1770_chip *chip, bh1770_lux_update_thresholds()
357 static int bh1770_lux_get_result(struct bh1770_chip *chip) bh1770_lux_get_result()
377 static u32 bh1770_get_corr_value(struct bh1770_chip *chip) bh1770_get_corr_value()
389 static int bh1770_lux_read_result(struct bh1770_chip *chip) bh1770_lux_read_result()
399 static int bh1770_chip_on(struct bh1770_chip *chip) bh1770_chip_on()
430 static void bh1770_chip_off(struct bh1770_chip *chip) bh1770_chip_off()
442 static int bh1770_prox_mode_control(struct bh1770_chip *chip) bh1770_prox_mode_control()
465 static int bh1770_prox_read_result(struct bh1770_chip *chip) bh1770_prox_read_result()
522 static int bh1770_detect(struct bh1770_chip *chip) bh1770_detect()
576 struct bh1770_chip *chip = bh1770_prox_work()
577 container_of(work, struct bh1770_chip, prox_work.work); bh1770_prox_work()
587 struct bh1770_chip *chip = data; bh1770_irq()
650 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_power_state_store()
698 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_lux_result_show()
728 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_prox_enable_store()
759 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_prox_enable_show()
771 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_prox_result_show()
803 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_get_prox_rate_above()
810 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_get_prox_rate_below()
828 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_set_prox_rate_above()
846 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_set_prox_rate_below()
863 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_get_prox_thres()
871 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_set_prox_thres()
894 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_prox_persistence_show()
903 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_prox_persistence_store()
922 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_prox_abs_thres_show()
930 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_prox_abs_thres_store()
949 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_chip_id_show()
962 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_lux_calib_show()
975 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_lux_calib_store()
1018 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_get_lux_rate()
1026 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_set_lux_rate()
1052 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_get_lux_thresh_above()
1059 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_get_lux_thresh_below()
1063 static ssize_t bh1770_set_lux_thresh(struct bh1770_chip *chip, u16 *target, bh1770_set_lux_thresh()
1095 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_set_lux_thresh_above()
1106 struct bh1770_chip *chip = dev_get_drvdata(dev); bh1770_set_lux_thresh_below()
1185 struct bh1770_chip *chip; bh1770_probe()
1302 struct bh1770_chip *chip = i2c_get_clientdata(client); bh1770_remove()
1327 struct bh1770_chip *chip = i2c_get_clientdata(client); bh1770_suspend()
1337 struct bh1770_chip *chip = i2c_get_clientdata(client); bh1770_resume()
1365 struct bh1770_chip *chip = i2c_get_clientdata(client); bh1770_runtime_suspend()
1375 struct bh1770_chip *chip = i2c_get_clientdata(client); bh1770_runtime_resume()

Completed in 38 milliseconds