Lines Matching refs:method
348 Aml *method; in build_cpus_aml() local
412 method = aml_method("_INI", 0, AML_SERIALIZED); in build_cpus_aml()
417 aml_append(method, aml_store(zero, aml_name(CPU_SELECTOR))); in build_cpus_aml()
418 aml_append(cpu_ctrl_dev, method); in build_cpus_aml()
439 method = aml_method(CPU_NOTIFY_METHOD, 2, AML_NOTSERIALIZED); in build_cpus_aml()
449 aml_append(method, ifctx); in build_cpus_aml()
451 aml_append(cpus_dev, method); in build_cpus_aml()
453 method = aml_method(CPU_STS_METHOD, 1, AML_SERIALIZED); in build_cpus_aml()
458 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_cpus_aml()
459 aml_append(method, aml_store(idx, cpu_selector)); in build_cpus_aml()
460 aml_append(method, aml_store(zero, sta)); in build_cpus_aml()
465 aml_append(method, ifctx); in build_cpus_aml()
466 aml_append(method, aml_release(ctrl_lock)); in build_cpus_aml()
467 aml_append(method, aml_return(sta)); in build_cpus_aml()
469 aml_append(cpus_dev, method); in build_cpus_aml()
471 method = aml_method(CPU_EJECT_METHOD, 1, AML_SERIALIZED); in build_cpus_aml()
475 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_cpus_aml()
476 aml_append(method, aml_store(idx, cpu_selector)); in build_cpus_aml()
478 aml_append(method, aml_store(one, fw_ej_evt)); in build_cpus_aml()
479 aml_append(method, aml_store(aml_int(OVMF_CPUHP_SMI_CMD), in build_cpus_aml()
482 aml_append(method, aml_store(one, ej_evt)); in build_cpus_aml()
484 aml_append(method, aml_release(ctrl_lock)); in build_cpus_aml()
486 aml_append(cpus_dev, method); in build_cpus_aml()
488 method = aml_method(CPU_SCAN_METHOD, 0, AML_SERIALIZED); in build_cpus_aml()
503 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_cpus_aml()
514 aml_append(method, aml_name_decl(CPU_ADDED_LIST, in build_cpus_aml()
517 aml_append(method, aml_store(zero, uid)); in build_cpus_aml()
518 aml_append(method, aml_store(one, has_job)); in build_cpus_aml()
633 aml_append(method, while_ctx2); in build_cpus_aml()
634 aml_append(method, aml_release(ctrl_lock)); in build_cpus_aml()
636 aml_append(cpus_dev, method); in build_cpus_aml()
638 method = aml_method(CPU_OST_METHOD, 4, AML_SERIALIZED); in build_cpus_aml()
644 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_cpus_aml()
645 aml_append(method, aml_store(uid, cpu_selector)); in build_cpus_aml()
646 aml_append(method, aml_store(ev_cmd, cpu_cmd)); in build_cpus_aml()
647 aml_append(method, aml_store(aml_arg(1), cpu_data)); in build_cpus_aml()
648 aml_append(method, aml_store(st_cmd, cpu_cmd)); in build_cpus_aml()
649 aml_append(method, aml_store(aml_arg(2), cpu_data)); in build_cpus_aml()
650 aml_append(method, aml_release(ctrl_lock)); in build_cpus_aml()
652 aml_append(cpus_dev, method); in build_cpus_aml()
669 method = aml_method("_STA", 0, AML_SERIALIZED); in build_cpus_aml()
670 aml_append(method, aml_return(aml_call1(CPU_STS_METHOD, uid))); in build_cpus_aml()
671 aml_append(dev, method); in build_cpus_aml()
680 method = aml_method("_EJ0", 1, AML_NOTSERIALIZED); in build_cpus_aml()
681 aml_append(method, aml_call1(CPU_EJECT_METHOD, uid)); in build_cpus_aml()
682 aml_append(dev, method); in build_cpus_aml()
685 method = aml_method("_OST", 3, AML_SERIALIZED); in build_cpus_aml()
686 aml_append(method, in build_cpus_aml()
690 aml_append(dev, method); in build_cpus_aml()
707 method = aml_method(event_handler_method, 0, AML_NOTSERIALIZED); in build_cpus_aml()
708 aml_append(method, aml_call0("\\_SB.CPUS." CPU_SCAN_METHOD)); in build_cpus_aml()
709 aml_append(table, method); in build_cpus_aml()