Linux Audio

Check our new training course

Yocto distribution development and maintenance

Need a Yocto distribution for your embedded project?
Loading...
v4.6
 
 1/**************************************************************************
 2 * Copyright (c) 2009-2011, Intel Corporation.
 3 * All Rights Reserved.
 4 *
 5 * This program is free software; you can redistribute it and/or modify it
 6 * under the terms and conditions of the GNU General Public License,
 7 * version 2, as published by the Free Software Foundation.
 8 *
 9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
17 *
18 * Authors:
19 *    Benjamin Defnet <benjamin.r.defnet@intel.com>
20 *    Rajesh Poornachandran <rajesh.poornachandran@intel.com>
21 *
22 **************************************************************************/
23
24#ifndef _PSB_IRQ_H_
25#define _PSB_IRQ_H_
26
27#include <drm/drmP.h>
28
29bool sysirq_init(struct drm_device *dev);
30void sysirq_uninit(struct drm_device *dev);
31
32void psb_irq_preinstall(struct drm_device *dev);
33int  psb_irq_postinstall(struct drm_device *dev);
34void psb_irq_uninstall(struct drm_device *dev);
35irqreturn_t psb_irq_handler(int irq, void *arg);
36
37int psb_irq_enable_dpst(struct drm_device *dev);
38int psb_irq_disable_dpst(struct drm_device *dev);
39void psb_irq_turn_on_dpst(struct drm_device *dev);
40void psb_irq_turn_off_dpst(struct drm_device *dev);
41int  psb_enable_vblank(struct drm_device *dev, unsigned int pipe);
42void psb_disable_vblank(struct drm_device *dev, unsigned int pipe);
43u32  psb_get_vblank_counter(struct drm_device *dev, unsigned int pipe);
 
 
 
44
45int mdfld_enable_te(struct drm_device *dev, int pipe);
46void mdfld_disable_te(struct drm_device *dev, int pipe);
47#endif /* _PSB_IRQ_H_ */
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/**************************************************************************
 3 * Copyright (c) 2009-2011, Intel Corporation.
 4 * All Rights Reserved.
 5 *
 
 
 
 
 
 
 
 
 
 
 
 
 
 6 * Authors:
 7 *    Benjamin Defnet <benjamin.r.defnet@intel.com>
 8 *    Rajesh Poornachandran <rajesh.poornachandran@intel.com>
 9 *
10 **************************************************************************/
11
12#ifndef _PSB_IRQ_H_
13#define _PSB_IRQ_H_
14
15struct drm_crtc;
16struct drm_device;
 
 
 
 
 
 
 
17
18void gma_irq_preinstall(struct drm_device *dev);
19void gma_irq_postinstall(struct drm_device *dev);
20int  gma_irq_install(struct drm_device *dev);
21void gma_irq_uninstall(struct drm_device *dev);
22
23int  gma_crtc_enable_vblank(struct drm_crtc *crtc);
24void gma_crtc_disable_vblank(struct drm_crtc *crtc);
25u32  gma_crtc_get_vblank_counter(struct drm_crtc *crtc);
26void gma_enable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask);
27void gma_disable_pipestat(struct drm_psb_private *dev_priv, int pipe, u32 mask);
28
 
 
29#endif /* _PSB_IRQ_H_ */