Lines Matching refs:dims
1279 struct fb_plane_view_dims *dims) in init_plane_view_dims() argument
1281 dims->width = width; in init_plane_view_dims()
1282 dims->height = height; in init_plane_view_dims()
1284 intel_tile_dims(&fb->base, color_plane, &dims->tile_width, &dims->tile_height); in init_plane_view_dims()
1289 const struct fb_plane_view_dims *dims) in plane_view_src_stride_tiles() argument
1292 dims->tile_width * fb->base.format->cpp[color_plane]); in plane_view_src_stride_tiles()
1327 const struct fb_plane_view_dims *dims, in plane_view_width_tiles() argument
1330 return DIV_ROUND_UP(x + dims->width, dims->tile_width); in plane_view_width_tiles()
1335 const struct fb_plane_view_dims *dims, in plane_view_height_tiles() argument
1338 return DIV_ROUND_UP(y + dims->height, dims->tile_height); in plane_view_height_tiles()
1343 const struct fb_plane_view_dims *dims, in plane_view_linear_tiles() argument
1349 size = (y + dims->height) * fb->base.pitches[color_plane] + in plane_view_linear_tiles()
1367 const struct fb_plane_view_dims *dims, in calc_plane_remap_info() argument
1374 unsigned int tile_width = dims->tile_width; in calc_plane_remap_info()
1375 unsigned int tile_height = dims->tile_height; in calc_plane_remap_info()
1386 plane_view_linear_tiles(fb, color_plane, dims, x, y)); in calc_plane_remap_info()
1391 plane_view_src_stride_tiles(fb, color_plane, dims)); in calc_plane_remap_info()
1393 plane_view_width_tiles(fb, color_plane, dims, x)); in calc_plane_remap_info()
1395 plane_view_height_tiles(fb, color_plane, dims, y)); in calc_plane_remap_info()
1406 drm_rect_init(&r, x, y, dims->width, dims->height); in calc_plane_remap_info()
1484 const struct fb_plane_view_dims *dims, in calc_plane_normal_size() argument
1490 tiles = plane_view_linear_tiles(fb, color_plane, dims, x, y); in calc_plane_normal_size()
1492 tiles = plane_view_src_stride_tiles(fb, color_plane, dims) * in calc_plane_normal_size()
1493 plane_view_height_tiles(fb, color_plane, dims, y); in calc_plane_normal_size()