Lines Matching full:keyboard

12 #include <keyboard.h>
41 KBC_CLOCK_KHZ = 32, /* Keyboard uses a 32KHz clock */
44 /* keyboard controller config and state */
49 struct kbc_tegra *kbc; /* tegra keyboard controller */
50 unsigned char inited; /* 1 if keyboard has been inited */
54 * After init we must wait a short time before polling the keyboard.
55 * This gives the tegra keyboard controller time to react after reset
58 unsigned int init_dly_ms; /* Delay before we can read keyboard */
65 * reads the keyboard fifo for current keypresses
67 * @param priv Keyboard private data
110 * @param priv Keyboard private data
111 * @param fifo_cnt Number of entries in the keyboard fifo
128 * Check the keyboard controller and emit ASCII characters for any keys that
131 * @param priv Keyboard private data
144 * Once we get here we know the keyboard has been scanned. So if there in check_for_keys()
157 * @param priv Keyboard private data
177 * Check the tegra keyboard, and send any keys that are pressed.
195 /* configures keyboard GPIO registers to use the rows and columns */
228 * Start up the keyboard device
237 * We will scan at twice the keyboard repeat rate, so that there is in tegra_kbc_open()
244 * Before reading from the keyboard we must wait for the init_dly in tegra_kbc_open()
270 debug("%s: Tegra keyboard ready\n", __func__); in tegra_kbd_start()
276 * Set up the tegra keyboard. This is called by the stdio device handler
278 * We want to do this init when the keyboard is actually used rather than
279 * at start-up, since keyboard input may not currently be selected.
281 * Once the keyboard starts there will be a period during which we must
282 * wait for the keyboard to init. We do this only when a key is first
297 debug("%s: No keyboard register found\n", __func__); in tegra_kbd_probe()
302 /* Decode the keyboard matrix information (16 rows, 8 columns) */ in tegra_kbd_probe()