Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/acpi/x86/
Ds2idle.c95 union acpi_object *out_obj; in lpi_device_get_constraints_amd() local
98 out_obj = acpi_evaluate_dsm_typed(lps0_device_handle, &lps0_dsm_guid, in lpi_device_get_constraints_amd()
103 out_obj ? "successful" : "failed"); in lpi_device_get_constraints_amd()
105 if (!out_obj) in lpi_device_get_constraints_amd()
108 for (i = 0; i < out_obj->package.count; i++) { in lpi_device_get_constraints_amd()
109 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints_amd()
177 ACPI_FREE(out_obj); in lpi_device_get_constraints_amd()
182 union acpi_object *out_obj; in lpi_device_get_constraints() local
185 out_obj = acpi_evaluate_dsm_typed(lps0_device_handle, &lps0_dsm_guid, in lpi_device_get_constraints()
190 out_obj ? "successful" : "failed"); in lpi_device_get_constraints()
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_phys.c33 goto out_obj; in mock_phys_object()
40 goto out_obj; in mock_phys_object()
46 goto out_obj; in mock_phys_object()
52 goto out_obj; in mock_phys_object()
62 goto out_obj; in mock_phys_object()
65 out_obj: in mock_phys_object()
Di915_gem_dmabuf.c288 goto out_obj; in igt_dmabuf_import()
295 goto out_obj; in igt_dmabuf_import()
303 goto out_obj; in igt_dmabuf_import()
340 out_obj: in igt_dmabuf_import()
384 goto out_obj; in igt_dmabuf_import_ownership()
389 out_obj: in igt_dmabuf_import_ownership()
/Linux-v5.15/drivers/cpufreq/
Dpcc-cpufreq.c306 union acpi_object *out_obj; in pcc_cpufreq_do_osc() local
335 out_obj = output.pointer; in pcc_cpufreq_do_osc()
336 if (out_obj->type != ACPI_TYPE_BUFFER) { in pcc_cpufreq_do_osc()
341 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc()
347 supported = *((u32 *)(out_obj->buffer.pointer + 4)); in pcc_cpufreq_do_osc()
364 out_obj = output.pointer; in pcc_cpufreq_do_osc()
365 if (out_obj->type != ACPI_TYPE_BUFFER) { in pcc_cpufreq_do_osc()
370 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc()
376 supported = *((u32 *)(out_obj->buffer.pointer + 4)); in pcc_cpufreq_do_osc()
393 union acpi_object *out_obj, *member; in pcc_cpufreq_probe() local
[all …]
/Linux-v5.15/drivers/ata/
Dlibata-acpi.c290 union acpi_object *out_obj; in ata_acpi_gtm() local
311 out_obj = output.pointer; in ata_acpi_gtm()
312 if (out_obj->type != ACPI_TYPE_BUFFER) { in ata_acpi_gtm()
314 out_obj->type); in ata_acpi_gtm()
319 if (out_obj->buffer.length != sizeof(struct ata_acpi_gtm)) { in ata_acpi_gtm()
321 out_obj->buffer.length); in ata_acpi_gtm()
325 memcpy(gtm, out_obj->buffer.pointer, sizeof(struct ata_acpi_gtm)); in ata_acpi_gtm()
408 union acpi_object *out_obj; in ata_dev_get_GTF() local
413 out_obj = dev->gtf_cache; in ata_dev_get_GTF()
428 out_obj = dev->gtf_cache = output.pointer; in ata_dev_get_GTF()
[all …]
/Linux-v5.15/drivers/acpi/
Dbus.c192 union acpi_object *out_obj; in acpi_run_osc() local
225 out_obj = output.pointer; in acpi_run_osc()
226 if (out_obj->type != ACPI_TYPE_BUFFER in acpi_run_osc()
227 || out_obj->buffer.length != context->cap.length) { in acpi_run_osc()
234 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in acpi_run_osc()
256 context->ret.length = out_obj->buffer.length; in acpi_run_osc()
257 context->ret.pointer = kmemdup(out_obj->buffer.pointer, in acpi_run_osc()
Dacpi_tad.c108 union acpi_object *out_obj; in acpi_tad_get_real_time() local
122 out_obj = output.pointer; in acpi_tad_get_real_time()
123 if (out_obj->type != ACPI_TYPE_BUFFER) in acpi_tad_get_real_time()
126 if (out_obj->buffer.length != sizeof(*rt)) in acpi_tad_get_real_time()
129 data = (struct acpi_tad_rt *)(out_obj->buffer.pointer); in acpi_tad_get_real_time()
Dcppc_acpi.c676 union acpi_object *out_obj, *cpc_obj; in acpi_cppc_processor_probe() local
694 out_obj = (union acpi_object *) output.pointer; in acpi_cppc_processor_probe()
703 cpc_obj = &out_obj->package.elements[0]; in acpi_cppc_processor_probe()
714 cpc_obj = &out_obj->package.elements[1]; in acpi_cppc_processor_probe()
729 cpc_obj = &out_obj->package.elements[i]; in acpi_cppc_processor_probe()
/Linux-v5.15/drivers/acpi/nfit/
Dcore.c442 union acpi_object in_obj, in_buf, *out_obj; in acpi_nfit_ctl() local
540 out_obj = acpi_label_info(handle); in acpi_nfit_ctl()
545 out_obj = acpi_label_read(handle, p->in_offset, p->in_length); in acpi_nfit_ctl()
550 out_obj = acpi_label_write(handle, p->in_offset, p->in_length, in acpi_nfit_ctl()
559 out_obj = acpi_evaluate_dsm(handle, guid, revid, func, &in_obj); in acpi_nfit_ctl()
562 if (!out_obj) { in acpi_nfit_ctl()
567 if (out_obj->type != ACPI_TYPE_BUFFER) { in acpi_nfit_ctl()
569 dimm_name, cmd_name, out_obj->type); in acpi_nfit_ctl()
575 cmd_name, out_obj->buffer.length); in acpi_nfit_ctl()
577 out_obj->buffer.pointer, in acpi_nfit_ctl()
[all …]
/Linux-v5.15/drivers/platform/x86/
Dacer-wmi.c1673 union acpi_object out_obj; in acer_gsensor_init() local
1675 output.length = sizeof(out_obj); in acer_gsensor_init()
1676 output.pointer = &out_obj; in acer_gsensor_init()
1693 union acpi_object out_obj[5]; in acer_gsensor_event() local
1698 output.length = sizeof(out_obj); in acer_gsensor_event()
1699 output.pointer = out_obj; in acer_gsensor_event()
1705 if (out_obj->package.count != 4) in acer_gsensor_event()
1709 (s16)out_obj->package.elements[0].integer.value); in acer_gsensor_event()
1711 (s16)out_obj->package.elements[1].integer.value); in acer_gsensor_event()
1713 (s16)out_obj->package.elements[2].integer.value); in acer_gsensor_event()
Dthinkpad_acpi.c581 union acpi_object out_obj; in acpi_evalf() local
623 result.length = sizeof(out_obj); in acpi_evalf()
624 result.pointer = &out_obj; in acpi_evalf()
634 out_obj.type == ACPI_TYPE_INTEGER); in acpi_evalf()
636 *res = out_obj.integer.value; in acpi_evalf()
/Linux-v5.15/drivers/platform/x86/intel/pmc/
Dcore.c606 union acpi_object *out_obj; in pmc_core_get_tgl_lpm_reqs() local
617 out_obj = acpi_evaluate_dsm(adev->handle, &s0ix_dsm_guid, 0, in pmc_core_get_tgl_lpm_reqs()
619 if (out_obj && out_obj->type == ACPI_TYPE_BUFFER) { in pmc_core_get_tgl_lpm_reqs()
620 u32 size = out_obj->buffer.length; in pmc_core_get_tgl_lpm_reqs()
634 addr = (u32 *)out_obj->buffer.pointer; in pmc_core_get_tgl_lpm_reqs()
645 ACPI_FREE(out_obj); in pmc_core_get_tgl_lpm_reqs()
/Linux-v5.15/drivers/gpu/drm/i915/gt/
Dselftest_hangcheck.c1458 goto out_obj; in __igt_reset_evict_vma()
1466 goto out_obj; in __igt_reset_evict_vma()
1473 goto out_obj; in __igt_reset_evict_vma()
1485 goto out_obj; in __igt_reset_evict_vma()
1494 goto out_obj; in __igt_reset_evict_vma()
1571 out_obj: in __igt_reset_evict_vma()