num_sizes 676 drivers/char/agp/intel-gtt.c int num_sizes = ARRAY_SIZE(intel_fake_agp_sizes); num_sizes 682 drivers/char/agp/intel-gtt.c for (i = 0; i < num_sizes; i++) { num_sizes 224 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h uint32_t num_sizes; num_sizes 912 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c surface->num_sizes != 1 || num_sizes 176 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c return srf->num_sizes * sizeof(struct vmw_surface_dma); num_sizes 190 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c return sizeof(struct vmw_surface_define) + srf->num_sizes * num_sizes 239 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd_len = sizeof(cmd->body) + srf->num_sizes * sizeof(SVGA3dSize); num_sizes 258 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c for (i = 0; i < srf->num_sizes; ++i, cmd_size++, src_size++) { num_sizes 284 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c for (i = 0; i < srf->num_sizes; ++i) { num_sizes 722 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c uint32_t num_sizes; num_sizes 730 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c num_sizes = 0; num_sizes 734 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c num_sizes += req->mip_levels[i]; num_sizes 737 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c if (num_sizes > DRM_VMW_MAX_SURFACE_FACES * DRM_VMW_MAX_MIP_LEVELS || num_sizes 738 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c num_sizes == 0) num_sizes 742 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c ttm_round_pot(num_sizes * sizeof(struct drm_vmw_size)) + num_sizes 743 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c ttm_round_pot(num_sizes * sizeof(struct vmw_surface_offset)); num_sizes 779 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c srf->num_sizes = num_sizes; num_sizes 783 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c sizeof(*srf->sizes) * srf->num_sizes); num_sizes 788 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c srf->offsets = kmalloc_array(srf->num_sizes, num_sizes 822 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c srf->num_sizes == 1 && num_sizes 1012 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c srf->num_sizes); num_sizes 1441 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c srf->num_sizes = 1;