Home
last modified time | relevance | path

Searched refs:fg_cfg (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/kmb/
Dkmb_dsi.c491 struct mipi_tx_frame_timing_cfg *fg_cfg) in mipi_tx_fg_cfg_regs() argument
514 ppl_llp_ratio = ((fg_cfg->bpp / 8) * sysclk * 1000) / in mipi_tx_fg_cfg_regs()
515 ((fg_cfg->lane_rate_mbps / 8) * fg_cfg->active_lanes); in mipi_tx_fg_cfg_regs()
519 fg_cfg->bpp, sysclk, fg_cfg->lane_rate_mbps, in mipi_tx_fg_cfg_regs()
520 fg_cfg->active_lanes); in mipi_tx_fg_cfg_regs()
524 kmb_write_mipi(kmb_dsi, reg_adr, fg_cfg->v_active); in mipi_tx_fg_cfg_regs()
534 kmb_write_bits_mipi(kmb_dsi, reg_adr, offset, 16, fg_cfg->vsync_width); in mipi_tx_fg_cfg_regs()
538 kmb_write_bits_mipi(kmb_dsi, reg_adr, offset, 16, fg_cfg->v_backporch); in mipi_tx_fg_cfg_regs()
542 kmb_write_bits_mipi(kmb_dsi, reg_adr, offset, 16, fg_cfg->v_frontporch); in mipi_tx_fg_cfg_regs()
546 kmb_write_bits_mipi(kmb_dsi, reg_adr, offset, 16, fg_cfg->v_active); in mipi_tx_fg_cfg_regs()
[all …]