Home
last modified time | relevance | path

Searched refs:jornadakbd (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/input/keyboard/
H A Djornada680_kbd.c65 struct jornadakbd { struct
73 static void jornada_parse_kbd(struct jornadakbd *jornadakbd) in jornada_parse_kbd() argument
171 struct jornadakbd *jornadakbd = input_get_drvdata(input); in jornadakbd680_poll() local
174 jornada_parse_kbd(jornadakbd); in jornadakbd680_poll()
175 memcpy(jornadakbd->old_scan, jornadakbd->new_scan, JORNADA_SCAN_SIZE); in jornadakbd680_poll()
180 struct jornadakbd *jornadakbd; in jornada680kbd_probe() local
184 jornadakbd = devm_kzalloc(&pdev->dev, sizeof(struct jornadakbd), in jornada680kbd_probe()
186 if (!jornadakbd) in jornada680kbd_probe()
195 jornadakbd->input = input_dev; in jornada680kbd_probe()
198 sizeof(jornadakbd->keymap)); in jornada680kbd_probe()
[all …]
H A Djornada720_kbd.c47 struct jornadakbd { struct
55 struct jornadakbd *jornadakbd = platform_get_drvdata(pdev); in jornada720_kbd_interrupt() local
56 struct input_dev *input = jornadakbd->input; in jornada720_kbd_interrupt()
90 struct jornadakbd *jornadakbd; in jornada720_kbd_probe() local
98 jornadakbd = devm_kzalloc(&pdev->dev, sizeof(*jornadakbd), GFP_KERNEL); in jornada720_kbd_probe()
100 if (!jornadakbd || !input_dev) in jornada720_kbd_probe()
103 platform_set_drvdata(pdev, jornadakbd); in jornada720_kbd_probe()
105 memcpy(jornadakbd->keymap, jornada_std_keymap, in jornada720_kbd_probe()
107 jornadakbd->input = input_dev; in jornada720_kbd_probe()
112 input_dev->keycode = jornadakbd->keymap; in jornada720_kbd_probe()
[all …]