Home
last modified time | relevance | path

Searched refs:new_res (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/acpi/
H A Dacpi_platform.c76 struct resource *new_res, in acpi_platform_adjust_resources() argument
82 if (!(new_res->flags & (IORESOURCE_IO | IORESOURCE_MEM))) in acpi_platform_adjust_resources()
92 if (__resource_contains_unbound(res, new_res) || in acpi_platform_adjust_resources()
93 __resource_contains_unbound(new_res, res) || in acpi_platform_adjust_resources()
94 resource_type(new_res) != resource_type(res) || in acpi_platform_adjust_resources()
95 !resource_union(new_res, res, new_res)) { in acpi_platform_adjust_resources()
100 dev_info(&adev->dev, "%pR expanded due to overlap\n", new_res); in acpi_platform_adjust_resources()
/linux/drivers/hv/
H A Dvmbus_drv.c2252 struct resource *new_res; in vmbus_walk_resources() local
2303 new_res = kzalloc_obj(*new_res, GFP_ATOMIC); in vmbus_walk_resources()
2304 if (!new_res) in vmbus_walk_resources()
2311 new_res->name = "hyperv mmio"; in vmbus_walk_resources()
2312 new_res->flags = IORESOURCE_MEM; in vmbus_walk_resources()
2313 new_res->start = start; in vmbus_walk_resources()
2314 new_res->end = end; in vmbus_walk_resources()
2321 *old_res = new_res; in vmbus_walk_resources()
2325 if (((*old_res)->end + 1) == new_res in vmbus_walk_resources()
[all...]
/linux/drivers/nvdimm/
H A Dnamespace_devs.c454 struct resource *next = res->sibling, *new_res = NULL; in scan_allocate() local
518 new_res = next; in scan_allocate()
536 new_res = nvdimm_allocate_dpa(ndd, label_id, in scan_allocate()
538 if (!new_res) in scan_allocate()
548 if (!new_res) in scan_allocate()
549 new_res = res; in scan_allocate()
551 nd_dbg_dpa(nd_region, ndd, new_res, "%s(%d) %d\n", in scan_allocate()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm.h544 struct ttm_resource *new_res, int sign);
/linux/drivers/gpu/drm/xe/
H A Dxe_bo.c846 struct ttm_resource *new_res)
858 if (device_unplugged && new_res->mem_type == XE_PL_SYSTEM && in xe_bo_set_purgeable_shrinker()
866 if (new_res->mem_type == XE_PL_SYSTEM) in xe_bo_set_purgeable_shrinker()
882 ttm_bo_move_null(ttm_bo, new_res);
746 xe_bo_move_dmabuf(struct ttm_buffer_object * ttm_bo,struct ttm_resource * new_res) xe_bo_move_dmabuf() argument