Lines Matching refs:ttmPool

115     struct _TTMPool *ttmPool = containerOf(pool, struct _TTMPool, pool);  in pool_create()  local
117 unsigned pageSize = ttmPool->pageSize; in pool_create()
138 DRMRESTARTCOMMANDWRITEREAD(pool->fd, ttmPool->devOffset + TTM_PL_CREATE, in pool_create()
166 struct _TTMPool *ttmPool = containerOf(pool, struct _TTMPool, pool); in pool_reference() local
182 ret = drmCommandWriteRead(pool->fd, ttmPool->devOffset + TTM_PL_REFERENCE, in pool_reference()
211 struct _TTMPool *ttmPool = ttmGetPool(dBuf); in pool_destroy() local
221 ttmPool->devOffset + TTM_PL_UNREF, in pool_destroy()
234 struct _TTMPool *ttmPool = ttmGetPool(dBuf); in syncforcpu_locked() local
271 ttmPool->devOffset + TTM_PL_SYNCCPU, arg, ret); in syncforcpu_locked()
291 struct _TTMPool *ttmPool = ttmGetPool(dBuf); in releasefromcpu_locked() local
311 ttmPool->devOffset + TTM_PL_SYNCCPU, arg, ret); in releasefromcpu_locked()
438 struct _TTMPool *ttmPool = ttmGetPool(dBuf); in pool_waitIdle() local
446 DRMRESTARTCOMMANDWRITE(pool->fd, ttmPool->devOffset + TTM_PL_WAITIDLE, in pool_waitIdle()
455 struct _TTMPool *ttmPool = containerOf(pool, struct _TTMPool, pool); in pool_takedown() local
457 free(ttmPool); in pool_takedown()
465 struct _TTMPool *ttmPool = ttmGetPool(dBuf); in pool_setStatus() local
477 ttmPool->devOffset + TTM_PL_SETSTATUS, in pool_setStatus()
497 struct _TTMPool *ttmPool; in wsbmTTMPoolInit() local
500 ttmPool = (struct _TTMPool *)calloc(1, sizeof(*ttmPool)); in wsbmTTMPoolInit()
502 if (!ttmPool) in wsbmTTMPoolInit()
505 ttmPool->pageSize = getpagesize(); in wsbmTTMPoolInit()
506 ttmPool->devOffset = devOffset; in wsbmTTMPoolInit()
507 pool = &ttmPool->pool; in wsbmTTMPoolInit()
536 struct _TTMPool *ttmPool = containerOf(pool, struct _TTMPool, pool); in ttm_pool_ub_create() local
538 unsigned pageSize = ttmPool->pageSize; in ttm_pool_ub_create()
561 DRMRESTARTCOMMANDWRITEREAD(pool->fd, ttmPool->devOffset + TTM_PL_CREATE_UB, in ttm_pool_ub_create()