Home
last modified time | relevance | path

Searched refs:hdlcd (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/arm/
Dhdlcd_drv.c43 struct hdlcd_drm_private *hdlcd = drm->dev_private; in hdlcd_irq() local
46 irq_status = hdlcd_read(hdlcd, HDLCD_REG_INT_STATUS); in hdlcd_irq()
50 atomic_inc(&hdlcd->buffer_underrun_count); in hdlcd_irq()
53 atomic_inc(&hdlcd->dma_end_count); in hdlcd_irq()
56 atomic_inc(&hdlcd->bus_error_count); in hdlcd_irq()
59 atomic_inc(&hdlcd->vsync_count); in hdlcd_irq()
63 drm_crtc_handle_vblank(&hdlcd->crtc); in hdlcd_irq()
66 hdlcd_write(hdlcd, HDLCD_REG_INT_CLEAR, irq_status); in hdlcd_irq()
73 struct hdlcd_drm_private *hdlcd = drm->dev_private; in hdlcd_irq_preinstall() local
75 hdlcd_write(hdlcd, HDLCD_REG_INT_MASK, 0); in hdlcd_irq_preinstall()
[all …]
Dhdlcd_crtc.c41 struct hdlcd_drm_private *hdlcd = crtc_to_hdlcd_priv(crtc); in hdlcd_crtc_cleanup() local
44 hdlcd_write(hdlcd, HDLCD_REG_COMMAND, 0); in hdlcd_crtc_cleanup()
50 struct hdlcd_drm_private *hdlcd = crtc_to_hdlcd_priv(crtc); in hdlcd_crtc_enable_vblank() local
51 unsigned int mask = hdlcd_read(hdlcd, HDLCD_REG_INT_MASK); in hdlcd_crtc_enable_vblank()
53 hdlcd_write(hdlcd, HDLCD_REG_INT_MASK, mask | HDLCD_INTERRUPT_VSYNC); in hdlcd_crtc_enable_vblank()
60 struct hdlcd_drm_private *hdlcd = crtc_to_hdlcd_priv(crtc); in hdlcd_crtc_disable_vblank() local
61 unsigned int mask = hdlcd_read(hdlcd, HDLCD_REG_INT_MASK); in hdlcd_crtc_disable_vblank()
63 hdlcd_write(hdlcd, HDLCD_REG_INT_MASK, mask & ~HDLCD_INTERRUPT_VSYNC); in hdlcd_crtc_disable_vblank()
85 struct hdlcd_drm_private *hdlcd = crtc_to_hdlcd_priv(crtc); in hdlcd_set_pxl_fmt() local
103 hdlcd_write(hdlcd, HDLCD_REG_PIXEL_FORMAT, (btpp - 1) << 3); in hdlcd_set_pxl_fmt()
[all …]
Dhdlcd_drv.h25 static inline void hdlcd_write(struct hdlcd_drm_private *hdlcd, in hdlcd_write() argument
28 writel(value, hdlcd->mmio + reg); in hdlcd_write()
31 static inline u32 hdlcd_read(struct hdlcd_drm_private *hdlcd, unsigned int reg) in hdlcd_read() argument
33 return readl(hdlcd->mmio + reg); in hdlcd_read()
37 void hdlcd_set_scanout(struct hdlcd_drm_private *hdlcd);
DMakefile2 hdlcd-y := hdlcd_drv.o hdlcd_crtc.o
3 obj-$(CONFIG_DRM_HDLCD) += hdlcd.o
DKconfig14 If M is selected the module will be called hdlcd.
/Linux-v5.15/Documentation/devicetree/bindings/display/
Darm,hdlcd.txt9 - compatible: "arm,hdlcd"
36 hdlcd@2b000000 {
37 compatible = "arm,hdlcd";
/Linux-v5.15/arch/arm/boot/dts/
Dvexpress-v2p-ca5s.dts72 hdlcd@2a110000 {
73 compatible = "arm,hdlcd";
Dvexpress-v2p-ca15-tc1.dts70 hdlcd@2b000000 {
71 compatible = "arm,hdlcd";
Dvexpress-v2p-ca15_a7.dts134 hdlcd@2b000000 {
135 compatible = "arm,hdlcd";
/Linux-v5.15/arch/arm64/boot/dts/arm/
Djuno-base.dtsi703 hdlcd@7ff50000 {
704 compatible = "arm,hdlcd";
718 hdlcd@7ff60000 {
719 compatible = "arm,hdlcd";
/Linux-v5.15/
DMAINTAINERS1401 F: Documentation/devicetree/bindings/display/arm,hdlcd.txt