Lines Matching refs:DRM_IOCTL
64 static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) in DRM_IOCTL() function
262 if ((ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ADDFB, &f))) in drmModeAddFB()
288 if ((ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ADDFB2, &f))) in drmModeAddFB2WithModifiers()
308 return DRM_IOCTL(fd, DRM_IOCTL_MODE_RMFB, &bufferId); in drmModeRmFB()
346 return DRM_IOCTL(fd, DRM_IOCTL_MODE_DIRTYFB, &dirty); in drmModeDirtyFB()
403 return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETCRTC, &crtc); in drmModeSetCrtc()
421 return DRM_IOCTL(fd, DRM_IOCTL_MODE_CURSOR, &arg); in drmModeSetCursor()
437 return DRM_IOCTL(fd, DRM_IOCTL_MODE_CURSOR2, &arg); in drmModeSetCursor2()
450 return DRM_IOCTL(fd, DRM_IOCTL_MODE_CURSOR, &arg); in drmModeMoveCursor()
606 return DRM_IOCTL(fd, DRM_IOCTL_MODE_ATTACHMODE, &res); in drmModeAttachMode()
617 return DRM_IOCTL(fd, DRM_IOCTL_MODE_DETACHMODE, &res); in drmModeDetachMode()
734 return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETPROPERTY, &osp); in drmModeConnectorSetProperty()
863 return DRM_IOCTL(fd, DRM_IOCTL_MODE_GETGAMMA, &l); in drmModeCrtcGetGamma()
878 return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETGAMMA, &l); in drmModeCrtcSetGamma()
960 return DRM_IOCTL(fd, DRM_IOCTL_MODE_PAGE_FLIP, &flip); in drmModePageFlip()
976 return DRM_IOCTL(fd, DRM_IOCTL_MODE_PAGE_FLIP, &flip_target); in drmModePageFlipTarget()
1002 return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETPLANE, &s); in drmModeSetPlane()
1200 return DRM_IOCTL(fd, DRM_IOCTL_MODE_OBJ_SETPROPERTY, &prop); in drmModeObjectSetProperty()
1451 ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ATOMIC, &atomic); in drmModeAtomicCommit()
1479 ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_CREATEPROPBLOB, &create); in drmModeCreatePropertyBlob()
1494 return DRM_IOCTL(fd, DRM_IOCTL_MODE_DESTROYPROPBLOB, &destroy); in drmModeDestroyPropertyBlob()
1508 ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_CREATE_LEASE, &create); in drmModeCreateLease()
1525 if (DRM_IOCTL(fd, DRM_IOCTL_MODE_LIST_LESSEES, &list)) in drmModeListLessees()
1534 if (DRM_IOCTL(fd, DRM_IOCTL_MODE_LIST_LESSEES, &list)) { in drmModeListLessees()
1552 if (DRM_IOCTL(fd, DRM_IOCTL_MODE_GET_LEASE, &get)) in drmModeGetLease()
1561 if (DRM_IOCTL(fd, DRM_IOCTL_MODE_GET_LEASE, &get)) { in drmModeGetLease()
1580 ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_REVOKE_LEASE, &revoke); in drmModeRevokeLease()