view TVout/matroxset/matroxfb.h @ 9470:3c0bc75f380d

Latest version has the following features: - --language=ab,cd,ef and --language="ab cd ef" are supported, the list is now used as a fallback for possible message/gui translations - --language=all is supported - --language=ab,cd,ef,all and --language="ab cd ef all" are supported for all man pages, but different message/gui translations than en - $LINGUAS is honored - if no --language or $LINGUAS is given it defaults to en Credits for ideas go out to (in no particular order): Tobias Diedrich Sylvain Petreolle Dan Christiansen Dominik Mierzejewski Andriy N. Gritsenko and everyone I've forgotten Andreas Hess <jaska@gmx.net>
author arpi
date Thu, 20 Feb 2003 23:32:47 +0000
parents 3b5f5d1c5041
children
line wrap: on
line source

#ifndef __LINUX_MATROXFB_H__
#define __LINUX_MATROXFB_H__

#include <asm/ioctl.h>
#include <asm/types.h>

struct matroxioc_output_mode {
	__u32	output;		/* which output */
#define MATROXFB_OUTPUT_PRIMARY		0x0000
#define MATROXFB_OUTPUT_SECONDARY	0x0001
	__u32	mode;		/* which mode */
#define MATROXFB_OUTPUT_MODE_PAL	0x0001
#define MATROXFB_OUTPUT_MODE_NTSC	0x0002
#define MATROXFB_OUTPUT_MODE_MONITOR	0x0080
};
#define MATROXFB_SET_OUTPUT_MODE	_IOW('n',0xFA,sizeof(struct matroxioc_output_mode))
#define MATROXFB_GET_OUTPUT_MODE	_IOWR('n',0xFA,sizeof(struct matroxioc_output_mode))

/* bitfield */
#define MATROXFB_OUTPUT_CONN_PRIMARY	(1 << MATROXFB_OUTPUT_PRIMARY)
#define MATROXFB_OUTPUT_CONN_SECONDARY	(1 << MATROXFB_OUTPUT_SECONDARY)
/* connect these outputs to this framebuffer */
#define MATROXFB_SET_OUTPUT_CONNECTION	_IOW('n',0xF8,sizeof(__u32))
/* which outputs are connected to this framebuffer */
#define MATROXFB_GET_OUTPUT_CONNECTION	_IOR('n',0xF8,sizeof(__u32))
/* which outputs are available for this framebuffer */
#define MATROXFB_GET_AVAILABLE_OUTPUTS	_IOR('n',0xF9,sizeof(__u32))
/* which outputs exist on this framebuffer */
#define MATROXFB_GET_ALL_OUTPUTS	_IOR('n',0xFB,sizeof(__u32))

#endif