Lines Matching refs:val8
4125 u8 val8; in sonypi_misc_ioctl() local
4141 val8 = ((value & 0xff) - 1) << 5; in sonypi_misc_ioctl()
4142 if (copy_to_user(argp, &val8, sizeof(val8))) in sonypi_misc_ioctl()
4150 if (copy_from_user(&val8, argp, sizeof(val8))) { in sonypi_misc_ioctl()
4154 value = (val8 >> 5) + 1; in sonypi_misc_ioctl()
4197 if (ec_read(SONYPI_BAT_FLAGS, &val8)) { in sonypi_misc_ioctl()
4201 val8 &= 0x07; in sonypi_misc_ioctl()
4202 if (copy_to_user(argp, &val8, sizeof(val8))) in sonypi_misc_ioctl()
4206 val8 = spic_dev.bluetooth_power; in sonypi_misc_ioctl()
4207 if (copy_to_user(argp, &val8, sizeof(val8))) in sonypi_misc_ioctl()
4211 if (copy_from_user(&val8, argp, sizeof(val8))) { in sonypi_misc_ioctl()
4215 __sony_pic_set_bluetoothpower(val8); in sonypi_misc_ioctl()
4219 if (sony_pic_get_fanspeed(&val8)) { in sonypi_misc_ioctl()
4223 if (copy_to_user(argp, &val8, sizeof(val8))) in sonypi_misc_ioctl()
4227 if (copy_from_user(&val8, argp, sizeof(val8))) { in sonypi_misc_ioctl()
4231 if (sony_pic_set_fanspeed(val8)) in sonypi_misc_ioctl()
4236 if (ec_read(SONYPI_TEMP_STATUS, &val8)) { in sonypi_misc_ioctl()
4240 if (copy_to_user(argp, &val8, sizeof(val8))) in sonypi_misc_ioctl()