Lines Matching +full:short +full:- +full:key +full:- +full:debounce
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright 2010-2011 Analog Devices Inc.
47 #define ADP5589_GPIMAPSIZE_MAX (ADP5589_GPI_PIN_END - ADP5589_GPI_PIN_BASE + 1)
76 #define ADP5585_GPIMAPSIZE_MAX (ADP5585_GPI_PIN_END - ADP5585_GPI_PIN_BASE + 1)
79 unsigned short pin;
80 unsigned short sw_evt;
114 * ---------------- BIT ------------------
131 * ---- BIT -- -----------
150 const unsigned short *keymap; /* Pointer to keymap */
151 unsigned short keymapsize; /* Keymap size */
152 bool repeat; /* Enable key repeat */
153 bool en_keylock; /* Enable key lock feature (ADP5589 only)*/
154 unsigned char unlock_key1; /* Unlock Key 1 (ADP5589 only) */
155 unsigned char unlock_key2; /* Unlock Key 2 (ADP5589 only) */
159 unsigned short reset1_key_1; /* Reset Key 1 */
160 unsigned short reset1_key_2; /* Reset Key 2 */
161 unsigned short reset1_key_3; /* Reset Key 3 */
162 unsigned short reset2_key_1; /* Reset Key 1 */
163 unsigned short reset2_key_2; /* Reset Key 2 */
164 unsigned debounce_dis_mask; /* Disable debounce mask */
166 unsigned pullup_en_100k; /* Pull-Up 100k Enable Mask */
167 unsigned pullup_en_300k; /* Pull-Up 300k Enable Mask */
168 unsigned pulldown_en_300k; /* Pull-Down 300k Enable Mask */
170 unsigned short gpimapsize;