/linux-6.1.9/drivers/acpi/ |
D | pfr_update.c | 123 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 …]
|
D | pfr_telemetry.c | 83 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 …]
|
D | acpi_tad.c | 108 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()
|
D | bus.c | 193 union acpi_object *out_obj; in acpi_run_osc() local 226 out_obj = output.pointer; in acpi_run_osc() 227 if (out_obj->type != ACPI_TYPE_BUFFER in acpi_run_osc() 228 || out_obj->buffer.length != context->cap.length) { in acpi_run_osc() 235 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in acpi_run_osc() 257 context->ret.length = out_obj->buffer.length; in acpi_run_osc() 258 context->ret.pointer = kmemdup(out_obj->buffer.pointer, in acpi_run_osc()
|
D | cppc_acpi.c | 666 union acpi_object *out_obj, *cpc_obj; in acpi_cppc_processor_probe() local 690 out_obj = (union acpi_object *) output.pointer; in acpi_cppc_processor_probe() 699 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() 751 cpc_obj = &out_obj->package.elements[i]; in acpi_cppc_processor_probe()
|
/linux-6.1.9/drivers/acpi/x86/ |
D | s2idle.c | 98 union acpi_object *out_obj; in lpi_device_get_constraints_amd() local 101 out_obj = acpi_evaluate_dsm_typed(lps0_device_handle, &lps0_dsm_guid, in lpi_device_get_constraints_amd() 106 out_obj ? "successful" : "failed"); in lpi_device_get_constraints_amd() 108 if (!out_obj) in lpi_device_get_constraints_amd() 111 for (i = 0; i < out_obj->package.count; i++) { in lpi_device_get_constraints_amd() 112 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints_amd() 180 ACPI_FREE(out_obj); in lpi_device_get_constraints_amd() 185 union acpi_object *out_obj; in lpi_device_get_constraints() local 188 out_obj = acpi_evaluate_dsm_typed(lps0_device_handle, &lps0_dsm_guid, in lpi_device_get_constraints() 193 out_obj ? "successful" : "failed"); in lpi_device_get_constraints() [all …]
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_phys.c | 33 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()
|
D | i915_gem_dmabuf.c | 289 goto out_obj; in igt_dmabuf_import() 296 goto out_obj; in igt_dmabuf_import() 304 goto out_obj; in igt_dmabuf_import() 341 out_obj: in igt_dmabuf_import() 385 goto out_obj; in igt_dmabuf_import_ownership() 390 out_obj: in igt_dmabuf_import_ownership()
|
/linux-6.1.9/drivers/cpufreq/ |
D | pcc-cpufreq.c | 306 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-6.1.9/drivers/ata/ |
D | libata-acpi.c | 290 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 …]
|
/linux-6.1.9/drivers/platform/loongarch/ |
D | loongson-laptop.c | 74 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()
|
/linux-6.1.9/drivers/acpi/nfit/ |
D | core.c | 442 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-6.1.9/drivers/platform/x86/ |
D | acer-wmi.c | 1621 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()
|
D | thinkpad_acpi.c | 602 union acpi_object out_obj; in acpi_evalf() local 644 result.length = sizeof(out_obj); in acpi_evalf() 645 result.pointer = &out_obj; in acpi_evalf() 655 out_obj.type == ACPI_TYPE_INTEGER); in acpi_evalf() 657 *res = out_obj.integer.value; in acpi_evalf()
|
/linux-6.1.9/drivers/platform/x86/intel/pmc/ |
D | core.c | 606 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-6.1.9/drivers/gpu/drm/i915/gt/ |
D | selftest_hangcheck.c | 1473 goto out_obj; in __igt_reset_evict_vma() 1481 goto out_obj; in __igt_reset_evict_vma() 1488 goto out_obj; in __igt_reset_evict_vma() 1500 goto out_obj; in __igt_reset_evict_vma() 1509 goto out_obj; in __igt_reset_evict_vma() 1586 out_obj: in __igt_reset_evict_vma()
|