Lines Matching refs:desired_brightness
26 unsigned desired_brightness; /* desired brightness when led is on */
56 if (gpio_data->desired_brightness)
58 gpio_data->desired_brightness);
72 return sprintf(buf, "%u\n", gpio_data->desired_brightness);
80 unsigned desired_brightness;
83 ret = sscanf(buf, "%u", &desired_brightness);
84 if (ret < 1 || desired_brightness > 255) {
89 gpio_data->desired_brightness = desired_brightness;
93 static DEVICE_ATTR(desired_brightness, 0644, gpio_trig_brightness_show,