Lines Matching refs:user_size
29 BUG_ON(buffer->user_size >= buffer->size); in OUT()
31 vaddr[buffer->user_size / 4] = data; in OUT()
32 buffer->user_size += 4; in OUT()
40 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_LOAD_STATE()
51 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_END()
58 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_WAIT()
66 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_LINK()
76 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_STALL()
154 if (buffer->user_size + cmd_dwords * sizeof(u64) > buffer->size) in etnaviv_buffer_reserve()
155 buffer->user_size = 0; in etnaviv_buffer_reserve()
159 buffer->user_size; in etnaviv_buffer_reserve()
169 buffer->user_size = 0; in etnaviv_buffer_init()
174 + buffer->user_size - 4); in etnaviv_buffer_init()
176 return buffer->user_size / 8; in etnaviv_buffer_init()
185 buffer->user_size = 0; in etnaviv_buffer_config_mmuv2()
209 buffer->user_size = ALIGN(buffer->user_size, 8); in etnaviv_buffer_config_mmuv2()
211 return buffer->user_size / 8; in etnaviv_buffer_config_mmuv2()
220 buffer->user_size = 0; in etnaviv_buffer_config_pta()
227 buffer->user_size = ALIGN(buffer->user_size, 8); in etnaviv_buffer_config_pta()
229 return buffer->user_size / 8; in etnaviv_buffer_config_pta()
235 unsigned int waitlink_offset = buffer->user_size - 16; in etnaviv_buffer_end()
303 unsigned int waitlink_offset = buffer->user_size - 16; in etnaviv_sync_point_queue()
326 + buffer->user_size - 4); in etnaviv_sync_point_queue()
344 unsigned int waitlink_offset = buffer->user_size - 16; in etnaviv_buffer_queue()
509 + buffer->user_size - 4); in etnaviv_buffer_queue()