Lines Matching full:keyboard
11 #include <keyboard.h>
38 KBC_CLOCK_KHZ = 32, /* Keyboard uses a 32KHz clock */
41 /* keyboard controller config and state */
46 struct kbc_tegra *kbc; /* tegra keyboard controller */
47 unsigned char inited; /* 1 if keyboard has been inited */
51 * After init we must wait a short time before polling the keyboard.
52 * This gives the tegra keyboard controller time to react after reset
55 unsigned int init_dly_ms; /* Delay before we can read keyboard */
62 * reads the keyboard fifo for current keypresses
64 * @param priv Keyboard private data
107 * @param priv Keyboard private data
108 * @param fifo_cnt Number of entries in the keyboard fifo
125 * Check the keyboard controller and emit ASCII characters for any keys that
128 * @param priv Keyboard private data
141 * Once we get here we know the keyboard has been scanned. So if there in check_for_keys()
154 * @param priv Keyboard private data
174 * Check the tegra keyboard, and send any keys that are pressed.
192 /* configures keyboard GPIO registers to use the rows and columns */
225 * Start up the keyboard device
234 * We will scan at twice the keyboard repeat rate, so that there is in tegra_kbc_open()
241 * Before reading from the keyboard we must wait for the init_dly in tegra_kbc_open()
267 debug("%s: Tegra keyboard ready\n", __func__); in tegra_kbd_start()
273 * Set up the tegra keyboard. This is called by the stdio device handler
275 * We want to do this init when the keyboard is actually used rather than
276 * at start-up, since keyboard input may not currently be selected.
278 * Once the keyboard starts there will be a period during which we must
279 * wait for the keyboard to init. We do this only when a key is first
294 debug("%s: No keyboard register found\n", __func__); in tegra_kbd_probe()
299 /* Decode the keyboard matrix information (16 rows, 8 columns) */ in tegra_kbd_probe()