Searched refs:row_gpios (Results 1 - 10 of 10) sorted by relevance

/linux-4.4.14/drivers/input/keyboard/
H A Dmatrix_keypad.c83 return gpio_get_value_cansleep(pdata->row_gpios[row]) ? row_asserted()
96 enable_irq(gpio_to_irq(pdata->row_gpios[i])); enable_row_irqs()
109 disable_irq_nosync(gpio_to_irq(pdata->row_gpios[i])); disable_row_irqs()
243 gpio = pdata->row_gpios[i]; matrix_keypad_enable_wakeup()
266 gpio = pdata->row_gpios[i]; matrix_keypad_disable_wakeup()
323 err = gpio_request(pdata->row_gpios[i], "matrix_kbd_row"); matrix_keypad_init_gpio()
327 pdata->row_gpios[i], i); matrix_keypad_init_gpio()
331 gpio_direction_input(pdata->row_gpios[i]); matrix_keypad_init_gpio()
347 gpio_to_irq(pdata->row_gpios[i]), matrix_keypad_init_gpio()
355 pdata->row_gpios[i]); matrix_keypad_init_gpio()
367 free_irq(gpio_to_irq(pdata->row_gpios[i]), keypad); matrix_keypad_init_gpio()
371 gpio_free(pdata->row_gpios[i]); matrix_keypad_init_gpio()
389 free_irq(gpio_to_irq(pdata->row_gpios[i]), keypad); matrix_keypad_free_gpio()
393 gpio_free(pdata->row_gpios[i]); matrix_keypad_free_gpio()
455 pdata->row_gpios = gpios; matrix_keypad_parse_dt()
H A Dstmpe-keypad.c61 * @row_gpios: bitmask of gpios which can be used for rows
71 unsigned int row_gpios; member in struct:stmpe_keypad_variant
82 .row_gpios = 0x0ff00, /* GPIO 8 - 15 */
92 .row_gpios = 0x1f7f00, /* GPIO 8-14, 16-20 */
102 .row_gpios = 0x1fef00, /* GPIO 8-14, 16-20 */
190 unsigned int row_gpios = variant->row_gpios; stmpe_keypad_altfunc_init() local
221 int num = __ffs(row_gpios); stmpe_keypad_altfunc_init()
226 row_gpios &= ~(1 << num); stmpe_keypad_altfunc_init()
H A Domap-keypad.c64 static unsigned int *row_gpios; variable
82 if (gpio_get_value(row_gpios[row])) get_row_gpio_val()
281 if (pdata->row_gpios && pdata->col_gpios) { omap_kp_probe()
282 row_gpios = pdata->row_gpios; omap_kp_probe()
349 gpio_free(row_gpios[i]); omap_kp_probe()
/linux-4.4.14/include/linux/input/
H A Dmatrix_keypad.h38 * @row_gpios: pointer to array of gpio numbers representing rows
59 const unsigned int *row_gpios; member in struct:matrix_keypad_platform_data
/linux-4.4.14/include/linux/platform_data/
H A Dkeypad-omap.h26 unsigned int *row_gpios; member in struct:omap_kp_platform_data
/linux-4.4.14/arch/mips/jz4740/
H A Dboard-qi_lb60.c256 .row_gpios = qi_lb60_keypad_rows,
/linux-4.4.14/arch/arm/mach-pxa/
H A Dpalmtc.c285 .row_gpios = palmtc_keypad_row_gpios,
H A Dcorgi.c394 .row_gpios = corgikbd_row_gpios,
H A Dtosa.c467 .row_gpios = tosakbd_row_gpios,
H A Dspitz.c382 .row_gpios = spitz_row_gpios,

Completed in 275 milliseconds