Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
shmob_drm_drv.h
Go to the documentation of this file.
1 /*
2  * shmob_drm.h -- SH Mobile DRM driver
3  *
4  * Copyright (C) 2012 Renesas Corporation
5  *
6  * Laurent Pinchart ([email protected])
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  */
13 
14 #ifndef __SHMOB_DRM_DRV_H__
15 #define __SHMOB_DRM_DRV_H__
16 
17 #include <linux/kernel.h>
19 #include <linux/spinlock.h>
20 
21 #include "shmob_drm_crtc.h"
22 
23 struct clk;
24 struct device;
25 struct drm_device;
27 
29  struct device *dev;
31 
32  void __iomem *mmio;
33  struct clk *clock;
37 
38  spinlock_t irq_lock; /* Protects hardware LDINTR register */
39 
40  struct drm_device *ddev;
41 
45 };
46 
47 #endif /* __SHMOB_DRM_DRV_H__ */