Lines Matching refs:tmp_reg
385 u32 tmp_reg; in mtk_dsi_rxtx_control() local
389 tmp_reg = 1 << 2; in mtk_dsi_rxtx_control()
392 tmp_reg = 3 << 2; in mtk_dsi_rxtx_control()
395 tmp_reg = 7 << 2; in mtk_dsi_rxtx_control()
398 tmp_reg = 0xf << 2; in mtk_dsi_rxtx_control()
401 tmp_reg = 0xf << 2; in mtk_dsi_rxtx_control()
406 tmp_reg |= HSTX_CKLP_EN; in mtk_dsi_rxtx_control()
409 tmp_reg |= DIS_EOT; in mtk_dsi_rxtx_control()
411 writel(tmp_reg, dsi->regs + DSI_TXRX_CTRL); in mtk_dsi_rxtx_control()
417 u32 tmp_reg; in mtk_dsi_ps_control() local
421 tmp_reg = PACKED_PS_24BIT_RGB888; in mtk_dsi_ps_control()
425 tmp_reg = LOOSELY_PS_18BIT_RGB666; in mtk_dsi_ps_control()
429 tmp_reg = PACKED_PS_18BIT_RGB666; in mtk_dsi_ps_control()
433 tmp_reg = PACKED_PS_16BIT_RGB565; in mtk_dsi_ps_control()
437 tmp_reg = PACKED_PS_24BIT_RGB888; in mtk_dsi_ps_control()
442 tmp_reg += dsi->vm.hactive * dsi_tmp_buf_bpp & DSI_PS_WC; in mtk_dsi_ps_control()
443 writel(tmp_reg, dsi->regs + DSI_PSCTRL); in mtk_dsi_ps_control()