Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/mxsfb/
Dmxsfb_kms.c40 static u32 set_hsync_pulse_width(struct mxsfb_drm_private *mxsfb, u32 val) in set_hsync_pulse_width() argument
42 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() argument
53 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 …]
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-5.19.10/drivers/gpu/drm/
DMakefile132 obj-$(CONFIG_DRM_MXSFB) += mxsfb/
DKconfig355 source "drivers/gpu/drm/mxsfb/Kconfig"
/linux-5.19.10/
DMAINTAINERS13743 F: drivers/gpu/drm/mxsfb/