make PrivateData appear as driver-specific data structures for Doxygen
This commit is contained in:
@@ -55,8 +55,8 @@ typedef enum {
|
|||||||
bigchar /* big characters */
|
bigchar /* big characters */
|
||||||
} CGmode;
|
} CGmode;
|
||||||
|
|
||||||
|
/** private data for the \c CFontz driver */
|
||||||
typedef struct driver_private_data {
|
typedef struct CFontz_private_data {
|
||||||
char device[200];
|
char device[200];
|
||||||
|
|
||||||
int fd;
|
int fd;
|
||||||
|
|||||||
@@ -84,7 +84,8 @@ typedef enum {
|
|||||||
} CGmode;
|
} CGmode;
|
||||||
|
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c CFonts633 driver */
|
||||||
|
typedef struct CFontz633_private_data {
|
||||||
char device[200];
|
char device[200];
|
||||||
|
|
||||||
int fd;
|
int fd;
|
||||||
|
|||||||
@@ -116,7 +116,8 @@ typedef enum {
|
|||||||
} CGmode;
|
} CGmode;
|
||||||
|
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c CFontzPacket driver */
|
||||||
|
typedef struct CFontzPacket_private_data {
|
||||||
char device[200];
|
char device[200];
|
||||||
|
|
||||||
int fd;
|
int fd;
|
||||||
|
|||||||
@@ -86,7 +86,8 @@ typedef enum {
|
|||||||
} CGmode;
|
} CGmode;
|
||||||
|
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c CwLnx driver */
|
||||||
|
typedef struct CwLnx_private_data {
|
||||||
int fd;
|
int fd;
|
||||||
|
|
||||||
int have_keypad;
|
int have_keypad;
|
||||||
|
|||||||
@@ -80,7 +80,8 @@ typedef struct cgram_cache {
|
|||||||
} CGram;
|
} CGram;
|
||||||
|
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c IOWarrior driver */
|
||||||
|
typedef struct IOWarrior_private_data {
|
||||||
char manufacturer[LCD_MAX_WIDTH+1];
|
char manufacturer[LCD_MAX_WIDTH+1];
|
||||||
char product[LCD_MAX_WIDTH+1];
|
char product[LCD_MAX_WIDTH+1];
|
||||||
char serial[LCD_MAX_WIDTH+1];
|
char serial[LCD_MAX_WIDTH+1];
|
||||||
|
|||||||
@@ -192,7 +192,8 @@
|
|||||||
#define DEFAULT_OFF_BRIGHTNESS 300
|
#define DEFAULT_OFF_BRIGHTNESS 300
|
||||||
#define DEFAULT_ON_BRIGHTNESS 1000
|
#define DEFAULT_ON_BRIGHTNESS 1000
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c MD8800 driver */
|
||||||
|
typedef struct MD8800_private_data {
|
||||||
char device[200];
|
char device[200];
|
||||||
int fd;
|
int fd;
|
||||||
int speed;
|
int speed;
|
||||||
|
|||||||
@@ -75,7 +75,8 @@ typedef enum {
|
|||||||
bignum, /* big numbers */
|
bignum, /* big numbers */
|
||||||
} CGmode;
|
} CGmode;
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c NoritakeVFD driver */
|
||||||
|
typedef struct NoritakeVFD_private_data {
|
||||||
char device[200];
|
char device[200];
|
||||||
int fd;
|
int fd;
|
||||||
int speed;
|
int speed;
|
||||||
|
|||||||
@@ -48,7 +48,8 @@
|
|||||||
////////////////////// Base "class" to derive from ///////////////////////
|
////////////////////// Base "class" to derive from ///////////////////////
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c bayrad driver */
|
||||||
|
typedef struct bayrad_private_data {
|
||||||
char device[256];
|
char device[256];
|
||||||
int speed;
|
int speed;
|
||||||
int fd;
|
int fd;
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ Different implementations of (n)curses available on:
|
|||||||
|
|
||||||
|
|
||||||
/** private data structure for the \c curses driver */
|
/** private data structure for the \c curses driver */
|
||||||
typedef struct driver_private_data {
|
typedef struct curses_private_data {
|
||||||
WINDOW *win;
|
WINDOW *win;
|
||||||
|
|
||||||
int current_color_pair;
|
int current_color_pair;
|
||||||
|
|||||||
@@ -38,7 +38,9 @@
|
|||||||
#include "report.h"
|
#include "report.h"
|
||||||
#include "lcd_lib.h"
|
#include "lcd_lib.h"
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
|
||||||
|
/** private data for the \c ea65 driver */
|
||||||
|
typedef struct EA65_private_data {
|
||||||
int fd;
|
int fd;
|
||||||
int brightness;
|
int brightness;
|
||||||
int offbrightness;
|
int offbrightness;
|
||||||
|
|||||||
@@ -26,7 +26,8 @@
|
|||||||
#include <libg15render.h>
|
#include <libg15render.h>
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c g15 driver */
|
||||||
|
typedef struct g15_private_data {
|
||||||
/* dimensions */
|
/* dimensions */
|
||||||
int width, height;
|
int width, height;
|
||||||
int cellwidth, cellheight;
|
int cellwidth, cellheight;
|
||||||
|
|||||||
@@ -47,7 +47,8 @@
|
|||||||
//////////////////// Matrix Orbital Graphical Driver /////////////////////
|
//////////////////// Matrix Orbital Graphical Driver /////////////////////
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c glk driver */
|
||||||
|
typedef struct glk_private_data {
|
||||||
char device[256];
|
char device[256];
|
||||||
GLKDisplay *fd;
|
GLKDisplay *fd;
|
||||||
speed_t speed;
|
speed_t speed;
|
||||||
|
|||||||
@@ -96,7 +96,8 @@ typedef struct ConnectionMapping {
|
|||||||
} ConnectionMapping;
|
} ConnectionMapping;
|
||||||
|
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c hd44780 driver */
|
||||||
|
typedef struct hd44780_private_data {
|
||||||
// parallel connection typeS
|
// parallel connection typeS
|
||||||
unsigned int port; /* parallel port */
|
unsigned int port; /* parallel port */
|
||||||
|
|
||||||
|
|||||||
@@ -58,7 +58,8 @@
|
|||||||
#define CELLWIDTH 6
|
#define CELLWIDTH 6
|
||||||
#define CELLHEIGHT 8
|
#define CELLHEIGHT 8
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c i2500vfd driver */
|
||||||
|
typedef struct i2500vfd_private_data {
|
||||||
struct ftdi_context ftdi;
|
struct ftdi_context ftdi;
|
||||||
unsigned char *framebuf;
|
unsigned char *framebuf;
|
||||||
int changed;
|
int changed;
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ typedef struct _codemap {
|
|||||||
const char *lcdproc;
|
const char *lcdproc;
|
||||||
} CodeMap;
|
} CodeMap;
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c irman driver */
|
||||||
|
typedef struct irmanin_private_data {
|
||||||
char device[256];
|
char device[256];
|
||||||
char config[256];
|
char config[256];
|
||||||
char *portname;
|
char *portname;
|
||||||
|
|||||||
@@ -55,7 +55,9 @@
|
|||||||
|
|
||||||
// Variables
|
// Variables
|
||||||
// TODO init
|
// TODO init
|
||||||
typedef struct driver_private_data {
|
|
||||||
|
/** private data for the \c irtrans driver */
|
||||||
|
typedef struct irtrans_private_data {
|
||||||
int width;
|
int width;
|
||||||
int height;
|
int height;
|
||||||
int socket;
|
int socket;
|
||||||
|
|||||||
@@ -44,8 +44,8 @@
|
|||||||
#define JOY_DEFAULT_BUTTONMAP "BDACEFGHIJKLMNOP"
|
#define JOY_DEFAULT_BUTTONMAP "BDACEFGHIJKLMNOP"
|
||||||
|
|
||||||
|
|
||||||
|
/** private data for the \c joy driver */
|
||||||
typedef struct driver_private_data {
|
typedef struct joy_private_data {
|
||||||
char device[256];
|
char device[256];
|
||||||
int fd;
|
int fd;
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ typedef enum {
|
|||||||
beat = 8
|
beat = 8
|
||||||
} custom_type;
|
} custom_type;
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c lb216 driver */
|
||||||
|
typedef struct LB216_private_data {
|
||||||
char device[256];
|
char device[256];
|
||||||
int speed;
|
int speed;
|
||||||
int fd;
|
int fd;
|
||||||
|
|||||||
@@ -64,7 +64,8 @@
|
|||||||
//#include "configfile.h"
|
//#include "configfile.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c lcdm001 driver */
|
||||||
|
typedef struct lcdm001_private_data {
|
||||||
char device[200];
|
char device[200];
|
||||||
int fd;
|
int fd;
|
||||||
int speed;
|
int speed;
|
||||||
|
|||||||
@@ -45,6 +45,8 @@
|
|||||||
|
|
||||||
#include "report.h"
|
#include "report.h"
|
||||||
|
|
||||||
|
|
||||||
|
/** private data for the \c lirc driver */
|
||||||
typedef struct lircin_private_data {
|
typedef struct lircin_private_data {
|
||||||
char *lircrc;
|
char *lircrc;
|
||||||
char *prog;
|
char *prog;
|
||||||
|
|||||||
@@ -50,7 +50,8 @@
|
|||||||
#include "server/configfile.h"
|
#include "server/configfile.h"
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c ms6931 driver */
|
||||||
|
typedef struct ms6931_private_data {
|
||||||
char device[200];
|
char device[200];
|
||||||
int fd;
|
int fd;
|
||||||
unsigned char *framebuf;
|
unsigned char *framebuf;
|
||||||
|
|||||||
@@ -91,7 +91,8 @@ typedef enum {
|
|||||||
} custom_type;
|
} custom_type;
|
||||||
|
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c mtc_s16209x driver */
|
||||||
|
typedef struct MTC_S16209X_private_data {
|
||||||
char device[256];
|
char device[256];
|
||||||
int fd;
|
int fd;
|
||||||
char framebuf[2][16];
|
char framebuf[2][16];
|
||||||
|
|||||||
@@ -30,7 +30,8 @@
|
|||||||
#define DEFAULT_DEVICE "/dev/hiddev0"
|
#define DEFAULT_DEVICE "/dev/hiddev0"
|
||||||
#define DEFAULT_WAIT 1000
|
#define DEFAULT_WAIT 1000
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c mx5000 driver */
|
||||||
|
typedef struct mx5000_private_data {
|
||||||
char device[200];
|
char device[200];
|
||||||
int wait;
|
int wait;
|
||||||
int fd;
|
int fd;
|
||||||
|
|||||||
@@ -64,7 +64,8 @@
|
|||||||
#include "report.h"
|
#include "report.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c sed1520 driver */
|
||||||
|
typedef struct sed1520_private_data {
|
||||||
unsigned int port;
|
unsigned int port;
|
||||||
|
|
||||||
unsigned char *framebuf;
|
unsigned char *framebuf;
|
||||||
|
|||||||
@@ -72,7 +72,8 @@ MODULE_EXPORT void serialVFD_num (Driver *drvthis, int x, int num);
|
|||||||
MODULE_EXPORT int serialVFD_get_free_chars (Driver *drvthis);
|
MODULE_EXPORT int serialVFD_get_free_chars (Driver *drvthis);
|
||||||
MODULE_EXPORT const char * serialVFD_get_info( Driver *drvthis );
|
MODULE_EXPORT const char * serialVFD_get_info( Driver *drvthis );
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c serialVFD driver */
|
||||||
|
typedef struct serialVFD_private_data {
|
||||||
int use_parallel; // use parallel?
|
int use_parallel; // use parallel?
|
||||||
unsigned short port; // Port in parallel mode
|
unsigned short port; // Port in parallel mode
|
||||||
char device[200]; // Device in serial mode
|
char device[200]; // Device in serial mode
|
||||||
|
|||||||
@@ -45,8 +45,8 @@ MODULE_EXPORT int supports_multiple = 0;
|
|||||||
MODULE_EXPORT char *symbol_prefix = "shuttleVFD_";
|
MODULE_EXPORT char *symbol_prefix = "shuttleVFD_";
|
||||||
|
|
||||||
|
|
||||||
// Private data
|
/** private data for the \c shuttleVFD driver */
|
||||||
typedef struct driver_private_data {
|
typedef struct shuttleVFD_private_data {
|
||||||
usb_dev_handle *dev;
|
usb_dev_handle *dev;
|
||||||
int width;
|
int width;
|
||||||
int height;
|
int height;
|
||||||
|
|||||||
@@ -80,7 +80,8 @@
|
|||||||
#define STV5730_COL_SBACK 2
|
#define STV5730_COL_SBACK 2
|
||||||
|
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c stv5730 driver */
|
||||||
|
typedef struct stv5730_private_data {
|
||||||
unsigned int port;
|
unsigned int port;
|
||||||
unsigned int charattrib;
|
unsigned int charattrib;
|
||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
|
|||||||
@@ -11,7 +11,8 @@
|
|||||||
#define CELLWIDTH 6
|
#define CELLWIDTH 6
|
||||||
#define CELLHEIGHT 8
|
#define CELLHEIGHT 8
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c svga driver */
|
||||||
|
typedef struct svga_private_data {
|
||||||
int mode;
|
int mode;
|
||||||
|
|
||||||
int width, height;
|
int width, height;
|
||||||
|
|||||||
@@ -36,7 +36,8 @@
|
|||||||
|
|
||||||
//extern int debug_level;
|
//extern int debug_level;
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c t6963 driver */
|
||||||
|
typedef struct t6963_private_data {
|
||||||
u16 port;
|
u16 port;
|
||||||
u16 display_mode;
|
u16 display_mode;
|
||||||
u8 *display_buffer1;
|
u8 *display_buffer1;
|
||||||
|
|||||||
@@ -37,13 +37,14 @@
|
|||||||
//#include "drv_base.h"
|
//#include "drv_base.h"
|
||||||
|
|
||||||
|
|
||||||
/* private data structure */
|
/* private data structure for the \c text driver */
|
||||||
typedef struct driver_private_data {
|
typedef struct text_private_data {
|
||||||
int width;
|
int width;
|
||||||
int height;
|
int height;
|
||||||
char *framebuf;
|
char *framebuf;
|
||||||
} PrivateData;
|
} PrivateData;
|
||||||
|
|
||||||
|
|
||||||
/* Vars for the server core */
|
/* Vars for the server core */
|
||||||
MODULE_EXPORT char *api_version = API_VERSION;
|
MODULE_EXPORT char *api_version = API_VERSION;
|
||||||
MODULE_EXPORT int stay_in_foreground = 0;
|
MODULE_EXPORT int stay_in_foreground = 0;
|
||||||
|
|||||||
@@ -58,7 +58,8 @@ typedef struct cgram_cache {
|
|||||||
} CGram;
|
} CGram;
|
||||||
|
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c tyan driver */
|
||||||
|
typedef struct tyan_lcdm_private_data {
|
||||||
char device[200];
|
char device[200];
|
||||||
int speed;
|
int speed;
|
||||||
int fd;
|
int fd;
|
||||||
|
|||||||
@@ -35,7 +35,8 @@ typedef enum {
|
|||||||
beat = 8
|
beat = 8
|
||||||
} custom_type;
|
} custom_type;
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c sli driver */
|
||||||
|
typedef struct sli_private_data {
|
||||||
char device[256];
|
char device[256];
|
||||||
int speed;
|
int speed;
|
||||||
int fd;
|
int fd;
|
||||||
|
|||||||
@@ -14,12 +14,11 @@
|
|||||||
#define CELLWIDTH 6
|
#define CELLWIDTH 6
|
||||||
#define CELLHEIGHT 8
|
#define CELLHEIGHT 8
|
||||||
|
|
||||||
typedef struct driver_private_data {
|
/** private data for the \c xosd driver */
|
||||||
/* xosd handle */
|
typedef struct xosd_private_data {
|
||||||
xosd *osd;
|
xosd *osd; /**< xosd handle */
|
||||||
|
|
||||||
/* xosd properties */
|
char font[256]; /**< xosd font properties */
|
||||||
char font[256];
|
|
||||||
|
|
||||||
/* dimensions */
|
/* dimensions */
|
||||||
int width, height;
|
int width, height;
|
||||||
|
|||||||
Reference in New Issue
Block a user