Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ide/
Dide-acpi.c232 union acpi_object *out_obj; in do_drive_get_GTF() local
267 out_obj = output.pointer; in do_drive_get_GTF()
268 if (out_obj->type != ACPI_TYPE_BUFFER) { in do_drive_get_GTF()
271 "got 0x%x\n", out_obj->type); in do_drive_get_GTF()
277 if (!out_obj->buffer.length || !out_obj->buffer.pointer || in do_drive_get_GTF()
278 out_obj->buffer.length % REGS_PER_GTF) { in do_drive_get_GTF()
281 __func__, out_obj->buffer.length, in do_drive_get_GTF()
282 out_obj->buffer.pointer); in do_drive_get_GTF()
288 *gtf_length = out_obj->buffer.length; in do_drive_get_GTF()
289 *gtf_address = (unsigned long)out_obj->buffer.pointer; in do_drive_get_GTF()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_phys.c31 goto out_obj; in mock_phys_object()
37 goto out_obj; in mock_phys_object()
43 goto out_obj; in mock_phys_object()
53 goto out_obj; in mock_phys_object()
56 out_obj: in mock_phys_object()
Di915_gem_dmabuf.c103 goto out_obj; in igt_dmabuf_import()
110 goto out_obj; in igt_dmabuf_import()
117 goto out_obj; in igt_dmabuf_import()
154 out_obj: in igt_dmabuf_import()
196 goto out_obj; in igt_dmabuf_import_ownership()
201 out_obj: in igt_dmabuf_import_ownership()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/acpi/
Dsleep.c761 union acpi_object *out_obj; in lpi_device_get_constraints() local
764 out_obj = acpi_evaluate_dsm_typed(lps0_device_handle, &lps0_dsm_guid, in lpi_device_get_constraints()
769 out_obj ? "successful" : "failed"); in lpi_device_get_constraints()
771 if (!out_obj) in lpi_device_get_constraints()
774 lpi_constraints_table = kcalloc(out_obj->package.count, in lpi_device_get_constraints()
782 for (i = 0; i < out_obj->package.count; i++) { in lpi_device_get_constraints()
785 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints()
866 ACPI_FREE(out_obj); in lpi_device_get_constraints()
901 union acpi_object *out_obj; in acpi_sleep_run_lps0_dsm() local
906 out_obj = acpi_evaluate_dsm(lps0_device_handle, &lps0_dsm_guid, 1, func, NULL); in acpi_sleep_run_lps0_dsm()
[all …]
Dbus.c194 union acpi_object *out_obj; in acpi_run_osc() local
227 out_obj = output.pointer; in acpi_run_osc()
228 if (out_obj->type != ACPI_TYPE_BUFFER in acpi_run_osc()
229 || out_obj->buffer.length != context->cap.length) { in acpi_run_osc()
236 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in acpi_run_osc()
258 context->ret.length = out_obj->buffer.length; in acpi_run_osc()
259 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.c665 union acpi_object *out_obj, *cpc_obj; in acpi_cppc_processor_probe() local
683 out_obj = (union acpi_object *) output.pointer; in acpi_cppc_processor_probe()
692 cpc_obj = &out_obj->package.elements[0]; in acpi_cppc_processor_probe()
707 cpc_obj = &out_obj->package.elements[1]; in acpi_cppc_processor_probe()
744 cpc_obj = &out_obj->package.elements[i]; in acpi_cppc_processor_probe()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/acpi/nfit/
Dcore.c441 union acpi_object in_obj, in_buf, *out_obj; in acpi_nfit_ctl() local
539 out_obj = acpi_label_info(handle); in acpi_nfit_ctl()
544 out_obj = acpi_label_read(handle, p->in_offset, p->in_length); in acpi_nfit_ctl()
549 out_obj = acpi_label_write(handle, p->in_offset, p->in_length, in acpi_nfit_ctl()
558 out_obj = acpi_evaluate_dsm(handle, guid, revid, func, &in_obj); in acpi_nfit_ctl()
561 if (!out_obj) { in acpi_nfit_ctl()
566 if (out_obj->type != ACPI_TYPE_BUFFER) { in acpi_nfit_ctl()
568 dimm_name, cmd_name, out_obj->type); in acpi_nfit_ctl()
574 cmd_name, out_obj->buffer.length); in acpi_nfit_ctl()
576 out_obj->buffer.pointer, in acpi_nfit_ctl()
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dacer-wmi.c1556 union acpi_object out_obj; in acer_gsensor_init() local
1558 output.length = sizeof(out_obj); in acer_gsensor_init()
1559 output.pointer = &out_obj; in acer_gsensor_init()
1576 union acpi_object out_obj[5]; in acer_gsensor_event() local
1581 output.length = sizeof(out_obj); in acer_gsensor_event()
1582 output.pointer = out_obj; in acer_gsensor_event()
1588 if (out_obj->package.count != 4) in acer_gsensor_event()
1592 (s16)out_obj->package.elements[0].integer.value); in acer_gsensor_event()
1594 (s16)out_obj->package.elements[1].integer.value); in acer_gsensor_event()
1596 (s16)out_obj->package.elements[2].integer.value); in acer_gsensor_event()
Dthinkpad_acpi.c573 union acpi_object out_obj; in acpi_evalf() local
615 result.length = sizeof(out_obj); in acpi_evalf()
616 result.pointer = &out_obj; in acpi_evalf()
626 out_obj.type == ACPI_TYPE_INTEGER); in acpi_evalf()
628 *res = out_obj.integer.value; in acpi_evalf()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dselftest_hangcheck.c1194 goto out_obj; in __igt_reset_evict_vma()
1201 goto out_obj; in __igt_reset_evict_vma()
1207 goto out_obj; in __igt_reset_evict_vma()
1218 goto out_obj; in __igt_reset_evict_vma()
1227 goto out_obj; in __igt_reset_evict_vma()
1297 out_obj: in __igt_reset_evict_vma()