check_valid_interface() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDcheck_valid_interface()

check_valid_interface() function

Syntax

static int check_valid_interface(struct libusb_device_handle *dev_handle,     unsigned short interface,     int api_id);

Arguments

dev_handle

interface

api_id

References

LocationReferrerText
windows_winusb.c:2915
static int check_valid_interface(struct libusb_device_handle *dev_handle, unsigned short interface, int api_id)
windows_winusb.c:2981winusbx_submit_control_transfer()
current_interface = check_valid_interface(transfer->dev_handle, setup->Index & 0xff, USB_API_WINUSBX);

Call Tree

Functions calling check_valid_interface()
Functions called by check_valid_interface()
all items filtered out
check_valid_interface()
usbi_dbg()
HANDLE_CTX()
usbi_get_device_priv()
all items filtered out
Data read by check_valid_interface()
check_valid_interface()::handle_priv
check_valid_interface()::priv
all items filtered out
check_valid_interface()
Type of check_valid_interface()
check_valid_interface()