Lines Matching refs:method
340 Aml *method; in build_memory_hotplug_aml() local
437 method = aml_method("_STA", 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
442 aml_append(method, ifctx); in build_memory_hotplug_aml()
444 aml_append(method, aml_return(aml_int(0xB))); in build_memory_hotplug_aml()
445 aml_append(dev_container, method); in build_memory_hotplug_aml()
449 method = aml_method(MEMORY_SLOT_SCAN_METHOD, 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
461 aml_append(method, ifctx); in build_memory_hotplug_aml()
463 aml_append(method, aml_store(zero, idx)); in build_memory_hotplug_aml()
464 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_memory_hotplug_aml()
499 aml_append(method, while_ctx); in build_memory_hotplug_aml()
500 aml_append(method, aml_release(ctrl_lock)); in build_memory_hotplug_aml()
501 aml_append(method, aml_return(one)); in build_memory_hotplug_aml()
503 aml_append(dev_container, method); in build_memory_hotplug_aml()
505 method = aml_method(MEMORY_SLOT_STATUS_METHOD, 1, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
509 aml_append(method, aml_store(zero, ret_val)); in build_memory_hotplug_aml()
510 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_memory_hotplug_aml()
511 aml_append(method, in build_memory_hotplug_aml()
518 aml_append(method, ifctx); in build_memory_hotplug_aml()
520 aml_append(method, aml_release(ctrl_lock)); in build_memory_hotplug_aml()
521 aml_append(method, aml_return(ret_val)); in build_memory_hotplug_aml()
523 aml_append(dev_container, method); in build_memory_hotplug_aml()
525 method = aml_method(MEMORY_SLOT_CRS_METHOD, 1, AML_SERIALIZED); in build_memory_hotplug_aml()
537 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_memory_hotplug_aml()
538 aml_append(method, aml_store(aml_to_integer(slot_arg0), in build_memory_hotplug_aml()
546 aml_append(method, aml_name_decl("MR64", crs_tmpl)); in build_memory_hotplug_aml()
547 aml_append(method, in build_memory_hotplug_aml()
549 aml_append(method, in build_memory_hotplug_aml()
551 aml_append(method, in build_memory_hotplug_aml()
553 aml_append(method, in build_memory_hotplug_aml()
555 aml_append(method, in build_memory_hotplug_aml()
557 aml_append(method, in build_memory_hotplug_aml()
560 aml_append(method, in build_memory_hotplug_aml()
562 aml_append(method, in build_memory_hotplug_aml()
564 aml_append(method, in build_memory_hotplug_aml()
566 aml_append(method, in build_memory_hotplug_aml()
570 aml_append(method, aml_add(minl, lenl, maxl)); in build_memory_hotplug_aml()
571 aml_append(method, aml_add(minh, lenh, maxh)); in build_memory_hotplug_aml()
576 aml_append(method, ifctx); in build_memory_hotplug_aml()
581 aml_append(method, ifctx); in build_memory_hotplug_aml()
582 aml_append(method, aml_subtract(maxl, one, maxl)); in build_memory_hotplug_aml()
609 aml_append(method, ifctx); in build_memory_hotplug_aml()
611 aml_append(method, aml_release(ctrl_lock)); in build_memory_hotplug_aml()
612 aml_append(method, aml_return(mr64)); in build_memory_hotplug_aml()
614 aml_append(dev_container, method); in build_memory_hotplug_aml()
616 method = aml_method(MEMORY_SLOT_PROXIMITY_METHOD, 1, in build_memory_hotplug_aml()
621 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_memory_hotplug_aml()
622 aml_append(method, aml_store(aml_to_integer(slot_arg0), in build_memory_hotplug_aml()
624 aml_append(method, aml_store(proximity, ret_val)); in build_memory_hotplug_aml()
625 aml_append(method, aml_release(ctrl_lock)); in build_memory_hotplug_aml()
626 aml_append(method, aml_return(ret_val)); in build_memory_hotplug_aml()
628 aml_append(dev_container, method); in build_memory_hotplug_aml()
630 method = aml_method(MEMORY_SLOT_OST_METHOD, 4, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
635 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_memory_hotplug_aml()
636 aml_append(method, aml_store(aml_to_integer(slot_arg0), in build_memory_hotplug_aml()
638 aml_append(method, aml_store(aml_arg(1), ost_evt)); in build_memory_hotplug_aml()
639 aml_append(method, aml_store(aml_arg(2), ost_status)); in build_memory_hotplug_aml()
640 aml_append(method, aml_release(ctrl_lock)); in build_memory_hotplug_aml()
642 aml_append(dev_container, method); in build_memory_hotplug_aml()
644 method = aml_method(MEMORY_SLOT_EJECT_METHOD, 2, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
648 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_memory_hotplug_aml()
649 aml_append(method, aml_store(aml_to_integer(slot_arg0), in build_memory_hotplug_aml()
651 aml_append(method, aml_store(one, eject)); in build_memory_hotplug_aml()
652 aml_append(method, aml_release(ctrl_lock)); in build_memory_hotplug_aml()
654 aml_append(dev_container, method); in build_memory_hotplug_aml()
665 method = aml_method("_CRS", 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
667 aml_append(method, aml_return(aml_call1(s, aml_name("_UID")))); in build_memory_hotplug_aml()
668 aml_append(dev, method); in build_memory_hotplug_aml()
670 method = aml_method("_STA", 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
672 aml_append(method, aml_return(aml_call1(s, aml_name("_UID")))); in build_memory_hotplug_aml()
673 aml_append(dev, method); in build_memory_hotplug_aml()
675 method = aml_method("_PXM", 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
677 aml_append(method, aml_return(aml_call1(s, aml_name("_UID")))); in build_memory_hotplug_aml()
678 aml_append(dev, method); in build_memory_hotplug_aml()
680 method = aml_method("_OST", 3, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
682 aml_append(method, in build_memory_hotplug_aml()
685 aml_append(dev, method); in build_memory_hotplug_aml()
687 method = aml_method("_EJ0", 1, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
689 aml_append(method, in build_memory_hotplug_aml()
691 aml_append(dev, method); in build_memory_hotplug_aml()
699 method = aml_method(MEMORY_SLOT_NOTIFY_METHOD, 2, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
705 aml_append(method, ifctx); in build_memory_hotplug_aml()
707 aml_append(dev_container, method); in build_memory_hotplug_aml()
712 method = aml_method(event_handler_method, 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
713 aml_append(method, aml_call0(MEMORY_DEVICES_CONTAINER "." in build_memory_hotplug_aml()
715 aml_append(table, method); in build_memory_hotplug_aml()