Lines Matching refs:busmouse_data
38 struct busmouse_data { struct
62 static struct busmouse_data *busmouse_data[NR_MICE]; argument
80 struct busmouse_data *mse = busmouse_data[mousedev]; in busmouse_add_movementbuttons()
131 struct busmouse_data *mse = busmouse_data[mousedev]; in busmouse_add_movement()
150 struct busmouse_data *mse = busmouse_data[mousedev]; in busmouse_add_buttons()
157 struct busmouse_data *mse = (struct busmouse_data *)filp->private_data; in busmouse_fasync()
168 struct busmouse_data *mse = (struct busmouse_data *)file->private_data; in busmouse_release()
188 struct busmouse_data *mse; in busmouse_open()
197 mse = busmouse_data[mousedev]; in busmouse_open()
240 struct busmouse_data *mse = (struct busmouse_data *)file->private_data; in busmouse_read()
325 struct busmouse_data *mse = (struct busmouse_data *)file->private_data; in busmouse_poll()
358 struct busmouse_data *mse; in register_busmouse()
372 if (busmouse_data[msedev]) in register_busmouse()
388 busmouse_data[msedev] = mse; in register_busmouse()
421 if (!busmouse_data[mousedev]) { in unregister_busmouse()
427 if (busmouse_data[mousedev]->active) { in unregister_busmouse()
433 err = misc_deregister(&busmouse_data[mousedev]->miscdev); in unregister_busmouse()
435 kfree(busmouse_data[mousedev]); in unregister_busmouse()
436 busmouse_data[mousedev] = NULL; in unregister_busmouse()