Lines Matching refs:DRM_CAS
360 #define DRM_CAS(lock,old,new,__ret) \ macro
375 #define DRM_CAS(lock, old, new, ret) \ macro
400 #define DRM_CAS(lock,old,new,__ret) \ macro
426 #define DRM_CAS(lock,old,new,__ret) \ macro
438 #define DRM_CAS(lock,old,new,__ret) \ macro
456 #define DRM_CAS(lock,old,new,__ret) \ macro
475 #ifndef DRM_CAS
476 #define DRM_CAS(lock,old,new,ret) do { ret=1; } while (0) /* FAST LOCK FAILS */ macro
490 DRM_CAS(lock,context,DRM_LOCK_HELD|context,__ret); \
499 DRM_CAS(lock,context,DRM_LOCK_HELD|context,__ret); \
513 DRM_CAS(lock,DRM_LOCK_HELD|context,context,__ret); \
522 DRM_CAS(spin,0,val,__ret); \
533 DRM_CAS(spin,cur,val,__ret); \
542 DRM_CAS(spin,0,val,__ret); \
552 DRM_CAS(spin,val,0,__ret); \