/openbmc/linux/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_kms.c | 18 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_hw_init() local 77 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_enable_commit() local 83 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_disable_commit() local 94 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_wait_flush() local 121 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_destroy() local 163 int mdp4_disable(struct mdp4_kms *mdp4_kms) in mdp4_disable() argument 175 int mdp4_enable(struct mdp4_kms *mdp4_kms) in mdp4_enable() argument 188 static int mdp4_modeset_init_intf(struct mdp4_kms *mdp4_kms, in mdp4_modeset_init_intf() argument 281 static int modeset_init(struct mdp4_kms *mdp4_kms) in modeset_init() argument 383 struct mdp4_kms *mdp4_kms; in mdp4_kms_init() local [all …]
|
H A D | mdp4_irq.c | 23 struct mdp4_kms *mdp4_kms = container_of(irq, struct mdp4_kms, error_handler); in mdp4_irq_error_handler() local 37 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_irq_preinstall() local 38 mdp4_enable(mdp4_kms); in mdp4_irq_preinstall() 41 mdp4_disable(mdp4_kms); in mdp4_irq_preinstall() 47 struct mdp4_kms *mdp4_kms = to_mdp4_kms(mdp_kms); in mdp4_irq_postinstall() local 61 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_irq_uninstall() local 62 mdp4_enable(mdp4_kms); in mdp4_irq_uninstall() 70 struct mdp4_kms *mdp4_kms = to_mdp4_kms(mdp_kms); in mdp4_irq() local 92 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_enable_vblank() local 94 mdp4_enable(mdp4_kms); in mdp4_enable_vblank() [all …]
|
H A D | mdp4_crtc.c | 79 struct mdp4_kms *mdp4_kms = get_kms(crtc); in crtc_flush() local 153 static void setup_mixer(struct mdp4_kms *mdp4_kms) in setup_mixer() argument 180 struct mdp4_kms *mdp4_kms = get_kms(crtc); in blend_setup() local 228 struct mdp4_kms *mdp4_kms = get_kms(crtc); in mdp4_crtc_mode_set_nofb() local 271 struct mdp4_kms *mdp4_kms = get_kms(crtc); in mdp4_crtc_atomic_disable() local 300 struct mdp4_kms *mdp4_kms = get_kms(crtc); in mdp4_crtc_atomic_enable() local 367 struct mdp4_kms *mdp4_kms = get_kms(crtc); in update_cursor() local 417 struct mdp4_kms *mdp4_kms = get_kms(crtc); in mdp4_crtc_cursor_set() local 540 struct mdp4_kms *mdp4_kms = get_kms(crtc); in mdp4_crtc_wait_for_flush_done() local 569 struct mdp4_kms *mdp4_kms = get_kms(crtc); in mdp4_crtc_set_config() local [all …]
|
H A D | mdp4_lcdc_encoder.c | 62 struct mdp4_kms *mdp4_kms = get_kms(encoder); in setup_phy() local 219 struct mdp4_kms *mdp4_kms = get_kms(encoder); in mdp4_lcdc_encoder_mode_set() local 249 mdp4_write(mdp4_kms, REG_MDP4_LCDC_HSYNC_CTRL, in mdp4_lcdc_encoder_mode_set() 254 mdp4_write(mdp4_kms, REG_MDP4_LCDC_DISPLAY_HCTRL, in mdp4_lcdc_encoder_mode_set() 259 mdp4_write(mdp4_kms, REG_MDP4_LCDC_BORDER_CLR, 0); in mdp4_lcdc_encoder_mode_set() 260 mdp4_write(mdp4_kms, REG_MDP4_LCDC_UNDERFLOW_CLR, in mdp4_lcdc_encoder_mode_set() 265 mdp4_write(mdp4_kms, REG_MDP4_LCDC_ACTIVE_HCTL, in mdp4_lcdc_encoder_mode_set() 277 struct mdp4_kms *mdp4_kms = get_kms(encoder); in mdp4_lcdc_encoder_disable() local 284 mdp4_write(mdp4_kms, REG_MDP4_LCDC_ENABLE, 0); in mdp4_lcdc_encoder_disable() 319 struct mdp4_kms *mdp4_kms = get_kms(encoder); in mdp4_lcdc_encoder_enable() local [all …]
|
H A D | mdp4_dsi_encoder.c | 45 struct mdp4_kms *mdp4_kms = get_kms(encoder); in mdp4_dsi_encoder_mode_set() local 71 mdp4_write(mdp4_kms, REG_MDP4_DSI_HSYNC_CTRL, in mdp4_dsi_encoder_mode_set() 76 mdp4_write(mdp4_kms, REG_MDP4_DSI_DISPLAY_HCTRL, in mdp4_dsi_encoder_mode_set() 83 mdp4_write(mdp4_kms, REG_MDP4_DSI_UNDERFLOW_CLR, in mdp4_dsi_encoder_mode_set() 86 mdp4_write(mdp4_kms, REG_MDP4_DSI_ACTIVE_HCTL, in mdp4_dsi_encoder_mode_set() 90 mdp4_write(mdp4_kms, REG_MDP4_DSI_BORDER_CLR, 0); in mdp4_dsi_encoder_mode_set() 92 mdp4_write(mdp4_kms, REG_MDP4_DSI_ACTIVE_VEND, 0); in mdp4_dsi_encoder_mode_set() 98 struct mdp4_kms *mdp4_kms = get_kms(encoder); in mdp4_dsi_encoder_disable() local 103 mdp4_write(mdp4_kms, REG_MDP4_DSI_ENABLE, 0); in mdp4_dsi_encoder_disable() 121 struct mdp4_kms *mdp4_kms = get_kms(encoder); in mdp4_dsi_encoder_enable() local [all …]
|
H A D | mdp4_dtv_encoder.c | 44 struct mdp4_kms *mdp4_kms = get_kms(encoder); in mdp4_dtv_encoder_mode_set() local 74 mdp4_write(mdp4_kms, REG_MDP4_DTV_HSYNC_CTRL, in mdp4_dtv_encoder_mode_set() 79 mdp4_write(mdp4_kms, REG_MDP4_DTV_DISPLAY_HCTRL, in mdp4_dtv_encoder_mode_set() 84 mdp4_write(mdp4_kms, REG_MDP4_DTV_BORDER_CLR, 0); in mdp4_dtv_encoder_mode_set() 85 mdp4_write(mdp4_kms, REG_MDP4_DTV_UNDERFLOW_CLR, in mdp4_dtv_encoder_mode_set() 90 mdp4_write(mdp4_kms, REG_MDP4_DTV_ACTIVE_HCTL, in mdp4_dtv_encoder_mode_set() 94 mdp4_write(mdp4_kms, REG_MDP4_DTV_ACTIVE_VEND, 0); in mdp4_dtv_encoder_mode_set() 100 struct mdp4_kms *mdp4_kms = get_kms(encoder); in mdp4_dtv_encoder_disable() local 105 mdp4_write(mdp4_kms, REG_MDP4_DTV_ENABLE, 0); in mdp4_dtv_encoder_disable() 127 struct mdp4_kms *mdp4_kms = get_kms(encoder); in mdp4_dtv_encoder_enable() local [all …]
|
H A D | mdp4_plane.c | 113 struct mdp4_kms *mdp4_kms = get_kms(plane); in mdp4_plane_cleanup_fb() local 114 struct msm_kms *kms = &mdp4_kms->base.base; in mdp4_plane_cleanup_fb() 159 struct mdp4_kms *mdp4_kms = get_kms(plane); in mdp4_plane_set_scanout() local 160 struct msm_kms *kms = &mdp4_kms->base.base; in mdp4_plane_set_scanout() 181 static void mdp4_write_csc_config(struct mdp4_kms *mdp4_kms, in mdp4_write_csc_config() argument 219 struct mdp4_kms *mdp4_kms = get_kms(plane); in mdp4_plane_mode_set() local 299 mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRC_SIZE(pipe), in mdp4_plane_mode_set() 303 mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRC_XY(pipe), in mdp4_plane_mode_set() 307 mdp4_write(mdp4_kms, REG_MDP4_PIPE_DST_SIZE(pipe), in mdp4_plane_mode_set() 311 mdp4_write(mdp4_kms, REG_MDP4_PIPE_DST_XY(pipe), in mdp4_plane_mode_set() [all …]
|
H A D | mdp4_lvds_pll.c | 19 static struct mdp4_kms *get_kms(struct mdp4_lvds_pll *lvds_pll) in get_kms() 60 struct mdp4_kms *mdp4_kms = get_kms(lvds_pll); in mpd4_lvds_pll_enable() local 69 mdp4_write(mdp4_kms, REG_MDP4_LCDC_LVDS_PHY_RESET, 0x33); in mpd4_lvds_pll_enable() 72 mdp4_write(mdp4_kms, pll_rate->conf[i].reg, pll_rate->conf[i].val); in mpd4_lvds_pll_enable() 74 mdp4_write(mdp4_kms, REG_MDP4_LVDS_PHY_PLL_CTRL_0, 0x01); in mpd4_lvds_pll_enable() 77 while (!mdp4_read(mdp4_kms, REG_MDP4_LVDS_PHY_PLL_LOCKED)) in mpd4_lvds_pll_enable() 86 struct mdp4_kms *mdp4_kms = get_kms(lvds_pll); in mpd4_lvds_pll_disable() local 90 mdp4_write(mdp4_kms, REG_MDP4_LVDS_PHY_CFG0, 0x0); in mpd4_lvds_pll_disable() 91 mdp4_write(mdp4_kms, REG_MDP4_LVDS_PHY_PLL_CTRL_0, 0x0); in mpd4_lvds_pll_disable()
|
H A D | mdp4_kms.h | 19 struct mdp4_kms { struct 43 #define to_mdp4_kms(x) container_of(x, struct mdp4_kms, base) argument 45 static inline void mdp4_write(struct mdp4_kms *mdp4_kms, u32 reg, u32 data) in mdp4_write() argument 47 msm_writel(data, mdp4_kms->mmio + reg); in mdp4_write() 50 static inline u32 mdp4_read(struct mdp4_kms *mdp4_kms, u32 reg) in mdp4_read() argument 52 return msm_readl(mdp4_kms->mmio + reg); in mdp4_read() 149 int mdp4_disable(struct mdp4_kms *mdp4_kms); 150 int mdp4_enable(struct mdp4_kms *mdp4_kms);
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | Makefile | 41 disp/mdp4/mdp4_kms.o \
|
/openbmc/ |
H A D | opengrok1.0.log | 24292 …not file-less due to: /opengrok/data/xref/openbmc/linux/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.h.gz
|
H A D | opengrok2.0.log | 23912 …not file-less due to: /opengrok/data/xref/openbmc/linux/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.h.gz
|