Searched refs:thresh_val_id (Results 1 – 1 of 1) sorted by relevance
871 int thresh_val_id, ret; in gp2ap020a00f_thresh_event_handler() local914 thresh_val_id = in gp2ap020a00f_thresh_event_handler()916 if (output_val > priv->thresh_val[thresh_val_id]) in gp2ap020a00f_thresh_event_handler()928 thresh_val_id = in gp2ap020a00f_thresh_event_handler()930 if (output_val < priv->thresh_val[thresh_val_id]) in gp2ap020a00f_thresh_event_handler()1025 u8 thresh_val_id; in gp2ap020a00f_write_event_val() local1032 thresh_val_id = GP2AP020A00F_THRESH_VAL_ID(thresh_reg_l); in gp2ap020a00f_write_event_val()1034 if (thresh_val_id > GP2AP020A00F_THRESH_PH) { in gp2ap020a00f_write_event_val()1066 data->thresh_val[thresh_val_id] = val; in gp2ap020a00f_write_event_val()1067 err = gp2ap020a00f_write_event_threshold(data, thresh_val_id, in gp2ap020a00f_write_event_val()