Searched refs:keypad (Results 1 - 25 of 37) sorted by last modified time

12

/linux-master/scripts/kconfig/lxdialog/
H A Dutil.c302 keypad(stdscr, TRUE);
526 * keypad(FALSE) turn off ncurses support for escape sequences - and that's
536 keypad(win, FALSE);
543 keypad(win, TRUE);
H A Dtextbox.c202 keypad(dialog, TRUE);
211 keypad(box, TRUE);
H A Dyesno.c47 keypad(dialog, TRUE);
H A Dmenubox.c191 keypad(dialog, TRUE);
215 keypad(menu, TRUE);
H A Dchecklist.c136 keypad(dialog, TRUE);
160 keypad(list, TRUE);
H A Dinputbox.c58 keypad(dialog, TRUE);
/linux-master/scripts/kconfig/
H A Dnconf.c1002 keypad(menu_window, TRUE);
1129 keypad((menu_win(curses_menu)), TRUE);
1507 keypad(main_window, TRUE);
1541 keypad(stdscr, TRUE);
/linux-master/drivers/input/misc/
H A Diqs7222.c1474 struct input_dev *keypad; member in struct:iqs7222_private
1808 sys_setup |= test_bit(EV_ABS, iqs7222->keypad->evbit)
2170 input_set_capability(iqs7222->keypad, EV_KEY, *event_code);
2188 input_set_capability(iqs7222->keypad, *event_type, *event_code);
2582 input_set_abs_params(iqs7222->keypad, val, 0, sldr_max, 0, 0);
2786 input_set_abs_params(iqs7222->keypad, ABS_X,
2789 input_set_abs_params(iqs7222->keypad, ABS_Y,
2792 touchscreen_parse_properties(iqs7222->keypad, false, prop);
2957 input_event(iqs7222->keypad,
2973 input_report_abs(iqs7222->keypad, iqs722
[all...]
H A Diqs269a.c323 struct input_dev *keypad; member in struct:iqs269_private
1250 iqs269->keypad = devm_input_allocate_device(&client->dev);
1251 if (!iqs269->keypad)
1254 iqs269->keypad->keycodemax = ARRAY_SIZE(iqs269->keycode);
1255 iqs269->keypad->keycode = iqs269->keycode;
1256 iqs269->keypad->keycodesize = sizeof(*iqs269->keycode);
1258 iqs269->keypad->name = "iqs269a_keypad";
1259 iqs269->keypad->id.bustype = BUS_I2C;
1275 input_set_capability(iqs269->keypad,
1286 input_set_capability(iqs269->keypad,
[all...]
H A Diqs626a.c448 struct input_dev *keypad; member in struct:iqs626_private
1423 iqs626->keypad = devm_input_allocate_device(&client->dev);
1424 if (!iqs626->keypad)
1427 iqs626->keypad->keycodemax = ARRAY_SIZE(iqs626->kp_code);
1428 iqs626->keypad->keycode = iqs626->kp_code;
1429 iqs626->keypad->keycodesize = sizeof(**iqs626->kp_code);
1431 iqs626->keypad->name = "iqs626a_keypad";
1432 iqs626->keypad->id.bustype = BUS_I2C;
1442 input_set_capability(iqs626->keypad,
1566 input_event(iqs626->keypad, iqs62
[all...]
/linux-master/drivers/input/keyboard/
H A Dmatrix_keypad.c88 static void enable_row_irqs(struct matrix_keypad *keypad) argument
92 for (i = 0; i < keypad->num_row_irqs; i++)
93 enable_irq(keypad->row_irqs[i]);
96 static void disable_row_irqs(struct matrix_keypad *keypad) argument
100 for (i = 0; i < keypad->num_row_irqs; i++)
101 disable_irq_nosync(keypad->row_irqs[i]);
109 struct matrix_keypad *keypad = local
111 struct input_dev *input_dev = keypad->input_dev;
113 const struct matrix_keypad_platform_data *pdata = keypad->pdata;
140 bits_changed = keypad
170 struct matrix_keypad *keypad = id; local
195 struct matrix_keypad *keypad = input_get_drvdata(dev); local
211 struct matrix_keypad *keypad = input_get_drvdata(dev); local
225 matrix_keypad_enable_wakeup(struct matrix_keypad *keypad) argument
234 matrix_keypad_disable_wakeup(struct matrix_keypad *keypad) argument
247 struct matrix_keypad *keypad = platform_get_drvdata(pdev); local
260 struct matrix_keypad *keypad = platform_get_drvdata(pdev); local
273 matrix_keypad_init_gpio(struct platform_device *pdev, struct matrix_keypad *keypad) argument
438 struct matrix_keypad *keypad; local
[all...]
H A Domap-keypad.c3 * linux/drivers/input/keyboard/omap-keypad.c
25 #include <linux/platform_data/keypad-omap.h>
73 /* read the keypad status */
111 printk(KERN_INFO "omap-keypad: key %d-%d %s\n", col,
132 * to poll the keypad */
222 input_dev->name = "omap-keypad";
223 input_dev->phys = "omap-keypad/input0";
242 printk(KERN_ERR "Unable to register omap-keypad input device\n");
254 "omap-keypad", omap_kp) < 0)
277 /* disable keypad interrup
[all...]
H A Dstmpe-keypad.c116 * struct stmpe_keypad - STMPE keypad state container
141 static int stmpe_keypad_read_data(struct stmpe_keypad *keypad, u8 *data) argument
143 const struct stmpe_keypad_variant *variant = keypad->variant;
144 struct stmpe *stmpe = keypad->stmpe;
165 struct stmpe_keypad *keypad = dev; local
166 struct input_dev *input = keypad->input;
167 const struct stmpe_keypad_variant *variant = keypad->variant;
172 ret = stmpe_keypad_read_data(keypad, fifo);
188 input_report_key(input, keypad->keymap[code], !up);
195 static int stmpe_keypad_altfunc_init(struct stmpe_keypad *keypad) argument
265 stmpe_keypad_chip_init(struct stmpe_keypad *keypad) argument
314 stmpe_keypad_fill_used_pins(struct stmpe_keypad *keypad, u32 used_rows, u32 used_cols) argument
335 struct stmpe_keypad *keypad; local
409 struct stmpe_keypad *keypad = platform_get_drvdata(pdev); local
[all...]
H A Dsamsung-keypad.c3 * Samsung keypad driver
23 #include <linux/input/samsung-keypad.h>
79 static void samsung_keypad_scan(struct samsung_keypad *keypad, argument
85 for (col = 0; col < keypad->cols; col++) {
86 if (keypad->type == KEYPAD_TYPE_S5PV210) {
94 writel(val, keypad->base + SAMSUNG_KEYIFCOL);
97 val = readl(keypad->base + SAMSUNG_KEYIFROW);
98 row_state[col] = ~val & ((1 << keypad->rows) - 1);
102 writel(0, keypad->base + SAMSUNG_KEYIFCOL);
105 static bool samsung_keypad_report(struct samsung_keypad *keypad, argument
147 struct samsung_keypad *keypad = dev_id; local
172 samsung_keypad_start(struct samsung_keypad *keypad) argument
194 samsung_keypad_stop(struct samsung_keypad *keypad) argument
226 struct samsung_keypad *keypad = input_get_drvdata(input_dev); local
235 struct samsung_keypad *keypad = input_get_drvdata(input_dev); local
317 struct samsung_keypad *keypad; local
449 struct samsung_keypad *keypad = platform_get_drvdata(pdev); local
461 struct samsung_keypad *keypad = platform_get_drvdata(pdev); local
485 struct samsung_keypad *keypad = platform_get_drvdata(pdev); local
503 samsung_keypad_toggle_wakeup(struct samsung_keypad *keypad, bool enable) argument
528 struct samsung_keypad *keypad = platform_get_drvdata(pdev); local
546 struct samsung_keypad *keypad = platform_get_drvdata(pdev); local
[all...]
H A Dep93xx_keypad.c3 * Driver for the Cirrus EP93xx matrix keypad controller.
7 * Based on the pxa27x matrix keypad controller by Rodolfo Giometti.
30 #include <linux/platform_data/keypad-ep93xx.h>
85 struct ep93xx_keypad *keypad = dev_id; local
86 struct input_dev *input_dev = keypad->input_dev;
90 status = __raw_readl(keypad->mmio_base + KEY_REG);
93 key1 = keypad->keycodes[keycode];
96 key2 = keypad->keycodes[keycode];
99 if (keypad->key1 && key1 != keypad
134 ep93xx_keypad_config(struct ep93xx_keypad *keypad) argument
159 struct ep93xx_keypad *keypad = input_get_drvdata(pdev); local
172 struct ep93xx_keypad *keypad = input_get_drvdata(pdev); local
184 struct ep93xx_keypad *keypad = platform_get_drvdata(pdev); local
202 struct ep93xx_keypad *keypad = platform_get_drvdata(pdev); local
232 struct ep93xx_keypad *keypad; local
[all...]
H A Dpxa27x_keypad.c29 #include <linux/platform_data/keypad-pxa27x.h>
90 #define keypad_readl(off) __raw_readl(keypad->mmio_base + (off))
91 #define keypad_writel(off, v) __raw_writel((v), keypad->mmio_base + (off))
118 static int pxa27x_keypad_matrix_key_parse_dt(struct pxa27x_keypad *keypad, argument
121 struct input_dev *input_dev = keypad->input_dev;
141 keypad->keycodes, input_dev);
148 static int pxa27x_keypad_direct_key_parse_dt(struct pxa27x_keypad *keypad, argument
151 struct input_dev *input_dev = keypad->input_dev;
178 * default value. Default value is set when configure the keypad.
201 keypad
208 pxa27x_keypad_rotary_parse_dt(struct pxa27x_keypad *keypad, struct pxa27x_keypad_platform_data *pdata) argument
281 pxa27x_keypad_build_keycode_from_dt(struct pxa27x_keypad *keypad) argument
332 pxa27x_keypad_build_keycode_from_dt(struct pxa27x_keypad *keypad) argument
341 pxa27x_keypad_build_keycode(struct pxa27x_keypad *keypad) argument
408 pxa27x_keypad_scan_matrix(struct pxa27x_keypad *keypad) argument
487 report_rotary_event(struct pxa27x_keypad *keypad, int r, int delta) argument
511 pxa27x_keypad_scan_rotary(struct pxa27x_keypad *keypad) argument
527 pxa27x_keypad_scan_direct(struct pxa27x_keypad *keypad) argument
567 clear_wakeup_event(struct pxa27x_keypad *keypad) argument
577 struct pxa27x_keypad *keypad = dev_id; local
591 pxa27x_keypad_config(struct pxa27x_keypad *keypad) argument
643 struct pxa27x_keypad *keypad = input_get_drvdata(dev); local
657 struct pxa27x_keypad *keypad = input_get_drvdata(dev); local
666 struct pxa27x_keypad *keypad = platform_get_drvdata(pdev); local
683 struct pxa27x_keypad *keypad = platform_get_drvdata(pdev); local
718 struct pxa27x_keypad *keypad; local
[all...]
H A Dnspire-keypad.c52 struct nspire_keypad *keypad = dev_id; local
53 struct input_dev *input = keypad->input;
61 int_sts = readl(keypad->reg_base + KEYPAD_INT) & keypad->int_mask;
65 memcpy_fromio(state, keypad->reg_base + KEYPAD_DATA, sizeof(state));
69 if (keypad->active_low)
72 changed = bits ^ keypad->state[row];
76 keypad->state[row] = bits;
82 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift);
91 writel(0x3, keypad
98 struct nspire_keypad *keypad = input_get_drvdata(input); local
135 struct nspire_keypad *keypad = input_get_drvdata(input); local
148 struct nspire_keypad *keypad; local
[all...]
H A Dnomadik-ske-keypad.c22 #include <linux/platform_data/keypad-nomadik-ske.h>
44 /* keypad auto scan registers */
54 * struct ske_keypad - data structure used by keypad driver
58 * @board: keypad platform device
62 * @ske_keypad_lock: spinlock protecting the keypad read/writes
75 static void ske_keypad_set_bits(struct ske_keypad *keypad, u16 addr, argument
80 spin_lock(&keypad->ske_keypad_lock);
82 ret = readl(keypad->reg_base + addr);
85 writel(ret, keypad->reg_base + addr);
87 spin_unlock(&keypad
95 ske_keypad_chip_init(struct ske_keypad *keypad) argument
141 ske_keypad_report(struct ske_keypad *keypad, u8 status, int col) argument
167 ske_keypad_read_data(struct ske_keypad *keypad) argument
201 struct ske_keypad *keypad = dev_id; local
226 struct ske_keypad *keypad = data; local
236 struct ske_keypad *keypad; local
338 struct ske_keypad *keypad = platform_get_drvdata(pdev); local
352 struct ske_keypad *keypad = platform_get_drvdata(pdev); local
[all...]
/linux-master/drivers/auxdisplay/
H A Dpanel.c7 * This code drives an LCD module (/dev/lcd), and a keypad (/dev/keypad)
14 * The keypad consists in a matrix of push buttons connecting input pins to
18 * Several profiles are provided for commonly found LCD+keypad modules on the
188 /* these variables are specific to the keypad */
191 } keypad; variable in typeref:struct:__anon61
276 * keypad types
460 * WARNING! no check will be performed about collisions with keypad !
1021 * These are the file operation function for user access to /dev/keypad
1083 .name = "keypad",
[all...]
H A Dht16k33.c93 struct ht16k33_keypad keypad; member in struct:ht16k33_priv
338 * This gets the keys from keypad and reports it to input subsystem.
341 static bool ht16k33_keypad_scan(struct ht16k33_keypad *keypad) argument
343 const unsigned short *keycodes = keypad->dev->keycode;
351 rc = i2c_smbus_read_i2c_block_data(keypad->client, 0x40,
354 dev_err(&keypad->client->dev,
359 for (col = 0; col < keypad->cols; col++) {
363 bits_changed = keypad->last_key_state[col] ^ new_state[col];
366 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift);
367 input_event(keypad
380 struct ht16k33_keypad *keypad = dev; local
394 struct ht16k33_keypad *keypad = input_get_drvdata(dev); local
405 struct ht16k33_keypad *keypad = input_get_drvdata(dev); local
505 ht16k33_keypad_probe(struct i2c_client *client, struct ht16k33_keypad *keypad) argument
[all...]
/linux-master/arch/arm/mach-ep93xx/
H A Dcore.c41 #include <linux/platform_data/keypad-ep93xx.h>
576 * EP93xx matrix keypad peripheral handling
586 .name = "ep93xx-keypad",
596 * ep93xx_register_keypad - Register the keypad platform device.
597 * @data: platform specific keypad configuration (__initdata)
619 /* Enable the keypad controller; GPIO ports C and D used for keypad */
645 /* Disable the keypad controller; GPIO ports C and D used for GPIO */
/linux-master/include/linux/platform_data/
H A Dkeypad-omap.h9 #warning Please update the board to use matrix-keypad driver
/linux-master/tools/thermal/tmon/
H A Dtui.c358 keypad(stdscr, TRUE); /* enable keyboard mapping */
414 keypad(w, TRUE);
470 keypad(cooling_device_window, TRUE);
/linux-master/arch/arm/mach-omap1/
H A Dboard-ams-delta.c37 #include <linux/platform_data/keypad-omap.h>
62 /* Numeric keypad portion */
89 /* QWERTY portion of keypad */
382 .name = "omap-keypad",
H A Dboard-palmte.c30 #include <linux/platform_data/keypad-omap.h>
90 .name = "omap-keypad",

Completed in 330 milliseconds

12