Lines Matching refs:ifctx
935 Aml *method, *ifctx, *function, *handle, *uuid, *dsm_mem, *elsectx2; in nvdimm_build_common_dsm() local
1027 ifctx = aml_if(aml_equal(handle, aml_int(0x0))); in nvdimm_build_common_dsm()
1028 aml_append(ifctx, aml_store( in nvdimm_build_common_dsm()
1031 aml_append(method, ifctx); in nvdimm_build_common_dsm()
1033 ifctx = aml_if(aml_equal(handle, aml_int(NVDIMM_QEMU_RSVD_HANDLE_ROOT))); in nvdimm_build_common_dsm()
1034 aml_append(ifctx, aml_store(aml_touuid(NVDIMM_QEMU_RSVD_UUID in nvdimm_build_common_dsm()
1036 aml_append(elsectx, ifctx); in nvdimm_build_common_dsm()
1051 ifctx = aml_if(aml_equal(function, aml_int(0))); in nvdimm_build_common_dsm()
1053 aml_append(ifctx, aml_return(aml_buffer(1, byte_list))); in nvdimm_build_common_dsm()
1054 aml_append(unsupport, ifctx); in nvdimm_build_common_dsm()
1077 ifctx = aml_if(aml_land(aml_equal(aml_object_type(pckg), in nvdimm_build_common_dsm()
1083 aml_append(ifctx, aml_store(aml_index(pckg, aml_int(0)), pckg_index)); in nvdimm_build_common_dsm()
1084 aml_append(ifctx, aml_store(aml_derefof(pckg_index), pckg_buf)); in nvdimm_build_common_dsm()
1085 aml_append(ifctx, aml_store(pckg_buf, aml_name(NVDIMM_DSM_ARG3))); in nvdimm_build_common_dsm()
1086 aml_append(method, ifctx); in nvdimm_build_common_dsm()
1112 ifctx = aml_if(aml_lless(dsm_out_buf_size, aml_int(8))); in nvdimm_build_common_dsm()
1114 aml_append(ifctx, aml_store(aml_int(0), offset)); in nvdimm_build_common_dsm()
1115 aml_append(ifctx, aml_name_decl("TBUF", aml_buffer(1, NULL))); in nvdimm_build_common_dsm()
1116 aml_append(ifctx, aml_store(aml_buffer(0, NULL), dsm_out_buf)); in nvdimm_build_common_dsm()
1126 aml_append(ifctx, whilectx); in nvdimm_build_common_dsm()
1128 aml_append(ifctx, aml_return(dsm_out_buf)); in nvdimm_build_common_dsm()
1129 aml_append(method, ifctx); in nvdimm_build_common_dsm()
1155 Aml *whilectx, *ifcond, *ifctx, *elsectx, *fit; in nvdimm_build_fit() local
1190 ifctx = aml_if(aml_lnot(ifcond)); in nvdimm_build_fit()
1191 aml_append(ifctx, aml_return(aml_buffer(0, NULL))); in nvdimm_build_fit()
1192 aml_append(method, ifctx); in nvdimm_build_fit()
1200 ifctx = aml_if(aml_equal(buf_size, aml_int(0))); in nvdimm_build_fit()
1201 aml_append(ifctx, aml_return(aml_buffer(0, NULL))); in nvdimm_build_fit()
1202 aml_append(method, ifctx); in nvdimm_build_fit()
1225 ifctx = aml_if(aml_equal(aml_name(NVDIMM_DSM_RFIT_STATUS), in nvdimm_build_fit()
1227 aml_append(ifctx, aml_store(aml_buffer(0, NULL), fit)); in nvdimm_build_fit()
1228 aml_append(ifctx, aml_store(aml_int(0), offset)); in nvdimm_build_fit()
1229 aml_append(whilectx, ifctx); in nvdimm_build_fit()
1234 ifctx = aml_if(aml_equal(buf_size, aml_int(0))); in nvdimm_build_fit()
1235 aml_append(ifctx, aml_return(fit)); in nvdimm_build_fit()
1236 aml_append(elsectx, ifctx); in nvdimm_build_fit()