Lines Matching full:quirks

490 	unsigned long quirks;  member
751 if (sc->quirks & (SINO_LITE_CONTROLLER | FUTUREMAX_DANCE_MAT)) in sony_report_fixup()
758 if ((sc->quirks & VAIO_RDESC_CONSTANT) && *rsize >= 56 && in sony_report_fixup()
770 if (sc->quirks & MOTION_CONTROLLER) in sony_report_fixup()
773 if (sc->quirks & PS3REMOTE) in sony_report_fixup()
780 if ((sc->quirks & SIXAXIS_CONTROLLER_USB) && *rsize >= 45 && in sony_report_fixup()
810 offset = (sc->quirks & MOTION_CONTROLLER) ? 12 : 30; in sixaxis_parse_report()
826 if (sc->quirks & SIXAXIS_CONTROLLER) { in sixaxis_parse_report()
927 if ((sc->quirks & SIXAXIS_CONTROLLER) && rd[0] == 0x01 && size == 49) { in sony_raw_event()
945 } else if ((sc->quirks & MOTION_CONTROLLER_BT) && rd[0] == 0x01 && size == 49) { in sony_raw_event()
947 } else if ((sc->quirks & NAVIGATION_CONTROLLER) && rd[0] == 0x01 && in sony_raw_event()
950 } else if ((sc->quirks & NSG_MRXU_REMOTE) && rd[0] == 0x02) { in sony_raw_event()
969 if (sc->quirks & BUZZ_CONTROLLER) { in sony_mapping()
992 if (sc->quirks & PS3REMOTE) in sony_mapping()
995 if (sc->quirks & NAVIGATION_CONTROLLER) in sony_mapping()
998 if (sc->quirks & SIXAXIS_CONTROLLER) in sony_mapping()
1001 if (sc->quirks & GH_GUITAR_CONTROLLER) in sony_mapping()
1060 if (sc->quirks & NSG_MRXU_REMOTE) { in sony_register_touchpad()
1104 if (sc->quirks & SIXAXIS_CONTROLLER) { in sony_register_sensors()
1167 if (sc->quirks & SHANWAN_GAMEPAD) in sixaxis_set_operational_usb()
1249 if (!(sc->quirks & BUZZ_CONTROLLER)) in sony_set_leds()
1278 force_update = !!(drv_data->quirks & SIXAXIS_CONTROLLER_USB); in sony_led_set_brightness()
1382 BUG_ON(!(sc->quirks & SONY_LED_SUPPORT)); in sony_leds_init()
1384 if (sc->quirks & BUZZ_CONTROLLER) { in sony_leds_init()
1392 } else if (sc->quirks & MOTION_CONTROLLER) { in sony_leds_init()
1398 } else if (sc->quirks & NAVIGATION_CONTROLLER) { in sony_leds_init()
1516 if (sc->quirks & SHANWAN_GAMEPAD) in sixaxis_send_output_report()
1562 if ((sc->quirks & SIXAXIS_CONTROLLER) || in sony_allocate_output_report()
1563 (sc->quirks & NAVIGATION_CONTROLLER)) in sony_allocate_output_report()
1568 else if (sc->quirks & MOTION_CONTROLLER) in sony_allocate_output_report()
1708 const int sc0_not_bt = !(sc0->quirks & SONY_BT_DEVICE); in sony_compare_connection_type()
1709 const int sc1_not_bt = !(sc1->quirks & SONY_BT_DEVICE); in sony_compare_connection_type()
1782 if ((sc->quirks & MOTION_CONTROLLER_BT) || in sony_check_add()
1783 (sc->quirks & NAVIGATION_CONTROLLER_BT) || in sony_check_add()
1784 (sc->quirks & SIXAXIS_CONTROLLER_BT)) { in sony_check_add()
1795 } else if ((sc->quirks & SIXAXIS_CONTROLLER_USB) || in sony_check_add()
1796 (sc->quirks & NAVIGATION_CONTROLLER_USB)) { in sony_check_add()
1846 if (sc->quirks & SIXAXIS_CONTROLLER) { in sony_set_device_id()
1915 if (sc->quirks & NAVIGATION_CONTROLLER_USB) { in sony_input_configured()
1932 hdev->quirks |= HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP; in sony_input_configured()
1933 hdev->quirks |= HID_QUIRK_SKIP_OUTPUT_REPORT_ID; in sony_input_configured()
1943 } else if (sc->quirks & NAVIGATION_CONTROLLER_BT) { in sony_input_configured()
1948 hdev->quirks |= HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP; in sony_input_configured()
1957 } else if (sc->quirks & SIXAXIS_CONTROLLER_USB) { in sony_input_configured()
1964 hdev->quirks |= HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP; in sony_input_configured()
1965 hdev->quirks |= HID_QUIRK_SKIP_OUTPUT_REPORT_ID; in sony_input_configured()
1982 } else if (sc->quirks & SIXAXIS_CONTROLLER_BT) { in sony_input_configured()
1987 hdev->quirks |= HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP; in sony_input_configured()
2003 } else if (sc->quirks & NSG_MRXU_REMOTE) { in sony_input_configured()
2017 } else if (sc->quirks & MOTION_CONTROLLER) { in sony_input_configured()
2023 if (sc->quirks & SONY_LED_SUPPORT) { in sony_input_configured()
2029 if (sc->quirks & SONY_BATTERY_SUPPORT) { in sony_input_configured()
2042 if (sc->quirks & SONY_FF_SUPPORT) { in sony_input_configured()
2061 unsigned long quirks = id->driver_data; in sony_probe() local
2067 quirks |= FUTUREMAX_DANCE_MAT; in sony_probe()
2071 quirks |= SHANWAN_GAMEPAD; in sony_probe()
2081 sc->quirks = quirks; in sony_probe()
2091 if (sc->quirks & VAIO_RDESC_CONSTANT) in sony_probe()
2093 else if (sc->quirks & SIXAXIS_CONTROLLER) in sony_probe()
2102 if (sc->quirks & SIXAXIS_CONTROLLER) in sony_probe()
2125 if (sc->quirks & (GHL_GUITAR_PS3WIIU | GHL_GUITAR_PS4)) { in sony_probe()
2139 if (sc->quirks & GHL_GUITAR_PS3WIIU) in sony_probe()
2142 else if (sc->quirks & GHL_GUITAR_PS4) in sony_probe()
2168 if (sc->quirks & (GHL_GUITAR_PS3WIIU | GHL_GUITAR_PS4)) { in sony_remove()
2210 if ((sc->quirks & SIXAXIS_CONTROLLER_USB) || in sony_resume()
2211 (sc->quirks & NAVIGATION_CONTROLLER_USB)) { in sony_resume()