Lines Matching defs:context
1888 dma.context = request->context;
1916 * \param context context.
1926 drm_public int drmGetLock(int fd, drm_context_t context, drmLockFlags flags)
1931 lock.context = context;
1949 * \param context context.
1957 drm_public int drmUnlock(int fd, drm_context_t context)
1962 lock.context = context;
2009 * Create context.
2012 * per-context kernel-level resources to be allocated.
2037 drm_public int drmSwitchToContext(int fd, drm_context_t context)
2042 ctx.handle = context;
2048 drm_public int drmSetContextFlags(int fd, drm_context_t context,
2054 * Context preserving means that no context switches are done between DMA
2055 * buffers from one context and the next. This is suitable for use in the
2056 * X server (which promises to maintain hardware context), or in the
2060 ctx.handle = context;
2070 drm_public int drmGetContextFlags(int fd, drm_context_t context,
2076 ctx.handle = context;
2088 * Destroy context.
2091 * with the context.
2713 drm_public int drmFinish(int fd, int context, drmLockFlags flags)
2718 lock.context = context;
2758 drm_public int drmAddContextTag(int fd, drm_context_t context, void *tag)
2762 if (drmHashInsert(entry->tagTable, context, tag)) {
2763 drmHashDelete(entry->tagTable, context);
2764 drmHashInsert(entry->tagTable, context, tag);
2769 drm_public int drmDelContextTag(int fd, drm_context_t context)
2773 return drmHashDelete(entry->tagTable, context);
2776 drm_public void *drmGetContextTag(int fd, drm_context_t context)
2781 if (drmHashLookup(entry->tagTable, context, &value))