Searched refs:mxsfb (Results 1 – 8 of 8) sorted by relevance
41 static u32 set_hsync_pulse_width(struct mxsfb_drm_private *mxsfb, u32 val) in set_hsync_pulse_width() argument43 return (val & mxsfb->devdata->hs_wdth_mask) << in set_hsync_pulse_width()44 mxsfb->devdata->hs_wdth_shift; in set_hsync_pulse_width()51 static void mxsfb_set_formats(struct mxsfb_drm_private *mxsfb, in mxsfb_set_formats() argument54 struct drm_device *drm = mxsfb->drm; in mxsfb_set_formats()55 const u32 format = mxsfb->crtc.primary->state->fb->format->format; in mxsfb_set_formats()64 ctrl1 = readl(mxsfb->base + LCDC_CTRL1); in mxsfb_set_formats()96 writel(ctrl1, mxsfb->base + LCDC_CTRL1); in mxsfb_set_formats()97 writel(ctrl, mxsfb->base + LCDC_CTRL); in mxsfb_set_formats()100 static void mxsfb_set_mode(struct mxsfb_drm_private *mxsfb, u32 bus_flags) in mxsfb_set_mode() argument[all …]
79 void mxsfb_enable_axi_clk(struct mxsfb_drm_private *mxsfb) in mxsfb_enable_axi_clk() argument81 if (mxsfb->clk_axi) in mxsfb_enable_axi_clk()82 clk_prepare_enable(mxsfb->clk_axi); in mxsfb_enable_axi_clk()85 void mxsfb_disable_axi_clk(struct mxsfb_drm_private *mxsfb) in mxsfb_disable_axi_clk() argument87 if (mxsfb->clk_axi) in mxsfb_disable_axi_clk()88 clk_disable_unprepare(mxsfb->clk_axi); in mxsfb_disable_axi_clk()119 static int mxsfb_attach_bridge(struct mxsfb_drm_private *mxsfb) in mxsfb_attach_bridge() argument121 struct drm_device *drm = mxsfb->drm; in mxsfb_attach_bridge()142 ret = drm_bridge_attach(&mxsfb->encoder, bridge, NULL, 0); in mxsfb_attach_bridge()146 mxsfb->bridge = bridge; in mxsfb_attach_bridge()[all …]
58 void mxsfb_enable_axi_clk(struct mxsfb_drm_private *mxsfb);59 void mxsfb_disable_axi_clk(struct mxsfb_drm_private *mxsfb);61 int mxsfb_kms_init(struct mxsfb_drm_private *mxsfb);
2 mxsfb-y := mxsfb_drv.o mxsfb_kms.o3 obj-$(CONFIG_DRM_MXSFB) += mxsfb.o
21 If M is selected the module will be called mxsfb.
135 obj-y += mxsfb/
387 source "drivers/gpu/drm/mxsfb/Kconfig"
14134 F: drivers/gpu/drm/mxsfb/