Lines Matching refs:pipe
115 static inline u32 pipe2client(enum mdp5_pipe pipe, int plane) in pipe2client() argument
119 if (WARN_ON(plane >= pipe2nclients(pipe))) in pipe2client()
134 return mdp5_cfg->smp.clients[pipe] + plane; in pipe2client()
192 enum mdp5_pipe pipe, int nblks) in set_fifo_thresholds() argument
201 mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_0(pipe), val * 1); in set_fifo_thresholds()
202 mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_1(pipe), val * 2); in set_fifo_thresholds()
203 mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_2(pipe), val * 3); in set_fifo_thresholds()
212 int mdp5_smp_request(struct mdp5_smp *smp, enum mdp5_pipe pipe, in mdp5_smp_request() argument
254 DBG("%s[%d]: request %d SMP blocks", pipe2name(pipe), i, n); in mdp5_smp_request()
255 ret = smp_request_block(smp, pipe2client(pipe, i), n); in mdp5_smp_request()
265 set_fifo_thresholds(smp, pipe, nblks); in mdp5_smp_request()
271 void mdp5_smp_release(struct mdp5_smp *smp, enum mdp5_pipe pipe) in mdp5_smp_release() argument
277 for (i = 0; i < pipe2nclients(pipe); i++) { in mdp5_smp_release()
279 u32 cid = pipe2client(pipe, i); in mdp5_smp_release()
300 set_fifo_thresholds(smp, pipe, 0); in mdp5_smp_release()
337 void mdp5_smp_configure(struct mdp5_smp *smp, enum mdp5_pipe pipe) in mdp5_smp_configure() argument
343 for (i = 0; i < pipe2nclients(pipe); i++) { in mdp5_smp_configure()
344 u32 cid = pipe2client(pipe, i); in mdp5_smp_configure()
361 void mdp5_smp_commit(struct mdp5_smp *smp, enum mdp5_pipe pipe) in mdp5_smp_commit() argument
367 for (i = 0; i < pipe2nclients(pipe); i++) { in mdp5_smp_commit()
368 u32 cid = pipe2client(pipe, i); in mdp5_smp_commit()