Home
last modified time | relevance | path

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

/openbmc/linux/drivers/acpi/
H A Dpfr_update.c123 union acpi_object *out_obj; in query_capability() local
126 out_obj = acpi_evaluate_dsm_typed(handle, &pfru_guid, in query_capability()
130 if (!out_obj) in query_capability()
133 if (out_obj->package.count < CAP_NR_IDX || in query_capability()
134 out_obj->package.elements[CAP_STATUS_IDX].type != ACPI_TYPE_INTEGER || in query_capability()
135 out_obj->package.elements[CAP_UPDATE_IDX].type != ACPI_TYPE_INTEGER || in query_capability()
136 out_obj->package.elements[CAP_CODE_TYPE_IDX].type != ACPI_TYPE_BUFFER || in query_capability()
137 out_obj->package.elements[CAP_FW_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability()
138 out_obj->package.elements[CAP_CODE_RT_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability()
139 out_obj->package.elements[CAP_DRV_TYPE_IDX].type != ACPI_TYPE_BUFFER || in query_capability()
[all …]
H A Dpfr_telemetry.c83 union acpi_object *out_obj, in_obj, in_buf; in get_pfrt_log_data_info() local
95 out_obj = acpi_evaluate_dsm_typed(handle, &pfrt_log_guid, in get_pfrt_log_data_info()
98 if (!out_obj) in get_pfrt_log_data_info()
101 if (out_obj->package.count < LOG_NR_IDX || in get_pfrt_log_data_info()
102 out_obj->package.elements[LOG_STATUS_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info()
103 out_obj->package.elements[LOG_EXT_STATUS_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info()
104 out_obj->package.elements[LOG_MAX_SZ_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info()
105 out_obj->package.elements[LOG_CHUNK1_LO_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info()
106 out_obj->package.elements[LOG_CHUNK1_HI_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info()
107 out_obj->package.elements[LOG_CHUNK1_SZ_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info()
[all …]
H A Dbus.c191 union acpi_object *out_obj; in acpi_run_osc() local
224 out_obj = output.pointer; in acpi_run_osc()
225 if (out_obj->type != ACPI_TYPE_BUFFER in acpi_run_osc()
226 || out_obj->buffer.length != context->cap.length) { in acpi_run_osc()
233 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in acpi_run_osc()
255 context->ret.length = out_obj->buffer.length; in acpi_run_osc()
256 context->ret.pointer = kmemdup(out_obj->buffer.pointer, in acpi_run_osc()
H A 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()
H A Dcppc_acpi.c685 union acpi_object *out_obj, *cpc_obj; in acpi_cppc_processor_probe() local
709 out_obj = (union acpi_object *) output.pointer; in acpi_cppc_processor_probe()
718 cpc_obj = &out_obj->package.elements[0]; in acpi_cppc_processor_probe()
733 cpc_obj = &out_obj->package.elements[1]; in acpi_cppc_processor_probe()
770 cpc_obj = &out_obj->package.elements[i]; in acpi_cppc_processor_probe()
/openbmc/linux/drivers/acpi/x86/
H A Ds2idle.c104 union acpi_object *out_obj; in lpi_device_get_constraints_amd() local
107 out_obj = acpi_evaluate_dsm_typed(lps0_device_handle, &lps0_dsm_guid, in lpi_device_get_constraints_amd()
112 out_obj ? "successful" : "failed"); in lpi_device_get_constraints_amd()
114 if (!out_obj) in lpi_device_get_constraints_amd()
117 for (i = 0; i < out_obj->package.count; i++) { in lpi_device_get_constraints_amd()
118 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints_amd()
189 ACPI_FREE(out_obj); in lpi_device_get_constraints_amd()
194 union acpi_object *out_obj; in lpi_device_get_constraints() local
197 out_obj = acpi_evaluate_dsm_typed(lps0_device_handle, &lps0_dsm_guid, in lpi_device_get_constraints()
202 out_obj ? "successful" : "failed"); in lpi_device_get_constraints()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A 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()
H A Di915_gem_dmabuf.c366 goto out_obj; in igt_dmabuf_import()
373 goto out_obj; in igt_dmabuf_import()
381 goto out_obj; in igt_dmabuf_import()
418 out_obj: in igt_dmabuf_import()
462 goto out_obj; in igt_dmabuf_import_ownership()
467 out_obj: in igt_dmabuf_import_ownership()
/openbmc/linux/drivers/cpufreq/
H A Dpcc-cpufreq.c307 union acpi_object *out_obj; in pcc_cpufreq_do_osc() local
336 out_obj = output.pointer; in pcc_cpufreq_do_osc()
337 if (out_obj->type != ACPI_TYPE_BUFFER) { in pcc_cpufreq_do_osc()
342 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc()
348 supported = *((u32 *)(out_obj->buffer.pointer + 4)); in pcc_cpufreq_do_osc()
365 out_obj = output.pointer; in pcc_cpufreq_do_osc()
366 if (out_obj->type != ACPI_TYPE_BUFFER) { in pcc_cpufreq_do_osc()
371 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc()
377 supported = *((u32 *)(out_obj->buffer.pointer + 4)); in pcc_cpufreq_do_osc()
394 union acpi_object *out_obj, *member; in pcc_cpufreq_evaluate() local
[all …]
/openbmc/linux/drivers/platform/x86/intel/pmc/
H A Dtgl.c214 union acpi_object *out_obj; in pmc_core_get_tgl_lpm_reqs() local
225 out_obj = acpi_evaluate_dsm_typed(adev->handle, &s0ix_dsm_guid, 0, in pmc_core_get_tgl_lpm_reqs()
227 if (out_obj) { in pmc_core_get_tgl_lpm_reqs()
228 u32 size = out_obj->buffer.length; in pmc_core_get_tgl_lpm_reqs()
242 addr = (u32 *)out_obj->buffer.pointer; in pmc_core_get_tgl_lpm_reqs()
253 ACPI_FREE(out_obj); in pmc_core_get_tgl_lpm_reqs()
/openbmc/linux/drivers/ata/
H A 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()
407 union acpi_object *out_obj; in ata_dev_get_GTF() local
412 out_obj = dev->gtf_cache; in ata_dev_get_GTF()
423 out_obj = dev->gtf_cache = output.pointer; in ata_dev_get_GTF()
[all …]
/openbmc/linux/drivers/platform/loongarch/
H A Dloongson-laptop.c74 union acpi_object in_objs[MAX_ACPI_ARGS], out_obj; in acpi_evalf() local
110 result.length = sizeof(out_obj); in acpi_evalf()
111 result.pointer = &out_obj; in acpi_evalf()
120 success = (status == AE_OK && out_obj.type == ACPI_TYPE_INTEGER); in acpi_evalf()
122 *res = out_obj.integer.value; in acpi_evalf()
/openbmc/linux/drivers/acpi/nfit/
H A Dcore.c442 union acpi_object in_obj, in_buf, *out_obj; in acpi_nfit_ctl() local
545 out_obj = acpi_label_info(handle); in acpi_nfit_ctl()
550 out_obj = acpi_label_read(handle, p->in_offset, p->in_length); in acpi_nfit_ctl()
555 out_obj = acpi_label_write(handle, p->in_offset, p->in_length, in acpi_nfit_ctl()
564 out_obj = acpi_evaluate_dsm(handle, guid, revid, func, &in_obj); in acpi_nfit_ctl()
567 if (!out_obj) { in acpi_nfit_ctl()
572 if (out_obj->type != ACPI_TYPE_BUFFER) { in acpi_nfit_ctl()
574 dimm_name, cmd_name, out_obj->type); in acpi_nfit_ctl()
580 cmd_name, out_obj->buffer.length); in acpi_nfit_ctl()
582 out_obj->buffer.pointer, in acpi_nfit_ctl()
[all …]
/openbmc/openbmc/meta-openpower/recipes-bsp/ecmd/
H A Dcroserver_git.bb30 install -m 0755 out_obj/lib/server1p ${D}${bindir}/croserver
/openbmc/linux/drivers/platform/x86/
H A Dacer-wmi.c1621 union acpi_object out_obj; in acer_gsensor_init() local
1623 output.length = sizeof(out_obj); in acer_gsensor_init()
1624 output.pointer = &out_obj; in acer_gsensor_init()
1641 union acpi_object out_obj[5]; in acer_gsensor_event() local
1646 output.length = sizeof(out_obj); in acer_gsensor_event()
1647 output.pointer = out_obj; in acer_gsensor_event()
1653 if (out_obj->package.count != 4) in acer_gsensor_event()
1657 (s16)out_obj->package.elements[0].integer.value); in acer_gsensor_event()
1659 (s16)out_obj->package.elements[1].integer.value); in acer_gsensor_event()
1661 (s16)out_obj->package.elements[2].integer.value); in acer_gsensor_event()
H A Dthinkpad_acpi.c595 union acpi_object out_obj; in acpi_evalf() local
637 result.length = sizeof(out_obj); in acpi_evalf()
638 result.pointer = &out_obj; in acpi_evalf()
648 out_obj.type == ACPI_TYPE_INTEGER); in acpi_evalf()
650 *res = out_obj.integer.value; in acpi_evalf()
/openbmc/qemu/hw/core/
H A Dqdev-properties.c640 goto out_obj; in set_prop_array()
652 out_obj: in set_prop_array()
717 goto out_obj; in get_prop_array()
727 out_obj: in get_prop_array()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_hangcheck.c1467 goto out_obj; in __igt_reset_evict_vma()
1475 goto out_obj; in __igt_reset_evict_vma()
1482 goto out_obj; in __igt_reset_evict_vma()
1494 goto out_obj; in __igt_reset_evict_vma()
1503 goto out_obj; in __igt_reset_evict_vma()
1571 out_obj: in __igt_reset_evict_vma()
H A Dselftest_migrate.c576 goto out_obj; in live_emit_pte_full_ring()
581 goto out_obj; in live_emit_pte_full_ring()
669 out_obj: in live_emit_pte_full_ring()
/openbmc/qemu/docs/devel/
H A Dqapi-code-gen.rst1668 goto out_obj;
1671 goto out_obj;
1674 out_obj:
1697 goto out_obj;
1702 out_obj: