Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * omap_crtc.h -- OMAP DRM CRTC
 4 *
 5 * Copyright (C) 2011 Texas Instruments
 6 * Author: Rob Clark <rob@ti.com>
 
 
 
 
 
 
 
 
 
 
 
 
 7 */
 8
 9#ifndef __OMAPDRM_CRTC_H__
10#define __OMAPDRM_CRTC_H__
11
12#include <linux/types.h>
13
14enum omap_channel;
15
16struct drm_crtc;
17struct drm_device;
18struct drm_plane;
19struct omap_drm_pipeline;
20struct omap_dss_device;
21struct videomode;
22
23struct videomode *omap_crtc_timings(struct drm_crtc *crtc);
24enum omap_channel omap_crtc_channel(struct drm_crtc *crtc);
 
 
25struct drm_crtc *omap_crtc_init(struct drm_device *dev,
26				struct omap_drm_pipeline *pipe,
27				struct drm_plane *plane);
28int omap_crtc_wait_pending(struct drm_crtc *crtc);
29void omap_crtc_error_irq(struct drm_crtc *crtc, u32 irqstatus);
30void omap_crtc_vblank_irq(struct drm_crtc *crtc);
31void omap_crtc_framedone_irq(struct drm_crtc *crtc, uint32_t irqstatus);
32void omap_crtc_flush(struct drm_crtc *crtc);
33
34#endif /* __OMAPDRM_CRTC_H__ */
v4.17
 
 1/*
 2 * omap_crtc.h -- OMAP DRM CRTC
 3 *
 4 * Copyright (C) 2011 Texas Instruments
 5 * Author: Rob Clark <rob@ti.com>
 6 *
 7 * This program is free software; you can redistribute it and/or modify it
 8 * under the terms of the GNU General Public License version 2 as published by
 9 * the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __OMAPDRM_CRTC_H__
21#define __OMAPDRM_CRTC_H__
22
23#include <linux/types.h>
24
25enum omap_channel;
26
27struct drm_crtc;
28struct drm_device;
29struct drm_plane;
 
30struct omap_dss_device;
31struct videomode;
32
33struct videomode *omap_crtc_timings(struct drm_crtc *crtc);
34enum omap_channel omap_crtc_channel(struct drm_crtc *crtc);
35void omap_crtc_pre_init(struct omap_drm_private *priv);
36void omap_crtc_pre_uninit(void);
37struct drm_crtc *omap_crtc_init(struct drm_device *dev,
38		struct drm_plane *plane, struct omap_dss_device *dssdev);
 
39int omap_crtc_wait_pending(struct drm_crtc *crtc);
40void omap_crtc_error_irq(struct drm_crtc *crtc, u32 irqstatus);
41void omap_crtc_vblank_irq(struct drm_crtc *crtc);
 
 
42
43#endif /* __OMAPDRM_CRTC_H__ */