Home
last modified time | relevance | path

Searched refs:sub_res (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/s390/kernel/
Dsetup.c552 struct resource *res, *std_res, *sub_res; in setup_resources() local
587 sub_res = memblock_alloc(sizeof(*sub_res), 8); in setup_resources()
588 if (!sub_res) in setup_resources()
590 __func__, sizeof(*sub_res), 8); in setup_resources()
591 *sub_res = *std_res; in setup_resources()
592 sub_res->end = res->end; in setup_resources()
594 request_resource(res, sub_res); in setup_resources()
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c1751 u32 sub_res; in vmw_surface_tex_dirty_range_add() local
1759 for (sub_res = 0; sub_res < dirty->num_subres; ++sub_res) in vmw_surface_tex_dirty_range_add()
1760 vmw_subres_dirty_full(dirty, sub_res); in vmw_surface_tex_dirty_range_add()
1769 u32 sub_res; in vmw_surface_tex_dirty_range_add() local
1775 for (sub_res = loc1.sub_resource + 1; in vmw_surface_tex_dirty_range_add()
1776 sub_res < loc2.sub_resource - 1; ++sub_res) in vmw_surface_tex_dirty_range_add()
1777 vmw_subres_dirty_full(dirty, sub_res); in vmw_surface_tex_dirty_range_add()