Lines Matching defs:timeout
61 * @usec: timeout in microseconds
903 xhci_warn(xhci, "WARN: xHC CMD_RUN timeout\n");
926 * Section 5.4.2) and bypass the timeout.
934 xhci_warn(xhci, "WARN: xHC save state timeout\n");
1018 * restore so setting the timeout to 100ms. Xhci specification
1019 * doesn't mention any timeout value.
1023 xhci_warn(xhci, "WARN: xHC restore state timeout\n");
1618 * when drivers timeout on the last submitted URB and attempt to cancel.
4116 * command on a timeout.
4334 /* Calculate BESLD, L1 timeout and HIRDM for USB2 PORTHLPMC */
4345 l1 = udev->l1_params.timeout / 256;
4394 /* Host supports BESL timeout instead of HIRD */
4491 udev->l1_params.timeout = XHCI_L1_TIMEOUT;
4533 dev_warn(&udev->dev, "%s: Can't get timeout for non-U1 or U2 state.\n",
4552 /* The U1 timeout should be the maximum of the following values:
4597 /* Returns the hub-encoded U1 timeout value. */
4617 /* The U1 timeout is encoded in 1us intervals.
4618 * Don't return a timeout of zero, because that's USB3_LPM_DISABLED.
4625 /* If the necessary timeout value is bigger than what we can set in the
4631 "due to long timeout %llu ms\n", timeout_ns);
4635 /* The U2 timeout should be the maximum of:
4661 /* Returns the hub-encoded U2 timeout value. */
4681 /* The U2 timeout is encoded in 256us intervals */
4683 /* If the necessary timeout value is bigger than what we can set in the
4689 "due to long timeout %llu ms\n", timeout_ns);
4697 u16 *timeout)
4711 u16 *timeout)
4716 desc, state, timeout);
4724 *timeout = alt_timeout;
4727 if (alt_timeout > *timeout)
4728 *timeout = alt_timeout;
4736 u16 *timeout)
4742 &alt->endpoint[j].desc, state, timeout))
4772 /* Returns the U1 or U2 timeout that should be enabled.
4773 * If the tier check or timeout setting functions return with a non-zero exit
4774 * code, that means the timeout value has been finalized and we shouldn't look
4784 u16 timeout = USB3_LPM_DISABLED;
4793 return timeout;
4800 state, &timeout))
4801 return timeout;
4805 return timeout;
4822 timeout = xhci_get_timeout_no_hub_lpm(udev,
4824 if (timeout == USB3_LPM_DISABLED)
4825 return timeout;
4835 state, &timeout))
4836 return timeout;
4838 return timeout;
4866 if ((udev->u1_params.timeout != USB3_LPM_DISABLED && !disabling_u1) ||
4869 if ((udev->u2_params.timeout != USB3_LPM_DISABLED && !disabling_u2) ||
4884 /* Returns the USB3 hub-encoded value for the U1/U2 timeout. */
4895 /* The LPM timeout values are pretty host-controller specific, so don't
4897 * information about their timeout algorithm.