Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/light/
Dgp2ap020a00f.c1031 u8 thresh_reg_l; in gp2ap020a00f_write_event_val() local
1036 thresh_reg_l = gp2ap020a00f_get_thresh_reg(chan, dir); in gp2ap020a00f_write_event_val()
1037 thresh_val_id = GP2AP020A00F_THRESH_VAL_ID(thresh_reg_l); in gp2ap020a00f_write_event_val()
1044 switch (thresh_reg_l) { in gp2ap020a00f_write_event_val()
1088 u8 thresh_reg_l; in gp2ap020a00f_read_event_val() local
1093 thresh_reg_l = gp2ap020a00f_get_thresh_reg(chan, dir); in gp2ap020a00f_read_event_val()
1095 if (thresh_reg_l > GP2AP020A00F_PH_L_REG) { in gp2ap020a00f_read_event_val()
1100 *val = data->thresh_val[GP2AP020A00F_THRESH_VAL_ID(thresh_reg_l)]; in gp2ap020a00f_read_event_val()