Home
last modified time | relevance | path

Searched refs:mxsfb (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/mxsfb/
Dmxsfb_kms.c41 static u32 set_hsync_pulse_width(struct mxsfb_drm_private *mxsfb, u32 val) in set_hsync_pulse_width() argument
43 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() argument
54 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 …]
Dmxsfb_drv.c79 void mxsfb_enable_axi_clk(struct mxsfb_drm_private *mxsfb) in mxsfb_enable_axi_clk() argument
81 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() argument
87 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() argument
121 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 …]
Dmxsfb_drv.h58 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);
DMakefile2 mxsfb-y := mxsfb_drv.o mxsfb_kms.o
3 obj-$(CONFIG_DRM_MXSFB) += mxsfb.o
DKconfig21 If M is selected the module will be called mxsfb.
/linux-6.1.9/drivers/gpu/drm/
DMakefile135 obj-y += mxsfb/
DKconfig387 source "drivers/gpu/drm/mxsfb/Kconfig"
/linux-6.1.9/
DMAINTAINERS14134 F: drivers/gpu/drm/mxsfb/