Searched refs:ttm_round_pot (Results 1 – 11 of 11) sorted by relevance
337 ttm_round_pot(sizeof(struct vmw_cmdbuf_res_manager)) + in vmw_cmdbuf_res_man_size()338 ttm_round_pot(sizeof(struct hlist_head) << in vmw_cmdbuf_res_man_size()
403 sgl_size = ttm_round_pot(sizeof(struct scatterlist)); in vmw_ttm_map_dma()404 sgt_size = ttm_round_pot(sizeof(struct sg_table)); in vmw_ttm_map_dma()635 ttm_round_pot(ttm->num_pages * sizeof(dma_addr_t)); in vmw_ttm_populate()665 ttm_round_pot(ttm->num_pages * sizeof(dma_addr_t)); in vmw_ttm_unpopulate()
379 size_t page_array_size = ttm_round_pot(num_pages * sizeof(void *)); in vmw_dmabuf_acc_size()382 size_t backend_size = ttm_round_pot(vmw_tt_size); in vmw_dmabuf_acc_size()385 ttm_round_pot(sizeof(struct vmw_dma_buffer)); in vmw_dmabuf_acc_size()387 ttm_round_pot(sizeof(struct vmw_user_dma_buffer)); in vmw_dmabuf_acc_size()392 ttm_round_pot(num_pages * sizeof(dma_addr_t)); in vmw_dmabuf_acc_size()907 vmw_user_stream_size = ttm_round_pot(sizeof(*stream)) + 128; in vmw_stream_claim_ioctl()
357 ttm_round_pot(sizeof(struct vmw_user_shader)) + 128; in vmw_user_shader_alloc()426 ttm_round_pot(sizeof(struct vmw_shader)) + 128; in vmw_shader_alloc()
710 vmw_user_surface_size = ttm_round_pot(sizeof(*user_srf)) + in vmw_surface_define_ioctl()722 ttm_round_pot(num_sizes * sizeof(struct drm_vmw_size)) + in vmw_surface_define_ioctl()723 ttm_round_pot(num_sizes * sizeof(struct vmw_surface_offset)); in vmw_surface_define_ioctl()1252 vmw_user_surface_size = ttm_round_pot(sizeof(*user_srf)) + in vmw_gb_surface_define_ioctl()
297 fman->user_fence_size = ttm_round_pot(sizeof(struct vmw_user_fence)); in vmw_fence_manager_init()298 fman->fence_size = ttm_round_pot(sizeof(struct vmw_fence_obj)); in vmw_fence_manager_init()300 ttm_round_pot(sizeof(struct vmw_event_fence_action)); in vmw_fence_manager_init()
486 vmw_user_context_size = ttm_round_pot(sizeof(*ctx)) + 128 + in vmw_context_define_ioctl()
157 extern size_t ttm_round_pot(size_t size);
586 size_t ttm_round_pot(size_t size) in ttm_round_pot() function602 EXPORT_SYMBOL(ttm_round_pot);
516 tdev->dma_buf_size = ttm_round_pot(sizeof(struct dma_buf)) + in ttm_object_device_init()517 ttm_round_pot(sizeof(struct file)); in ttm_object_device_init()
1186 size += ttm_round_pot(struct_size); in ttm_bo_acc_size()1188 size += ttm_round_pot(sizeof(struct ttm_tt)); in ttm_bo_acc_size()1200 size += ttm_round_pot(struct_size); in ttm_bo_dma_acc_size()1203 size += ttm_round_pot(sizeof(struct ttm_dma_tt)); in ttm_bo_dma_acc_size()