mac_hid_emumouse_dev   25 drivers/macintosh/mac_hid.c static struct input_dev *mac_hid_emumouse_dev;
mac_hid_emumouse_dev   35 drivers/macintosh/mac_hid.c 	mac_hid_emumouse_dev = input_allocate_device();
mac_hid_emumouse_dev   36 drivers/macintosh/mac_hid.c 	if (!mac_hid_emumouse_dev)
mac_hid_emumouse_dev   39 drivers/macintosh/mac_hid.c 	lockdep_set_class(&mac_hid_emumouse_dev->event_lock,
mac_hid_emumouse_dev   41 drivers/macintosh/mac_hid.c 	lockdep_set_class(&mac_hid_emumouse_dev->mutex,
mac_hid_emumouse_dev   44 drivers/macintosh/mac_hid.c 	mac_hid_emumouse_dev->name = "Macintosh mouse button emulation";
mac_hid_emumouse_dev   45 drivers/macintosh/mac_hid.c 	mac_hid_emumouse_dev->id.bustype = BUS_ADB;
mac_hid_emumouse_dev   46 drivers/macintosh/mac_hid.c 	mac_hid_emumouse_dev->id.vendor = 0x0001;
mac_hid_emumouse_dev   47 drivers/macintosh/mac_hid.c 	mac_hid_emumouse_dev->id.product = 0x0001;
mac_hid_emumouse_dev   48 drivers/macintosh/mac_hid.c 	mac_hid_emumouse_dev->id.version = 0x0100;
mac_hid_emumouse_dev   50 drivers/macintosh/mac_hid.c 	mac_hid_emumouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL);
mac_hid_emumouse_dev   51 drivers/macintosh/mac_hid.c 	mac_hid_emumouse_dev->keybit[BIT_WORD(BTN_MOUSE)] =
mac_hid_emumouse_dev   53 drivers/macintosh/mac_hid.c 	mac_hid_emumouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y);
mac_hid_emumouse_dev   55 drivers/macintosh/mac_hid.c 	err = input_register_device(mac_hid_emumouse_dev);
mac_hid_emumouse_dev   57 drivers/macintosh/mac_hid.c 		input_free_device(mac_hid_emumouse_dev);
mac_hid_emumouse_dev   58 drivers/macintosh/mac_hid.c 		mac_hid_emumouse_dev = NULL;
mac_hid_emumouse_dev   67 drivers/macintosh/mac_hid.c 	input_unregister_device(mac_hid_emumouse_dev);
mac_hid_emumouse_dev   68 drivers/macintosh/mac_hid.c 	mac_hid_emumouse_dev = NULL;
mac_hid_emumouse_dev   87 drivers/macintosh/mac_hid.c 	input_report_key(mac_hid_emumouse_dev, btn, value);
mac_hid_emumouse_dev   88 drivers/macintosh/mac_hid.c 	input_sync(mac_hid_emumouse_dev);
mac_hid_emumouse_dev  101 drivers/macintosh/mac_hid.c 	if (dev == mac_hid_emumouse_dev)