Lines Matching refs:ct82c710_port
48 static struct serio *ct82c710_port; variable
59 return serio_interrupt(ct82c710_port, inb(CT82C710_DATA), 0); in ct82c710_interrupt()
164 ct82c710_port = kzalloc(sizeof(struct serio), GFP_KERNEL); in ct82c710_probe()
165 if (!ct82c710_port) in ct82c710_probe()
168 ct82c710_port->id.type = SERIO_8042; in ct82c710_probe()
169 ct82c710_port->dev.parent = &dev->dev; in ct82c710_probe()
170 ct82c710_port->open = ct82c710_open; in ct82c710_probe()
171 ct82c710_port->close = ct82c710_close; in ct82c710_probe()
172 ct82c710_port->write = ct82c710_write; in ct82c710_probe()
173 strlcpy(ct82c710_port->name, "C&T 82c710 mouse port", in ct82c710_probe()
174 sizeof(ct82c710_port->name)); in ct82c710_probe()
175 snprintf(ct82c710_port->phys, sizeof(ct82c710_port->phys), in ct82c710_probe()
178 serio_register_port(ct82c710_port); in ct82c710_probe()
188 serio_unregister_port(ct82c710_port); in ct82c710_remove()