Lines Matching refs:kb_serio
170 struct serio *kb_serio, *pad_serio; in olpc_apsp_probe() local
191 kb_serio = kzalloc(sizeof(struct serio), GFP_KERNEL); in olpc_apsp_probe()
192 if (!kb_serio) in olpc_apsp_probe()
194 kb_serio->id.type = SERIO_8042_XL; in olpc_apsp_probe()
195 kb_serio->write = olpc_apsp_write; in olpc_apsp_probe()
196 kb_serio->open = olpc_apsp_open; in olpc_apsp_probe()
197 kb_serio->close = olpc_apsp_close; in olpc_apsp_probe()
198 kb_serio->port_data = priv; in olpc_apsp_probe()
199 kb_serio->dev.parent = &pdev->dev; in olpc_apsp_probe()
200 strscpy(kb_serio->name, "sp keyboard", sizeof(kb_serio->name)); in olpc_apsp_probe()
201 strscpy(kb_serio->phys, "sp/serio0", sizeof(kb_serio->phys)); in olpc_apsp_probe()
202 priv->kbio = kb_serio; in olpc_apsp_probe()
203 serio_register_port(kb_serio); in olpc_apsp_probe()
237 serio_unregister_port(kb_serio); in olpc_apsp_probe()