Searched refs:sub_res (Results 1 – 2 of 2) sorted by relevance
552 struct resource *res, *std_res, *sub_res; in setup_resources() local587 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()
1751 u32 sub_res; in vmw_surface_tex_dirty_range_add() local1759 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() local1775 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()