https://github.com/torvalds/linux
Raw File
Tip revision: 66f75a5d028beaf67c931435fdc3e7823125730c authored by Linus Torvalds on 21 April 2012, 21:47:52 UTC
Linux 3.4-rc4
Tip revision: 66f75a5
sh_mobile_ceu.h
#ifndef __ASM_SH_MOBILE_CEU_H__
#define __ASM_SH_MOBILE_CEU_H__

#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 */
#define SH_CEU_FLAG_HSYNC_LOW		(1 << 2) /* default High if possible */
#define SH_CEU_FLAG_VSYNC_LOW		(1 << 3) /* default High if possible */

struct device;
struct resource;

struct sh_mobile_ceu_companion {
	u32		num_resources;
	struct resource	*resource;
	int		id;
	void		*platform_data;
};

struct sh_mobile_ceu_info {
	unsigned long flags;
	int max_width;
	int max_height;
	struct sh_mobile_ceu_companion *csi2;
};

#endif /* __ASM_SH_MOBILE_CEU_H__ */
back to top