Lines Matching +full:20 +full:product

219 	if (input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE ||  in magicmouse_emit_touch()
220 input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE2) { in magicmouse_emit_touch()
222 x = (tdata[1] << 28 | tdata[0] << 20) >> 20; in magicmouse_emit_touch()
223 y = -((tdata[2] << 24 | tdata[1] << 16) >> 20); in magicmouse_emit_touch()
230 } else if (input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) { in magicmouse_emit_touch()
262 if (emulate_scroll_wheel && (input->id.product != in magicmouse_emit_touch()
362 if (input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) in magicmouse_emit_touch()
366 if (input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE || in magicmouse_emit_touch()
367 input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE2) in magicmouse_emit_touch()
369 else if (input->id.product != in magicmouse_emit_touch()
491 if (input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE || in magicmouse_raw_event()
492 input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE2) { in magicmouse_raw_event()
496 } else if (input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) { in magicmouse_raw_event()
512 if (msc->input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE2 && in magicmouse_event()
532 if (input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE || in magicmouse_setup_input()
533 input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE2) { in magicmouse_setup_input()
548 } else if (input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) { in magicmouse_setup_input()
612 if (input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE || in magicmouse_setup_input()
613 input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE2) { in magicmouse_setup_input()
624 } else if (input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) { in magicmouse_setup_input()
663 input->id.product != USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) { in magicmouse_setup_input()
687 if ((hi->input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD || in magicmouse_input_mapping()
688 hi->input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) && in magicmouse_input_mapping()
724 if (hdev->product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) { in magicmouse_enable_multitouch()
732 } else if (hdev->product == USB_DEVICE_ID_APPLE_MAGICMOUSE2) { in magicmouse_enable_multitouch()
768 (hdev->product != USB_DEVICE_ID_APPLE_MAGICMOUSE2 && in magicmouse_fetch_battery()
769 hdev->product != USB_DEVICE_ID_APPLE_MAGICTRACKPAD2)) in magicmouse_fetch_battery()
837 (id->product == USB_DEVICE_ID_APPLE_MAGICMOUSE2 || in magicmouse_probe()
838 (id->product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2 && hdev->type != HID_TYPE_USBMOUSE))) in magicmouse_probe()
847 if (id->product == USB_DEVICE_ID_APPLE_MAGICMOUSE) in magicmouse_probe()
850 else if (id->product == USB_DEVICE_ID_APPLE_MAGICMOUSE2) in magicmouse_probe()
853 else if (id->product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) { in magicmouse_probe()
887 if (ret == -EIO && id->product == USB_DEVICE_ID_APPLE_MAGICMOUSE2) { in magicmouse_probe()
922 (hdev->product == USB_DEVICE_ID_APPLE_MAGICMOUSE2 || in magicmouse_report_fixup()
923 hdev->product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) && in magicmouse_report_fixup()