Home
last modified time | relevance | path

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

/linux/drivers/iio/light/
H A Dgp2ap020a00f.c1026 u8 thresh_reg_l; in gp2ap020a00f_write_event_val() local
1031 thresh_reg_l = gp2ap020a00f_get_thresh_reg(chan, dir); in gp2ap020a00f_write_event_val()
1032 thresh_val_id = GP2AP020A00F_THRESH_VAL_ID(thresh_reg_l); in gp2ap020a00f_write_event_val()
1039 switch (thresh_reg_l) { in gp2ap020a00f_write_event_val()
1083 u8 thresh_reg_l; in gp2ap020a00f_read_event_val() local
1088 thresh_reg_l = gp2ap020a00f_get_thresh_reg(chan, dir); in gp2ap020a00f_read_event_val()
1090 if (thresh_reg_l > GP2AP020A00F_PH_L_REG) { in gp2ap020a00f_read_event_val()
1095 *val = data->thresh_val[GP2AP020A00F_THRESH_VAL_ID(thresh_reg_l)]; in gp2ap020a00f_read_event_val()