Lines Matching refs:mel
4762 if (xhci_service_interval_to_ns(desc) <= udev->u1_params.mel) { in xhci_calculate_u1_timeout()
4826 if (xhci_service_interval_to_ns(desc) <= udev->u2_params.mel) { in xhci_calculate_u2_timeout()
5031 u1_mel_us = DIV_ROUND_UP(udev->u1_params.mel, 1000); in calculate_max_exit_latency()
5034 u2_mel_us = DIV_ROUND_UP(udev->u2_params.mel, 1000); in calculate_max_exit_latency()
5054 int mel; in xhci_enable_usb3_lpm_timeout() local
5077 mel = calculate_max_exit_latency(udev, state, hub_encoded_timeout); in xhci_enable_usb3_lpm_timeout()
5078 if (mel < 0) { in xhci_enable_usb3_lpm_timeout()
5081 mel = 0; in xhci_enable_usb3_lpm_timeout()
5084 ret = xhci_change_max_exit_latency(xhci, udev, mel); in xhci_enable_usb3_lpm_timeout()
5094 u16 mel; in xhci_disable_usb3_lpm_timeout() local
5101 mel = calculate_max_exit_latency(udev, state, USB3_LPM_DISABLED); in xhci_disable_usb3_lpm_timeout()
5102 return xhci_change_max_exit_latency(xhci, udev, mel); in xhci_disable_usb3_lpm_timeout()