Lines Matching refs:msm_pipe
34 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in query_param() local
36 .pipe = msm_pipe->pipe, in query_param()
54 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in query_queue_param() local
57 .id = msm_pipe->queue_id, in query_queue_param()
74 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in msm_pipe_get_param() local
78 *value = msm_pipe->gpu_id; in msm_pipe_get_param()
81 *value = msm_pipe->gmem; in msm_pipe_get_param()
84 *value = msm_pipe->gmem_base; in msm_pipe_get_param()
87 *value = msm_pipe->chip_id; in msm_pipe_get_param()
168 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in msm_pipe_destroy() local
169 close_submitqueue(pipe, msm_pipe->queue_id); in msm_pipe_destroy()
170 msm_pipe_sp_ringpool_init(msm_pipe); in msm_pipe_destroy()
171 free(msm_pipe); in msm_pipe_destroy()
208 struct msm_pipe *msm_pipe = NULL; in msm_pipe_new() local
211 msm_pipe = calloc(1, sizeof(*msm_pipe)); in msm_pipe_new()
212 if (!msm_pipe) { in msm_pipe_new()
217 pipe = &msm_pipe->base; in msm_pipe_new()
227 msm_pipe->pipe = pipe_id[id]; in msm_pipe_new()
230 msm_pipe->gpu_id = get_param(pipe, MSM_PARAM_GPU_ID); in msm_pipe_new()
231 msm_pipe->gmem = get_param(pipe, MSM_PARAM_GMEM_SIZE); in msm_pipe_new()
232 msm_pipe->chip_id = get_param(pipe, MSM_PARAM_CHIP_ID); in msm_pipe_new()
235 msm_pipe->gmem_base = get_param(pipe, MSM_PARAM_GMEM_BASE); in msm_pipe_new()
237 if (! msm_pipe->gpu_id) in msm_pipe_new()
241 INFO_MSG(" GPU-id: %d", msm_pipe->gpu_id); in msm_pipe_new()
242 INFO_MSG(" Chip-id: 0x%08x", msm_pipe->chip_id); in msm_pipe_new()
243 INFO_MSG(" GMEM size: 0x%08x", msm_pipe->gmem); in msm_pipe_new()
248 msm_pipe_sp_ringpool_init(msm_pipe); in msm_pipe_new()