3 #ifndef OPENOCD_JTAG_DRIVERS_LIBFTDI_HELPER_H
4 #define OPENOCD_JTAG_DRIVERS_LIBFTDI_HELPER_H
8 #ifndef HAVE_LIBFTDI_TCIOFLUSH
13 return ftdi_usb_purge_rx_buffer(ftdi);
18 return ftdi_usb_purge_tx_buffer(ftdi);
23 return ftdi_usb_purge_buffers(ftdi);
static int ftdi_tcoflush(struct ftdi_context *ftdi)
static int ftdi_tcioflush(struct ftdi_context *ftdi)
static int ftdi_tciflush(struct ftdi_context *ftdi)