Lines Matching refs:num_planes
240 bo->num_planes = drv_num_planes_from_format(format); in drv_bo_new()
242 if (!bo->num_planes) { in drv_bo_new()
271 for (plane = 0; plane < bo->num_planes; plane++) { in drv_bo_create()
309 for (plane = 0; plane < bo->num_planes; plane++) { in drv_bo_create_with_modifiers()
329 for (plane = 0; plane < bo->num_planes; plane++) in drv_bo_destroy()
332 for (plane = 0; plane < bo->num_planes; plane++) in drv_bo_destroy()
363 for (plane = 0; plane < bo->num_planes; plane++) { in drv_bo_import()
375 if (plane == bo->num_planes - 1 || data->offsets[plane + 1] == 0) in drv_bo_import()
544 return bo->num_planes; in drv_bo_get_num_planes()
560 assert(plane < bo->num_planes); in drv_bo_get_plane_fd()
573 assert(plane < bo->num_planes); in drv_bo_get_plane_offset()
579 assert(plane < bo->num_planes); in drv_bo_get_plane_size()
585 assert(plane < bo->num_planes); in drv_bo_get_plane_stride()
591 assert(plane < bo->num_planes); in drv_bo_get_plane_format_modifier()
613 for (plane = 0; plane < bo->num_planes; plane++) { in drv_num_buffers_per_bo()