Lines Matching +full:fn +full:- +full:keymap

5  * (C) Copyright 2011-2012
12 * (C) Copyright 2004-2008
19 * Richard Woodruff <r-woodruff2@ti.com>
22 * SPDX-License-Identifier: GPL-2.0+
34 #include <asm/mach-types.h>
48 "Nokia RX-51",
71 OMAP_TAG_WLAN_CX3110X_CONFIG(0x25, 0xff, 87, 42, -1),
85 OMAP_TAG_VERSION_STR_CONFIG("product", "RX-51"),
86 OMAP_TAG_VERSION_STR_CONFIG("hw-build", "2101"),
88 OMAP_TAG_VERSION_STR_CONFIG("boot-mode", "normal"),
114 if (strcmp(component, "hw-build") == 0) in init_omap_tags()
118 else if (strcmp(component, "boot-mode") == 0) in init_omap_tags()
132 while (t->hdr.tag) { in reuse_omap_atags()
133 switch (t->hdr.tag) { in reuse_omap_atags()
136 strcpy(boot_reason_ptr, t->u.boot_reason.reason_str); in reuse_omap_atags()
139 component = t->u.version.component; in reuse_omap_atags()
140 version = t->u.version.version; in reuse_omap_atags()
141 if (strcmp(component, "hw-build") == 0) { in reuse_omap_atags()
147 } else if (strcmp(component, "boot-mode") == 0) { in reuse_omap_atags()
166 struct tag *t = (struct tag *)gd->bd->bi_boot_params; in reuse_atags()
169 if (t->hdr.tag != ATAG_CORE) in reuse_atags()
176 while (t->hdr.tag != ATAG_NONE) { in reuse_atags()
177 switch (t->hdr.tag) { in reuse_atags()
180 sprintf(hw_build_ptr, "%x", t->u.revision.rev); in reuse_atags()
183 reuse_omap_atags((struct tag_omap *)&t->u); in reuse_atags()
201 gd->bd->bi_boot_params = OMAP34XX_SDRC_CS0 + 0x100; in board_init()
230 params = (struct tag *)gd->bd->bi_boot_params; in setup_board_tags()
232 params->u.core.flags = 0x0; in setup_board_tags()
233 params->u.core.pagesize = 0x1000; in setup_board_tags()
234 params->u.core.rootdev = 0x0; in setup_board_tags()
251 t = (struct tag_omap *)&params->u; in setup_board_tags()
264 /* set uart tag to 0 - disable serial console */ in setup_board_tags()
266 t->u.uart.enabled_uarts = 0; in setup_board_tags()
271 memset(t->u.boot_reason.reason_str, 0, 12); in setup_board_tags()
272 strcpy(t->u.boot_reason.reason_str, in setup_board_tags()
279 strcmp(omap[i].u.version.component, "boot-mode") == 0) { in setup_board_tags()
280 memset(t->u.version.version, 0, 12); in setup_board_tags()
281 strcpy(t->u.version.version, setup_boot_mode_atag); in setup_board_tags()
289 params->hdr.tag = ATAG_BOARD; in setup_board_tags()
290 params->hdr.size = total_size >> 2; in setup_board_tags()
331 * copy the parameters to an un-cached area to avoid coherency in omap3_emu_romcode_call()
359 * set_bits - bits to set in ACR
360 * clr_bits - bits to clear in ACR
405 /* set VAUX3, VSIM and VMMC1 state to active - enable eMMC memory */ in misc_init_r()
428 * Cortex-A8(r1p0..r1p2) errata 430973 workaround in misc_init_r()
462 /* do not reset watchdog too often - max every 4s */ in hw_watchdog_reset()
491 static const char keymap[] = { variable
501 /* fn */
503 '2', '#', '-', '_', '(', ')', '&', '!',
554 /* check if some cursor key without meta fn key was pressed */ in rx51_kp_fill()
572 if (mods & 2) { /* fn meta key was pressed */ in rx51_kp_fill()
573 k = keymap[k+64]; in rx51_kp_fill()
575 k = keymap[k]; in rx51_kp_fill()
578 k -= 'a' - 1; in rx51_kp_fill()
582 k += 'A' - 'a'; in rx51_kp_fill()
646 return (KEYBUF_SIZE + keybuf_tail - keybuf_head)%KEYBUF_SIZE; in rx51_kp_tstc()
667 omap_mmc_init(0, 0, 0, -1, -1); in board_mmc_init()
668 omap_mmc_init(1, 0, 0, -1, -1); in board_mmc_init()