• Home
  • Raw
  • Download

Lines Matching defs:chip

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