Lines Matching refs:pipe
88 static inline u32 pipe2client(enum mdp5_pipe pipe, int plane) in pipe2client() argument
92 if (WARN_ON(plane >= pipe2nclients(pipe))) in pipe2client()
107 return mdp5_cfg->smp.clients[pipe] + plane; in pipe2client()
162 enum mdp5_pipe pipe, int nblks) in set_fifo_thresholds() argument
171 mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_0(pipe), val * 1); in set_fifo_thresholds()
172 mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_1(pipe), val * 2); in set_fifo_thresholds()
173 mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_2(pipe), val * 3); in set_fifo_thresholds()
182 int mdp5_smp_request(struct mdp5_smp *smp, enum mdp5_pipe pipe, u32 fmt, u32 width) in mdp5_smp_request() argument
207 DBG("%s[%d]: request %d SMP blocks", pipe2name(pipe), i, n); in mdp5_smp_request()
208 ret = smp_request_block(smp, pipe2client(pipe, i), n); in mdp5_smp_request()
218 set_fifo_thresholds(smp, pipe, nblks); in mdp5_smp_request()
224 void mdp5_smp_release(struct mdp5_smp *smp, enum mdp5_pipe pipe) in mdp5_smp_release() argument
228 for (i = 0, nblks = 0; i < pipe2nclients(pipe); i++) in mdp5_smp_release()
229 smp_request_block(smp, pipe2client(pipe, i), 0); in mdp5_smp_release()
230 set_fifo_thresholds(smp, pipe, 0); in mdp5_smp_release()
267 void mdp5_smp_configure(struct mdp5_smp *smp, enum mdp5_pipe pipe) in mdp5_smp_configure() argument
273 for (i = 0; i < pipe2nclients(pipe); i++) { in mdp5_smp_configure()
274 u32 cid = pipe2client(pipe, i); in mdp5_smp_configure()
283 void mdp5_smp_commit(struct mdp5_smp *smp, enum mdp5_pipe pipe) in mdp5_smp_commit() argument
289 for (i = 0; i < pipe2nclients(pipe); i++) { in mdp5_smp_commit()
290 u32 cid = pipe2client(pipe, i); in mdp5_smp_commit()