aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorDouglas Anderson <[email protected]>2016-01-28 18:20:10 -0800
committerFelipe Balbi <[email protected]>2016-03-04 15:14:44 +0200
commitfae4e82609b0887d6d675170d0c20b6af45d83ba (patch)
treed765ea7f3d85865c47ad4308eff9ee4f49a6634c /lib/mpi/mpi-bit.c
parentfb616e3f837eee20cc0c6d5866983f7d2730d5a3 (diff)
usb: dwc2: host: Add dwc2_hcd_get_future_frame_number() call
As we start getting more exact about our scheduling it's becoming more and more important to know exactly how far through the current frame we are. This lets us make decisions about whether there's still time left to start a new transaction in the current frame. We'll add dwc2_hcd_get_future_frame_number() which will tell you what the frame number will be a certain number of microseconds (us) from now. We can use this information to help decide if there's enough time left in the frame for a transaction that will take a certain duration. This is expected to be used by a future change ("usb: dwc2: host: Properly set even/odd frame"). Acked-by: John Youn <[email protected]> Signed-off-by: Douglas Anderson <[email protected]> Tested-by: Heiko Stuebner <[email protected]> Tested-by: Stefan Wahren <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions