Lines Matching refs:quirks
45 static unsigned int quirks; variable
46 module_param(quirks, uint, S_IRUGO);
47 MODULE_PARM_DESC(quirks, "Bit flags for quirks to be enabled as default");
186 if (xhci->quirks & XHCI_INTEL_HOST) in xhci_reset()
341 if (xhci->quirks & XHCI_PLAT) in xhci_cleanup_msix()
375 if (xhci->quirks & XHCI_PLAT) in xhci_try_enable_msi()
383 if (xhci->quirks & XHCI_BROKEN_MSI) in xhci_try_enable_msi()
549 xhci->quirks |= XHCI_LINK_TRB_QUIRK; in xhci_init()
559 xhci->quirks |= XHCI_COMP_MODE_QUIRK; in xhci_init()
578 if (xhci->quirks & XHCI_NEC_HOST) in xhci_run_finished()
655 if (xhci->quirks & XHCI_NEC_HOST) { in xhci_run()
701 if ((xhci->quirks & XHCI_COMP_MODE_QUIRK) && in xhci_stop()
709 if (xhci->quirks & XHCI_AMD_PLL_FIX) in xhci_stop()
741 if (xhci->quirks & XHCI_SPURIOUS_REBOOT) in xhci_shutdown()
747 if (xhci->quirks & XHCI_SPURIOUS_WAKEUP) in xhci_shutdown()
758 if (xhci->quirks & XHCI_SPURIOUS_WAKEUP) in xhci_shutdown()
930 delay *= (xhci->quirks & XHCI_SLOW_SUSPEND) ? 10 : 1; in xhci_suspend()
959 if ((xhci->quirks & XHCI_COMP_MODE_QUIRK) && in xhci_suspend()
1004 if (xhci->quirks & XHCI_RESET_ON_RESUME) in xhci_resume()
1029 if ((xhci->quirks & XHCI_COMP_MODE_QUIRK) && in xhci_resume()
1118 if ((xhci->quirks & XHCI_COMP_MODE_QUIRK) && !comp_timer_running) in xhci_resume()
2659 if ((xhci->quirks & XHCI_EP_LIMIT_QUIRK) && in xhci_configure_endpoint()
2667 if ((xhci->quirks & XHCI_SW_BW_CHECKING) && in xhci_configure_endpoint()
2669 if ((xhci->quirks & XHCI_EP_LIMIT_QUIRK)) in xhci_configure_endpoint()
2685 if ((xhci->quirks & XHCI_EP_LIMIT_QUIRK)) in xhci_configure_endpoint()
2705 if ((xhci->quirks & XHCI_EP_LIMIT_QUIRK)) { in xhci_configure_endpoint()
2946 if (!(xhci->quirks & XHCI_RESET_EP_QUIRK)) { in xhci_cleanup_stalled_ring()
3175 if ((xhci->quirks & XHCI_BROKEN_STREAMS) || in xhci_alloc_streams()
3555 if ((xhci->quirks & XHCI_EP_LIMIT_QUIRK)) { in xhci_discover_or_reset_device()
3624 if (xhci->quirks & XHCI_RESET_ON_RESUME) in xhci_free_dev()
3737 if ((xhci->quirks & XHCI_EP_LIMIT_QUIRK)) { in xhci_alloc_dev()
3764 if (xhci->quirks & XHCI_RESET_ON_RESUME) in xhci_alloc_dev()
4383 if (xhci->quirks & XHCI_INTEL_HOST) in xhci_calculate_u1_timeout()
4439 if (xhci->quirks & XHCI_INTEL_HOST) in xhci_calculate_u2_timeout()
4540 if (xhci->quirks & XHCI_INTEL_HOST) in xhci_check_tier_policy()
4675 if (!xhci || !(xhci->quirks & XHCI_LPM_SUPPORT) || in xhci_enable_usb3_lpm_timeout()
4700 if (!xhci || !(xhci->quirks & XHCI_LPM_SUPPORT) || in xhci_disable_usb3_lpm_timeout()
4909 xhci->quirks = quirks; in xhci_gen_setup()
4918 xhci->quirks |= XHCI_SPURIOUS_SUCCESS; in xhci_gen_setup()
4958 xhci->hcc_params, xhci->hci_version, xhci->quirks); in xhci_gen_setup()