Home
last modified time | relevance | path

Searched refs:DRM_MIN (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/char/drm/
Ddrm_fops.h155 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()
DdrmP.h328 #define DRM_MIN(a,b) ((a)<(b)?(a):(b)) macro
/linux-2.4.37.9/drivers/char/drm-4.0/
Dfops.c174 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()
DdrmP.h290 #define DRM_MIN(a,b) ((a)<(b)?(a):(b)) macro