Lines Matching refs:jornadakbd
65 struct jornadakbd { struct
73 static void jornada_parse_kbd(struct jornadakbd *jornadakbd) in jornada_parse_kbd() argument
75 struct input_dev *input_dev = jornadakbd->input; in jornada_parse_kbd()
76 unsigned short *keymap = jornadakbd->keymap; in jornada_parse_kbd()
81 unsigned char new = jornadakbd->new_scan[i]; in jornada_parse_kbd()
82 unsigned char old = jornadakbd->old_scan[i]; in jornada_parse_kbd()
171 struct jornadakbd *jornadakbd = input_get_drvdata(input); in jornadakbd680_poll() local
173 jornada_scan_keyb(jornadakbd->new_scan); in jornadakbd680_poll()
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()
197 memcpy(jornadakbd->keymap, jornada_scancodes, in jornada680kbd_probe()
198 sizeof(jornadakbd->keymap)); in jornada680kbd_probe()
200 input_set_drvdata(input_dev, jornadakbd); in jornada680kbd_probe()
204 input_dev->keycode = jornadakbd->keymap; in jornada680kbd_probe()
210 if (jornadakbd->keymap[i]) in jornada680kbd_probe()
211 __set_bit(jornadakbd->keymap[i], input_dev->keybit); in jornada680kbd_probe()