Lines Matching defs:value
150 * Last index written to key_at_index sysfs file, and value to use for all other
287 pr_warn("flushed %d bytes, last value is: %d\n", i, data);
486 static int applesmc_has_key(const char *key, bool *value)
494 *value = !IS_ERR(entry);
501 static int applesmc_read_s16(const char *key, s16 *value)
510 *value = ((s16)buffer[0] << 8) | buffer[1];
792 /* newer macbooks report a single 10-bit bigendian value */
826 s16 value;
829 ret = applesmc_read_s16(key, &value);
833 temp = 250 * (value >> 6);
867 return -EINVAL; /* Bigger than a 14-bit value */
971 enum led_brightness value)
975 backlight_state[0] = value;