Home
last modified time | relevance | path

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

/drivers/iio/light/
Dgp2ap020a00f.c718 int output_val) in gp2ap020a00f_adjust_lux_mode() argument
724 if (output_val > 16000) { in gp2ap020a00f_adjust_lux_mode()
729 if (output_val < 1000) { in gp2ap020a00f_adjust_lux_mode()
817 int *output_val) in gp2ap020a00f_output_to_lux() argument
820 *output_val *= 16; in gp2ap020a00f_output_to_lux()
871 unsigned int output_val, op_reg_val; in gp2ap020a00f_thresh_event_handler() local
903 output_val = le16_to_cpup((__le16 *)d0_reg_buf); in gp2ap020a00f_thresh_event_handler()
905 if (gp2ap020a00f_adjust_lux_mode(priv, output_val)) in gp2ap020a00f_thresh_event_handler()
908 gp2ap020a00f_output_to_lux(priv, &output_val); in gp2ap020a00f_thresh_event_handler()
917 if (output_val > priv->thresh_val[thresh_val_id]) in gp2ap020a00f_thresh_event_handler()
[all …]