Lines Matching refs:msm_pipe
39 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in msm_pipe_get_param() local
43 *value = msm_pipe->gpu_id; in msm_pipe_get_param()
46 *value = msm_pipe->gmem; in msm_pipe_get_param()
49 *value = msm_pipe->chip_id; in msm_pipe_get_param()
79 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in msm_pipe_destroy() local
80 free(msm_pipe); in msm_pipe_destroy()
114 struct msm_pipe *msm_pipe = NULL; in msm_pipe_new() local
117 msm_pipe = calloc(1, sizeof(*msm_pipe)); in msm_pipe_new()
118 if (!msm_pipe) { in msm_pipe_new()
123 pipe = &msm_pipe->base; in msm_pipe_new()
126 msm_pipe->pipe = pipe_id[id]; in msm_pipe_new()
127 msm_pipe->gpu_id = get_param(dev, pipe_id[id], MSM_PARAM_GPU_ID); in msm_pipe_new()
128 msm_pipe->gmem = get_param(dev, pipe_id[id], MSM_PARAM_GMEM_SIZE); in msm_pipe_new()
129 msm_pipe->chip_id = get_param(dev, pipe_id[id], MSM_PARAM_CHIP_ID); in msm_pipe_new()
131 if (! msm_pipe->gpu_id) in msm_pipe_new()
135 INFO_MSG(" GPU-id: %d", msm_pipe->gpu_id); in msm_pipe_new()
136 INFO_MSG(" Chip-id: 0x%08x", msm_pipe->chip_id); in msm_pipe_new()
137 INFO_MSG(" GMEM size: 0x%08x", msm_pipe->gmem); in msm_pipe_new()