18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Hardware parameter area specific to Sharp SL series devices 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (c) 2005 Richard Purdie 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Based on Sharp's 2.4 kernel patches 88c2ecf20Sopenharmony_ci */ 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_cistruct sharpsl_param_info { 118c2ecf20Sopenharmony_ci unsigned int comadj_keyword; 128c2ecf20Sopenharmony_ci unsigned int comadj; 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci unsigned int uuid_keyword; 158c2ecf20Sopenharmony_ci unsigned char uuid[16]; 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci unsigned int touch_keyword; 188c2ecf20Sopenharmony_ci unsigned int touch_xp; 198c2ecf20Sopenharmony_ci unsigned int touch_yp; 208c2ecf20Sopenharmony_ci unsigned int touch_xd; 218c2ecf20Sopenharmony_ci unsigned int touch_yd; 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci unsigned int adadj_keyword; 248c2ecf20Sopenharmony_ci unsigned int adadj; 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci unsigned int phad_keyword; 278c2ecf20Sopenharmony_ci unsigned int phadadj; 288c2ecf20Sopenharmony_ci} __attribute__((packed)); 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ciextern struct sharpsl_param_info sharpsl_param; 328c2ecf20Sopenharmony_ciextern void sharpsl_save_param(void); 338c2ecf20Sopenharmony_ci 34