Searched refs:ret (Results 1 - 25 of 5719) sorted by path

1234567891011>>

/drivers/accessibility/braille/
H A Dbraille_console.c161 int ret = NOTIFY_OK; local
164 return ret;
174 ret = NOTIFY_STOP;
177 ret = NOTIFY_STOP;
231 ret = NOTIFY_OK;
234 if (ret == NOTIFY_STOP)
268 return ret;
361 int ret; local
371 ret = console->setup(console, console_options);
372 if (ret !
[all...]
/drivers/acpi/
H A Dacpi_lpss.c313 int ret; local
325 ret = acpi_dev_get_resources(adev, &resource_list, is_memory, NULL);
326 if (ret < 0)
348 ret = register_device_clock(adev, pdata);
349 if (ret) {
351 ret = 0;
361 ret = acpi_device_fix_up_power(adev);
362 if (ret) {
364 ret = 0;
374 ret
398 int ret; local
426 int ret; local
441 int ret; local
552 int ret = pm_generic_suspend_late(dev); local
563 int ret = acpi_dev_resume_early(dev); local
576 int ret = pm_generic_runtime_suspend(dev); local
587 int ret = acpi_dev_runtime_resume(dev); local
[all...]
H A Dacpi_processor.c171 int ret; local
183 ret = acpi_map_lsapic(pr->handle, pr->apic_id, &pr->id);
184 if (ret)
187 ret = arch_register_cpu(pr->id);
188 if (ret) {
204 return ret;
285 int ret = acpi_processor_hotadd_init(pr); local
286 if (ret)
287 return ret;
H A Dbattery.c203 int ret = 0; local
233 ret = -ENODEV;
239 ret = -ENODEV;
246 ret = -ENODEV;
253 ret = -ENODEV;
260 ret = -ENODEV;
267 ret = -ENODEV;
299 ret = -EINVAL;
301 return ret;
1164 int retry, ret; local
[all...]
H A Dbgrt.c84 int ret; local
96 ret = sysfs_create_group(bgrt_kobj, &bgrt_attribute_group);
97 if (ret)
104 return ret;
H A Dbus.c235 context->ret.length = ACPI_ALLOCATE_BUFFER;
236 context->ret.pointer = NULL;
290 context->ret.length = out_obj->buffer.length;
291 context->ret.pointer = kmemdup(out_obj->buffer.pointer,
292 context->ret.length, GFP_KERNEL);
293 if (!context->ret.pointer) {
302 context->ret.pointer = NULL;
338 u32 *capbuf_ret = context.ret.pointer;
339 if (context.ret.length > OSC_SUPPORT_DWORD)
342 kfree(context.ret
[all...]
H A Dbutton.c150 int ret = 0; local
169 ret = -ENODEV;
176 ret = -ENODEV;
185 ret = -ENODEV;
190 return ret;
258 int ret; local
271 ret = blocking_notifier_call_chain(&acpi_lid_notifier, state, device);
272 if (ret == NOTIFY_DONE)
273 ret = blocking_notifier_call_chain(&acpi_lid_notifier, state,
275 if (ret
[all...]
H A Dcontainer.c69 int ret; local
84 ret = device_register(dev);
85 if (ret) {
87 return ret;
H A Ddevice_pm.c297 int ret = 0; local
302 ret = acpi_dev_pm_explicit_set(device, ACPI_STATE_D0);
304 return ret;
505 unsigned long long ret; local
529 ret = d_min;
530 status = acpi_evaluate_integer(handle, method, NULL, &ret);
532 || ret > ACPI_STATE_D3_COLD)
540 if (!adev->power.states[ret].flags.valid) {
541 if (ret == ACPI_STATE_D3_HOT)
542 ret
601 int ret, d_min, d_max; local
757 int ret, state; local
840 int ret = pm_generic_runtime_suspend(dev); local
854 int ret = acpi_dev_runtime_resume(dev); local
924 int ret, state; local
985 int ret = pm_generic_suspend_late(dev); local
1000 int ret = acpi_dev_resume_early(dev); local
[all...]
H A Ddock.c296 int ret = acpi_bus_scan(adev->handle); local
297 if (ret)
298 dev_dbg(&adev->dev, "scan error %d\n", -ret);
538 int ret; local
546 ret = handle_eject_request(dock_station, ACPI_NOTIFY_EJECT_REQUEST);
548 return ret ? ret: count;
613 int ret; local
644 ret = sysfs_create_group(&dd->dev.kobj, &dock_attribute_group);
645 if (ret)
[all...]
H A Dec.c194 int ret = 0; local
198 ret = 1;
200 return ret;
322 int ret = 0; local
338 ret = ec_poll(ec);
344 return ret;
860 int ret; local
890 ret = !!request_region(ec->data_addr, 1, "EC data");
891 WARN(!ret, "Could not request EC data io port 0x%lx", ec->data_addr);
892 ret
[all...]
H A Dglue.c69 struct acpi_bus_type *tmp, *ret = NULL; local
74 ret = tmp;
79 return ret;
106 struct acpi_device *adev, *ret = NULL; local
122 if (!ret) {
124 ret = adev;
138 ret_score = find_child_checks(ret, check_children);
140 return ret;
146 ret = adev;
150 return ret;
291 int ret; local
[all...]
H A Dosl.c1136 int ret; local
1177 ret = queue_work_on(0, queue, &dpc->work);
1179 if (!ret) {
1293 int ret = 0; local
1309 ret = down_timeout(sem, jiffies);
1310 if (ret)
H A Dpci_irq.c323 int ret; local
325 ret = acpi_pci_irq_find_prt_entry(dev, pin, &entry);
326 if (!ret && entry) {
355 ret = acpi_pci_irq_find_prt_entry(bridge, pin, &entry);
356 if (!ret && entry) {
H A Dpci_root.c88 int ret; local
91 ret = acpi_bus_get_device(handle, &device);
92 if (ret)
95 ret = acpi_match_device_ids(device, root_device_ids);
96 if (ret)
203 *retval = *((u32 *)(context.ret.pointer + 8));
204 kfree(context.ret.pointer);
H A Dpower.c403 int ret; local
408 ret = sysfs_create_group(&adev->dev.kobj, attr_group);
409 if (ret)
415 ret = sysfs_add_link_to_group(&adev->dev.kobj,
419 if (ret) {
H A Dprocessor_driver.c141 int ret; local
146 ret = __acpi_processor_start(device);
147 WARN(ret, "Failed to start CPU: %d\n", pr->id);
H A Dprocessor_idle.c1026 int ret = 0; local
1044 ret = cpuidle_enable_device(dev);
1048 return ret;
H A Dprocessor_perflib.c166 int ret; local
178 ret = acpi_processor_get_platform_limit(pr);
184 if (ret < 0)
189 if (ret < 0)
190 return (ret);
H A Dprocessor_throttling.c721 int ret = -1; local
734 ret = 0;
736 return ret;
741 int ret = -1; local
752 ret = 0;
754 return ret;
779 int ret = -1; local
792 ret = 0;
795 ret = acpi_throttling_rdmsr(value);
801 return ret;
811 int ret = -1; local
855 int ret = -1; local
870 int ret; local
902 int ret; local
1041 int ret; local
1081 int ret = 0; local
[all...]
H A Dresource.c459 int ret; local
461 ret = c->preproc(ares, c->preproc_data);
462 if (ret < 0) {
463 c->error = ret;
465 } else if (ret > 0) {
H A Dsbs.c405 int ret; local
409 ret = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER,
411 if (ret)
416 ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD,
419 if (ret)
423 ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, ACPI_SBS_BATTERY,
426 return ret;
/drivers/acpi/apei/
H A Dapei-base.c781 kfree(context.ret.pointer);
H A Derst.c1071 int ret; local
1109 ret = erst_write(&rcd->hdr);
1112 return ret;
H A Dghes.c218 int ret; local
229 ret = gen_pool_add(ghes_estatus_pool, addr, PAGE_SIZE, -1);
230 if (ret)
231 return ret;
703 int ret = NOTIFY_DONE; local
708 ret = NOTIFY_OK;
712 return ret;
818 int ret = NMI_DONE; local
831 ret = NMI_HANDLED;
834 if (ret
[all...]

Completed in 742 milliseconds

1234567891011>>