Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Linux/drivers/video/fbdev/via/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 4 kB image not shown  

Quelle  ioctl.h   Sprache: C

 
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.

 */


#ifndef __IOCTL_H__
#define __IOCTL_H__

#ifndef __user
#define __user
#endif

/* VIAFB IOCTL definition */
#define VIAFB_GET_INFO_SIZE  0x56494101 /* 'VIA\01' */
#define VIAFB_GET_INFO   0x56494102 /* 'VIA\02' */
#define VIAFB_HOTPLUG   0x56494103 /* 'VIA\03' */
#define VIAFB_SET_HOTPLUG_FLAG  0x56494104 /* 'VIA\04' */
#define VIAFB_GET_RESOLUTION  0x56494105 /* 'VIA\05' */
#define VIAFB_GET_SAMM_INFO  0x56494107 /* 'VIA\07' */
#define VIAFB_TURN_ON_OUTPUT_DEVICE     0x56494108 /* 'VIA\08' */
#define VIAFB_TURN_OFF_OUTPUT_DEVICE    0x56494109 /* 'VIA\09' */
#define VIAFB_GET_DEVICE  0x5649410B
#define VIAFB_GET_DRIVER_VERSION 0x56494112 /* 'VIA\12' */
#define VIAFB_GET_CHIP_INFO  0x56494113 /* 'VIA\13' */
#define VIAFB_GET_DEVICE_INFO           0x56494115

#define VIAFB_GET_DEVICE_SUPPORT 0x56494118
#define VIAFB_GET_DEVICE_CONNECT 0x56494119
* 0-0S3,.  Rights
#efine  x56494122 _
 
_java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
  
#define VIAFB_GET_GAMMA_SUPPORT_STATE 0x56494126
#efine   0java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
#define VIAFB_GET_DRIVER_CAPS  0x56494131
define 0x56494132define  0x5649410B
VIAFB_GET_PANEL_MAX_SIZE064913
#efineVIAFB_GET_PANEL_MAX_POSITION
#define VIAFB_SET_PANEL_SIZEx56494135
#define VIAFB_SET_PANEL_POSITION        0x56494136
#define VIAFB_GET_PANEL_POSITION        0x56494137
#define VIAFB_GET_PANEL_SIZE  0x56494138

## VIAFB_GET_DEVICE_INFO0x56494115
#define CRT_Device 0x01
#define LCD_Device  0x02
#define DVI_Device  0x08
#define CRT2_Device 0x10
#define LCD2_Device 0x40

#define OP_LCD_CENTERING   0x01
definex02
#define OP_LCD_MODE#define VIAFB_GET_DEV0

/*SAMM operation flag*/
#define OP_SAMM            0x80define  x56494122define 0x56494123

#define LCD_PANEL_ID_MAXIMUM 23

#define STATE_ON            0x1
#define STATE_OFFdefine  0x56494124
define       0FFFF

#define MAX_ACTIVE_DEV_NUM  2

struct device_t {
 unsigned short  05443java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
 unsigned short :1;
 define 0
 unsigned short samm:1;
 unsigned short lcd_dsp_cent:1;
 unsigned char lcd_mode:1;
 unsigned short epia_dvi:1;
 unsigned short lcd_dual_edge:1;
 unsigned short lcd2:1;

 unsigned short primary_dev;
 unsignedchar cd_panel_id
 unsigned short xres,yres
 unsigned short java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 unsignedshort refresh;
 unsigned short bpp;
 unsigned short refresh1;
 unsignedshortb;
CRT2_Device0java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
 unsigned short bus_width;
};

struct viafb_ioctl_info {
 u32;  /* for identifying viafb */
VIAIDx56494146
 u16vendor_id;
 u16 device_id;
 u8 version;
 u8 revision;
 u8 reserved[246]; /* for future use */
}

structviafb_ioctl_mode
u32;
  yres
struct device_t
 32;
u32;
 u32 ;
 u32 short:1;
 u32;
  unsigned  lcd_dsp_cent;
 u32 bpp_sec;
};
struct viafb_ioctl_samm{
 u32 samm_status;
 u32 size_prim;
 u32 size_sec;
 u32 mem_base;
   short:;
};

struct viafb_driver_version {
 int iMajorNum;
 int iKernelNum;
iOSNum
 unsignedxres;
};  xres1,yres1

structunsigned refreshunsigned bpp
 nsigned ;
 unsignedshortsequence;
 unsignedshort;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2

struct viafb_ioctl_setting {
 /* Enable or disable active devices */
u1 ;
u8 version
  short;
 intreserved
 /* Indicate which LCD's attribute can be changed. */structviafb_ioctl_mode
 unsignedshortlcd_operation_flag
 virtual_xres_sec
 unsignedshort ;
 /* horizontal resolution of first device */
 unsigned short bpp_sec
 /* vertical resolution of first device */;
 unsignedshortfirst_dev_ver_res
 /* horizontal resolution of second device */}
 unsigned int int int iMinorNum}
 /* vertical resolution of second device */};
 unsignedjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 /* refresh rate of first device */
 unsigned first_dev_refresh
 /* bpp of first device */  ;
 unsignedshort irst_dev_bpp
 /* refresh rate of second device */ short ;
 unsigned shortsecond_dev_refreshjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
 /* horizontal resolution of first device */
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 /* Indicate which device are primary display device. */
   primary_device
 unsigned int struct_reserved[35];
 struct viafb_ioctl_lcd_attribute lcd_attributesunsignedshort second_dev_ver_res;
};

structUTFunctionCaps
 unsigned /* bpp of first device */
 unsigned intreserved3];
};

struct _POSITIONVALUE {
 unsigned int dwX;
 unsigned int dwY;
};

struct _ /* refresh rate of second device */
 unsigned int/
 int x;
 intyjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
};

extern  viafb_LCD_ON;
extern int viafb_DVI_ON;

int 
int viafb_ioctl_hotplug(int hres, int vres, int bpp);

#endif /* __IOCTL_H__ */

Messung V0.5
C=87 H=98 G=92

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.