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 if (WARN_ON(!(sc->quirks & SONY_LED_SUPPORT))) in sony_leds_init()
1385 if (sc->quirks & BUZZ_CONTROLLER) { in sony_leds_init()
1393 } else if (sc->quirks & MOTION_CONTROLLER) { in sony_leds_init()
1399 } else if (sc->quirks & NAVIGATION_CONTROLLER) { in sony_leds_init()
1517 if (sc->quirks & SHANWAN_GAMEPAD) in sixaxis_send_output_report()
1563 if ((sc->quirks & SIXAXIS_CONTROLLER) || in sony_allocate_output_report()
1564 (sc->quirks & NAVIGATION_CONTROLLER)) in sony_allocate_output_report()
1569 else if (sc->quirks & MOTION_CONTROLLER) in sony_allocate_output_report()
1709 const int sc0_not_bt = !(sc0->quirks & SONY_BT_DEVICE); in sony_compare_connection_type()
1710 const int sc1_not_bt = !(sc1->quirks & SONY_BT_DEVICE); in sony_compare_connection_type()
1783 if ((sc->quirks & MOTION_CONTROLLER_BT) || in sony_check_add()
1784 (sc->quirks & NAVIGATION_CONTROLLER_BT) || in sony_check_add()
1785 (sc->quirks & SIXAXIS_CONTROLLER_BT)) { in sony_check_add()
1796 } else if ((sc->quirks & SIXAXIS_CONTROLLER_USB) || in sony_check_add()
1797 (sc->quirks & NAVIGATION_CONTROLLER_USB)) { in sony_check_add()
1847 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()
2021 if (sc->quirks & SONY_LED_SUPPORT) { in sony_input_configured()
2027 if (sc->quirks & SONY_BATTERY_SUPPORT) { in sony_input_configured()
2040 if (sc->quirks & SONY_FF_SUPPORT) { in sony_input_configured()
2059 unsigned long quirks = id->driver_data; in sony_probe() local
2065 quirks |= FUTUREMAX_DANCE_MAT; in sony_probe()
2069 quirks |= SHANWAN_GAMEPAD; in sony_probe()
2079 sc->quirks = quirks; in sony_probe()
2089 if (sc->quirks & VAIO_RDESC_CONSTANT) in sony_probe()
2091 else if (sc->quirks & SIXAXIS_CONTROLLER) in sony_probe()
2100 if (sc->quirks & SIXAXIS_CONTROLLER) in sony_probe()
2123 if (sc->quirks & (GHL_GUITAR_PS3WIIU | GHL_GUITAR_PS4)) { in sony_probe()
2137 if (sc->quirks & GHL_GUITAR_PS3WIIU) in sony_probe()
2140 else if (sc->quirks & GHL_GUITAR_PS4) in sony_probe()
2166 if (sc->quirks & (GHL_GUITAR_PS3WIIU | GHL_GUITAR_PS4)) { in sony_remove()
2208 if ((sc->quirks & SIXAXIS_CONTROLLER_USB) || in sony_resume()
2209 (sc->quirks & NAVIGATION_CONTROLLER_USB)) { in sony_resume()