Searched refs:DRM_MIN (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/drivers/char/drm/ |
D | drm_fops.h | 155 send = DRM_MIN(avail, count); in DRM() 159 cur = DRM_MIN(send, dev->buf_wp - dev->buf_rp); in DRM() 161 cur = DRM_MIN(send, dev->buf_end - dev->buf_rp); in DRM() 171 return DRM_MIN(avail, count);; in DRM() 192 count = DRM_MIN(send, dev->buf_end - dev->buf_wp); in DRM() 195 count = DRM_MIN(send, dev->buf_rp - dev->buf_wp - 1); in DRM()
|
D | drmP.h | 328 #define DRM_MIN(a,b) ((a)<(b)?(a):(b)) macro
|
/linux-2.4.37.9/drivers/char/drm-4.0/ |
D | fops.c | 174 send = DRM_MIN(avail, count); in drm_read() 178 cur = DRM_MIN(send, dev->buf_wp - dev->buf_rp); in drm_read() 180 cur = DRM_MIN(send, dev->buf_end - dev->buf_rp); in drm_read() 190 return DRM_MIN(avail, count);; in drm_read() 211 count = DRM_MIN(send, dev->buf_end - dev->buf_wp); in drm_write_string() 214 count = DRM_MIN(send, dev->buf_rp - dev->buf_wp - 1); in drm_write_string()
|
D | drmP.h | 290 #define DRM_MIN(a,b) ((a)<(b)?(a):(b)) macro
|