Lines Matching defs:timeout

62  * @usec: timeout in microseconds
1045 xhci_warn(xhci, "WARN: xHC CMD_RUN timeout\n");
1068 * Section 5.4.2) and bypass the timeout.
1076 xhci_warn(xhci, "WARN: xHC save state timeout\n");
1162 * restore so setting the timeout to 100ms. Xhci specification
1163 * doesn't mention any timeout value.
1167 xhci_warn(xhci, "WARN: xHC restore state timeout\n");
1631 * when drivers timeout on the last submitted URB and attempt to cancel.
4225 * command on a timeout.
4437 /* Calculate BESLD, L1 timeout and HIRDM for USB2 PORTHLPMC */
4448 l1 = udev->l1_params.timeout / 256;
4497 /* Host supports BESL timeout instead of HIRD */
4606 udev->l1_params.timeout = XHCI_L1_TIMEOUT;
4648 dev_warn(&udev->dev, "%s: Can't get timeout for non-U1 or U2 state.\n",
4667 /* The U1 timeout should be the maximum of the following values:
4712 /* Returns the hub-encoded U1 timeout value. */
4732 /* The U1 timeout is encoded in 1us intervals.
4733 * Don't return a timeout of zero, because that's USB3_LPM_DISABLED.
4740 /* If the necessary timeout value is bigger than what we can set in the
4746 "due to long timeout %llu ms\n", timeout_ns);
4750 /* The U2 timeout should be the maximum of:
4776 /* Returns the hub-encoded U2 timeout value. */
4796 /* The U2 timeout is encoded in 256us intervals */
4798 /* If the necessary timeout value is bigger than what we can set in the
4804 "due to long timeout %llu ms\n", timeout_ns);
4812 u16 *timeout)
4826 u16 *timeout)
4831 desc, state, timeout);
4839 *timeout = alt_timeout;
4842 if (alt_timeout > *timeout)
4843 *timeout = alt_timeout;
4851 u16 *timeout)
4857 &alt->endpoint[j].desc, state, timeout))
4898 /* Returns the U1 or U2 timeout that should be enabled.
4899 * If the tier check or timeout setting functions return with a non-zero exit
4900 * code, that means the timeout value has been finalized and we shouldn't look
4910 u16 timeout = USB3_LPM_DISABLED;
4919 return timeout;
4923 return timeout;
4929 state, &timeout))
4930 return timeout;
4934 return timeout;
4951 timeout = xhci_get_timeout_no_hub_lpm(udev,
4953 if (timeout == USB3_LPM_DISABLED)
4954 return timeout;
4964 state, &timeout))
4965 return timeout;
4967 return timeout;
4995 if ((udev->u1_params.timeout != USB3_LPM_DISABLED && !disabling_u1) ||
4998 if ((udev->u2_params.timeout != USB3_LPM_DISABLED && !disabling_u2) ||
5015 /* Returns the USB3 hub-encoded value for the U1/U2 timeout. */
5026 /* The LPM timeout values are pretty host-controller specific, so don't
5028 * information about their timeout algorithm.