HomeSort by relevance Sort by last modified time
    Searched refs:ttyFd (Results 1 - 3 of 3) sorted by null

  /device/moto/stingray/whisper/
SA_Phys_Linux.c 73 int ttyFd = -1;
82 ttyFd = open(ttyPort, O_RDWR);
83 if (ttyFd == -1) {
88 DBG_TRACE("%s opened with port %d", ttyPort, ttyFd);
89 if (tcflush(ttyFd, TCIOFLUSH) == 0) {
109 close(ttyFd);
122 if (tcflush(ttyFd, TCIOFLUSH) == 0) {
137 if (tcflush(ttyFd, TCIFLUSH) == 0) {
167 DBG_ERROR("Read Error unable to read port: %d from device: %s", ttyFd, ttyPort);
179 close(ttyFd);
    [all...]
Whisper_AccyMain.h 90 extern int ttyFd;
Whisper_AccyMain.c 574 if (ttyFd > 0)
575 close(ttyFd);

Completed in 44 milliseconds