Lines Matching refs:dsi_config

178 	struct mdfld_dsi_config *dsi_config =  in mdfld_dsi_configure_down()  local
180 struct drm_device *dev = dsi_config->dev; in mdfld_dsi_configure_down()
199 struct mdfld_dsi_config *dsi_config = in mdfld_dsi_configure_up() local
201 struct drm_device *dev = dsi_config->dev; in mdfld_dsi_configure_up()
229 static void mdfld_dsi_tpo_ic_init(struct mdfld_dsi_config *dsi_config, u32 pipe) in mdfld_dsi_tpo_ic_init() argument
231 struct drm_device *dev = dsi_config->dev; in mdfld_dsi_tpo_ic_init()
232 u32 dcsChannelNumber = dsi_config->channel_num; in mdfld_dsi_tpo_ic_init()
466 void mdfld_dsi_dpi_controller_init(struct mdfld_dsi_config *dsi_config, in mdfld_dsi_dpi_controller_init() argument
469 struct drm_device *dev = dsi_config->dev; in mdfld_dsi_dpi_controller_init()
470 int lane_count = dsi_config->lane_count; in mdfld_dsi_dpi_controller_init()
472 struct drm_display_mode *mode = dsi_config->mode; in mdfld_dsi_dpi_controller_init()
486 val |= dsi_config->channel_num << DSI_DPI_VIRT_CHANNEL_OFFSET; in mdfld_dsi_dpi_controller_init()
488 switch (dsi_config->bpp) { in mdfld_dsi_dpi_controller_init()
500 dsi_config->bpp); in mdfld_dsi_dpi_controller_init()
505 (mode->vtotal * mode->htotal * dsi_config->bpp / in mdfld_dsi_dpi_controller_init()
523 dsi_config->lane_count, dsi_config->bpp); in mdfld_dsi_dpi_controller_init()
546 val = dsi_config->video_mode | DSI_DPI_COMPLETE_LAST_LINE; in mdfld_dsi_dpi_controller_init()
638 struct mdfld_dsi_config *dsi_config = in mdfld_dsi_dpi_set_power() local
641 struct drm_device *dev = dsi_config->dev; in mdfld_dsi_dpi_set_power()
660 mdfld_dsi_tpo_ic_init(dsi_config, pipe); in mdfld_dsi_dpi_set_power()
691 struct mdfld_dsi_config *dsi_config = in mdfld_dsi_dpi_mode_fixup() local
693 struct drm_display_mode *fixed_mode = dsi_config->fixed_mode; in mdfld_dsi_dpi_mode_fixup()
723 static void mipi_set_properties(struct mdfld_dsi_config *dsi_config, int pipe) in mipi_set_properties() argument
725 struct drm_device *dev = dsi_config->dev; in mipi_set_properties()
741 static void mdfld_mipi_set_video_timing(struct mdfld_dsi_config *dsi_config, in mdfld_mipi_set_video_timing() argument
744 struct drm_device *dev = dsi_config->dev; in mdfld_mipi_set_video_timing()
746 struct drm_display_mode *mode = dsi_config->mode; in mdfld_mipi_set_video_timing()
749 dsi_config->lane_count, in mdfld_mipi_set_video_timing()
750 dsi_config->bpp); in mdfld_mipi_set_video_timing()
770 static void mdfld_mipi_config(struct mdfld_dsi_config *dsi_config, int pipe) in mdfld_mipi_config() argument
772 struct drm_device *dev = dsi_config->dev; in mdfld_mipi_config()
773 int lane_count = dsi_config->lane_count; in mdfld_mipi_config()
789 mdfld_mipi_set_video_timing(dsi_config, pipe); in mdfld_mipi_config()
792 static void mdfld_set_pipe_timing(struct mdfld_dsi_config *dsi_config, int pipe) in mdfld_set_pipe_timing() argument
794 struct drm_device *dev = dsi_config->dev; in mdfld_set_pipe_timing()
795 struct drm_display_mode *mode = dsi_config->mode; in mdfld_set_pipe_timing()
819 struct mdfld_dsi_config *dsi_config = in mdfld_dsi_dpi_mode_set() local
821 struct drm_device *dev = dsi_config->dev; in mdfld_dsi_dpi_mode_set()
867 mipi_set_properties(dsi_config, pipe); in mdfld_dsi_dpi_mode_set()
868 mdfld_mipi_config(dsi_config, pipe); in mdfld_dsi_dpi_mode_set()
869 mdfld_set_pipe_timing(dsi_config, pipe); in mdfld_dsi_dpi_mode_set()
893 mdfld_dsi_dpi_controller_init(dsi_config, pipe); in mdfld_dsi_dpi_mode_set()
919 mdfld_dsi_tpo_ic_init(dsi_config, pipe); in mdfld_dsi_dpi_mode_set()
921 mdfld_dsi_brightness_init(dsi_config, pipe); in mdfld_dsi_dpi_mode_set()
937 struct mdfld_dsi_config *dsi_config; in mdfld_dsi_dpi_init() local
947 dsi_config = mdfld_dsi_get_config(dsi_connector); in mdfld_dsi_dpi_init()
960 p_funcs->drv_ic_init(dsi_config, pipe); in mdfld_dsi_dpi_init()
963 ret = mdfld_dsi_get_power_mode(dsi_config, &data, false); in mdfld_dsi_dpi_init()
990 dsi_config = mdfld_dsi_get_config(dsi_connector); in mdfld_dsi_dpi_init()