Searched refs:col_gpios (Results 1 – 12 of 12) sorted by relevance
/linux-3.4.99/drivers/input/keyboard/ |
D | omap-keypad.c | 69 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()
|
D | stmpe-keypad.c | 69 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()
|
D | matrix_keypad.c | 54 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()
|
D | samsung-keypad.c | 84 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/ |
D | keypad.h | 29 unsigned int *col_gpios; member
|
/linux-3.4.99/include/linux/input/ |
D | matrix_keypad.h | 60 const unsigned int *col_gpios; member
|
/linux-3.4.99/arch/arm/mach-omap2/ |
D | board-h4.c | 104 .col_gpios = board_keypad_col_gpios,
|
/linux-3.4.99/arch/mips/jz4740/ |
D | board-qi_lb60.c | 245 .col_gpios = qi_lb60_keypad_cols,
|
/linux-3.4.99/arch/arm/mach-pxa/ |
D | palmtc.c | 315 .col_gpios = palmtc_keypad_col_gpios,
|
D | corgi.c | 392 .col_gpios = corgikbd_col_gpios,
|
D | spitz.c | 381 .col_gpios = spitz_col_gpios,
|
D | tosa.c | 493 .col_gpios = tosakbd_col_gpios,
|