2008-07-16 19:59:28 -06:00
|
|
|
#ifndef __ASM_SH_MOBILE_CEU_H__
|
|
|
|
#define __ASM_SH_MOBILE_CEU_H__
|
|
|
|
|
2009-02-23 08:12:58 -07:00
|
|
|
#define SH_CEU_FLAG_USE_8BIT_BUS (1 << 0) /* use 8bit bus width */
|
|
|
|
#define SH_CEU_FLAG_USE_16BIT_BUS (1 << 1) /* use 16bit bus width */
|
2009-12-11 07:53:54 -07:00
|
|
|
#define SH_CEU_FLAG_HSYNC_LOW (1 << 2) /* default High if possible */
|
|
|
|
#define SH_CEU_FLAG_VSYNC_LOW (1 << 3) /* default High if possible */
|
2008-07-16 19:59:28 -06:00
|
|
|
|
2010-07-26 09:13:34 -06:00
|
|
|
struct device;
|
2011-07-01 08:19:58 -06:00
|
|
|
struct resource;
|
|
|
|
|
|
|
|
struct sh_mobile_ceu_companion {
|
|
|
|
u32 num_resources;
|
|
|
|
struct resource *resource;
|
|
|
|
int id;
|
|
|
|
void *platform_data;
|
|
|
|
};
|
2010-07-26 09:13:34 -06:00
|
|
|
|
2008-07-16 19:59:28 -06:00
|
|
|
struct sh_mobile_ceu_info {
|
2009-02-23 08:12:58 -07:00
|
|
|
unsigned long flags;
|
2011-07-01 08:19:58 -06:00
|
|
|
struct sh_mobile_ceu_companion *csi2;
|
2008-07-16 19:59:28 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __ASM_SH_MOBILE_CEU_H__ */
|