Home
last modified time | relevance | path

Searched refs:ftdi (Results 1 – 4 of 4) sorted by relevance

/system/tpm/trunks/ftdi/
Dmpsse.c139 if (ftdi_init(&mpsse->ftdi)) { in OpenIndex()
145 ftdi_set_interface(&mpsse->ftdi, interface); in OpenIndex()
148 if (!ftdi_usb_open_desc_index(&mpsse->ftdi, vid, pid, description, serial, in OpenIndex()
162 status |= ftdi_usb_reset(&mpsse->ftdi); in OpenIndex()
163 status |= ftdi_set_latency_timer(&mpsse->ftdi, LATENCY_MS); in OpenIndex()
164 status |= ftdi_write_data_set_chunksize(&mpsse->ftdi, CHUNK_SIZE); in OpenIndex()
165 status |= ftdi_read_data_set_chunksize(&mpsse->ftdi, CHUNK_SIZE); in OpenIndex()
166 status |= ftdi_set_bitmode(&mpsse->ftdi, 0, BITMODE_RESET); in OpenIndex()
173 ftdi_set_bitmode(&mpsse->ftdi, 0, BITMODE_MPSSE); in OpenIndex()
188 ftdi_usb_purge_buffers(&mpsse->ftdi); in OpenIndex()
[all …]
Dsupport.c35 if (ftdi_write_data(&mpsse->ftdi, buf, size) == size) {
49 r = ftdi_read_data(&mpsse->ftdi, buf, size); in raw_read()
63 ftdi_usb_purge_rx_buffer(&mpsse->ftdi); in raw_read()
73 mpsse->ftdi.usb_read_timeout = timeout; in set_timeouts()
74 mpsse->ftdi.usb_write_timeout = timeout; in set_timeouts()
Dmpsse.h154 struct ftdi_context ftdi; member
/system/tpm/trunks/
Dtrunks.gyp72 'ftdi/mpsse.c',
73 'ftdi/support.c',