Lines Matching refs:drmIoctl
202 drmIoctl(int fd, unsigned long request, void *arg) in drmIoctl() function
896 if (drmIoctl(fd, DRM_IOCTL_VERSION, version)) { in drmGetVersion()
908 if (drmIoctl(fd, DRM_IOCTL_VERSION, version)) { in drmGetVersion()
968 ret = drmIoctl(fd, DRM_IOCTL_GET_CAP, &cap); in drmGetCap()
984 return drmIoctl(fd, DRM_IOCTL_SET_CLIENT_CAP, &cap); in drmSetClientCap()
1019 if (drmIoctl(fd, DRM_IOCTL_GET_UNIQUE, &u)) in drmGetBusid()
1022 if (drmIoctl(fd, DRM_IOCTL_GET_UNIQUE, &u)) { in drmGetBusid()
1052 if (drmIoctl(fd, DRM_IOCTL_SET_UNIQUE, &u)) { in drmSetBusid()
1065 if (drmIoctl(fd, DRM_IOCTL_GET_MAGIC, &auth)) in drmGetMagic()
1077 if (drmIoctl(fd, DRM_IOCTL_AUTH_MAGIC, &auth)) in drmAuthMagic()
1142 if (drmIoctl(fd, DRM_IOCTL_ADD_MAP, &map)) in drmAddMap()
1156 if(drmIoctl(fd, DRM_IOCTL_RM_MAP, &map)) in drmRmMap()
1188 if (drmIoctl(fd, DRM_IOCTL_ADD_BUFS, &request)) in drmAddBufs()
1200 if (drmIoctl(fd, DRM_IOCTL_INFO_BUFS, &info)) in drmMarkBufs()
1209 if (drmIoctl(fd, DRM_IOCTL_INFO_BUFS, &info)) { in drmMarkBufs()
1218 if (drmIoctl(fd, DRM_IOCTL_MARK_BUFS, &info.list[i])) { in drmMarkBufs()
1251 if (drmIoctl(fd, DRM_IOCTL_FREE_BUFS, &request)) in drmFreeBufs()
1340 if (drmIoctl(fd, DRM_IOCTL_INFO_BUFS, &info)) in drmGetBufInfo()
1347 if (drmIoctl(fd, DRM_IOCTL_INFO_BUFS, &info)) { in drmGetBufInfo()
1394 if (drmIoctl(fd, DRM_IOCTL_MAP_BUFS, &bufs)) in drmMapBufs()
1403 if (drmIoctl(fd, DRM_IOCTL_MAP_BUFS, &bufs)) { in drmMapBufs()
1517 while (drmIoctl(fd, DRM_IOCTL_LOCK, &lock)) in drmGetLock()
1540 return drmIoctl(fd, DRM_IOCTL_UNLOCK, &lock); in drmUnlock()
1551 if (drmIoctl(fd, DRM_IOCTL_RES_CTX, &res)) in drmGetReservedContextList()
1563 if (drmIoctl(fd, DRM_IOCTL_RES_CTX, &res)) in drmGetReservedContextList()
1608 if (drmIoctl(fd, DRM_IOCTL_ADD_CTX, &ctx)) in drmCreateContext()
1620 if (drmIoctl(fd, DRM_IOCTL_SWITCH_CTX, &ctx)) in drmSwitchToContext()
1642 if (drmIoctl(fd, DRM_IOCTL_MOD_CTX, &ctx)) in drmSetContextFlags()
1654 if (drmIoctl(fd, DRM_IOCTL_GET_CTX, &ctx)) in drmGetContextFlags()
1687 if (drmIoctl(fd, DRM_IOCTL_RM_CTX, &ctx)) in drmDestroyContext()
1697 if (drmIoctl(fd, DRM_IOCTL_ADD_DRAW, &draw)) in drmCreateDrawable()
1709 if (drmIoctl(fd, DRM_IOCTL_RM_DRAW, &draw)) in drmDestroyDrawable()
1726 if (drmIoctl(fd, DRM_IOCTL_UPDATE_DRAW, &update)) in drmUpdateDrawableInfo()
1740 ret = drmIoctl(fd, DRM_IOCTL_CRTC_GET_SEQUENCE, &get_seq); in drmCrtcGetSequence()
1765 ret = drmIoctl(fd, DRM_IOCTL_CRTC_QUEUE_SEQUENCE, &queue_seq); in drmCrtcQueueSequence()
1786 if (drmIoctl(fd, DRM_IOCTL_AGP_ACQUIRE, NULL)) in drmAgpAcquire()
1804 if (drmIoctl(fd, DRM_IOCTL_AGP_RELEASE, NULL)) in drmAgpRelease()
1828 if (drmIoctl(fd, DRM_IOCTL_AGP_ENABLE, &m)) in drmAgpEnable()
1859 if (drmIoctl(fd, DRM_IOCTL_AGP_ALLOC, &b)) in drmAgpAlloc()
1886 if (drmIoctl(fd, DRM_IOCTL_AGP_FREE, &b)) in drmAgpFree()
1912 if (drmIoctl(fd, DRM_IOCTL_AGP_BIND, &b)) in drmAgpBind()
1936 if (drmIoctl(fd, DRM_IOCTL_AGP_UNBIND, &b)) in drmAgpUnbind()
1959 if (drmIoctl(fd, DRM_IOCTL_AGP_INFO, &i)) in drmAgpVersionMajor()
1982 if (drmIoctl(fd, DRM_IOCTL_AGP_INFO, &i)) in drmAgpVersionMinor()
2005 if (drmIoctl(fd, DRM_IOCTL_AGP_INFO, &i)) in drmAgpGetMode()
2028 if (drmIoctl(fd, DRM_IOCTL_AGP_INFO, &i)) in drmAgpBase()
2051 if (drmIoctl(fd, DRM_IOCTL_AGP_INFO, &i)) in drmAgpSize()
2074 if (drmIoctl(fd, DRM_IOCTL_AGP_INFO, &i)) in drmAgpMemoryUsed()
2097 if (drmIoctl(fd, DRM_IOCTL_AGP_INFO, &i)) in drmAgpMemoryAvail()
2120 if (drmIoctl(fd, DRM_IOCTL_AGP_INFO, &i)) in drmAgpVendorId()
2143 if (drmIoctl(fd, DRM_IOCTL_AGP_INFO, &i)) in drmAgpDeviceId()
2157 if (drmIoctl(fd, DRM_IOCTL_SG_ALLOC, &sg)) in drmScatterGatherAlloc()
2169 if (drmIoctl(fd, DRM_IOCTL_SG_FREE, &sg)) in drmScatterGatherFree()
2261 if (drmIoctl(fd, DRM_IOCTL_CONTROL, &ctl)) in drmCtlInstHandler()
2285 if (drmIoctl(fd, DRM_IOCTL_CONTROL, &ctl)) in drmCtlUninstHandler()
2302 if (drmIoctl(fd, DRM_IOCTL_FINISH, &lock)) in drmFinish()
2330 if (drmIoctl(fd, DRM_IOCTL_IRQ_BUSID, &p)) in drmGetInterruptFromBusID()
2373 if (drmIoctl(fd, DRM_IOCTL_SET_SAREA_CTX, &map)) in drmAddContextPrivateMapping()
2386 if (drmIoctl(fd, DRM_IOCTL_GET_SAREA_CTX, &map)) in drmGetContextPrivateMapping()
2402 if (drmIoctl(fd, DRM_IOCTL_GET_MAP, &map)) in drmGetMap()
2420 if (drmIoctl(fd, DRM_IOCTL_GET_CLIENT, &client)) in drmGetClient()
2436 if (drmIoctl(fd, DRM_IOCTL_GET_STATS, &s)) in drmGetStats()
2579 if (drmIoctl(fd, DRM_IOCTL_SET_VERSION, &sv)) { in drmSetInterfaceVersion()
2609 if (drmIoctl(fd, request, NULL)) { in drmCommandNone()
2638 if (drmIoctl(fd, request, data)) { in drmCommandRead()
2667 if (drmIoctl(fd, request, data)) { in drmCommandWrite()
2696 if (drmIoctl(fd, request, data)) in drmCommandWriteRead()
2771 return drmIoctl(fd, DRM_IOCTL_SET_MASTER, NULL); in drmSetMaster()
2776 return drmIoctl(fd, DRM_IOCTL_DROP_MASTER, NULL); in drmDropMaster()
2893 ret = drmIoctl(fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &args); in drmPrimeHandleToFD()
2908 ret = drmIoctl(fd, DRM_IOCTL_PRIME_FD_TO_HANDLE, &args); in drmPrimeFDToHandle()
3267 if (drmIoctl(fd, DRM_IOCTL_GET_PCIINFO, &pinfo)) { in drmParsePciBusInfo()
3435 if (drmIoctl(fd, DRM_IOCTL_GET_PCIINFO, &pinfo)) { in drmParsePciDeviceInfo()
4372 ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_CREATE, &args); in drmSyncobjCreate()
4385 return drmIoctl(fd, DRM_IOCTL_SYNCOBJ_DESTROY, &args); in drmSyncobjDestroy()
4396 ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD, &args); in drmSyncobjHandleToFD()
4411 ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE, &args); in drmSyncobjFDToHandle()
4427 return drmIoctl(fd, DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE, &args); in drmSyncobjImportSyncFile()
4440 ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD, &args); in drmSyncobjExportSyncFile()
4460 ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &args); in drmSyncobjWait()
4479 ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_RESET, &args); in drmSyncobjReset()
4493 ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_SIGNAL, &args); in drmSyncobjSignal()
4508 ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_TIMELINE_SIGNAL, &args); in drmSyncobjTimelineSignal()
4527 ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_TIMELINE_WAIT, &args); in drmSyncobjTimelineWait()
4548 ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_QUERY, &args); in drmSyncobjQuery()
4565 return drmIoctl(fd, DRM_IOCTL_SYNCOBJ_QUERY, &args); in drmSyncobjQuery2()
4584 ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_TRANSFER, &args); in drmSyncobjTransfer()