Lines Matching refs:prim
80 drm_mga_primary_buffer_t prim; member
231 if (test_bit(0, &dev_priv->prim.wrapped)) { \
234 } else if (dev_priv->prim.space < \
235 dev_priv->prim.high_mark) { \
245 if (test_bit(0, &dev_priv->prim.wrapped)) { \
261 #define DMA_LOCALS unsigned int write; volatile u8 *prim;
270 dev_priv->prim.space, (n) * DMA_BLOCK_SIZE); \
272 prim = dev_priv->prim.start; \
273 write = dev_priv->prim.tail; \
280 DRM_INFO(" space=0x%x\n", dev_priv->prim.space); \
282 prim = dev_priv->prim.start; \
283 write = dev_priv->prim.tail; \
288 dev_priv->prim.tail = write; \
291 write, dev_priv->prim.space); \
299 dev_priv->prim.tail, \
303 if (!test_bit(0, &dev_priv->prim.wrapped)) { \
304 if (dev_priv->prim.space < dev_priv->prim.high_mark) \
318 *(volatile u32 *)(prim + write + (offset) * sizeof(u32)) = val; \
351 entry->age.head = (dev_priv->prim.tail + \