Lines Matching refs:tmp_reg
384 u32 tmp_reg; in mtk_dsi_rxtx_control() local
388 tmp_reg = 1 << 2; in mtk_dsi_rxtx_control()
391 tmp_reg = 3 << 2; in mtk_dsi_rxtx_control()
394 tmp_reg = 7 << 2; in mtk_dsi_rxtx_control()
397 tmp_reg = 0xf << 2; in mtk_dsi_rxtx_control()
400 tmp_reg = 0xf << 2; in mtk_dsi_rxtx_control()
404 tmp_reg |= (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) << 6; in mtk_dsi_rxtx_control()
405 tmp_reg |= (dsi->mode_flags & MIPI_DSI_MODE_EOT_PACKET) >> 3; in mtk_dsi_rxtx_control()
407 writel(tmp_reg, dsi->regs + DSI_TXRX_CTRL); in mtk_dsi_rxtx_control()
413 u32 tmp_reg; in mtk_dsi_ps_control() local
417 tmp_reg = PACKED_PS_24BIT_RGB888; in mtk_dsi_ps_control()
421 tmp_reg = LOOSELY_PS_18BIT_RGB666; in mtk_dsi_ps_control()
425 tmp_reg = PACKED_PS_18BIT_RGB666; in mtk_dsi_ps_control()
429 tmp_reg = PACKED_PS_16BIT_RGB565; in mtk_dsi_ps_control()
433 tmp_reg = PACKED_PS_24BIT_RGB888; in mtk_dsi_ps_control()
438 tmp_reg += dsi->vm.hactive * dsi_tmp_buf_bpp & DSI_PS_WC; in mtk_dsi_ps_control()
439 writel(tmp_reg, dsi->regs + DSI_PSCTRL); in mtk_dsi_ps_control()