Home
last modified time | relevance | path

Searched refs:output_val (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/light/
H A Dgp2ap020a00f.c717 int output_val) in gp2ap020a00f_adjust_lux_mode() argument
723 if (output_val > 16000) { in gp2ap020a00f_adjust_lux_mode()
728 if (output_val < 1000) { in gp2ap020a00f_adjust_lux_mode()
816 int *output_val) in gp2ap020a00f_output_to_lux() argument
819 *output_val *= 16; in gp2ap020a00f_output_to_lux()
870 unsigned int output_val, op_reg_val; in gp2ap020a00f_thresh_event_handler() local
902 output_val = le16_to_cpup((__le16 *)d0_reg_buf); in gp2ap020a00f_thresh_event_handler()
904 if (gp2ap020a00f_adjust_lux_mode(priv, output_val)) in gp2ap020a00f_thresh_event_handler()
907 gp2ap020a00f_output_to_lux(priv, &output_val); in gp2ap020a00f_thresh_event_handler()
916 if (output_val > priv->thresh_val[thresh_val_id]) in gp2ap020a00f_thresh_event_handler()
[all …]