Home
last modified time | relevance | path

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

/linux/drivers/hv/
H A Dvmbus_drv.c2264 struct resource *new_res; in vmbus_walk_resources() local
2315 new_res = kzalloc_obj(*new_res, GFP_ATOMIC); in vmbus_walk_resources()
2316 if (!new_res) in vmbus_walk_resources()
2323 new_res->name = "hyperv mmio"; in vmbus_walk_resources()
2324 new_res->flags = IORESOURCE_MEM; in vmbus_walk_resources()
2325 new_res->start = start; in vmbus_walk_resources()
2326 new_res->end = end; in vmbus_walk_resources()
2333 *old_res = new_res; in vmbus_walk_resources()
2337 if (((*old_res)->end + 1) == new_res->start) { in vmbus_walk_resources()
2338 (*old_res)->end = new_res->end; in vmbus_walk_resources()
[all …]
/linux/drivers/char/tpm/
H A Dtpm_crb.c563 struct resource new_res = { in crb_map_res() local
570 if (start != new_res.start) in crb_map_res()
574 return devm_ioremap_resource(dev, &new_res); in crb_map_res()
582 return *iobase_ptr + (new_res.start - iores->start); in crb_map_res()
/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.h546 struct ttm_resource *new_res, int sign);
/linux/drivers/gpu/drm/xe/
H A Dxe_bo.c741 struct ttm_resource *new_res) in xe_bo_move_dmabuf() argument
753 if (device_unplugged && new_res->mem_type == XE_PL_SYSTEM && in xe_bo_move_dmabuf()
761 if (new_res->mem_type == XE_PL_SYSTEM) in xe_bo_move_dmabuf()
777 ttm_bo_move_null(ttm_bo, new_res); in xe_bo_move_dmabuf()