Lines Matching refs:tmp_reg
387 u32 tmp_reg; in mtk_dsi_rxtx_control() local
391 tmp_reg = 1 << 2; in mtk_dsi_rxtx_control()
394 tmp_reg = 3 << 2; in mtk_dsi_rxtx_control()
397 tmp_reg = 7 << 2; in mtk_dsi_rxtx_control()
400 tmp_reg = 0xf << 2; in mtk_dsi_rxtx_control()
403 tmp_reg = 0xf << 2; in mtk_dsi_rxtx_control()
408 tmp_reg |= HSTX_CKLP_EN; in mtk_dsi_rxtx_control()
411 tmp_reg |= DIS_EOT; in mtk_dsi_rxtx_control()
413 writel(tmp_reg, dsi->regs + DSI_TXRX_CTRL); in mtk_dsi_rxtx_control()
419 u32 tmp_reg; in mtk_dsi_ps_control() local
423 tmp_reg = PACKED_PS_24BIT_RGB888; in mtk_dsi_ps_control()
427 tmp_reg = LOOSELY_PS_18BIT_RGB666; in mtk_dsi_ps_control()
431 tmp_reg = PACKED_PS_18BIT_RGB666; in mtk_dsi_ps_control()
435 tmp_reg = PACKED_PS_16BIT_RGB565; in mtk_dsi_ps_control()
439 tmp_reg = PACKED_PS_24BIT_RGB888; in mtk_dsi_ps_control()
444 tmp_reg += dsi->vm.hactive * dsi_tmp_buf_bpp & DSI_PS_WC; in mtk_dsi_ps_control()
445 writel(tmp_reg, dsi->regs + DSI_PSCTRL); in mtk_dsi_ps_control()