Searched refs:sub_res (Results 1 – 2 of 2) sorted by relevance
509 struct resource *res, *std_res, *sub_res; in setup_resources() local544 sub_res = memblock_alloc(sizeof(*sub_res), 8); in setup_resources()545 if (!sub_res) in setup_resources()547 __func__, sizeof(*sub_res), 8); in setup_resources()548 *sub_res = *std_res; in setup_resources()549 sub_res->end = res->end; in setup_resources()551 request_resource(res, sub_res); in setup_resources()
1753 u32 sub_res; in vmw_surface_tex_dirty_range_add() local1761 for (sub_res = 0; sub_res < dirty->num_subres; ++sub_res) in vmw_surface_tex_dirty_range_add()1762 vmw_subres_dirty_full(dirty, sub_res); in vmw_surface_tex_dirty_range_add()1771 u32 sub_res; in vmw_surface_tex_dirty_range_add() local1777 for (sub_res = loc1.sub_resource + 1; in vmw_surface_tex_dirty_range_add()1778 sub_res < loc2.sub_resource - 1; ++sub_res) in vmw_surface_tex_dirty_range_add()1779 vmw_subres_dirty_full(dirty, sub_res); in vmw_surface_tex_dirty_range_add()