Lines Matching refs:max
99 uint32_t max; in vmw_fifo_init() local
146 max = ioread32(fifo_mem + SVGA_FIFO_MAX); in vmw_fifo_init()
151 (unsigned int) max, in vmw_fifo_init()
212 uint32_t max = ioread32(fifo_mem + SVGA_FIFO_MAX); in vmw_fifo_is_full() local
217 return ((max - next_cmd) + (stop - min) <= bytes); in vmw_fifo_is_full()
319 uint32_t max; in vmw_fifo_reserve() local
326 max = ioread32(fifo_mem + SVGA_FIFO_MAX); in vmw_fifo_reserve()
330 if (unlikely(bytes >= (max - min))) in vmw_fifo_reserve()
344 if (likely((next_cmd + bytes < max || in vmw_fifo_reserve()
345 (next_cmd + bytes == max && stop > min)))) in vmw_fifo_reserve()
400 uint32_t max, uint32_t min, uint32_t bytes) in vmw_fifo_res_copy() argument
402 uint32_t chunk_size = max - next_cmd; in vmw_fifo_res_copy()
422 uint32_t max, uint32_t min, uint32_t bytes) in vmw_fifo_slow_copy() argument
430 if (unlikely(next_cmd == max)) in vmw_fifo_slow_copy()
444 uint32_t max = ioread32(fifo_mem + SVGA_FIFO_MAX); in vmw_fifo_commit() local
456 next_cmd, max, min, bytes); in vmw_fifo_commit()
459 next_cmd, max, min, bytes); in vmw_fifo_commit()
471 if (next_cmd >= max) in vmw_fifo_commit()
472 next_cmd -= max - min; in vmw_fifo_commit()