Searched refs:out_obj (Results 1 - 6 of 6) sorted by relevance
/linux-4.1.27/drivers/ide/ |
H A D | ide-acpi.c | 231 union acpi_object *out_obj; do_drive_get_GTF() local 266 out_obj = output.pointer; do_drive_get_GTF() 267 if (out_obj->type != ACPI_TYPE_BUFFER) { do_drive_get_GTF() 270 "got 0x%x\n", out_obj->type); do_drive_get_GTF() 276 if (!out_obj->buffer.length || !out_obj->buffer.pointer || do_drive_get_GTF() 277 out_obj->buffer.length % REGS_PER_GTF) { do_drive_get_GTF() 280 __func__, out_obj->buffer.length, do_drive_get_GTF() 281 out_obj->buffer.pointer); do_drive_get_GTF() 287 *gtf_length = out_obj->buffer.length; do_drive_get_GTF() 288 *gtf_address = (unsigned long)out_obj->buffer.pointer; do_drive_get_GTF() 289 *obj_loc = (unsigned long)out_obj; do_drive_get_GTF() 400 union acpi_object *out_obj; ide_acpi_get_timing() local 427 out_obj = output.pointer; ide_acpi_get_timing() 428 if (out_obj->type != ACPI_TYPE_BUFFER) { ide_acpi_get_timing() 431 "got 0x%x\n", out_obj->type); ide_acpi_get_timing() 436 if (!out_obj->buffer.length || !out_obj->buffer.pointer || ide_acpi_get_timing() 437 out_obj->buffer.length != sizeof(struct GTM_buffer)) { ide_acpi_get_timing() 441 __func__, out_obj->buffer.length, ide_acpi_get_timing() 442 sizeof(struct GTM_buffer), out_obj->buffer.pointer); ide_acpi_get_timing() 447 memcpy(&hwif->acpidata->gtm, out_obj->buffer.pointer, ide_acpi_get_timing() 451 out_obj->buffer.pointer, out_obj->buffer.length, ide_acpi_get_timing()
|
/linux-4.1.27/drivers/cpufreq/ |
H A D | pcc-cpufreq.c | 306 union acpi_object *out_obj; pcc_cpufreq_do_osc() local 335 out_obj = output.pointer; pcc_cpufreq_do_osc() 336 if (out_obj->type != ACPI_TYPE_BUFFER) { pcc_cpufreq_do_osc() 341 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); pcc_cpufreq_do_osc() 347 supported = *((u32 *)(out_obj->buffer.pointer + 4)); pcc_cpufreq_do_osc() 364 out_obj = output.pointer; pcc_cpufreq_do_osc() 365 if (out_obj->type != ACPI_TYPE_BUFFER) { pcc_cpufreq_do_osc() 370 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); pcc_cpufreq_do_osc() 376 supported = *((u32 *)(out_obj->buffer.pointer + 4)); pcc_cpufreq_do_osc() 393 union acpi_object *out_obj, *member; pcc_cpufreq_probe() local 417 out_obj = output.pointer; pcc_cpufreq_probe() 418 if (out_obj->type != ACPI_TYPE_PACKAGE) { pcc_cpufreq_probe() 423 member = &out_obj->package.elements[0]; pcc_cpufreq_probe() 479 member = &out_obj->package.elements[1]; pcc_cpufreq_probe() 498 member = &out_obj->package.elements[2]; pcc_cpufreq_probe() 506 member = &out_obj->package.elements[3]; pcc_cpufreq_probe()
|
/linux-4.1.27/drivers/ata/ |
H A D | libata-acpi.c | 289 union acpi_object *out_obj; ata_acpi_gtm() local 310 out_obj = output.pointer; ata_acpi_gtm() 311 if (out_obj->type != ACPI_TYPE_BUFFER) { ata_acpi_gtm() 313 out_obj->type); ata_acpi_gtm() 318 if (out_obj->buffer.length != sizeof(struct ata_acpi_gtm)) { ata_acpi_gtm() 320 out_obj->buffer.length); ata_acpi_gtm() 324 memcpy(gtm, out_obj->buffer.pointer, sizeof(struct ata_acpi_gtm)); ata_acpi_gtm() 407 union acpi_object *out_obj; ata_dev_get_GTF() local 412 out_obj = dev->gtf_cache; ata_dev_get_GTF() 427 out_obj = dev->gtf_cache = output.pointer; ata_dev_get_GTF() 448 if (out_obj->type != ACPI_TYPE_BUFFER) { ata_dev_get_GTF() 450 out_obj->type); ata_dev_get_GTF() 455 if (out_obj->buffer.length % REGS_PER_GTF) { ata_dev_get_GTF() 457 out_obj->buffer.length); ata_dev_get_GTF() 463 rc = out_obj->buffer.length / REGS_PER_GTF; ata_dev_get_GTF() 465 *gtf = (void *)out_obj->buffer.pointer; ata_dev_get_GTF()
|
/linux-4.1.27/drivers/acpi/ |
H A D | bus.c | 226 union acpi_object *out_obj; acpi_run_osc() local 259 out_obj = output.pointer; acpi_run_osc() 260 if (out_obj->type != ACPI_TYPE_BUFFER acpi_run_osc() 261 || out_obj->buffer.length != context->cap.length) { acpi_run_osc() 268 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); acpi_run_osc() 290 context->ret.length = out_obj->buffer.length; acpi_run_osc() 291 context->ret.pointer = kmemdup(out_obj->buffer.pointer, acpi_run_osc()
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | acer-wmi.c | 1458 union acpi_object out_obj; acer_gsensor_init() local 1460 output.length = sizeof(out_obj); acer_gsensor_init() 1461 output.pointer = &out_obj; acer_gsensor_init() 1478 union acpi_object out_obj[5]; acer_gsensor_event() local 1483 output.length = sizeof(out_obj); acer_gsensor_event() 1484 output.pointer = out_obj; acer_gsensor_event() 1490 if (out_obj->package.count != 4) acer_gsensor_event() 1494 (s16)out_obj->package.elements[0].integer.value); acer_gsensor_event() 1496 (s16)out_obj->package.elements[1].integer.value); acer_gsensor_event() 1498 (s16)out_obj->package.elements[2].integer.value); acer_gsensor_event()
|
H A D | thinkpad_acpi.c | 550 union acpi_object out_obj; acpi_evalf() local 592 result.length = sizeof(out_obj); acpi_evalf() 593 result.pointer = &out_obj; acpi_evalf() 603 out_obj.type == ACPI_TYPE_INTEGER); acpi_evalf() 605 *res = out_obj.integer.value; acpi_evalf()
|
Completed in 723 milliseconds