skbd               59 drivers/input/keyboard/stowaway.c 	struct skbd *skbd = serio_get_drvdata(serio);
skbd               60 drivers/input/keyboard/stowaway.c 	struct input_dev *dev = skbd->dev;
skbd               62 drivers/input/keyboard/stowaway.c 	if (skbd->keycode[data & SKBD_KEY_MASK]) {
skbd               63 drivers/input/keyboard/stowaway.c 		input_report_key(dev, skbd->keycode[data & SKBD_KEY_MASK],
skbd               73 drivers/input/keyboard/stowaway.c 	struct skbd *skbd;
skbd               78 drivers/input/keyboard/stowaway.c 	skbd = kzalloc(sizeof(struct skbd), GFP_KERNEL);
skbd               80 drivers/input/keyboard/stowaway.c 	if (!skbd || !input_dev)
skbd               83 drivers/input/keyboard/stowaway.c 	skbd->serio = serio;
skbd               84 drivers/input/keyboard/stowaway.c 	skbd->dev = input_dev;
skbd               85 drivers/input/keyboard/stowaway.c 	snprintf(skbd->phys, sizeof(skbd->phys), "%s/input0", serio->phys);
skbd               86 drivers/input/keyboard/stowaway.c 	memcpy(skbd->keycode, skbd_keycode, sizeof(skbd->keycode));
skbd               89 drivers/input/keyboard/stowaway.c 	input_dev->phys = skbd->phys;
skbd               97 drivers/input/keyboard/stowaway.c 	input_dev->keycode = skbd->keycode;
skbd              104 drivers/input/keyboard/stowaway.c 	serio_set_drvdata(serio, skbd);
skbd              110 drivers/input/keyboard/stowaway.c 	err = input_register_device(skbd->dev);
skbd              119 drivers/input/keyboard/stowaway.c 	kfree(skbd);
skbd              125 drivers/input/keyboard/stowaway.c 	struct skbd *skbd = serio_get_drvdata(serio);
skbd              129 drivers/input/keyboard/stowaway.c 	input_unregister_device(skbd->dev);
skbd              130 drivers/input/keyboard/stowaway.c 	kfree(skbd);