Lines Matching refs:mdp5_kms
32 struct mdp5_kms *get_kms(struct mdp5_smp *smp) in get_kms()
121 struct mdp5_kms *mdp5_kms = get_kms(smp); in mdp5_smp_calculate() local
122 int rev = mdp5_cfg_get_hw_rev(mdp5_kms->cfg); in mdp5_smp_calculate()
167 struct mdp5_kms *mdp5_kms = get_kms(smp); in mdp5_smp_assign() local
168 struct drm_device *dev = mdp5_kms->dev; in mdp5_smp_assign()
257 struct mdp5_kms *mdp5_kms = get_kms(smp); in write_smp_alloc_regs() local
263 mdp5_write(mdp5_kms, REG_MDP5_SMP_ALLOC_W_REG(i), in write_smp_alloc_regs()
265 mdp5_write(mdp5_kms, REG_MDP5_SMP_ALLOC_R_REG(i), in write_smp_alloc_regs()
272 struct mdp5_kms *mdp5_kms = get_kms(smp); in write_smp_fifo_regs() local
275 for (i = 0; i < mdp5_kms->num_hwpipes; i++) { in write_smp_fifo_regs()
276 struct mdp5_hw_pipe *hwpipe = mdp5_kms->hwpipes[i]; in write_smp_fifo_regs()
279 mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_0(pipe), in write_smp_fifo_regs()
281 mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_1(pipe), in write_smp_fifo_regs()
283 mdp5_write(mdp5_kms, REG_MDP5_PIPE_REQPRIO_FIFO_WM_2(pipe), in write_smp_fifo_regs()
331 struct mdp5_kms *mdp5_kms = get_kms(smp); in mdp5_smp_dump() local
343 for (i = 0; i < mdp5_kms->num_hwpipes; i++) { in mdp5_smp_dump()
344 struct mdp5_hw_pipe *hwpipe = mdp5_kms->hwpipes[i]; in mdp5_smp_dump()
366 struct mdp5_smp *mdp5_smp_init(struct mdp5_kms *mdp5_kms, const struct mdp5_smp_block *cfg) in mdp5_smp_init() argument
368 struct drm_device *dev = mdp5_kms->dev; in mdp5_smp_init()
377 smp->dev = mdp5_kms->dev; in mdp5_smp_init()
381 global_state = mdp5_get_existing_global_state(mdp5_kms); in mdp5_smp_init()