Home
last modified time | relevance | path

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

/drivers/input/keyboard/
Dstmpe-keypad.c70 unsigned int col_gpios; member
81 .col_gpios = 0x000ff, /* GPIO 0 - 7 */
91 .col_gpios = 0x0000ff, /* GPIO 0 - 7*/
101 .col_gpios = 0x0000ff, /* GPIO 0 - 7*/
189 unsigned int col_gpios = variant->col_gpios; in stmpe_keypad_altfunc_init() local
210 int num = __ffs(col_gpios); in stmpe_keypad_altfunc_init()
217 col_gpios &= ~(1 << num); in stmpe_keypad_altfunc_init()
Dmatrix_keypad.c55 gpio_direction_output(pdata->col_gpios[col], level_on); in __activate_col()
57 gpio_set_value_cansleep(pdata->col_gpios[col], !level_on); in __activate_col()
58 gpio_direction_input(pdata->col_gpios[col]); in __activate_col()
313 err = gpio_request(pdata->col_gpios[i], "matrix_kbd_col"); in matrix_keypad_init_gpio()
317 pdata->col_gpios[i], i); in matrix_keypad_init_gpio()
321 gpio_direction_output(pdata->col_gpios[i], !pdata->active_low); in matrix_keypad_init_gpio()
377 gpio_free(pdata->col_gpios[i]); in matrix_keypad_init_gpio()
398 gpio_free(pdata->col_gpios[i]); in matrix_keypad_free_gpio()
458 pdata->col_gpios = &gpios[pdata->num_row_gpios]; in matrix_keypad_parse_dt()
Domap-keypad.c65 static unsigned int *col_gpios; variable
225 if (pdata->row_gpios && pdata->col_gpios) { in omap_kp_probe()
227 col_gpios = pdata->col_gpios; in omap_kp_probe()
295 gpio_free(col_gpios[i]); in omap_kp_probe()