Searched refs:mem_device (Results 1 – 2 of 2) sorted by relevance
/drivers/acpi/ |
D | acpi_memhotplug.c | 75 struct acpi_memory_device *mem_device = context; in acpi_memory_get_resource() local 85 list_for_each_entry(info, &mem_device->res_list, list) { in acpi_memory_get_resource() 104 list_add_tail(&new->list, &mem_device->res_list); in acpi_memory_get_resource() 110 acpi_memory_free_device_resources(struct acpi_memory_device *mem_device) in acpi_memory_free_device_resources() argument 114 list_for_each_entry_safe(info, n, &mem_device->res_list, list) in acpi_memory_free_device_resources() 116 INIT_LIST_HEAD(&mem_device->res_list); in acpi_memory_free_device_resources() 120 acpi_memory_get_device_resources(struct acpi_memory_device *mem_device) in acpi_memory_get_device_resources() argument 124 if (!list_empty(&mem_device->res_list)) in acpi_memory_get_device_resources() 127 status = acpi_walk_resources(mem_device->device->handle, METHOD_NAME__CRS, in acpi_memory_get_device_resources() 128 acpi_memory_get_resource, mem_device); in acpi_memory_get_device_resources() [all …]
|
/drivers/xen/ |
D | xen-acpi-memhotplug.c | 59 static int xen_acpi_memory_enable_device(struct acpi_memory_device *mem_device) in xen_acpi_memory_enable_device() argument 65 if (!mem_device) in xen_acpi_memory_enable_device() 68 pxm = xen_acpi_get_pxm(mem_device->device->handle); in xen_acpi_memory_enable_device() 72 list_for_each_entry(info, &mem_device->res_list, list) { in xen_acpi_memory_enable_device() 97 struct acpi_memory_device *mem_device = context; in acpi_memory_get_resource() local 107 list_for_each_entry(info, &mem_device->res_list, list) { in acpi_memory_get_resource() 125 list_add_tail(&new->list, &mem_device->res_list); in acpi_memory_get_resource() 131 acpi_memory_get_device_resources(struct acpi_memory_device *mem_device) in acpi_memory_get_device_resources() argument 136 if (!list_empty(&mem_device->res_list)) in acpi_memory_get_device_resources() 139 status = acpi_walk_resources(mem_device->device->handle, in acpi_memory_get_device_resources() [all …]
|