Lines Matching refs:result
435 int result;
440 result = -EIO;
445 result = 0;
448 result = 1;
451 result = -EIO;
456 return result;
463 int result;
466 result = get_optd_power_state();
467 if (result < 0)
469 if (new_state == result)
480 result = -EIO;
487 result = -EIO;
491 result = -EINVAL;
496 return result;
591 int result;
598 result = 0;
601 result = 1;
604 result = -EIO;
607 return sysfs_emit(buf, "%u\n", result);
802 unsigned long long result;
807 NULL, &result);
813 key = result & 0xf;
814 updown = result & 0x80; /* 0x80 == key down; 0x00 = key up */
833 pr_err("Unknown hotkey event: 0x%04llx\n", result);
959 int num_sifr, result;
979 result = -ENOMEM;
990 result = acpi_pcc_init_input(pcc);
991 if (result) {
997 result = -EIO;
1011 result = PTR_ERR(pcc->backlight);
1030 result = sysfs_create_group(&device->dev.kobj, &pcc_attr_group);
1031 if (result)
1039 result = PTR_ERR(pcc->platform);
1042 result = device_create_file(&pcc->platform->dev,
1045 if (result)
1065 return result;