xref: /linux/arch/arm/include/asm/mach/sharpsl_param.h (revision da1d9caf95def6f0320819cf941c9fd1069ba9e1)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Hardware parameter area specific to Sharp SL series devices
4  *
5  * Copyright (c) 2005 Richard Purdie
6  *
7  * Based on Sharp's 2.4 kernel patches
8  */
9 
10 struct sharpsl_param_info {
11   unsigned int comadj_keyword;
12   unsigned int comadj;
13 
14   unsigned int uuid_keyword;
15   unsigned char uuid[16];
16 
17   unsigned int touch_keyword;
18   unsigned int touch_xp;
19   unsigned int touch_yp;
20   unsigned int touch_xd;
21   unsigned int touch_yd;
22 
23   unsigned int adadj_keyword;
24   unsigned int adadj;
25 
26   unsigned int phad_keyword;
27   unsigned int phadadj;
28 } __attribute__((packed));
29 
30 
31 extern struct sharpsl_param_info sharpsl_param;
32 extern void sharpsl_save_param(void);
33 
34