Lines Matching refs:tmp_reg
386 u32 tmp_reg; in mtk_dsi_rxtx_control() local
390 tmp_reg = 1 << 2; in mtk_dsi_rxtx_control()
393 tmp_reg = 3 << 2; in mtk_dsi_rxtx_control()
396 tmp_reg = 7 << 2; in mtk_dsi_rxtx_control()
399 tmp_reg = 0xf << 2; in mtk_dsi_rxtx_control()
402 tmp_reg = 0xf << 2; in mtk_dsi_rxtx_control()
407 tmp_reg |= HSTX_CKLP_EN; in mtk_dsi_rxtx_control()
410 tmp_reg |= DIS_EOT; in mtk_dsi_rxtx_control()
412 writel(tmp_reg, dsi->regs + DSI_TXRX_CTRL); in mtk_dsi_rxtx_control()
418 u32 tmp_reg; in mtk_dsi_ps_control() local
422 tmp_reg = PACKED_PS_24BIT_RGB888; in mtk_dsi_ps_control()
426 tmp_reg = LOOSELY_PS_18BIT_RGB666; in mtk_dsi_ps_control()
430 tmp_reg = PACKED_PS_18BIT_RGB666; in mtk_dsi_ps_control()
434 tmp_reg = PACKED_PS_16BIT_RGB565; in mtk_dsi_ps_control()
438 tmp_reg = PACKED_PS_24BIT_RGB888; in mtk_dsi_ps_control()
443 tmp_reg += dsi->vm.hactive * dsi_tmp_buf_bpp & DSI_PS_WC; in mtk_dsi_ps_control()
444 writel(tmp_reg, dsi->regs + DSI_PSCTRL); in mtk_dsi_ps_control()