commit | 022ceacaf8a6a67f86f0a5ed8f6ce6b2f6ab73a4 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Thu Sep 07 06:13:18 2017 -0700 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Wed Sep 27 12:12:22 2017 +0200 |
tree | 80c4c186f1765fb057c26bca5a59a98d96e2e109 | |
parent | 3e59f59015e39ceb870fa8a7a12e0464e775512b [diff] |
dm: usb: xhci: Implement get_max_xfer_size() operation xHCD allocates one segment which includes 64 TRBs for each endpoint and the last TRB in this segment is configured as a link TRB to form a TRB ring. Each TRB can transfer up to 64K bytes, however data buffers referenced by transfer TRBs shall not span 64KB boundaries. Hence the maximum number of TRBs we can use in one transfer is 62. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>