Searched refs:mxsfb (Results 1 – 8 of 8) sorted by relevance
40 static u32 set_hsync_pulse_width(struct mxsfb_drm_private *mxsfb, u32 val) in set_hsync_pulse_width() argument42 return (val & mxsfb->devdata->hs_wdth_mask) << in set_hsync_pulse_width()43 mxsfb->devdata->hs_wdth_shift; in set_hsync_pulse_width()50 static void mxsfb_set_formats(struct mxsfb_drm_private *mxsfb, in mxsfb_set_formats() argument53 struct drm_device *drm = mxsfb->drm; in mxsfb_set_formats()54 const u32 format = mxsfb->crtc.primary->state->fb->format->format; in mxsfb_set_formats()63 ctrl1 = readl(mxsfb->base + LCDC_CTRL1); in mxsfb_set_formats()95 writel(ctrl1, mxsfb->base + LCDC_CTRL1); in mxsfb_set_formats()96 writel(ctrl, mxsfb->base + LCDC_CTRL); in mxsfb_set_formats()99 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.
132 obj-$(CONFIG_DRM_MXSFB) += mxsfb/
355 source "drivers/gpu/drm/mxsfb/Kconfig"
13743 F: drivers/gpu/drm/mxsfb/