/u-boot/board/laird/wb45n/ |
A D | wb45n.c | 27 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in wb45n_nand_hw_init() local 30 csa = readl(&matrix->ebicsa); in wb45n_nand_hw_init() 35 writel(csa, &matrix->ebicsa); in wb45n_nand_hw_init() 133 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in matrix_init() local 136 csa = readl(&matrix->ebicsa); in matrix_init() 144 writel(csa, &matrix->ebicsa); in matrix_init() 183 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in mem_init() local 193 csa = readl(&matrix->ebicsa); in mem_init() 195 writel(csa, &matrix->ebicsa); in mem_init()
|
/u-boot/drivers/misc/ |
A D | cros_ec_sandbox.c | 214 ec->matrix = calloc(ec->matrix_count, sizeof(*ec->matrix)); in keyscan_read_fdt_matrix() 215 if (!ec->matrix) { in keyscan_read_fdt_matrix() 222 struct ec_keymatrix_entry *matrix = &ec->matrix[upto]; in keyscan_read_fdt_matrix() local 226 matrix->row = word >> 24; in keyscan_read_fdt_matrix() 228 matrix->keycode = word & 0xffff; in keyscan_read_fdt_matrix() 234 __func__, matrix->row, matrix->col); in keyscan_read_fdt_matrix() 267 for (i = 0, matrix = ec->matrix; i < ec->matrix_count; i++, matrix++) { in cros_ec_keyscan() 272 if (matrix->keycode == key[j]) in cros_ec_keyscan() 277 debug("%d: %d,%d\n", matrix->keycode, matrix->row, in cros_ec_keyscan() 278 matrix->col); in cros_ec_keyscan() [all …]
|
/u-boot/board/gardena/smart-gateway-at91sam/ |
A D | spl.c | 19 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in at91sam9x5ek_nand_hw_init() local 23 csa = readl(&matrix->ebicsa); in at91sam9x5ek_nand_hw_init() 32 writel(csa, &matrix->ebicsa); in at91sam9x5ek_nand_hw_init() 115 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in mem_init() local 126 csa = readl(&matrix->ebicsa); in mem_init() 131 writel(csa, &matrix->ebicsa); in mem_init()
|
/u-boot/board/ronetix/pm9263/ |
A D | pm9263.c | 40 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in pm9263_nand_hw_init() local 43 csa = readl(&matrix->csa[0]) | AT91_MATRIX_CSA_EBI_CS3A; in pm9263_nand_hw_init() 44 writel(csa, &matrix->csa[0]); in pm9263_nand_hw_init() 123 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in pm9263_lcd_hw_psram_init() local 126 csa = readl(&matrix->csa[1]) | AT91_MATRIX_CSA_DBPUC | in pm9263_lcd_hw_psram_init() 129 writel(csa, &matrix->csa[1]); in pm9263_lcd_hw_psram_init() 194 writel(AT91_MATRIX_PRA_M5(3), &matrix->pr[5].a); in pm9263_lcd_hw_psram_init() 195 writel(CONFIG_PSRAM_SCFG, &matrix->scfg[5]); in pm9263_lcd_hw_psram_init()
|
/u-boot/drivers/input/ |
A D | twl4030.c | 50 int twl4030_keypad_scan(unsigned char *matrix) in twl4030_keypad_scan() argument 74 matrix[c * 8 + r] = !(data & (1 << r)); in twl4030_keypad_scan() 84 int twl4030_keypad_key(unsigned char *matrix, u8 c, u8 r) in twl4030_keypad_key() argument 86 return matrix[c * 8 + r]; in twl4030_keypad_key()
|
A D | tegra-kbc.c | 46 struct key_matrix matrix; /* The key matrix layer */ member 90 return key_matrix_decode(&priv->matrix, keys, KBC_MAX_KPENT, fifo, in tegra_kbc_find_keys() 214 if (i < priv->matrix.num_rows) { in config_kbc_gpio() 217 col_cfg |= (((i - priv->matrix.num_rows) << 1) | 1) in config_kbc_gpio() 302 ret = key_matrix_init(&priv->matrix, 16, 8, 1); in tegra_kbd_probe() 307 ret = key_matrix_decode_fdt(dev, &priv->matrix); in tegra_kbd_probe() 314 if (priv->matrix.fn_keycode) { in tegra_kbd_probe() 316 priv->matrix.fn_keycode, in tegra_kbd_probe() 317 priv->matrix.key_count); in tegra_kbd_probe()
|
A D | cros_ec_keyb.c | 26 struct key_matrix matrix; /* The key matrix layer */ member 89 for (col = num_keys = bit = 0; col < priv->matrix.num_cols; in check_for_keys() 91 for (row = 0; row < priv->matrix.num_rows; row++) { in check_for_keys() 158 num_keycodes = key_matrix_decode(&priv->matrix, keys, in cros_ec_kbc_check() 216 ret = key_matrix_init(&priv->matrix, priv->key_rows, priv->key_cols, in cros_ec_kbd_probe() 222 ret = key_matrix_decode_fdt(dev, &priv->matrix); in cros_ec_kbd_probe()
|
/u-boot/board/atmel/at91sam9x5ek/ |
A D | at91sam9x5ek.c | 32 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in at91sam9x5ek_nand_hw_init() local 36 csa = readl(&matrix->ebicsa); in at91sam9x5ek_nand_hw_init() 44 writel(csa, &matrix->ebicsa); in at91sam9x5ek_nand_hw_init() 190 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in mem_init() local 200 csa = readl(&matrix->ebicsa); in mem_init() 205 writel(csa, &matrix->ebicsa); in mem_init()
|
/u-boot/board/atmel/at91sam9260ek/ |
A D | at91sam9260ek.c | 31 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in at91sam9260ek_nand_hw_init() local 35 csa = readl(&matrix->ebicsa); in at91sam9260ek_nand_hw_init() 37 writel(csa, &matrix->ebicsa); in at91sam9260ek_nand_hw_init()
|
/u-boot/board/atmel/at91sam9n12ek/ |
A D | at91sam9n12ek.c | 39 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in at91sam9n12ek_nand_hw_init() local 43 csa = readl(&matrix->ebicsa); in at91sam9n12ek_nand_hw_init() 50 writel(csa, &matrix->ebicsa); in at91sam9n12ek_nand_hw_init() 275 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in mem_init() local 285 csa = readl(&matrix->ebicsa); in mem_init() 290 writel(csa, &matrix->ebicsa); in mem_init()
|
/u-boot/board/calao/usb_a9263/ |
A D | usb_a9263.c | 30 at91_matrix_t *matrix = (at91_matrix_t *)ATMEL_BASE_MATRIX; in usb_a9263_nand_hw_init() local 33 csa = readl(&matrix->csa[0]) | AT91_MATRIX_CSA_EBI_CS3A; in usb_a9263_nand_hw_init() 34 writel(csa, &matrix->csa[0]); in usb_a9263_nand_hw_init()
|
/u-boot/board/egnite/ethernut5/ |
A D | ethernut5.c | 97 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in ethernut5_nand_hw_init() local 101 csa = readl(&matrix->ebicsa); in ethernut5_nand_hw_init() 103 writel(csa, &matrix->ebicsa); in ethernut5_nand_hw_init()
|
/u-boot/board/ronetix/pm9g45/ |
A D | pm9g45.c | 42 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in pm9g45_nand_hw_init() local 45 csa = readl(&matrix->ccr[6]) | AT91_MATRIX_CSA_EBI_CS3A; in pm9g45_nand_hw_init() 46 writel(csa, &matrix->ccr[6]); in pm9g45_nand_hw_init()
|
/u-boot/board/bluewater/snapper9260/ |
A D | snapper9260.c | 78 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in nand_hw_init() local 82 csa = readl(&matrix->ebicsa); in nand_hw_init() 84 writel(csa, &matrix->ebicsa); in nand_hw_init()
|
/u-boot/board/ronetix/pm9261/ |
A D | pm9261.c | 41 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in pm9261_nand_hw_init() local 44 csa = readl(&matrix->csa) | AT91_MATRIX_CSA_EBI_CS3A; in pm9261_nand_hw_init() 45 writel(csa, &matrix->csa); in pm9261_nand_hw_init()
|
/u-boot/arch/arm/mach-at91/ |
A D | Makefile | 10 obj-$(CONFIG_SAMA5D2) += bootparams_atmel.o mpddrc.o spl_atmel.o matrix.o 12 obj-$(CONFIG_SAMA5D4) += bootparams_atmel.o mpddrc.o spl_atmel.o matrix.o
|
/u-boot/board/atmel/at91sam9rlek/ |
A D | at91sam9rlek.c | 37 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in at91sam9rlek_nand_hw_init() local 41 csa = readl(&matrix->ebicsa); in at91sam9rlek_nand_hw_init() 44 writel(csa, &matrix->ebicsa); in at91sam9rlek_nand_hw_init()
|
/u-boot/board/atmel/at91sam9263ek/ |
A D | at91sam9263ek.c | 41 at91_matrix_t *matrix = (at91_matrix_t *) ATMEL_BASE_MATRIX; in at91sam9263ek_nand_hw_init() local 44 csa = readl(&matrix->csa[0]) | AT91_MATRIX_CSA_EBI_CS3A; in at91sam9263ek_nand_hw_init() 45 writel(csa, &matrix->csa[0]); in at91sam9263ek_nand_hw_init()
|
/u-boot/board/siemens/smartweb/ |
A D | smartweb.c | 53 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in smartweb_nand_hw_init() local 57 csa = readl(&matrix->ebicsa); in smartweb_nand_hw_init() 59 writel(csa, &matrix->ebicsa); in smartweb_nand_hw_init()
|
/u-boot/board/esd/meesc/ |
A D | meesc.c | 63 at91_matrix_t *matrix = (at91_matrix_t *) ATMEL_BASE_MATRIX; in meesc_nand_hw_init() local 66 csa = readl(&matrix->csa[0]) | AT91_MATRIX_CSA_EBI_CS3A; in meesc_nand_hw_init() 67 writel(csa, &matrix->csa[0]); in meesc_nand_hw_init()
|
/u-boot/board/siemens/corvus/ |
A D | board.c | 62 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in corvus_nand_hw_init() local 66 csa = readl(&matrix->ebicsa); in corvus_nand_hw_init() 68 writel(csa, &matrix->ebicsa); in corvus_nand_hw_init()
|
/u-boot/doc/device-tree-bindings/input/ |
A D | cros-ec-keyb.txt | 3 Google's ChromeOS EC Keyboard is a simple matrix keyboard implemented on 8 This binding is based on matrix-keymap.txt and extends/modifies it as follows: 14 - google,needs-ghost-filter: True to enable a ghost filter for the matrix
|
/u-boot/board/atmel/at91sam9m10g45ek/ |
A D | at91sam9m10g45ek.c | 37 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in at91sam9m10g45ek_nand_hw_init() local 41 csa = readl(&matrix->ebicsa); in at91sam9m10g45ek_nand_hw_init() 43 writel(csa, &matrix->ebicsa); in at91sam9m10g45ek_nand_hw_init()
|
/u-boot/board/bluewater/gurnard/ |
A D | gurnard.c | 76 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in gurnard_nand_hw_init() local 82 setbits_le32(&matrix->ebicsa, AT91_MATRIX_EBI_CS3A_SMC_SMARTMEDIA); in gurnard_nand_hw_init() 188 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in fpga_hw_init() local 192 setbits_le32(&matrix->ebicsa, AT91_MATRIX_EBI_CS1A_SDRAMC); in fpga_hw_init()
|
/u-boot/board/atmel/at91sam9261ek/ |
A D | at91sam9261ek.c | 40 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in at91sam9261ek_nand_hw_init() local 44 csa = readl(&matrix->ebicsa); in at91sam9261ek_nand_hw_init() 47 writel(csa, &matrix->ebicsa); in at91sam9261ek_nand_hw_init()
|