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

/linux-4.1.27/drivers/iio/light/
H A Dgp2ap020a00f.c875 int thresh_val_id, ret; gp2ap020a00f_thresh_event_handler() local
918 thresh_val_id = gp2ap020a00f_thresh_event_handler()
920 if (output_val > priv->thresh_val[thresh_val_id]) gp2ap020a00f_thresh_event_handler()
932 thresh_val_id = gp2ap020a00f_thresh_event_handler()
934 if (output_val < priv->thresh_val[thresh_val_id]) gp2ap020a00f_thresh_event_handler()
1030 u8 thresh_val_id; gp2ap020a00f_write_event_val() local
1037 thresh_val_id = GP2AP020A00F_THRESH_VAL_ID(thresh_reg_l); gp2ap020a00f_write_event_val()
1039 if (thresh_val_id > GP2AP020A00F_THRESH_PH) { gp2ap020a00f_write_event_val()
1071 data->thresh_val[thresh_val_id] = val; gp2ap020a00f_write_event_val()
1072 err = gp2ap020a00f_write_event_threshold(data, thresh_val_id, gp2ap020a00f_write_event_val()

Completed in 62 milliseconds