Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Hardware parameter area specific to Sharp SL series devices
0004  *
0005  * Copyright (c) 2005 Richard Purdie
0006  *
0007  * Based on Sharp's 2.4 kernel patches
0008  */
0009 
0010 struct sharpsl_param_info {
0011   unsigned int comadj_keyword;
0012   unsigned int comadj;
0013 
0014   unsigned int uuid_keyword;
0015   unsigned char uuid[16];
0016 
0017   unsigned int touch_keyword;
0018   unsigned int touch_xp;
0019   unsigned int touch_yp;
0020   unsigned int touch_xd;
0021   unsigned int touch_yd;
0022 
0023   unsigned int adadj_keyword;
0024   unsigned int adadj;
0025 
0026   unsigned int phad_keyword;
0027   unsigned int phadadj;
0028 } __attribute__((packed));
0029 
0030 
0031 extern struct sharpsl_param_info sharpsl_param;
0032 extern void sharpsl_save_param(void);
0033