Searched refs:op_reg_val (Results 1 – 1 of 1) sorted by relevance
370 unsigned int op_reg_val; in gp2ap020a00f_set_operation_mode() local375 &op_reg_val); in gp2ap020a00f_set_operation_mode()383 (op_reg_val & GP2AP020A00F_OP_MASK)) { in gp2ap020a00f_set_operation_mode()835 unsigned int op_reg_val; in gp2ap020a00f_prox_sensing_handler() local839 ret = regmap_read(priv->regmap, GP2AP020A00F_OP_REG, &op_reg_val); in gp2ap020a00f_prox_sensing_handler()844 if (op_reg_val & GP2AP020A00F_PROX_DETECT) { in gp2ap020a00f_prox_sensing_handler()871 unsigned int output_val, op_reg_val; in gp2ap020a00f_thresh_event_handler() local876 &op_reg_val); in gp2ap020a00f_thresh_event_handler()880 op_reg_flags = op_reg_val & (GP2AP020A00F_FLAG_A | GP2AP020A00F_FLAG_P in gp2ap020a00f_thresh_event_handler()883 op_reg_val &= (~GP2AP020A00F_FLAG_A & ~GP2AP020A00F_FLAG_P in gp2ap020a00f_thresh_event_handler()[all …]