Merge tag 'locking-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / arm / include / asm / mach / sharpsl_param.h
blob700a377c20bf91037ed1df5a8ebd9387b48d7f06
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Hardware parameter area specific to Sharp SL series devices
5 * Copyright (c) 2005 Richard Purdie
7 * Based on Sharp's 2.4 kernel patches
8 */
10 struct sharpsl_param_info {
11 unsigned int comadj_keyword;
12 unsigned int comadj;
14 unsigned int uuid_keyword;
15 unsigned char uuid[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;
23 unsigned int adadj_keyword;
24 unsigned int adadj;
26 unsigned int phad_keyword;
27 unsigned int phadadj;
28 } __attribute__((packed));
31 extern struct sharpsl_param_info sharpsl_param;
32 extern void sharpsl_save_param(void);