Lines Matching defs:max
106 uint32_t max;
152 max = vmw_mmio_read(fifo_mem + SVGA_FIFO_MAX);
156 DRM_INFO("Fifo max 0x%08x min 0x%08x cap 0x%08x\n",
157 (unsigned int) max,
209 uint32_t max = vmw_mmio_read(fifo_mem + SVGA_FIFO_MAX);
214 return ((max - next_cmd) + (stop - min) <= bytes);
302 uint32_t max;
309 max = vmw_mmio_read(fifo_mem + SVGA_FIFO_MAX);
313 if (unlikely(bytes >= (max - min)))
327 if (likely((next_cmd + bytes < max ||
328 (next_cmd + bytes == max && stop > min))))
407 uint32_t max, uint32_t min, uint32_t bytes)
409 uint32_t chunk_size = max - next_cmd;
428 uint32_t max, uint32_t min, uint32_t bytes)
436 if (unlikely(next_cmd == max))
450 uint32_t max = vmw_mmio_read(fifo_mem + SVGA_FIFO_MAX);
466 next_cmd, max, min, bytes);
469 next_cmd, max, min, bytes);
481 if (next_cmd >= max)
482 next_cmd -= max - min;