Lines Matching refs:aml_append

350         aml_append(mem_ctrl_dev, aml_name_decl("_HID", aml_string("PNP0A06")));  in build_memory_hotplug_aml()
351 aml_append(mem_ctrl_dev, in build_memory_hotplug_aml()
356 aml_append(crs, in build_memory_hotplug_aml()
361 aml_append(crs, aml_memory32_fixed(memhp_io_base, in build_memory_hotplug_aml()
364 aml_append(mem_ctrl_dev, aml_name_decl("_CRS", crs)); in build_memory_hotplug_aml()
366 aml_append(mem_ctrl_dev, aml_operation_region( in build_memory_hotplug_aml()
372 aml_append(table, mem_ctrl_dev); in build_memory_hotplug_aml()
387 aml_append(dev_container, aml_name_decl("_HID", aml_string("PNP0A06"))); in build_memory_hotplug_aml()
388 aml_append(dev_container, in build_memory_hotplug_aml()
392 aml_append(dev_container, in build_memory_hotplug_aml()
398 aml_append(field, /* read only */ in build_memory_hotplug_aml()
400 aml_append(field, /* read only */ in build_memory_hotplug_aml()
402 aml_append(field, /* read only */ in build_memory_hotplug_aml()
404 aml_append(field, /* read only */ in build_memory_hotplug_aml()
406 aml_append(field, /* read only */ in build_memory_hotplug_aml()
408 aml_append(dev_container, field); in build_memory_hotplug_aml()
412 aml_append(field, aml_reserved_field(160 /* bits, Offset(20) */)); in build_memory_hotplug_aml()
413 aml_append(field, /* 1 if enabled, read only */ in build_memory_hotplug_aml()
415 aml_append(field, in build_memory_hotplug_aml()
418 aml_append(field, in build_memory_hotplug_aml()
421 aml_append(field, in build_memory_hotplug_aml()
424 aml_append(dev_container, field); in build_memory_hotplug_aml()
428 aml_append(field, /* DIMM selector, write only */ in build_memory_hotplug_aml()
430 aml_append(field, /* _OST event code, write only */ in build_memory_hotplug_aml()
432 aml_append(field, /* _OST status code, write only */ in build_memory_hotplug_aml()
434 aml_append(dev_container, field); in build_memory_hotplug_aml()
440 aml_append(ifctx, aml_return(zero)); 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()
447 aml_append(dev_container, aml_mutex(MEMORY_SLOT_LOCK, 0)); in build_memory_hotplug_aml()
459 aml_append(ifctx, aml_return(zero)); 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()
476 aml_append(while_ctx, aml_store(idx, slot_selector)); in build_memory_hotplug_aml()
479 aml_append(ifctx, in build_memory_hotplug_aml()
482 aml_append(ifctx, aml_store(one, ins_evt)); in build_memory_hotplug_aml()
484 aml_append(while_ctx, ifctx); in build_memory_hotplug_aml()
489 aml_append(ifctx, in build_memory_hotplug_aml()
492 aml_append(ifctx, aml_store(one, rm_evt)); in build_memory_hotplug_aml()
494 aml_append(else_ctx, ifctx); in build_memory_hotplug_aml()
495 aml_append(while_ctx, else_ctx); in build_memory_hotplug_aml()
497 aml_append(while_ctx, aml_add(idx, one, idx)); 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()
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()
516 aml_append(ifctx, aml_store(aml_int(0xF), ret_val)); 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()
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()
541 aml_append(crs_tmpl, 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()
574 aml_append(ifctx, aml_add(maxh, one, maxh)); in build_memory_hotplug_aml()
576 aml_append(method, ifctx); in build_memory_hotplug_aml()
579 aml_append(ifctx, aml_subtract(maxh, one, maxh)); 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()
589 aml_append(crs_tmpl, in build_memory_hotplug_aml()
595 aml_append(ifctx, aml_name_decl("MR32", crs_tmpl)); in build_memory_hotplug_aml()
596 aml_append(ifctx, in build_memory_hotplug_aml()
598 aml_append(ifctx, in build_memory_hotplug_aml()
600 aml_append(ifctx, in build_memory_hotplug_aml()
602 aml_append(ifctx, aml_store(minl, aml_name("MIN"))); in build_memory_hotplug_aml()
603 aml_append(ifctx, aml_store(maxl, aml_name("MAX"))); in build_memory_hotplug_aml()
604 aml_append(ifctx, aml_store(lenl, aml_name("LEN"))); in build_memory_hotplug_aml()
606 aml_append(ifctx, aml_release(ctrl_lock)); in build_memory_hotplug_aml()
607 aml_append(ifctx, aml_return(mr32)); 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()
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()
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()
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()
662 aml_append(dev, aml_name_decl("_UID", aml_string("0x%02X", i))); in build_memory_hotplug_aml()
663 aml_append(dev, aml_name_decl("_HID", aml_eisaid("PNP0C80"))); 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()
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()
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()
682 aml_append(method, in build_memory_hotplug_aml()
685 aml_append(dev, method); in build_memory_hotplug_aml()
689 aml_append(method, in build_memory_hotplug_aml()
691 aml_append(dev, method); in build_memory_hotplug_aml()
693 aml_append(dev_container, dev); in build_memory_hotplug_aml()
702 aml_append(ifctx, 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()
709 aml_append(table, dev_container); 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()