Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1477)

Side by Side Diff: arch/arm/mach-tegra/nv/include/nvodm_kbc.h

Issue 3256004: [ARM] tegra: add nvos/nvrm/nvmap drivers (Closed) Base URL: ssh://git@gitrw.chromium.org/kernel.git
Patch Set: remove ap15 headers Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2006-2009 NVIDIA Corporation.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer.
10 *
11 * Redistributions in binary form must reproduce the above copyright notice,
12 * this list of conditions and the following disclaimer in the documentation
13 * and/or other materials provided with the distribution.
14 *
15 * Neither the name of the NVIDIA Corporation nor the names of its contributors
16 * may be used to endorse or promote products derived from this software
17 * without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
23 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGE.
30 *
31 */
32
33 /**
34 * @file
35 * <b>NVIDIA Tegra ODM Kit:
36 * KBC Adaptation Interface</b>
37 *
38 * @b Description: Defines the ODM adaptation interface for KBC keypad.
39 *
40 */
41
42 #ifndef INCLUDED_NVODM_KBC_H
43 #define INCLUDED_NVODM_KBC_H
44
45 #if defined(__cplusplus)
46 extern "C"
47 {
48 #endif
49
50 #include "nvodm_services.h"
51
52 /**
53 * @defgroup nvodm_kbc Keyboard Controller Adaptation Interface
54 * This is the keyboard controller (KBC) ODM adaptation interface.
55 * See also the \link nvodm_query_kbc ODM Query KBC Interface\endlink.
56 * @ingroup nvodm_adaptation
57 * @{
58 */
59 /**
60 * This API takes the keys that have been pressed as input and filters out the
61 * the keys that may have been caused due to ghosting effect and key roll-over.
62 *
63 * @note The row and column numbers of the keys that have been left after the
64 * filtering are stored in the \a pRows and \a pCols arrays. The extra keys must be
65 * deleted from the array.
66 *
67 * @param pRows A pointer to the array of the row numbers of the keys that have
68 * been detected. This array contains \a NumOfKeysPressed elements.
69 *
70 * @param pCols A pointer to the array of the column numbers of the keys that ha ve
71 * been detected. This array contains \a NumOfKeysPressed elements.
72 *
73 * @param NumOfKeysPressed The number of key presses that have been detected by
74 * the driver.
75 *
76 * @return The number of keys pressed after the filter has been applied.
77 *
78 */
79 NvU32
80 NvOdmKbcFilterKeys(
81 NvU32 *pRows,
82 NvU32 *pCols,
83 NvU32 NumOfKeysPressed);
84
85
86 #if defined(__cplusplus)
87 }
88 #endif
89
90 /** @} */
91
92 #endif // INCLUDED_NVODM_KBC_H
93
OLDNEW
« no previous file with comments | « arch/arm/mach-tegra/nv/include/nvodm_gpio_ext.h ('k') | arch/arm/mach-tegra/nv/include/nvodm_kbc_keymapping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698