Lines Matching refs:handle

187 static NVDIMMDevice *nvdimm_get_device_by_handle(uint32_t handle)  in nvdimm_get_device_by_handle()  argument
197 if (nvdimm_slot_to_handle(slot) == handle) { in nvdimm_get_device_by_handle()
265 uint32_t handle = nvdimm_slot_to_handle(slot); in nvdimm_build_structure_memdev() local
272 nfit_memdev->nfit_handle = cpu_to_le32(handle); in nvdimm_build_structure_memdev()
421 uint32_t handle; member
776 NVDIMMDevice *nvdimm = nvdimm_get_device_by_handle(in->handle); in nvdimm_dsm_device()
851 in->handle = le32_to_cpu(in->handle); in nvdimm_dsm_write()
853 trace_acpi_nvdimm_dsm_info(in->revision, in->handle, in->function); in nvdimm_dsm_write()
861 if (in->handle == NVDIMM_QEMU_RSVD_HANDLE_ROOT) { in nvdimm_dsm_write()
867 if (!in->handle) { in nvdimm_dsm_write()
935 Aml *method, *ifctx, *function, *handle, *uuid, *dsm_mem, *elsectx2; in nvdimm_build_common_dsm() local
945 handle = aml_arg(4); in nvdimm_build_common_dsm()
993 sizeof(typeof_field(NvdimmDsmIn, handle)) * BITS_PER_BYTE)); in nvdimm_build_common_dsm()
1027 ifctx = aml_if(aml_equal(handle, aml_int(0x0))); in nvdimm_build_common_dsm()
1033 ifctx = aml_if(aml_equal(handle, aml_int(NVDIMM_QEMU_RSVD_HANDLE_ROOT))); in nvdimm_build_common_dsm()
1066 aml_append(method, aml_store(handle, aml_name(NVDIMM_DSM_HANDLE))); in nvdimm_build_common_dsm()
1141 static void nvdimm_build_device_dsm(Aml *dev, uint32_t handle) in nvdimm_build_device_dsm() argument
1148 aml_int(handle)))); in nvdimm_build_device_dsm()
1254 uint32_t handle = nvdimm_slot_to_handle(slot); in nvdimm_build_nvdimm_devices() local
1267 aml_append(nvdimm_dev, aml_name_decl("_ADR", aml_int(handle))); in nvdimm_build_nvdimm_devices()
1277 aml_int(handle)); in nvdimm_build_nvdimm_devices()
1314 aml_int(handle)); in nvdimm_build_nvdimm_devices()
1355 aml_int(handle)); in nvdimm_build_nvdimm_devices()
1363 nvdimm_build_device_dsm(nvdimm_dev, handle); in nvdimm_build_nvdimm_devices()