/linux-2.6.39/drivers/input/keyboard/ ! |
D | imx_keypad.c | 84 static void imx_keypad_scan_matrix(struct imx_keypad *keypad, in imx_keypad_scan_matrix() argument 91 if ((keypad->cols_en_mask & (1 << col)) == 0) in imx_keypad_scan_matrix() 99 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 101 writew(reg_val, keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 103 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix() 104 reg_val &= ~((keypad->cols_en_mask & 0xff) << 8); in imx_keypad_scan_matrix() 105 writew(reg_val, keypad->mmio_base + KPCR); in imx_keypad_scan_matrix() 109 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix() 110 reg_val |= (keypad->cols_en_mask & 0xff) << 8; in imx_keypad_scan_matrix() 111 writew(reg_val, keypad->mmio_base + KPCR); in imx_keypad_scan_matrix() [all …]
|
D | samsung-keypad.c | 87 static void samsung_keypad_scan(struct samsung_keypad *keypad, in samsung_keypad_scan() argument 90 struct device *dev = keypad->input_dev->dev.parent; in samsung_keypad_scan() 94 for (col = 0; col < keypad->cols; col++) { in samsung_keypad_scan() 103 writel(val, keypad->base + SAMSUNG_KEYIFCOL); in samsung_keypad_scan() 106 val = readl(keypad->base + SAMSUNG_KEYIFROW); in samsung_keypad_scan() 107 row_state[col] = ~val & ((1 << keypad->rows) - 1); in samsung_keypad_scan() 111 writel(0, keypad->base + SAMSUNG_KEYIFCOL); in samsung_keypad_scan() 114 static bool samsung_keypad_report(struct samsung_keypad *keypad, in samsung_keypad_report() argument 117 struct input_dev *input_dev = keypad->input_dev; in samsung_keypad_report() 124 for (col = 0; col < keypad->cols; col++) { in samsung_keypad_report() [all …]
|
D | ep93xx_keypad.c | 85 struct ep93xx_keypad *keypad = dev_id; in ep93xx_keypad_irq_handler() local 86 struct input_dev *input_dev = keypad->input_dev; in ep93xx_keypad_irq_handler() 90 status = __raw_readl(keypad->mmio_base + KEY_REG); in ep93xx_keypad_irq_handler() 93 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 96 key2 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 99 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler() 100 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler() 102 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler() 103 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler() 108 keypad->key1 = key1; in ep93xx_keypad_irq_handler() [all …]
|
D | nomadik-ske-keypad.c | 70 static void ske_keypad_set_bits(struct ske_keypad *keypad, u16 addr, in ske_keypad_set_bits() argument 75 spin_lock(&keypad->ske_keypad_lock); in ske_keypad_set_bits() 77 ret = readl(keypad->reg_base + addr); in ske_keypad_set_bits() 80 writel(ret, keypad->reg_base + addr); in ske_keypad_set_bits() 82 spin_unlock(&keypad->ske_keypad_lock); in ske_keypad_set_bits() 90 static int __devinit ske_keypad_chip_init(struct ske_keypad *keypad) in ske_keypad_chip_init() argument 96 while ((readl(keypad->reg_base + SKE_RIS) != 0x00000000) && timeout--) in ske_keypad_chip_init() 107 spin_lock(&keypad->ske_keypad_lock); in ske_keypad_chip_init() 108 value = readl(keypad->reg_base + SKE_DBCR); in ske_keypad_chip_init() 110 value |= ((keypad->board->debounce_ms * 32000)/32768) << 8; in ske_keypad_chip_init() [all …]
|
D | matrix_keypad.c | 86 static void enable_row_irqs(struct matrix_keypad *keypad) in enable_row_irqs() argument 88 const struct matrix_keypad_platform_data *pdata = keypad->pdata; in enable_row_irqs() 99 static void disable_row_irqs(struct matrix_keypad *keypad) in disable_row_irqs() argument 101 const struct matrix_keypad_platform_data *pdata = keypad->pdata; in disable_row_irqs() 117 struct matrix_keypad *keypad = in matrix_keypad_scan() local 119 struct input_dev *input_dev = keypad->input_dev; in matrix_keypad_scan() 120 const struct matrix_keypad_platform_data *pdata = keypad->pdata; in matrix_keypad_scan() 144 bits_changed = keypad->last_key_state[col] ^ new_state[col]; in matrix_keypad_scan() 152 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in matrix_keypad_scan() 155 keypad->keycodes[code], in matrix_keypad_scan() [all …]
|
D | pxa27x_keypad.c | 96 #define keypad_readl(off) __raw_readl(keypad->mmio_base + (off)) 97 #define keypad_writel(off, v) __raw_writel((v), keypad->mmio_base + (off)) 121 static void pxa27x_keypad_build_keycode(struct pxa27x_keypad *keypad) in pxa27x_keypad_build_keycode() argument 123 struct pxa27x_keypad_platform_data *pdata = keypad->pdata; in pxa27x_keypad_build_keycode() 124 struct input_dev *input_dev = keypad->input_dev; in pxa27x_keypad_build_keycode() 136 keypad->keycodes[scancode] = keycode; in pxa27x_keypad_build_keycode() 142 keypad->keycodes[MAX_MATRIX_KEY_NUM + i] = keycode; in pxa27x_keypad_build_keycode() 149 keypad->keycodes[MAX_MATRIX_KEY_NUM + 0] = keycode; in pxa27x_keypad_build_keycode() 153 keypad->keycodes[MAX_MATRIX_KEY_NUM + 1] = keycode; in pxa27x_keypad_build_keycode() 156 keypad->rotary_rel_code[0] = -1; in pxa27x_keypad_build_keycode() [all …]
|
D | tc3589x-keypad.c | 93 static int __devinit tc3589x_keypad_init_key_hardware(struct tc_keypad *keypad) in tc3589x_keypad_init_key_hardware() argument 96 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_init_key_hardware() 97 u8 settle_time = keypad->board->settle_time; in tc3589x_keypad_init_key_hardware() 98 u8 dbounce_period = keypad->board->debounce_period; in tc3589x_keypad_init_key_hardware() 99 u8 rows = keypad->board->krow & 0xf; /* mask out the nibble */ in tc3589x_keypad_init_key_hardware() 100 u8 column = keypad->board->kcol & 0xf; /* mask out the nibble */ in tc3589x_keypad_init_key_hardware() 103 if (keypad->board->kcol > TC3589x_MAX_KPCOL || in tc3589x_keypad_init_key_hardware() 104 keypad->board->krow > TC3589x_MAX_KPROW || in tc3589x_keypad_init_key_hardware() 105 keypad->board->debounce_period > TC3589x_MAX_DEBOUNCE_SETTLE || in tc3589x_keypad_init_key_hardware() 106 keypad->board->settle_time > TC3589x_MAX_DEBOUNCE_SETTLE) in tc3589x_keypad_init_key_hardware() [all …]
|
D | w90p910_keypad.c | 57 static void w90p910_keypad_scan_matrix(struct w90p910_keypad *keypad, in w90p910_keypad_scan_matrix() argument 60 struct input_dev *input_dev = keypad->input_dev; in w90p910_keypad_scan_matrix() 64 unsigned int key = keypad->keymap[code]; in w90p910_keypad_scan_matrix() 77 struct w90p910_keypad *keypad = dev_id; in w90p910_keypad_irq_handler() local 80 kstatus = __raw_readl(keypad->mmio_base + KPI_STATUS); in w90p910_keypad_irq_handler() 85 w90p910_keypad_scan_matrix(keypad, kstatus); in w90p910_keypad_irq_handler() 92 struct w90p910_keypad *keypad = input_get_drvdata(dev); in w90p910_keypad_open() local 93 const struct w90p910_keypad_platform_data *pdata = keypad->pdata; in w90p910_keypad_open() 97 clk_enable(keypad->clk); in w90p910_keypad_open() 99 val = __raw_readl(keypad->mmio_base + KPI_CONF); in w90p910_keypad_open() [all …]
|
D | stmpe-keypad.c | 115 static int stmpe_keypad_read_data(struct stmpe_keypad *keypad, u8 *data) in stmpe_keypad_read_data() argument 117 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_read_data() 118 struct stmpe *stmpe = keypad->stmpe; in stmpe_keypad_read_data() 139 struct stmpe_keypad *keypad = dev; in stmpe_keypad_irq() local 140 struct input_dev *input = keypad->input; in stmpe_keypad_irq() 141 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_irq() 146 ret = stmpe_keypad_read_data(keypad, fifo); in stmpe_keypad_irq() 162 input_report_key(input, keypad->keymap[code], !up); in stmpe_keypad_irq() 169 static int __devinit stmpe_keypad_altfunc_init(struct stmpe_keypad *keypad) in stmpe_keypad_altfunc_init() argument 171 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_altfunc_init() [all …]
|
D | max7359_keypad.c | 87 static void max7359_build_keycode(struct max7359_keypad *keypad, in max7359_build_keycode() argument 90 struct input_dev *input_dev = keypad->input_dev; in max7359_build_keycode() 101 keypad->keycodes[scancode] = keycode; in max7359_build_keycode() 110 struct max7359_keypad *keypad = dev_id; in max7359_interrupt() local 111 struct input_dev *input_dev = keypad->input_dev; in max7359_interrupt() 114 val = max7359_read_reg(keypad->client, MAX7359_REG_KEYFIFO); in max7359_interrupt() 121 dev_dbg(&keypad->client->dev, in max7359_interrupt() 125 input_report_key(input_dev, keypad->keycodes[code], !release); in max7359_interrupt() 152 struct max7359_keypad *keypad = input_get_drvdata(dev); in max7359_open() local 154 max7359_take_catnap(keypad->client); in max7359_open() [all …]
|
D | Makefile | 17 obj-$(CONFIG_KEYBOARD_TCA6416) += tca6416-keypad.o 31 obj-$(CONFIG_KEYBOARD_NOMADIK) += nomadik-ske-keypad.o 32 obj-$(CONFIG_KEYBOARD_OMAP) += omap-keypad.o 33 obj-$(CONFIG_KEYBOARD_OMAP4) += omap4-keypad.o 39 obj-$(CONFIG_KEYBOARD_SAMSUNG) += samsung-keypad.o 42 obj-$(CONFIG_KEYBOARD_STMPE) += stmpe-keypad.o 45 obj-$(CONFIG_KEYBOARD_TC3589X) += tc3589x-keypad.o 47 obj-$(CONFIG_KEYBOARD_TNETV107X) += tnetv107x-keypad.o
|
D | Kconfig | 19 This option enables support for the keypad scan matrix 136 tristate "Blackfin BF54x keypad support" 139 Say Y here if you want to use the BF54x keypad. 160 Say Y here to enable the matrix keypad on the Cirrus EP93XX. 200 This driver implements basic keypad functionality 206 are used for keypad). 215 tristate "GPIO driven matrix keypad support" 218 Enable support for GPIO driven matrix keypad. 276 tristate "LM8323 keypad chip" 281 LM8323 keypad controller. [all …]
|
/linux-2.6.39/drivers/staging/panel/ ! |
D | Kconfig | 8 keypad through /dev/keypad (10, 185). Both require misc device to be 20 driver instance only supports one parallel port, so if your keypad 37 1 = 2x16 parallel LCD, old keypad 38 2 = 2x16 serial LCD (KS-0074), new keypad 39 3 = 2x16 parallel LCD (Hantronix), no keypad 40 4 = 2x16 parallel LCD (Nexcom NSA1045) with Nexcom's keypad 41 5 = 2x40 parallel LCD (old one), with old keypad 53 This enables and configures a keypad connected to the parallel port. 57 1 : old 6 keys keypad 58 2 : new 6 keys keypad, as used on the server at www.ant-computing.com [all …]
|
/linux-2.6.39/arch/arm/mach-mmp/ ! |
D | pxa168.c | 80 static APBC_CLK(keypad, PXA168_KPC, 0, 32000); 165 PXA168_DEVICE(keypad, "pxa27x-keypad", -1, KEYPAD, 0xd4012000, 0x4c);
|
/linux-2.6.39/drivers/staging/speakup/ ! |
D | spkguide.txt | 118 Note: In this guide I will refer to the numeric keypad as the keypad. 120 manual uses the term keypad instead of numeric keypad. Also I'm lazy 121 and would rather only type one word. So keypad it is. Got it? Good. 123 Most of the Speakup review keys are located on the keypad at the far 125 to work. If you toggle the numlock on, the keypad will produce numbers, 139 bootup messages, just press the keypad enter key. This key is located 140 in the bottom right corner of the keypad. Speakup will shut up and stay 144 key on the keypad, which reads the current line. This also has the 145 effect of starting Speakup talking again, so you can press keypad enter 162 the speech with keypad enter, or use any of the Speakup review keys. [all …]
|
D | DefaultKeyAssignments | 6 We have remapped the insert or zero key on the keypad to act as a 9 hit the keypad period.
|
/linux-2.6.39/arch/arm/plat-omap/include/plat/ ! |
D | keypad.h | 14 #warning Please update the board to use matrix-keypad driver
|
/linux-2.6.39/arch/arm/mach-s5pc100/ ! |
D | Makefile | 23 obj-$(CONFIG_S5PC100_SETUP_KEYPAD) += setup-keypad.o
|
/linux-2.6.39/arch/arm/mach-s5pv210/ ! |
D | Makefile | 38 obj-$(CONFIG_S5PV210_SETUP_KEYPAD) += setup-keypad.o
|
/linux-2.6.39/arch/arm/mach-ux500/ ! |
D | board-mop500-u8500uib.c | 89 .keypad = &tc35893_data,
|
/linux-2.6.39/arch/arm/plat-mxc/devices/ ! |
D | Makefile | 11 obj-$(CONFIG_IMX_HAVE_PLATFORM_IMX_KEYPAD) += platform-imx-keypad.o
|
/linux-2.6.39/arch/arm/mach-s3c64xx/ ! |
D | Makefile | 39 obj-$(CONFIG_S3C64XX_SETUP_KEYPAD) += setup-keypad.o
|
/linux-2.6.39/scripts/kconfig/lxdialog/ ! |
D | yesno.c | 60 keypad(dialog, TRUE); in dialog_yesno()
|
D | textbox.c | 92 keypad(dialog, TRUE); in dialog_textbox() 101 keypad(box, TRUE); in dialog_textbox()
|
/linux-2.6.39/arch/arm/mach-exynos4/ ! |
D | Makefile | 54 obj-$(CONFIG_EXYNOS4_SETUP_KEYPAD) += setup-keypad.o
|