Searched refs:DRM_LEFTCOUNT (Results 1 – 1 of 1) sorted by relevance
265 #define DRM_LEFTCOUNT(x) (((x)->rp + (x)->count - (x)->wp) % ((x)->count + 1)) macro266 #define DRM_BUFCOUNT(x) ((x)->count - DRM_LEFTCOUNT(x))