Lines Matching refs:horizontal_frontporch_byte
437 u32 horizontal_frontporch_byte; in mtk_dsi_config_vdo_timing_per_frame_lp() local
478 horizontal_frontporch_byte = vm->hfront_porch * dsi_tmp_buf_bpp - hfp_byte_adjust; in mtk_dsi_config_vdo_timing_per_frame_lp()
480 horizontal_frontporch_byte) % dsi->lanes; in mtk_dsi_config_vdo_timing_per_frame_lp()
493 horizontal_frontporch_byte |= FIELD_PREP(HFP_HS_EN, 1) | in mtk_dsi_config_vdo_timing_per_frame_lp()
498 writel(horizontal_frontporch_byte, dsi->regs + DSI_HFP_WC); in mtk_dsi_config_vdo_timing_per_frame_lp()
505 u32 horizontal_frontporch_byte; in mtk_dsi_config_vdo_timing_per_line_lp() local
532 horizontal_frontporch_byte = vm->hfront_porch * dsi_tmp_buf_bpp; in mtk_dsi_config_vdo_timing_per_line_lp()
533 horizontal_front_back_byte = horizontal_frontporch_byte + horizontal_backporch_byte; in mtk_dsi_config_vdo_timing_per_line_lp()
537 horizontal_frontporch_byte -= data_phy_cycles_byte * in mtk_dsi_config_vdo_timing_per_line_lp()
538 horizontal_frontporch_byte / in mtk_dsi_config_vdo_timing_per_line_lp()
552 horizontal_frontporch_byte = in mtk_dsi_config_vdo_timing_per_line_lp()
553 roundup(horizontal_frontporch_byte, dsi->lanes) - 2; in mtk_dsi_config_vdo_timing_per_line_lp()
562 writel(horizontal_frontporch_byte, dsi->regs + DSI_HFP_WC); in mtk_dsi_config_vdo_timing_per_line_lp()