1 /* 2 * Hardware parameter area specific to Sharp SL series devices 3 * 4 * Copyright (c) 2005 Richard Purdie 5 * 6 * Based on Sharp's 2.4 kernel patches 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License version 2 as 10 * published by the Free Software Foundation. 11 * 12 */ 13 14 struct sharpsl_param_info { 15 unsigned int comadj_keyword; 16 unsigned int comadj; 17 18 unsigned int uuid_keyword; 19 unsigned char uuid[16]; 20 21 unsigned int touch_keyword; 22 unsigned int touch_xp; 23 unsigned int touch_yp; 24 unsigned int touch_xd; 25 unsigned int touch_yd; 26 27 unsigned int adadj_keyword; 28 unsigned int adadj; 29 30 unsigned int phad_keyword; 31 unsigned int phadadj; 32 } __attribute__((packed)); 33 34 35 extern struct sharpsl_param_info sharpsl_param; 36 extern void sharpsl_save_param(void); 37 38