Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * omap_irq.h -- OMAP DRM IRQ Handling
 4 *
 5 * Copyright (C) 2011 Texas Instruments
 6 * Author: Rob Clark <rob@ti.com>
 
 
 
 
 
 
 
 
 
 
 
 
 7 */
 8
 9#ifndef __OMAPDRM_IRQ_H__
10#define __OMAPDRM_IRQ_H__
11
12#include <linux/types.h>
13
14struct drm_crtc;
15struct drm_device;
16struct omap_irq_wait;
17
18int omap_irq_enable_vblank(struct drm_crtc *crtc);
19int omap_irq_enable_framedone(struct drm_crtc *crtc, bool enable);
20void omap_irq_disable_vblank(struct drm_crtc *crtc);
21void omap_drm_irq_uninstall(struct drm_device *dev);
22int omap_drm_irq_install(struct drm_device *dev);
23
24struct omap_irq_wait *omap_irq_wait_init(struct drm_device *dev,
25		u32 irqmask, int count);
26int omap_irq_wait(struct drm_device *dev, struct omap_irq_wait *wait,
27		unsigned long timeout);
28
29#endif /* __OMAPDRM_IRQ_H__ */
v4.17
 
 1/*
 2 * omap_irq.h -- OMAP DRM IRQ Handling
 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_IRQ_H__
21#define __OMAPDRM_IRQ_H__
22
23#include <linux/types.h>
24
25struct drm_crtc;
26struct drm_device;
27struct omap_irq_wait;
28
29int omap_irq_enable_vblank(struct drm_crtc *crtc);
 
30void omap_irq_disable_vblank(struct drm_crtc *crtc);
31void omap_drm_irq_uninstall(struct drm_device *dev);
32int omap_drm_irq_install(struct drm_device *dev);
33
34struct omap_irq_wait *omap_irq_wait_init(struct drm_device *dev,
35		u32 irqmask, int count);
36int omap_irq_wait(struct drm_device *dev, struct omap_irq_wait *wait,
37		unsigned long timeout);
38
39#endif /* __OMAPDRM_IRQ_H__ */