Lines Matching refs:ct82c710_port
64 static struct serio *ct82c710_port; variable
75 return serio_interrupt(ct82c710_port, inb(CT82C710_DATA), 0); in ct82c710_interrupt()
180 ct82c710_port = kzalloc(sizeof(struct serio), GFP_KERNEL); in ct82c710_probe()
181 if (!ct82c710_port) in ct82c710_probe()
184 ct82c710_port->id.type = SERIO_8042; in ct82c710_probe()
185 ct82c710_port->dev.parent = &dev->dev; in ct82c710_probe()
186 ct82c710_port->open = ct82c710_open; in ct82c710_probe()
187 ct82c710_port->close = ct82c710_close; in ct82c710_probe()
188 ct82c710_port->write = ct82c710_write; in ct82c710_probe()
189 strlcpy(ct82c710_port->name, "C&T 82c710 mouse port", in ct82c710_probe()
190 sizeof(ct82c710_port->name)); in ct82c710_probe()
191 snprintf(ct82c710_port->phys, sizeof(ct82c710_port->phys), in ct82c710_probe()
194 serio_register_port(ct82c710_port); in ct82c710_probe()
204 serio_unregister_port(ct82c710_port); in ct82c710_remove()