Lines Matching refs:ct82c710_port
45 static struct serio *ct82c710_port; variable
56 return serio_interrupt(ct82c710_port, inb(CT82C710_DATA), 0); in ct82c710_interrupt()
161 ct82c710_port = kzalloc(sizeof(struct serio), GFP_KERNEL); in ct82c710_probe()
162 if (!ct82c710_port) in ct82c710_probe()
165 ct82c710_port->id.type = SERIO_8042; in ct82c710_probe()
166 ct82c710_port->dev.parent = &dev->dev; in ct82c710_probe()
167 ct82c710_port->open = ct82c710_open; in ct82c710_probe()
168 ct82c710_port->close = ct82c710_close; in ct82c710_probe()
169 ct82c710_port->write = ct82c710_write; in ct82c710_probe()
170 strscpy(ct82c710_port->name, "C&T 82c710 mouse port", in ct82c710_probe()
171 sizeof(ct82c710_port->name)); in ct82c710_probe()
172 snprintf(ct82c710_port->phys, sizeof(ct82c710_port->phys), in ct82c710_probe()
175 serio_register_port(ct82c710_port); in ct82c710_probe()
185 serio_unregister_port(ct82c710_port); in ct82c710_remove()