Lines Matching refs:method

348     Aml *method;  in build_memory_hotplug_aml()  local
445 method = aml_method("_STA", 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
450 aml_append(method, ifctx); in build_memory_hotplug_aml()
452 aml_append(method, aml_return(aml_int(0xB))); in build_memory_hotplug_aml()
453 aml_append(dev_container, method); in build_memory_hotplug_aml()
457 method = aml_method(MEMORY_SLOT_SCAN_METHOD, 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
469 aml_append(method, ifctx); in build_memory_hotplug_aml()
471 aml_append(method, aml_store(zero, idx)); in build_memory_hotplug_aml()
472 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_memory_hotplug_aml()
507 aml_append(method, while_ctx); in build_memory_hotplug_aml()
508 aml_append(method, aml_release(ctrl_lock)); in build_memory_hotplug_aml()
509 aml_append(method, aml_return(one)); in build_memory_hotplug_aml()
511 aml_append(dev_container, method); in build_memory_hotplug_aml()
513 method = aml_method(MEMORY_SLOT_STATUS_METHOD, 1, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
517 aml_append(method, aml_store(zero, ret_val)); in build_memory_hotplug_aml()
518 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_memory_hotplug_aml()
519 aml_append(method, in build_memory_hotplug_aml()
526 aml_append(method, ifctx); in build_memory_hotplug_aml()
528 aml_append(method, aml_release(ctrl_lock)); in build_memory_hotplug_aml()
529 aml_append(method, aml_return(ret_val)); in build_memory_hotplug_aml()
531 aml_append(dev_container, method); in build_memory_hotplug_aml()
533 method = aml_method(MEMORY_SLOT_CRS_METHOD, 1, AML_SERIALIZED); in build_memory_hotplug_aml()
545 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_memory_hotplug_aml()
546 aml_append(method, aml_store(aml_to_integer(slot_arg0), in build_memory_hotplug_aml()
554 aml_append(method, aml_name_decl("MR64", crs_tmpl)); in build_memory_hotplug_aml()
555 aml_append(method, in build_memory_hotplug_aml()
557 aml_append(method, in build_memory_hotplug_aml()
559 aml_append(method, in build_memory_hotplug_aml()
561 aml_append(method, in build_memory_hotplug_aml()
563 aml_append(method, in build_memory_hotplug_aml()
565 aml_append(method, in build_memory_hotplug_aml()
568 aml_append(method, in build_memory_hotplug_aml()
570 aml_append(method, in build_memory_hotplug_aml()
572 aml_append(method, in build_memory_hotplug_aml()
574 aml_append(method, in build_memory_hotplug_aml()
578 aml_append(method, aml_add(minl, lenl, maxl)); in build_memory_hotplug_aml()
579 aml_append(method, aml_add(minh, lenh, maxh)); in build_memory_hotplug_aml()
584 aml_append(method, ifctx); in build_memory_hotplug_aml()
589 aml_append(method, ifctx); in build_memory_hotplug_aml()
590 aml_append(method, aml_subtract(maxl, one, maxl)); in build_memory_hotplug_aml()
617 aml_append(method, ifctx); in build_memory_hotplug_aml()
619 aml_append(method, aml_release(ctrl_lock)); in build_memory_hotplug_aml()
620 aml_append(method, aml_return(mr64)); in build_memory_hotplug_aml()
622 aml_append(dev_container, method); in build_memory_hotplug_aml()
624 method = aml_method(MEMORY_SLOT_PROXIMITY_METHOD, 1, in build_memory_hotplug_aml()
629 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_memory_hotplug_aml()
630 aml_append(method, aml_store(aml_to_integer(slot_arg0), in build_memory_hotplug_aml()
632 aml_append(method, aml_store(proximity, ret_val)); in build_memory_hotplug_aml()
633 aml_append(method, aml_release(ctrl_lock)); in build_memory_hotplug_aml()
634 aml_append(method, aml_return(ret_val)); in build_memory_hotplug_aml()
636 aml_append(dev_container, method); in build_memory_hotplug_aml()
638 method = aml_method(MEMORY_SLOT_OST_METHOD, 4, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
643 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_memory_hotplug_aml()
644 aml_append(method, aml_store(aml_to_integer(slot_arg0), in build_memory_hotplug_aml()
646 aml_append(method, aml_store(aml_arg(1), ost_evt)); in build_memory_hotplug_aml()
647 aml_append(method, aml_store(aml_arg(2), ost_status)); in build_memory_hotplug_aml()
648 aml_append(method, aml_release(ctrl_lock)); in build_memory_hotplug_aml()
650 aml_append(dev_container, method); in build_memory_hotplug_aml()
652 method = aml_method(MEMORY_SLOT_EJECT_METHOD, 2, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
656 aml_append(method, aml_acquire(ctrl_lock, 0xFFFF)); in build_memory_hotplug_aml()
657 aml_append(method, aml_store(aml_to_integer(slot_arg0), in build_memory_hotplug_aml()
659 aml_append(method, aml_store(one, eject)); in build_memory_hotplug_aml()
660 aml_append(method, aml_release(ctrl_lock)); in build_memory_hotplug_aml()
662 aml_append(dev_container, method); in build_memory_hotplug_aml()
673 method = aml_method("_CRS", 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
675 aml_append(method, aml_return(aml_call1(s, aml_name("_UID")))); in build_memory_hotplug_aml()
676 aml_append(dev, method); in build_memory_hotplug_aml()
678 method = aml_method("_STA", 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
680 aml_append(method, aml_return(aml_call1(s, aml_name("_UID")))); in build_memory_hotplug_aml()
681 aml_append(dev, method); in build_memory_hotplug_aml()
683 method = aml_method("_PXM", 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
685 aml_append(method, aml_return(aml_call1(s, aml_name("_UID")))); in build_memory_hotplug_aml()
686 aml_append(dev, method); in build_memory_hotplug_aml()
688 method = aml_method("_OST", 3, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
690 aml_append(method, in build_memory_hotplug_aml()
693 aml_append(dev, method); in build_memory_hotplug_aml()
695 method = aml_method("_EJ0", 1, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
697 aml_append(method, in build_memory_hotplug_aml()
699 aml_append(dev, method); in build_memory_hotplug_aml()
707 method = aml_method(MEMORY_SLOT_NOTIFY_METHOD, 2, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
713 aml_append(method, ifctx); in build_memory_hotplug_aml()
715 aml_append(dev_container, method); in build_memory_hotplug_aml()
720 method = aml_method(event_handler_method, 0, AML_NOTSERIALIZED); in build_memory_hotplug_aml()
721 aml_append(method, aml_call0(MEMORY_DEVICES_CONTAINER "." in build_memory_hotplug_aml()
723 aml_append(table, method); in build_memory_hotplug_aml()