OpenCores
URL https://opencores.org/ocsvn/hf-risc/hf-risc/trunk

Subversion Repositories hf-risc

[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [linux-headers/] [include/] [linux/] [matroxfb.h] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 serginhofr
#ifndef __LINUX_MATROXFB_H__
2
#define __LINUX_MATROXFB_H__
3
 
4
#include <asm/ioctl.h>
5
#include <linux/types.h>
6
#include <linux/videodev2.h>
7
#include <linux/fb.h>
8
 
9
struct matroxioc_output_mode {
10
        __u32   output;         /* which output */
11
#define MATROXFB_OUTPUT_PRIMARY         0x0000
12
#define MATROXFB_OUTPUT_SECONDARY       0x0001
13
#define MATROXFB_OUTPUT_DFP             0x0002
14
        __u32   mode;           /* which mode */
15
#define MATROXFB_OUTPUT_MODE_PAL        0x0001
16
#define MATROXFB_OUTPUT_MODE_NTSC       0x0002
17
#define MATROXFB_OUTPUT_MODE_MONITOR    0x0080
18
};
19
#define MATROXFB_SET_OUTPUT_MODE        _IOW('n',0xFA,size_t)
20
#define MATROXFB_GET_OUTPUT_MODE        _IOWR('n',0xFA,size_t)
21
 
22
/* bitfield */
23
#define MATROXFB_OUTPUT_CONN_PRIMARY    (1 << MATROXFB_OUTPUT_PRIMARY)
24
#define MATROXFB_OUTPUT_CONN_SECONDARY  (1 << MATROXFB_OUTPUT_SECONDARY)
25
#define MATROXFB_OUTPUT_CONN_DFP        (1 << MATROXFB_OUTPUT_DFP)
26
/* connect these outputs to this framebuffer */
27
#define MATROXFB_SET_OUTPUT_CONNECTION  _IOW('n',0xF8,size_t)
28
/* which outputs are connected to this framebuffer */
29
#define MATROXFB_GET_OUTPUT_CONNECTION  _IOR('n',0xF8,size_t)
30
/* which outputs are available for this framebuffer */
31
#define MATROXFB_GET_AVAILABLE_OUTPUTS  _IOR('n',0xF9,size_t)
32
/* which outputs exist on this framebuffer */
33
#define MATROXFB_GET_ALL_OUTPUTS        _IOR('n',0xFB,size_t)
34
 
35
enum matroxfb_ctrl_id {
36
  MATROXFB_CID_TESTOUT   = V4L2_CID_PRIVATE_BASE,
37
  MATROXFB_CID_DEFLICKER,
38
  MATROXFB_CID_LAST
39
};
40
 
41
#endif
42
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.