Lines Matching refs:DRM_CAS
352 #define DRM_CAS(lock,old,new,__ret) \ macro
367 #define DRM_CAS(lock, old, new, ret) \ macro
392 #define DRM_CAS(lock,old,new,__ret) \ macro
418 #define DRM_CAS(lock,old,new,__ret) \ macro
430 #define DRM_CAS(lock,old,new,__ret) \ macro
448 #define DRM_CAS(lock,old,new,__ret) \ macro
467 #ifndef DRM_CAS
468 #define DRM_CAS(lock,old,new,ret) do { ret=1; } while (0) /* FAST LOCK FAILS */ macro
482 DRM_CAS(lock,context,DRM_LOCK_HELD|context,__ret); \
491 DRM_CAS(lock,context,DRM_LOCK_HELD|context,__ret); \
505 DRM_CAS(lock,DRM_LOCK_HELD|context,context,__ret); \
514 DRM_CAS(spin,0,val,__ret); \
525 DRM_CAS(spin,cur,val,__ret); \
534 DRM_CAS(spin,0,val,__ret); \
544 DRM_CAS(spin,val,0,__ret); \