Lines Matching refs:lineCoding
210 usb_serial_line_coding lineCoding; in SetModes()
211 lineCoding.speed = baudRates[baudIndex]; in SetModes()
212 lineCoding.stopbits = (tios->c_cflag & CSTOPB) ? LC_STOP_BIT_2 : LC_STOP_BIT_1; in SetModes()
215 lineCoding.parity = LC_PARITY_EVEN; in SetModes()
217 lineCoding.parity = LC_PARITY_ODD; in SetModes()
219 lineCoding.parity = LC_PARITY_NONE; in SetModes()
221 lineCoding.databits = (tios->c_cflag & CS8) ? 8 : 7; in SetModes()
223 if (lineCoding.speed == 0) { in SetModes()
225 lineCoding.speed = fLineCoding.speed; in SetModes()
235 if (memcmp(&lineCoding, &fLineCoding, sizeof(usb_serial_line_coding)) != 0) { in SetModes()
236 fLineCoding.speed = lineCoding.speed; in SetModes()
237 fLineCoding.stopbits = lineCoding.stopbits; in SetModes()
238 fLineCoding.databits = lineCoding.databits; in SetModes()
239 fLineCoding.parity = lineCoding.parity; in SetModes()