Lines Matching refs:method

128     Aml *method;  in build_legacy_cpu_hotplug_aml()  local
152 method = aml_method(CPU_MAT_METHOD, 2, AML_NOTSERIALIZED); in build_legacy_cpu_hotplug_aml()
153 aml_append(method, in build_legacy_cpu_hotplug_aml()
155 aml_append(method, in build_legacy_cpu_hotplug_aml()
158 aml_append(method, aml_store(cpu_id, aml_index(madt, aml_int(2)))); in build_legacy_cpu_hotplug_aml()
159 aml_append(method, aml_store(apic_id, aml_index(madt, aml_int(3)))); in build_legacy_cpu_hotplug_aml()
160 aml_append(method, aml_store(cpu_on, aml_index(madt, aml_int(4)))); in build_legacy_cpu_hotplug_aml()
161 aml_append(method, aml_return(madt)); in build_legacy_cpu_hotplug_aml()
162 aml_append(sb_scope, method); in build_legacy_cpu_hotplug_aml()
169 method = aml_method(CPU_STATUS_METHOD, 1, AML_NOTSERIALIZED); in build_legacy_cpu_hotplug_aml()
170 aml_append(method, in build_legacy_cpu_hotplug_aml()
176 aml_append(method, if_ctx); in build_legacy_cpu_hotplug_aml()
181 aml_append(method, else_ctx); in build_legacy_cpu_hotplug_aml()
182 aml_append(sb_scope, method); in build_legacy_cpu_hotplug_aml()
184 method = aml_method(CPU_EJECT_METHOD, 2, AML_NOTSERIALIZED); in build_legacy_cpu_hotplug_aml()
185 aml_append(method, aml_sleep(200)); in build_legacy_cpu_hotplug_aml()
186 aml_append(sb_scope, method); in build_legacy_cpu_hotplug_aml()
188 method = aml_method(CPU_SCAN_METHOD, 0, AML_NOTSERIALIZED); in build_legacy_cpu_hotplug_aml()
199 aml_append(method, aml_store(aml_name(CPU_STATUS_MAP), status_map)); in build_legacy_cpu_hotplug_aml()
200 aml_append(method, aml_store(zero, byte)); in build_legacy_cpu_hotplug_aml()
201 aml_append(method, aml_store(zero, idx)); in build_legacy_cpu_hotplug_aml()
244 aml_append(method, while_ctx); in build_legacy_cpu_hotplug_aml()
246 aml_append(sb_scope, method); in build_legacy_cpu_hotplug_aml()
286 method = aml_method("_MAT", 0, AML_NOTSERIALIZED); in build_legacy_cpu_hotplug_aml()
287 aml_append(method, in build_legacy_cpu_hotplug_aml()
291 aml_append(dev, method); in build_legacy_cpu_hotplug_aml()
293 method = aml_method("_STA", 0, AML_NOTSERIALIZED); in build_legacy_cpu_hotplug_aml()
294 aml_append(method, in build_legacy_cpu_hotplug_aml()
296 aml_append(dev, method); in build_legacy_cpu_hotplug_aml()
298 method = aml_method("_EJ0", 1, AML_NOTSERIALIZED); in build_legacy_cpu_hotplug_aml()
299 aml_append(method, in build_legacy_cpu_hotplug_aml()
303 aml_append(dev, method); in build_legacy_cpu_hotplug_aml()
312 method = aml_method(AML_NOTIFY_METHOD, 2, AML_NOTSERIALIZED); in build_legacy_cpu_hotplug_aml()
320 aml_append(method, if_ctx); in build_legacy_cpu_hotplug_aml()
322 aml_append(sb_scope, method); in build_legacy_cpu_hotplug_aml()
346 method = aml_method("\\_GPE._E02", 0, AML_NOTSERIALIZED); in build_legacy_cpu_hotplug_aml()
347 aml_append(method, aml_call0("\\_SB." CPU_SCAN_METHOD)); in build_legacy_cpu_hotplug_aml()
348 aml_append(ctx, method); in build_legacy_cpu_hotplug_aml()