/drivers/gpu/drm/msm/mdp/mdp4/ |
H A D | mdp4_irq.c | 20 #include "mdp4_kms.h" 34 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); local 35 mdp4_write(mdp4_kms, REG_MDP4_INTR_CLEAR, 0xffffffff); 41 struct mdp4_kms *mdp4_kms = to_mdp4_kms(mdp_kms); local 42 struct mdp_irq *error_handler = &mdp4_kms->error_handler; 55 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); local 56 mdp4_write(mdp4_kms, REG_MDP4_INTR_ENABL 62 struct mdp4_kms *mdp4_kms = to_mdp4_kms(mdp_kms); local [all...] |
H A D | mdp4_kms.c | 21 #include "mdp4_kms.h" 27 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); local 28 struct drm_device *dev = mdp4_kms->dev; 35 mdp4_enable(mdp4_kms); 36 version = mdp4_read(mdp4_kms, REG_MDP4_VERSION); 37 mdp4_disable(mdp4_kms); 51 mdp4_kms->rev = minor; 53 if (mdp4_kms->dsi_pll_vdda) { 54 if ((mdp4_kms 137 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); local 147 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); local 172 mdp4_disable(struct mdp4_kms *mdp4_kms) argument 186 mdp4_enable(struct mdp4_kms *mdp4_kms) argument 222 modeset_init(struct mdp4_kms *mdp4_kms) argument 350 struct mdp4_kms *mdp4_kms; local [all...] |
H A D | mdp4_lvds_pll.c | 21 #include "mdp4_kms.h" 30 static struct mdp4_kms *get_kms(struct mdp4_lvds_pll *lvds_pll) 71 struct mdp4_kms *mdp4_kms = get_kms(lvds_pll); local 80 mdp4_write(mdp4_kms, REG_MDP4_LCDC_LVDS_PHY_RESET, 0x33); 83 mdp4_write(mdp4_kms, pll_rate->conf[i].reg, pll_rate->conf[i].val); 85 mdp4_write(mdp4_kms, REG_MDP4_LVDS_PHY_PLL_CTRL_0, 0x01); 88 while (!mdp4_read(mdp4_kms, REG_MDP4_LVDS_PHY_PLL_LOCKED)) 97 struct mdp4_kms *mdp4_kms local [all...] |
H A D | mdp4_dtv_encoder.c | 18 #include "mdp4_kms.h" 35 static struct mdp4_kms *get_kms(struct drm_encoder *encoder) 101 struct mdp4_kms *mdp4_kms = get_kms(encoder); local 128 mdp4_write(mdp4_kms, REG_MDP4_DTV_ENABLE, 1); 130 mdp4_write(mdp4_kms, REG_MDP4_DTV_ENABLE, 0); 140 mdp_irq_wait(&mdp4_kms->base, MDP4_IRQ_EXTERNAL_VSYNC); 164 struct mdp4_kms *mdp4_kms = get_kms(encoder); local 201 mdp4_write(mdp4_kms, REG_MDP4_DTV_HSYNC_CTR [all...] |
H A D | mdp4_kms.h | 28 struct mdp4_kms { struct 62 #define to_mdp4_kms(x) container_of(x, struct mdp4_kms, base) 70 static inline void mdp4_write(struct mdp4_kms *mdp4_kms, u32 reg, u32 data) argument 72 msm_writel(data, mdp4_kms->mmio + reg); 75 static inline u32 mdp4_read(struct mdp4_kms *mdp4_kms, u32 reg) argument 77 return msm_readl(mdp4_kms->mmio + reg); 174 int mdp4_disable(struct mdp4_kms *mdp4_kms); [all...] |
H A D | mdp4_lcdc_encoder.c | 19 #include "mdp4_kms.h" 35 static struct mdp4_kms *get_kms(struct drm_encoder *encoder) 111 struct mdp4_kms *mdp4_kms = get_kms(encoder); local 129 mdp4_write(mdp4_kms, REG_MDP4_LCDC_LVDS_MUX_CTL_3_TO_0(0), 134 mdp4_write(mdp4_kms, REG_MDP4_LCDC_LVDS_MUX_CTL_6_TO_4(0), 138 mdp4_write(mdp4_kms, REG_MDP4_LCDC_LVDS_MUX_CTL_3_TO_0(1), 143 mdp4_write(mdp4_kms, REG_MDP4_LCDC_LVDS_MUX_CTL_6_TO_4(1), 147 mdp4_write(mdp4_kms, REG_MDP4_LCDC_LVDS_MUX_CTL_3_TO_0(2), 152 mdp4_write(mdp4_kms, REG_MDP4_LCDC_LVDS_MUX_CTL_6_TO_ 267 struct mdp4_kms *mdp4_kms = get_kms(encoder); local 346 struct mdp4_kms *mdp4_kms = get_kms(encoder); local [all...] |
H A D | mdp4_plane.c | 18 #include "mdp4_kms.h" 34 static struct mdp4_kms *get_kms(struct drm_plane *plane) 105 struct mdp4_kms *mdp4_kms = get_kms(plane); local 109 mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRC_STRIDE_A(pipe), 113 mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRC_STRIDE_B(pipe), 117 msm_gem_get_iova(msm_framebuffer_bo(fb, 0), mdp4_kms->id, &iova); 118 mdp4_write(mdp4_kms, REG_MDP4_PIPE_SRCP0_BASE(pipe), iova); 133 struct mdp4_kms *mdp4_kms local [all...] |
H A D | mdp4_crtc.c | 18 #include "mdp4_kms.h" 82 static struct mdp4_kms *get_kms(struct drm_crtc *crtc) 99 struct mdp4_kms *mdp4_kms = get_kms(crtc); local 113 mdp4_write(mdp4_kms, REG_MDP4_OVERLAY_FLUSH, flush); 210 struct mdp4_kms *mdp4_kms = get_kms(&mdp4_crtc->base); local 212 msm_gem_put_iova(val, mdp4_kms->id); 230 struct mdp4_kms *mdp4_kms local 257 struct mdp4_kms *mdp4_kms = get_kms(crtc); local 338 struct mdp4_kms *mdp4_kms = get_kms(crtc); local 493 struct mdp4_kms *mdp4_kms = get_kms(crtc); local 542 struct mdp4_kms *mdp4_kms = get_kms(crtc); local 674 struct mdp4_kms *mdp4_kms = get_kms(crtc); local 683 struct mdp4_kms *mdp4_kms = get_kms(crtc); local [all...] |