Lines Matching refs:result
132 int result = 0;
138 result = acpi_bus_get_device(handle, &device);
139 if (result)
140 return result;
162 result = acpi_power_get_inferred_state(device);
163 if (result)
164 return result;
180 int result = 0;
186 result = acpi_bus_get_device(handle, &device);
187 if (result)
188 return result;
232 result = acpi_power_transition(device, state);
233 if (result)
240 result = -ENODEV;
249 result = -ENODEV;
254 result = acpi_power_transition(device, state);
255 if (result)
261 if (result)
270 return result;
422 int result = 0;
430 result = acpi_bus_check_device(device, &status_changed);
431 if (result)
432 return result;
452 int result = 0;
465 result = acpi_bus_check_scope(device);
476 result = acpi_bus_check_device(device, NULL);
638 * update it with result from INT_SRC_OVR parsing
662 int result = 0;
692 /* Ignore result. Not having an ECDT is not fatal. */
709 result = acpi_bus_init_irq();
710 if (result)
742 int result = 0;
750 result = firmware_register(&acpi_subsys);
751 if (result < 0)
753 __FUNCTION__, result);
755 result = acpi_bus_init();
757 if (!result) {
765 result = -ENODEV;
771 return result;