Home
last modified time | relevance | path

Searched refs:col_gpios (Results 1 – 12 of 12) sorted by relevance

/linux-3.4.99/drivers/input/keyboard/
Domap-keypad.c69 static unsigned int *col_gpios; variable
77 gpio_set_value(col_gpios[col], value & (1 << col)); in set_col_gpio_val()
329 if (pdata->row_gpios && pdata->col_gpios) { in omap_kp_probe()
331 col_gpios = pdata->col_gpios; in omap_kp_probe()
340 if (gpio_request(col_gpios[col_idx], "omap_kp_col") < 0) { in omap_kp_probe()
343 col_gpios[col_idx]); in omap_kp_probe()
346 gpio_direction_output(col_gpios[col_idx], 0); in omap_kp_probe()
428 gpio_free(col_gpios[i]); in omap_kp_probe()
445 gpio_free(col_gpios[i]); in omap_kp_remove()
Dstmpe-keypad.c69 unsigned int col_gpios; member
80 .col_gpios = 0x000ff, /* GPIO 0 - 7 */
89 .col_gpios = 0x0000ff, /* GPIO 0 - 7*/
98 .col_gpios = 0x0000ff, /* GPIO 0 - 7*/
172 unsigned int col_gpios = variant->col_gpios; in stmpe_keypad_altfunc_init() local
190 int num = __ffs(col_gpios); in stmpe_keypad_altfunc_init()
195 col_gpios &= ~(1 << num); in stmpe_keypad_altfunc_init()
Dmatrix_keypad.c54 gpio_direction_output(pdata->col_gpios[col], level_on); in __activate_col()
56 gpio_set_value_cansleep(pdata->col_gpios[col], !level_on); in __activate_col()
57 gpio_direction_input(pdata->col_gpios[col]); in __activate_col()
309 err = gpio_request(pdata->col_gpios[i], "matrix_kbd_col"); in init_matrix_gpio()
313 pdata->col_gpios[i], i); in init_matrix_gpio()
317 gpio_direction_output(pdata->col_gpios[i], !pdata->active_low); in init_matrix_gpio()
373 gpio_free(pdata->col_gpios[i]); in init_matrix_gpio()
478 gpio_free(pdata->col_gpios[i]); in matrix_keypad_remove()
Dsamsung-keypad.c84 int col_gpios[SAMSUNG_MAX_COLS]; member
333 keypad->col_gpios[col] = gpio; in samsung_keypad_parse_dt_gpio()
356 if (gpio_is_valid(keypad->col_gpios[cnt])) in samsung_keypad_dt_gpio_free()
357 gpio_free(keypad->col_gpios[cnt]); in samsung_keypad_dt_gpio_free()
/linux-3.4.99/arch/arm/plat-omap/include/plat/
Dkeypad.h29 unsigned int *col_gpios; member
/linux-3.4.99/include/linux/input/
Dmatrix_keypad.h60 const unsigned int *col_gpios; member
/linux-3.4.99/arch/arm/mach-omap2/
Dboard-h4.c104 .col_gpios = board_keypad_col_gpios,
/linux-3.4.99/arch/mips/jz4740/
Dboard-qi_lb60.c245 .col_gpios = qi_lb60_keypad_cols,
/linux-3.4.99/arch/arm/mach-pxa/
Dpalmtc.c315 .col_gpios = palmtc_keypad_col_gpios,
Dcorgi.c392 .col_gpios = corgikbd_col_gpios,
Dspitz.c381 .col_gpios = spitz_col_gpios,
Dtosa.c493 .col_gpios = tosakbd_col_gpios,