Name
usb_check_int_endpoints —
Check whether an interface's current altsetting contains a set of interrupt endpoints with the given addresses.
Arguments
intf
the interface whose current altsetting should be searched
ep_addrs
0-terminated array of the endpoint addresses (number and
direction) to look for
Description
Search for endpoints with the specified addresses and check their types.
Return
true
if all the endpoints are found and are interrupt,
false
otherwise.