Lines Matching defs:value
36 unsigned char value;
40 value = MAX_BRIGHTNESS;
42 value = brightness;
44 ret = max8925_reg_write(chip->i2c, MAX8925_WLED_CNTL, value);
56 dev_dbg(chip->dev, "set brightness %d\n", value);
57 data->current_brightness = value;
60 dev_dbg(chip->dev, "set brightness %d failure with return value:%d\n",
61 value, ret);
111 unsigned char value;
151 value = 0;
153 value |= (1 << 7);
155 value |= (LWX_FREQ(pdata->lxw_freq) << 4);
157 value |= (1 << 1);
158 ret = max8925_set_bits(chip->i2c, MAX8925_WLED_MODE_CNTL, 0xfe, value);