Home
last modified time | relevance | path

Searched refs:global_ref (Results 1 – 9 of 9) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_glue.c59 struct drm_global_reference *global_ref; in vmw_ttm_global_init() local
62 global_ref = &dev_priv->mem_global_ref; in vmw_ttm_global_init()
63 global_ref->global_type = DRM_GLOBAL_TTM_MEM; in vmw_ttm_global_init()
64 global_ref->size = sizeof(struct ttm_mem_global); in vmw_ttm_global_init()
65 global_ref->init = &vmw_ttm_mem_global_init; in vmw_ttm_global_init()
66 global_ref->release = &vmw_ttm_mem_global_release; in vmw_ttm_global_init()
68 ret = drm_global_item_ref(global_ref); in vmw_ttm_global_init()
76 global_ref = &dev_priv->bo_global_ref.ref; in vmw_ttm_global_init()
77 global_ref->global_type = DRM_GLOBAL_TTM_BO; in vmw_ttm_global_init()
78 global_ref->size = sizeof(struct ttm_bo_global); in vmw_ttm_global_init()
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_ttm.c305 struct drm_global_reference *global_ref; in nouveau_ttm_global_init() local
308 global_ref = &drm->ttm.mem_global_ref; in nouveau_ttm_global_init()
309 global_ref->global_type = DRM_GLOBAL_TTM_MEM; in nouveau_ttm_global_init()
310 global_ref->size = sizeof(struct ttm_mem_global); in nouveau_ttm_global_init()
311 global_ref->init = &nouveau_ttm_mem_global_init; in nouveau_ttm_global_init()
312 global_ref->release = &nouveau_ttm_mem_global_release; in nouveau_ttm_global_init()
314 ret = drm_global_item_ref(global_ref); in nouveau_ttm_global_init()
321 drm->ttm.bo_global_ref.mem_glob = global_ref->object; in nouveau_ttm_global_init()
322 global_ref = &drm->ttm.bo_global_ref.ref; in nouveau_ttm_global_init()
323 global_ref->global_type = DRM_GLOBAL_TTM_BO; in nouveau_ttm_global_init()
[all …]
/drivers/gpu/drm/ast/
Dast_ttm.c52 struct drm_global_reference *global_ref; in ast_ttm_global_init() local
55 global_ref = &ast->ttm.mem_global_ref; in ast_ttm_global_init()
56 global_ref->global_type = DRM_GLOBAL_TTM_MEM; in ast_ttm_global_init()
57 global_ref->size = sizeof(struct ttm_mem_global); in ast_ttm_global_init()
58 global_ref->init = &ast_ttm_mem_global_init; in ast_ttm_global_init()
59 global_ref->release = &ast_ttm_mem_global_release; in ast_ttm_global_init()
60 r = drm_global_item_ref(global_ref); in ast_ttm_global_init()
69 global_ref = &ast->ttm.bo_global_ref.ref; in ast_ttm_global_init()
70 global_ref->global_type = DRM_GLOBAL_TTM_BO; in ast_ttm_global_init()
71 global_ref->size = sizeof(struct ttm_bo_global); in ast_ttm_global_init()
[all …]
/drivers/gpu/drm/cirrus/
Dcirrus_ttm.c52 struct drm_global_reference *global_ref; in cirrus_ttm_global_init() local
55 global_ref = &cirrus->ttm.mem_global_ref; in cirrus_ttm_global_init()
56 global_ref->global_type = DRM_GLOBAL_TTM_MEM; in cirrus_ttm_global_init()
57 global_ref->size = sizeof(struct ttm_mem_global); in cirrus_ttm_global_init()
58 global_ref->init = &cirrus_ttm_mem_global_init; in cirrus_ttm_global_init()
59 global_ref->release = &cirrus_ttm_mem_global_release; in cirrus_ttm_global_init()
60 r = drm_global_item_ref(global_ref); in cirrus_ttm_global_init()
69 global_ref = &cirrus->ttm.bo_global_ref.ref; in cirrus_ttm_global_init()
70 global_ref->global_type = DRM_GLOBAL_TTM_BO; in cirrus_ttm_global_init()
71 global_ref->size = sizeof(struct ttm_bo_global); in cirrus_ttm_global_init()
[all …]
/drivers/gpu/drm/mgag200/
Dmgag200_ttm.c52 struct drm_global_reference *global_ref; in mgag200_ttm_global_init() local
55 global_ref = &ast->ttm.mem_global_ref; in mgag200_ttm_global_init()
56 global_ref->global_type = DRM_GLOBAL_TTM_MEM; in mgag200_ttm_global_init()
57 global_ref->size = sizeof(struct ttm_mem_global); in mgag200_ttm_global_init()
58 global_ref->init = &mgag200_ttm_mem_global_init; in mgag200_ttm_global_init()
59 global_ref->release = &mgag200_ttm_mem_global_release; in mgag200_ttm_global_init()
60 r = drm_global_item_ref(global_ref); in mgag200_ttm_global_init()
69 global_ref = &ast->ttm.bo_global_ref.ref; in mgag200_ttm_global_init()
70 global_ref->global_type = DRM_GLOBAL_TTM_BO; in mgag200_ttm_global_init()
71 global_ref->size = sizeof(struct ttm_bo_global); in mgag200_ttm_global_init()
[all …]
/drivers/gpu/drm/qxl/
Dqxl_ttm.c62 struct drm_global_reference *global_ref; in qxl_ttm_global_init() local
66 global_ref = &qdev->mman.mem_global_ref; in qxl_ttm_global_init()
67 global_ref->global_type = DRM_GLOBAL_TTM_MEM; in qxl_ttm_global_init()
68 global_ref->size = sizeof(struct ttm_mem_global); in qxl_ttm_global_init()
69 global_ref->init = &qxl_ttm_mem_global_init; in qxl_ttm_global_init()
70 global_ref->release = &qxl_ttm_mem_global_release; in qxl_ttm_global_init()
72 r = drm_global_item_ref(global_ref); in qxl_ttm_global_init()
81 global_ref = &qdev->mman.bo_global_ref.ref; in qxl_ttm_global_init()
82 global_ref->global_type = DRM_GLOBAL_TTM_BO; in qxl_ttm_global_init()
83 global_ref->size = sizeof(struct ttm_bo_global); in qxl_ttm_global_init()
[all …]
/drivers/gpu/drm/bochs/
Dbochs_mm.c31 struct drm_global_reference *global_ref; in bochs_ttm_global_init() local
34 global_ref = &bochs->ttm.mem_global_ref; in bochs_ttm_global_init()
35 global_ref->global_type = DRM_GLOBAL_TTM_MEM; in bochs_ttm_global_init()
36 global_ref->size = sizeof(struct ttm_mem_global); in bochs_ttm_global_init()
37 global_ref->init = &bochs_ttm_mem_global_init; in bochs_ttm_global_init()
38 global_ref->release = &bochs_ttm_mem_global_release; in bochs_ttm_global_init()
39 r = drm_global_item_ref(global_ref); in bochs_ttm_global_init()
48 global_ref = &bochs->ttm.bo_global_ref.ref; in bochs_ttm_global_init()
49 global_ref->global_type = DRM_GLOBAL_TTM_BO; in bochs_ttm_global_init()
50 global_ref->size = sizeof(struct ttm_bo_global); in bochs_ttm_global_init()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_ttm.c79 struct drm_global_reference *global_ref; in radeon_ttm_global_init() local
83 global_ref = &rdev->mman.mem_global_ref; in radeon_ttm_global_init()
84 global_ref->global_type = DRM_GLOBAL_TTM_MEM; in radeon_ttm_global_init()
85 global_ref->size = sizeof(struct ttm_mem_global); in radeon_ttm_global_init()
86 global_ref->init = &radeon_ttm_mem_global_init; in radeon_ttm_global_init()
87 global_ref->release = &radeon_ttm_mem_global_release; in radeon_ttm_global_init()
88 r = drm_global_item_ref(global_ref); in radeon_ttm_global_init()
97 global_ref = &rdev->mman.bo_global_ref.ref; in radeon_ttm_global_init()
98 global_ref->global_type = DRM_GLOBAL_TTM_BO; in radeon_ttm_global_init()
99 global_ref->size = sizeof(struct ttm_bo_global); in radeon_ttm_global_init()
[all …]
/drivers/crypto/
Dn2_core.c1910 static int global_ref; variable
1918 if (global_ref++) in grab_global_resources()
1944 global_ref--; in grab_global_resources()
1963 if (!--global_ref) { in release_global_resources()