Searched refs:ttm (Results 1 - 25 of 53) sorted by relevance

123

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/gpu/drm/ttm/
H A Dttm_tt.c39 #include "ttm/ttm_module.h"
40 #include "ttm/ttm_bo_driver.h"
41 #include "ttm/ttm_placement.h"
42 #include "ttm/ttm_page_alloc.h"
44 static int ttm_tt_swapin(struct ttm_tt *ttm);
47 * Allocates storage for pointers to the pages that back the ttm.
49 static void ttm_tt_alloc_page_directory(struct ttm_tt *ttm) argument
51 ttm->pages = drm_calloc_large(ttm->num_pages, sizeof(*ttm
54 ttm_tt_free_page_directory(struct ttm_tt *ttm) argument
60 ttm_tt_free_user_pages(struct ttm_tt *ttm) argument
97 __ttm_tt_get_page(struct ttm_tt *ttm, int index) argument
130 ttm_tt_get_page(struct ttm_tt *ttm, int index) argument
142 ttm_tt_populate(struct ttm_tt *ttm) argument
213 ttm_tt_set_caching(struct ttm_tt *ttm, enum ttm_caching_state c_state) argument
259 ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement) argument
274 ttm_tt_free_alloced_pages(struct ttm_tt *ttm) argument
307 ttm_tt_destroy(struct ttm_tt *ttm) argument
336 ttm_tt_set_user(struct ttm_tt *ttm, struct task_struct *tsk, unsigned long start, unsigned long num_pages) argument
379 struct ttm_tt *ttm; local
413 ttm_tt_unbind(struct ttm_tt *ttm) argument
425 ttm_tt_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) argument
456 ttm_tt_swapin(struct ttm_tt *ttm) argument
513 ttm_tt_swapout(struct ttm_tt *ttm, struct file *persistant_swap_storage) argument
[all...]
H A DMakefile5 ttm-y := ttm_agp_backend.o ttm_memory.o ttm_tt.o ttm_bo.o \
9 obj-$(CONFIG_DRM_TTM) += ttm.o
H A Dttm_bo_util.c31 #include "ttm/ttm_bo_driver.h"
32 #include "ttm/ttm_placement.h"
56 struct ttm_tt *ttm = bo->ttm; local
61 ttm_tt_unbind(ttm);
68 ret = ttm_tt_set_placement_caching(ttm, new_mem->placement);
73 ret = ttm_tt_bind(ttm, new_mem);
160 static int ttm_copy_io_ttm_page(struct ttm_tt *ttm, void *src, argument
164 struct page *d = ttm_tt_get_page(ttm, page);
197 static int ttm_copy_ttm_io_page(struct ttm_tt *ttm, voi argument
239 struct ttm_tt *ttm = bo->ttm; local
422 struct ttm_tt *ttm = bo->ttm; local
[all...]
H A Dttm_bo_vm.c31 #include <ttm/ttm_module.h>
32 #include <ttm/ttm_bo_driver.h>
33 #include <ttm/ttm_placement.h>
80 struct ttm_tt *ttm = NULL; local
162 ttm = bo->ttm;
177 page = ttm_tt_get_page(ttm, page_offset);
H A Dttm_bo.c39 #include "ttm/ttm_module.h"
40 #include "ttm/ttm_bo_driver.h"
41 #include "ttm/ttm_placement.h"
159 if (bo->ttm)
160 ttm_tt_destroy(bo->ttm);
202 if (bo->ttm != NULL) {
318 bo->ttm = NULL;
328 bo->ttm = ttm_tt_create(bdev, bo->num_pages << PAGE_SHIFT,
330 if (unlikely(bo->ttm == NULL))
334 bo->ttm
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/gpu/drm/ttm/
H A Dttm_tt.c39 #include "ttm/ttm_module.h"
40 #include "ttm/ttm_bo_driver.h"
41 #include "ttm/ttm_placement.h"
42 #include "ttm/ttm_page_alloc.h"
44 static int ttm_tt_swapin(struct ttm_tt *ttm);
47 * Allocates storage for pointers to the pages that back the ttm.
49 static void ttm_tt_alloc_page_directory(struct ttm_tt *ttm) argument
51 ttm->pages = drm_calloc_large(ttm->num_pages, sizeof(*ttm
54 ttm_tt_free_page_directory(struct ttm_tt *ttm) argument
60 ttm_tt_free_user_pages(struct ttm_tt *ttm) argument
97 __ttm_tt_get_page(struct ttm_tt *ttm, int index) argument
130 ttm_tt_get_page(struct ttm_tt *ttm, int index) argument
142 ttm_tt_populate(struct ttm_tt *ttm) argument
213 ttm_tt_set_caching(struct ttm_tt *ttm, enum ttm_caching_state c_state) argument
259 ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement) argument
274 ttm_tt_free_alloced_pages(struct ttm_tt *ttm) argument
307 ttm_tt_destroy(struct ttm_tt *ttm) argument
336 ttm_tt_set_user(struct ttm_tt *ttm, struct task_struct *tsk, unsigned long start, unsigned long num_pages) argument
379 struct ttm_tt *ttm; local
413 ttm_tt_unbind(struct ttm_tt *ttm) argument
425 ttm_tt_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) argument
456 ttm_tt_swapin(struct ttm_tt *ttm) argument
513 ttm_tt_swapout(struct ttm_tt *ttm, struct file *persistant_swap_storage) argument
[all...]
H A DMakefile5 ttm-y := ttm_agp_backend.o ttm_memory.o ttm_tt.o ttm_bo.o \
9 obj-$(CONFIG_DRM_TTM) += ttm.o
H A Dttm_bo_util.c31 #include "ttm/ttm_bo_driver.h"
32 #include "ttm/ttm_placement.h"
56 struct ttm_tt *ttm = bo->ttm; local
61 ttm_tt_unbind(ttm);
68 ret = ttm_tt_set_placement_caching(ttm, new_mem->placement);
73 ret = ttm_tt_bind(ttm, new_mem);
160 static int ttm_copy_io_ttm_page(struct ttm_tt *ttm, void *src, argument
164 struct page *d = ttm_tt_get_page(ttm, page);
197 static int ttm_copy_ttm_io_page(struct ttm_tt *ttm, voi argument
239 struct ttm_tt *ttm = bo->ttm; local
422 struct ttm_tt *ttm = bo->ttm; local
[all...]
H A Dttm_bo_vm.c31 #include <ttm/ttm_module.h>
32 #include <ttm/ttm_bo_driver.h>
33 #include <ttm/ttm_placement.h>
80 struct ttm_tt *ttm = NULL; local
162 ttm = bo->ttm;
177 page = ttm_tt_get_page(ttm, page_offset);
H A Dttm_bo.c39 #include "ttm/ttm_module.h"
40 #include "ttm/ttm_bo_driver.h"
41 #include "ttm/ttm_placement.h"
159 if (bo->ttm)
160 ttm_tt_destroy(bo->ttm);
202 if (bo->ttm != NULL) {
318 bo->ttm = NULL;
328 bo->ttm = ttm_tt_create(bdev, bo->num_pages << PAGE_SHIFT,
330 if (unlikely(bo->ttm == NULL))
334 bo->ttm
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/gpu/drm/nouveau/
H A Dnouveau_ttm.c41 return ttm_bo_mmap(filp, vma, &dev_priv->ttm.bdev);
62 global_ref = &dev_priv->ttm.mem_global_ref;
71 dev_priv->ttm.mem_global_ref.release = NULL;
75 dev_priv->ttm.bo_global_ref.mem_glob = global_ref->object;
76 global_ref = &dev_priv->ttm.bo_global_ref.ref;
85 drm_global_item_unref(&dev_priv->ttm.mem_global_ref);
86 dev_priv->ttm.mem_global_ref.release = NULL;
96 if (dev_priv->ttm.mem_global_ref.release == NULL)
99 drm_global_item_unref(&dev_priv->ttm.bo_global_ref.ref);
100 drm_global_item_unref(&dev_priv->ttm
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/gpu/drm/nouveau/
H A Dnouveau_ttm.c41 return ttm_bo_mmap(filp, vma, &dev_priv->ttm.bdev);
62 global_ref = &dev_priv->ttm.mem_global_ref;
71 dev_priv->ttm.mem_global_ref.release = NULL;
75 dev_priv->ttm.bo_global_ref.mem_glob = global_ref->object;
76 global_ref = &dev_priv->ttm.bo_global_ref.ref;
85 drm_global_item_unref(&dev_priv->ttm.mem_global_ref);
86 dev_priv->ttm.mem_global_ref.release = NULL;
96 if (dev_priv->ttm.mem_global_ref.release == NULL)
99 drm_global_item_unref(&dev_priv->ttm.bo_global_ref.ref);
100 drm_global_item_unref(&dev_priv->ttm
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gmr.c30 #include "ttm/ttm_bo_driver.h"
160 struct ttm_tt *ttm = bo->ttm; local
169 ret = ttm_tt_populate(ttm);
173 descriptors = vmw_gmr_count_descriptors(ttm->pages, ttm->num_pages);
178 ret = vmw_gmr_build_descriptors(&desc_pages, ttm->pages,
179 ttm->num_pages);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gmr.c30 #include "ttm/ttm_bo_driver.h"
160 struct ttm_tt *ttm = bo->ttm; local
169 ret = ttm_tt_populate(ttm);
173 descriptors = vmw_gmr_count_descriptors(ttm->pages, ttm->num_pages);
178 ret = vmw_gmr_build_descriptors(&desc_pages, ttm->pages,
179 ttm->num_pages);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/drm/ttm/
H A Dttm_bo_driver.h33 #include "ttm/ttm_bo_api.h"
34 #include "ttm/ttm_memory.h"
35 #include "ttm/ttm_module.h"
50 * @pages: Array of pointers to ttm pages.
54 * Populate the backend with ttm pages. Depending on the backend,
146 * @be: Pointer to the ttm backend.
147 * @tsk: The task for user ttm.
148 * @start: virtual address for user ttm.
492 * @ttm: The struct ttm_tt to populate.
503 extern int ttm_tt_set_user(struct ttm_tt *ttm,
[all...]
H A Dttm_object.h33 * ttm objects. Implements reference counting, minimal security checks
43 #include <ttm/ttm_memory.h>
70 * One entry per ttm object type.
252 * data structures needed for ttm base and ref objects.
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/drm/ttm/
H A Dttm_bo_driver.h33 #include "ttm/ttm_bo_api.h"
34 #include "ttm/ttm_memory.h"
35 #include "ttm/ttm_module.h"
50 * @pages: Array of pointers to ttm pages.
54 * Populate the backend with ttm pages. Depending on the backend,
146 * @be: Pointer to the ttm backend.
147 * @tsk: The task for user ttm.
148 * @start: virtual address for user ttm.
492 * @ttm: The struct ttm_tt to populate.
503 extern int ttm_tt_set_user(struct ttm_tt *ttm,
[all...]
H A Dttm_object.h33 * ttm objects. Implements reference counting, minimal security checks
43 #include <ttm/ttm_memory.h>
70 * One entry per ttm object type.
252 * data structures needed for ttm base and ref objects.
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/powerpc/kernel/
H A Dppc970-pmu.c264 unsigned int ttm, grp; local
321 ttm = unitmap[i];
322 ++ttmuse[(ttm >> 2) & 1];
323 mmcr1 |= (unsigned long)(ttm & ~4) << MMCR1_TTM1SEL_SH;
335 ttm = (unitmap[unit] >> 2) & 1;
337 ttm = 2;
339 ttm = 3;
343 mmcr1 |= (unsigned long)ttm
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/powerpc/kernel/
H A Dppc970-pmu.c264 unsigned int ttm, grp; local
321 ttm = unitmap[i];
322 ++ttmuse[(ttm >> 2) & 1];
323 mmcr1 |= (unsigned long)(ttm & ~4) << MMCR1_TTM1SEL_SH;
335 ttm = (unitmap[unit] >> 2) & 1;
337 ttm = 2;
339 ttm = 3;
343 mmcr1 |= (unsigned long)ttm
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/gpu/drm/
H A DMakefile26 obj-$(CONFIG_DRM_TTM) += ttm/
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/gpu/drm/
H A DMakefile26 obj-$(CONFIG_DRM_TTM) += ttm/
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl/crypto/asn1/
H A Da_utctm.c291 struct tm stm, ttm; local
297 if (!OPENSSL_gmtime(&t, &ttm))
300 if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm))
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl/crypto/asn1/
H A Da_utctm.c291 struct tm stm, ttm; local
297 if (!OPENSSL_gmtime(&t, &ttm))
300 if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm))
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl/crypto/asn1/
H A Da_utctm.c291 struct tm stm, ttm; local
297 if (!OPENSSL_gmtime(&t, &ttm))
300 if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm))

Completed in 125 milliseconds

123