Home
last modified time | relevance | path

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

/linux-2.6.39/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()
328 if (pdata->row_gpios && pdata->col_gpios) { in omap_kp_probe()
330 col_gpios = pdata->col_gpios; in omap_kp_probe()
339 if (gpio_request(col_gpios[col_idx], "omap_kp_col") < 0) { in omap_kp_probe()
342 col_gpios[col_idx]); in omap_kp_probe()
345 gpio_direction_output(col_gpios[col_idx], 0); in omap_kp_probe()
427 gpio_free(col_gpios[i]); in omap_kp_probe()
444 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()
374 gpio_free(pdata->col_gpios[i]); in init_matrix_gpio()
479 gpio_free(pdata->col_gpios[i]); in matrix_keypad_remove()
/linux-2.6.39/arch/arm/mach-omap2/
Dboard-h4.c52 static unsigned int col_gpios[7] = { 90, 91, 100, 36, 12, 97, 98 }; variable
149 .col_gpios = col_gpios,
354 col_gpios[2] = 15; in omap_h4_init()
355 col_gpios[6] = 18; in omap_h4_init()
/linux-2.6.39/arch/arm/plat-omap/include/plat/
Dkeypad.h27 unsigned int *col_gpios; member
/linux-2.6.39/include/linux/input/
Dmatrix_keypad.h59 const unsigned int *col_gpios; member
/linux-2.6.39/arch/mips/jz4740/
Dboard-qi_lb60.c245 .col_gpios = qi_lb60_keypad_cols,
/linux-2.6.39/arch/arm/mach-pxa/
Dpalmtc.c316 .col_gpios = palmtc_keypad_col_gpios,
Dcorgi.c392 .col_gpios = corgikbd_col_gpios,
Dspitz.c380 .col_gpios = spitz_col_gpios,
Dtosa.c493 .col_gpios = tosakbd_col_gpios,