Searched refs:col_gpios (Results 1 – 3 of 3) sorted by relevance
70 unsigned int col_gpios; member81 .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() local210 int num = __ffs(col_gpios); in stmpe_keypad_altfunc_init()217 col_gpios &= ~(1 << num); in stmpe_keypad_altfunc_init()
55 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()
65 static unsigned int *col_gpios; variable225 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()