Home
last modified time | relevance | path

Searched refs:out_obj (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/ide/
Dide-acpi.c222 union acpi_object *out_obj; in do_drive_get_GTF() local
257 out_obj = output.pointer; in do_drive_get_GTF()
258 if (out_obj->type != ACPI_TYPE_BUFFER) { in do_drive_get_GTF()
261 "got 0x%x\n", out_obj->type); in do_drive_get_GTF()
267 if (!out_obj->buffer.length || !out_obj->buffer.pointer || in do_drive_get_GTF()
268 out_obj->buffer.length % REGS_PER_GTF) { in do_drive_get_GTF()
271 __func__, out_obj->buffer.length, in do_drive_get_GTF()
272 out_obj->buffer.pointer); in do_drive_get_GTF()
278 *gtf_length = out_obj->buffer.length; in do_drive_get_GTF()
279 *gtf_address = (unsigned long)out_obj->buffer.pointer; in do_drive_get_GTF()
[all …]
/linux-3.4.99/drivers/cpufreq/
Dpcc-cpufreq.c310 union acpi_object *out_obj; in pcc_cpufreq_do_osc() local
339 out_obj = output.pointer; in pcc_cpufreq_do_osc()
340 if (out_obj->type != ACPI_TYPE_BUFFER) { in pcc_cpufreq_do_osc()
345 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc()
351 supported = *((u32 *)(out_obj->buffer.pointer + 4)); in pcc_cpufreq_do_osc()
368 out_obj = output.pointer; in pcc_cpufreq_do_osc()
369 if (out_obj->type != ACPI_TYPE_BUFFER) { in pcc_cpufreq_do_osc()
374 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc()
380 supported = *((u32 *)(out_obj->buffer.pointer + 4)); in pcc_cpufreq_do_osc()
397 union acpi_object *out_obj, *member; in pcc_cpufreq_probe() local
[all …]
/linux-3.4.99/drivers/ata/
Dlibata-acpi.c323 union acpi_object *out_obj; in ata_acpi_gtm() local
340 out_obj = output.pointer; in ata_acpi_gtm()
341 if (out_obj->type != ACPI_TYPE_BUFFER) { in ata_acpi_gtm()
343 out_obj->type); in ata_acpi_gtm()
348 if (out_obj->buffer.length != sizeof(struct ata_acpi_gtm)) { in ata_acpi_gtm()
350 out_obj->buffer.length); in ata_acpi_gtm()
354 memcpy(gtm, out_obj->buffer.pointer, sizeof(struct ata_acpi_gtm)); in ata_acpi_gtm()
436 union acpi_object *out_obj; in ata_dev_get_GTF() local
441 out_obj = dev->gtf_cache; in ata_dev_get_GTF()
455 out_obj = dev->gtf_cache = output.pointer; in ata_dev_get_GTF()
[all …]
/linux-3.4.99/drivers/acpi/
Dbus.c453 union acpi_object *out_obj; in acpi_run_osc() local
486 out_obj = output.pointer; in acpi_run_osc()
487 if (out_obj->type != ACPI_TYPE_BUFFER in acpi_run_osc()
488 || out_obj->buffer.length != context->cap.length) { in acpi_run_osc()
495 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in acpi_run_osc()
517 context->ret.length = out_obj->buffer.length; in acpi_run_osc()
523 memcpy(context->ret.pointer, out_obj->buffer.pointer, in acpi_run_osc()
/linux-3.4.99/drivers/platform/x86/
Dfujitsu-laptop.c223 union acpi_object out_obj; in call_fext_func() local
238 output.length = sizeof(out_obj); in call_fext_func()
239 output.pointer = &out_obj; in call_fext_func()
249 if (out_obj.type != ACPI_TYPE_INTEGER) { in call_fext_func()
259 cmd, arg0, arg1, arg2, (int)out_obj.integer.value); in call_fext_func()
260 return out_obj.integer.value; in call_fext_func()
Dtoshiba_acpi.c903 union acpi_object out_obj; in toshiba_acpi_query_hotkey() local
906 buf.pointer = &out_obj; in toshiba_acpi_query_hotkey()
907 buf.length = sizeof(out_obj); in toshiba_acpi_query_hotkey()
911 if (ACPI_FAILURE(status) || out_obj.type != ACPI_TYPE_INTEGER) { in toshiba_acpi_query_hotkey()
916 return out_obj.integer.value; in toshiba_acpi_query_hotkey()
Dsony-laptop.c698 union acpi_object out_obj; in acpi_callgetfunc() local
701 output.length = sizeof(out_obj); in acpi_callgetfunc()
702 output.pointer = &out_obj; in acpi_callgetfunc()
705 if ((status == AE_OK) && (out_obj.type == ACPI_TYPE_INTEGER)) { in acpi_callgetfunc()
706 *result = out_obj.integer.value; in acpi_callgetfunc()
721 union acpi_object out_obj; in acpi_callsetfunc() local
729 output.length = sizeof(out_obj); in acpi_callsetfunc()
730 output.pointer = &out_obj; in acpi_callsetfunc()
735 if (out_obj.type != ACPI_TYPE_INTEGER) { in acpi_callsetfunc()
739 *result = out_obj.integer.value; in acpi_callsetfunc()
Dthinkpad_acpi.c554 union acpi_object out_obj; in acpi_evalf() local
596 result.length = sizeof(out_obj); in acpi_evalf()
597 result.pointer = &out_obj; in acpi_evalf()
607 out_obj.type == ACPI_TYPE_INTEGER); in acpi_evalf()
609 *(int *)res = out_obj.integer.value; in acpi_evalf()