Searched refs:op_reg_val (Results 1 – 1 of 1) sorted by relevance
369 unsigned int op_reg_val; in gp2ap020a00f_set_operation_mode() local374 &op_reg_val); in gp2ap020a00f_set_operation_mode()382 (op_reg_val & GP2AP020A00F_OP_MASK)) { in gp2ap020a00f_set_operation_mode()834 unsigned int op_reg_val; in gp2ap020a00f_prox_sensing_handler() local838 ret = regmap_read(priv->regmap, GP2AP020A00F_OP_REG, &op_reg_val); in gp2ap020a00f_prox_sensing_handler()843 if (op_reg_val & GP2AP020A00F_PROX_DETECT) { in gp2ap020a00f_prox_sensing_handler()870 unsigned int output_val, op_reg_val; in gp2ap020a00f_thresh_event_handler() local875 &op_reg_val); in gp2ap020a00f_thresh_event_handler()879 op_reg_flags = op_reg_val & (GP2AP020A00F_FLAG_A | GP2AP020A00F_FLAG_P in gp2ap020a00f_thresh_event_handler()882 op_reg_val &= (~GP2AP020A00F_FLAG_A & ~GP2AP020A00F_FLAG_P in gp2ap020a00f_thresh_event_handler()[all …]