Lines Matching refs:quirks
573 unsigned long quirks; member
944 if (sc->quirks & (SINO_LITE_CONTROLLER | FUTUREMAX_DANCE_MAT)) in sony_report_fixup()
951 if ((sc->quirks & VAIO_RDESC_CONSTANT) && *rsize >= 56 && in sony_report_fixup()
963 if (sc->quirks & MOTION_CONTROLLER) in sony_report_fixup()
966 if (sc->quirks & PS3REMOTE) in sony_report_fixup()
973 if ((sc->quirks & SIXAXIS_CONTROLLER_USB) && *rsize >= 45 && in sony_report_fixup()
1003 offset = (sc->quirks & MOTION_CONTROLLER) ? 12 : 30; in sixaxis_parse_report()
1019 if (sc->quirks & SIXAXIS_CONTROLLER) { in sixaxis_parse_report()
1049 int data_offset = (sc->quirks & DUALSHOCK4_CONTROLLER_BT) ? 2 : 0; in dualshock4_parse_report()
1205 max_touch_data = (sc->quirks & DUALSHOCK4_CONTROLLER_BT) ? 4 : 3; in dualshock4_parse_report()
1330 if ((sc->quirks & SIXAXIS_CONTROLLER) && rd[0] == 0x01 && size == 49) { in sony_raw_event()
1348 } else if ((sc->quirks & MOTION_CONTROLLER_BT) && rd[0] == 0x01 && size == 49) { in sony_raw_event()
1350 } else if ((sc->quirks & NAVIGATION_CONTROLLER) && rd[0] == 0x01 && in sony_raw_event()
1353 } else if ((sc->quirks & DUALSHOCK4_CONTROLLER_USB) && rd[0] == 0x01 && in sony_raw_event()
1356 } else if (((sc->quirks & DUALSHOCK4_CONTROLLER_BT) && rd[0] == 0x11 && in sony_raw_event()
1373 } else if ((sc->quirks & DUALSHOCK4_DONGLE) && rd[0] == 0x01 && in sony_raw_event()
1430 } else if ((sc->quirks & NSG_MRXU_REMOTE) && rd[0] == 0x02) { in sony_raw_event()
1449 if (sc->quirks & BUZZ_CONTROLLER) { in sony_mapping()
1472 if (sc->quirks & PS3REMOTE) in sony_mapping()
1475 if (sc->quirks & NAVIGATION_CONTROLLER) in sony_mapping()
1478 if (sc->quirks & SIXAXIS_CONTROLLER) in sony_mapping()
1481 if (sc->quirks & DUALSHOCK4_CONTROLLER) in sony_mapping()
1484 if (sc->quirks & GH_GUITAR_CONTROLLER) in sony_mapping()
1540 if (sc->quirks & NSG_MRXU_REMOTE) { in sony_register_touchpad()
1585 if (sc->quirks & SIXAXIS_CONTROLLER) { in sony_register_sensors()
1598 } else if (sc->quirks & DUALSHOCK4_CONTROLLER) { in sony_register_sensors()
1667 if (sc->quirks & SHANWAN_GAMEPAD) in sixaxis_set_operational_usb()
1722 if (sc->quirks & (DUALSHOCK4_CONTROLLER_USB | DUALSHOCK4_DONGLE)) { in dualshock4_get_calibration_data()
1796 if (sc->quirks & DUALSHOCK4_CONTROLLER_USB) { in dualshock4_get_calibration_data()
1991 if (!(sc->quirks & BUZZ_CONTROLLER)) in sony_set_leds()
2020 force_update = !!(drv_data->quirks & SIXAXIS_CONTROLLER_USB); in sony_led_set_brightness()
2124 BUG_ON(!(sc->quirks & SONY_LED_SUPPORT)); in sony_leds_init()
2126 if (sc->quirks & BUZZ_CONTROLLER) { in sony_leds_init()
2134 } else if (sc->quirks & DUALSHOCK4_CONTROLLER) { in sony_leds_init()
2143 } else if (sc->quirks & MOTION_CONTROLLER) { in sony_leds_init()
2149 } else if (sc->quirks & NAVIGATION_CONTROLLER) { in sony_leds_init()
2267 if (sc->quirks & SHANWAN_GAMEPAD) in sixaxis_send_output_report()
2291 if (sc->quirks & (DUALSHOCK4_CONTROLLER_USB | DUALSHOCK4_DONGLE)) { in dualshock4_send_output_report()
2324 if (sc->quirks & (DUALSHOCK4_CONTROLLER_USB | DUALSHOCK4_DONGLE)) in dualshock4_send_output_report()
2373 if ((sc->quirks & SIXAXIS_CONTROLLER) || in sony_allocate_output_report()
2374 (sc->quirks & NAVIGATION_CONTROLLER)) in sony_allocate_output_report()
2379 else if (sc->quirks & DUALSHOCK4_CONTROLLER_BT) in sony_allocate_output_report()
2383 else if (sc->quirks & (DUALSHOCK4_CONTROLLER_USB | DUALSHOCK4_DONGLE)) in sony_allocate_output_report()
2387 else if (sc->quirks & MOTION_CONTROLLER) in sony_allocate_output_report()
2527 const int sc0_not_bt = !(sc0->quirks & SONY_BT_DEVICE); in sony_compare_connection_type()
2528 const int sc1_not_bt = !(sc1->quirks & SONY_BT_DEVICE); in sony_compare_connection_type()
2601 if ((sc->quirks & DUALSHOCK4_CONTROLLER_BT) || in sony_check_add()
2602 (sc->quirks & MOTION_CONTROLLER_BT) || in sony_check_add()
2603 (sc->quirks & NAVIGATION_CONTROLLER_BT) || in sony_check_add()
2604 (sc->quirks & SIXAXIS_CONTROLLER_BT)) { in sony_check_add()
2615 } else if (sc->quirks & (DUALSHOCK4_CONTROLLER_USB | DUALSHOCK4_DONGLE)) { in sony_check_add()
2639 } else if ((sc->quirks & SIXAXIS_CONTROLLER_USB) || in sony_check_add()
2640 (sc->quirks & NAVIGATION_CONTROLLER_USB)) { in sony_check_add()
2690 if ((sc->quirks & SIXAXIS_CONTROLLER) || in sony_set_device_id()
2691 (sc->quirks & DUALSHOCK4_CONTROLLER)) { in sony_set_device_id()
2762 if (sc->quirks & NAVIGATION_CONTROLLER_USB) { in sony_input_configured()
2779 hdev->quirks |= HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP; in sony_input_configured()
2780 hdev->quirks |= HID_QUIRK_SKIP_OUTPUT_REPORT_ID; in sony_input_configured()
2790 } else if (sc->quirks & NAVIGATION_CONTROLLER_BT) { in sony_input_configured()
2795 hdev->quirks |= HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP; in sony_input_configured()
2804 } else if (sc->quirks & SIXAXIS_CONTROLLER_USB) { in sony_input_configured()
2811 hdev->quirks |= HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP; in sony_input_configured()
2812 hdev->quirks |= HID_QUIRK_SKIP_OUTPUT_REPORT_ID; in sony_input_configured()
2829 } else if (sc->quirks & SIXAXIS_CONTROLLER_BT) { in sony_input_configured()
2834 hdev->quirks |= HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP; in sony_input_configured()
2850 } else if (sc->quirks & DUALSHOCK4_CONTROLLER) { in sony_input_configured()
2896 if (sc->quirks & DUALSHOCK4_CONTROLLER_BT) { in sony_input_configured()
2905 if (sc->quirks & DUALSHOCK4_DONGLE) { in sony_input_configured()
2912 } else if (sc->quirks & NSG_MRXU_REMOTE) { in sony_input_configured()
2926 } else if (sc->quirks & MOTION_CONTROLLER) { in sony_input_configured()
2932 if (sc->quirks & SONY_LED_SUPPORT) { in sony_input_configured()
2938 if (sc->quirks & SONY_BATTERY_SUPPORT) { in sony_input_configured()
2951 if (sc->quirks & SONY_FF_SUPPORT) { in sony_input_configured()
2980 unsigned long quirks = id->driver_data; in sony_probe() local
2986 quirks |= FUTUREMAX_DANCE_MAT; in sony_probe()
2990 quirks |= SHANWAN_GAMEPAD; in sony_probe()
3000 sc->quirks = quirks; in sony_probe()
3010 if (sc->quirks & VAIO_RDESC_CONSTANT) in sony_probe()
3012 else if (sc->quirks & SIXAXIS_CONTROLLER) in sony_probe()
3021 if (sc->quirks & (SIXAXIS_CONTROLLER | DUALSHOCK4_CONTROLLER)) in sony_probe()
3044 if (sc->quirks & (GHL_GUITAR_PS3WIIU | GHL_GUITAR_PS4)) { in sony_probe()
3058 if (sc->quirks & GHL_GUITAR_PS3WIIU) in sony_probe()
3061 else if (sc->quirks & GHL_GUITAR_PS4) in sony_probe()
3085 if (sc->quirks & (GHL_GUITAR_PS3WIIU | GHL_GUITAR_PS4)) { in sony_remove()
3092 if (sc->quirks & DUALSHOCK4_CONTROLLER_BT) in sony_remove()
3136 if ((sc->quirks & SIXAXIS_CONTROLLER_USB) || in sony_resume()
3137 (sc->quirks & NAVIGATION_CONTROLLER_USB)) { in sony_resume()