• Home
  • Raw
  • Download

Lines Matching refs:quirks

540 	unsigned long quirks;  member
815 if (sc->quirks & (SINO_LITE_CONTROLLER | FUTUREMAX_DANCE_MAT)) in sony_report_fixup()
822 if ((sc->quirks & VAIO_RDESC_CONSTANT) && *rsize >= 56 && in sony_report_fixup()
834 if (sc->quirks & MOTION_CONTROLLER) in sony_report_fixup()
837 if (sc->quirks & PS3REMOTE) in sony_report_fixup()
856 offset = (sc->quirks & MOTION_CONTROLLER) ? 12 : 30; in sixaxis_parse_report()
875 if (sc->quirks & SIXAXIS_CONTROLLER) { in sixaxis_parse_report()
904 int data_offset = (sc->quirks & DUALSHOCK4_CONTROLLER_BT) ? 2 : 0; in dualshock4_parse_report()
1037 max_touch_data = (sc->quirks & DUALSHOCK4_CONTROLLER_BT) ? 4 : 3; in dualshock4_parse_report()
1088 if ((sc->quirks & SIXAXIS_CONTROLLER) && rd[0] == 0x01 && size == 49) { in sony_raw_event()
1106 } else if ((sc->quirks & MOTION_CONTROLLER_BT) && rd[0] == 0x01 && size == 49) { in sony_raw_event()
1108 } else if ((sc->quirks & NAVIGATION_CONTROLLER) && rd[0] == 0x01 && in sony_raw_event()
1111 } else if ((sc->quirks & DUALSHOCK4_CONTROLLER_USB) && rd[0] == 0x01 && in sony_raw_event()
1114 } else if (((sc->quirks & DUALSHOCK4_CONTROLLER_BT) && rd[0] == 0x11 && in sony_raw_event()
1131 } else if ((sc->quirks & DUALSHOCK4_DONGLE) && rd[0] == 0x01 && in sony_raw_event()
1203 if (sc->quirks & BUZZ_CONTROLLER) { in sony_mapping()
1226 if (sc->quirks & PS3REMOTE) in sony_mapping()
1229 if (sc->quirks & NAVIGATION_CONTROLLER) in sony_mapping()
1232 if (sc->quirks & SIXAXIS_CONTROLLER) in sony_mapping()
1235 if (sc->quirks & DUALSHOCK4_CONTROLLER) in sony_mapping()
1347 if (sc->quirks & SIXAXIS_CONTROLLER) { in sony_register_sensors()
1360 } else if (sc->quirks & DUALSHOCK4_CONTROLLER) { in sony_register_sensors()
1498 if (sc->quirks & (DUALSHOCK4_CONTROLLER_USB | DUALSHOCK4_DONGLE)) { in dualshock4_get_calibration_data()
1550 if (sc->quirks & DUALSHOCK4_CONTROLLER_USB) { in dualshock4_get_calibration_data()
1720 if (!(sc->quirks & BUZZ_CONTROLLER)) in sony_set_leds()
1749 force_update = !!(drv_data->quirks & SIXAXIS_CONTROLLER_USB); in sony_led_set_brightness()
1843 BUG_ON(!(sc->quirks & SONY_LED_SUPPORT)); in sony_leds_remove()
1872 BUG_ON(!(sc->quirks & SONY_LED_SUPPORT)); in sony_leds_init()
1874 if (sc->quirks & BUZZ_CONTROLLER) { in sony_leds_init()
1882 } else if (sc->quirks & DUALSHOCK4_CONTROLLER) { in sony_leds_init()
1891 } else if (sc->quirks & MOTION_CONTROLLER) { in sony_leds_init()
1897 } else if (sc->quirks & NAVIGATION_CONTROLLER) { in sony_leds_init()
2042 if (sc->quirks & (DUALSHOCK4_CONTROLLER_USB | DUALSHOCK4_DONGLE)) { in dualshock4_send_output_report()
2075 if (sc->quirks & (DUALSHOCK4_CONTROLLER_USB | DUALSHOCK4_DONGLE)) in dualshock4_send_output_report()
2124 if ((sc->quirks & SIXAXIS_CONTROLLER) || in sony_allocate_output_report()
2125 (sc->quirks & NAVIGATION_CONTROLLER)) in sony_allocate_output_report()
2129 else if (sc->quirks & DUALSHOCK4_CONTROLLER_BT) in sony_allocate_output_report()
2132 else if (sc->quirks & (DUALSHOCK4_CONTROLLER_USB | DUALSHOCK4_DONGLE)) in sony_allocate_output_report()
2135 else if (sc->quirks & MOTION_CONTROLLER) in sony_allocate_output_report()
2295 const int sc0_not_bt = !(sc0->quirks & SONY_BT_DEVICE); in sony_compare_connection_type()
2296 const int sc1_not_bt = !(sc1->quirks & SONY_BT_DEVICE); in sony_compare_connection_type()
2369 if ((sc->quirks & DUALSHOCK4_CONTROLLER_BT) || in sony_check_add()
2370 (sc->quirks & MOTION_CONTROLLER_BT) || in sony_check_add()
2371 (sc->quirks & NAVIGATION_CONTROLLER_BT) || in sony_check_add()
2372 (sc->quirks & SIXAXIS_CONTROLLER_BT)) { in sony_check_add()
2383 } else if (sc->quirks & (DUALSHOCK4_CONTROLLER_USB | DUALSHOCK4_DONGLE)) { in sony_check_add()
2410 } else if ((sc->quirks & SIXAXIS_CONTROLLER_USB) || in sony_check_add()
2411 (sc->quirks & NAVIGATION_CONTROLLER_USB)) { in sony_check_add()
2464 if ((sc->quirks & SIXAXIS_CONTROLLER) || in sony_set_device_id()
2465 (sc->quirks & DUALSHOCK4_CONTROLLER)) { in sony_set_device_id()
2536 if (sc->quirks & NAVIGATION_CONTROLLER_USB) { in sony_input_configured()
2553 hdev->quirks |= HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP; in sony_input_configured()
2554 hdev->quirks |= HID_QUIRK_SKIP_OUTPUT_REPORT_ID; in sony_input_configured()
2564 } else if (sc->quirks & NAVIGATION_CONTROLLER_BT) { in sony_input_configured()
2569 hdev->quirks |= HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP; in sony_input_configured()
2578 } else if (sc->quirks & SIXAXIS_CONTROLLER_USB) { in sony_input_configured()
2585 hdev->quirks |= HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP; in sony_input_configured()
2586 hdev->quirks |= HID_QUIRK_SKIP_OUTPUT_REPORT_ID; in sony_input_configured()
2603 } else if (sc->quirks & SIXAXIS_CONTROLLER_BT) { in sony_input_configured()
2608 hdev->quirks |= HID_QUIRK_NO_OUTPUT_REPORTS_ON_INTR_EP; in sony_input_configured()
2624 } else if (sc->quirks & DUALSHOCK4_CONTROLLER) { in sony_input_configured()
2650 if (sc->quirks & DUALSHOCK4_CONTROLLER_BT) { in sony_input_configured()
2659 if (sc->quirks & DUALSHOCK4_DONGLE) { in sony_input_configured()
2666 } else if (sc->quirks & MOTION_CONTROLLER) { in sony_input_configured()
2672 if (sc->quirks & SONY_LED_SUPPORT) { in sony_input_configured()
2678 if (sc->quirks & SONY_BATTERY_SUPPORT) { in sony_input_configured()
2691 if (sc->quirks & SONY_FF_SUPPORT) { in sony_input_configured()
2707 if (sc->quirks & SONY_LED_SUPPORT) in sony_input_configured()
2709 if (sc->quirks & SONY_BATTERY_SUPPORT) in sony_input_configured()
2725 unsigned long quirks = id->driver_data; in sony_probe() local
2730 quirks |= FUTUREMAX_DANCE_MAT; in sony_probe()
2740 sc->quirks = quirks; in sony_probe()
2750 if (sc->quirks & VAIO_RDESC_CONSTANT) in sony_probe()
2752 else if (sc->quirks & SIXAXIS_CONTROLLER) in sony_probe()
2761 if (sc->quirks & (SIXAXIS_CONTROLLER | DUALSHOCK4_CONTROLLER)) in sony_probe()
2793 if (sc->quirks & SONY_LED_SUPPORT) in sony_remove()
2796 if (sc->quirks & SONY_BATTERY_SUPPORT) in sony_remove()
2805 if (sc->quirks & DUALSHOCK4_CONTROLLER_BT) in sony_remove()
2845 if ((sc->quirks & SIXAXIS_CONTROLLER_USB) || in sony_resume()
2846 (sc->quirks & NAVIGATION_CONTROLLER_USB)) { in sony_resume()