Home
last modified time | relevance | path

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

/drivers/input/keyboard/
Dsamsung-keypad.c245 struct matrix_keymap_data *keymap_data; in samsung_keypad_parse_dt() local
270 keymap_data = devm_kzalloc(dev, sizeof(*keymap_data), GFP_KERNEL); in samsung_keypad_parse_dt()
271 if (!keymap_data) { in samsung_keypad_parse_dt()
275 pdata->keymap_data = keymap_data; in samsung_keypad_parse_dt()
278 keymap_data->keymap_size = key_count; in samsung_keypad_parse_dt()
284 keymap_data->keymap = keymap; in samsung_keypad_parse_dt()
317 const struct matrix_keymap_data *keymap_data; in samsung_keypad_probe() local
332 keymap_data = pdata->keymap_data; in samsung_keypad_probe()
333 if (!keymap_data) { in samsung_keypad_probe()
398 error = matrix_keypad_build_keymap(keymap_data, NULL, in samsung_keypad_probe()
[all …]
Dep93xx_keypad.c231 const struct matrix_keymap_data *keymap_data; in ep93xx_keypad_probe() local
246 keymap_data = keypad->pdata->keymap_data; in ep93xx_keypad_probe()
247 if (!keymap_data) { in ep93xx_keypad_probe()
300 err = matrix_keypad_build_keymap(keymap_data, NULL, in ep93xx_keypad_probe()
Dtwl4030_keypad.c326 const struct matrix_keymap_data *keymap_data = NULL; in twl4030_kp_probe() local
354 if (!pdata->rows || !pdata->cols || !pdata->keymap_data) { in twl4030_kp_probe()
362 keymap_data = pdata->keymap_data; in twl4030_kp_probe()
382 error = matrix_keypad_build_keymap(keymap_data, NULL, in twl4030_kp_probe()
Dmax7359_keypad.c161 const struct matrix_keymap_data *keymap_data = in max7359_probe() local
212 error = matrix_keypad_build_keymap(keymap_data, NULL, in max7359_probe()
Domap-keypad.c185 if (!pdata->rows || !pdata->cols || !pdata->keymap_data) { in omap_kp_probe()
246 ret = matrix_keypad_build_keymap(pdata->keymap_data, NULL, in omap_kp_probe()
Dtc3589x-keypad.c84 const struct matrix_keymap_data *keymap_data; member
414 error = matrix_keypad_build_keymap(plat->keymap_data, NULL, in tc3589x_keypad_probe()
Dtegra-kbc.c88 const struct matrix_keymap_data *keymap_data; member
679 if (kbc->keymap_data && kbc->use_fn_map) in tegra_kbc_probe()
682 err = matrix_keypad_build_keymap(kbc->keymap_data, NULL, in tegra_kbc_probe()
Dmatrix_keypad.c492 } else if (!pdata->keymap_data) { in matrix_keypad_probe()
517 err = matrix_keypad_build_keymap(pdata->keymap_data, NULL, in matrix_keypad_probe()
Dnomadik-ske-keypad.c293 error = matrix_keypad_build_keymap(plat->keymap_data, NULL, in ske_keypad_probe()
Dcros_ec_keyb.c55 const struct matrix_keymap_data *keymap_data; member
/drivers/input/
Dmatrix-keymap.c150 int matrix_keypad_build_keymap(const struct matrix_keymap_data *keymap_data, in matrix_keypad_build_keymap() argument
181 if (keymap_data) { in matrix_keypad_build_keymap()
182 for (i = 0; i < keymap_data->keymap_size; i++) { in matrix_keypad_build_keymap()
183 unsigned int key = keymap_data->keymap[i]; in matrix_keypad_build_keymap()