Lines Matching refs:mode
58 struct mpsse_context* MPSSE(enum modes mode, int freq, int endianess) { in MPSSE() argument
63 mpsse = Open(supported_devices[i].vid, supported_devices[i].pid, mode, in MPSSE()
90 enum modes mode, in Open() argument
96 return OpenIndex(vid, pid, mode, freq, endianess, interface, description, in Open()
119 enum modes mode, in OpenIndex() argument
150 mpsse->mode = mode; in OpenIndex()
157 if (mpsse->mode == I2C) in OpenIndex()
172 if (mpsse->mode != BITBANG) { in OpenIndex()
289 switch (mpsse->mode) { in SetMode()
605 if (mpsse->mode == I2C && mpsse->status == STARTED) { in Start()
622 if (mpsse->mode == SPI3) { in Start()
630 else if (mpsse->mode == SPI1) { in Start()
697 if (mpsse->mode) { in Write()
708 if (mpsse->mode == I2C) { in Write()
723 if (mpsse->mode == I2C) { in Write()
747 if (mpsse->mode) { in InternalRead()
875 if (mpsse->mode >= SPI0 && mpsse->mode <= SPI3) { in Transfer()
991 if (mpsse->mode == I2C) { in Stop()
1062 if (mpsse->mode == BITBANG) { in SetDirection()
1084 if (mpsse->mode == BITBANG) { in WritePins()
1128 if (mpsse->mode != BITBANG) { in PinState()