Home
last modified time | relevance | path

Searched refs:m_ttyFd (Results 1 – 14 of 14) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/hm11/
Dhm11.cxx38 m_ttyFd = -1; in HM11()
58 if ( (m_ttyFd = open(devPath, O_RDWR)) == -1) in HM11()
70 if (m_ttyFd != -1) in ~HM11()
71 close(m_ttyFd); in ~HM11()
76 if (m_ttyFd == -1) in dataAvailable()
90 FD_SET(m_ttyFd, &readfds); in dataAvailable()
92 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0) in dataAvailable()
100 if (m_ttyFd == -1) in readData()
103 int rv = read(m_ttyFd, buffer, len); in readData()
118 if (m_ttyFd == -1) in writeData()
[all …]
Dhm11.h136 int ttyFd() { return m_ttyFd; }; in ttyFd()
140 int m_ttyFd; variable
/hardware/bsp/intel/peripheral/libupm/src/ublox6/
Dublox6.cxx36 m_ttyFd = -1; in Ublox6()
56 if ( (m_ttyFd = open(devPath, O_RDWR)) == -1) in Ublox6()
69 if (m_ttyFd != -1) in ~Ublox6()
70 close(m_ttyFd); in ~Ublox6()
75 if (m_ttyFd == -1) in dataAvailable()
89 FD_SET(m_ttyFd, &readfds); in dataAvailable()
91 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0) in dataAvailable()
99 if (m_ttyFd == -1) in readData()
102 int rv = read(m_ttyFd, buffer, len); in readData()
118 if (m_ttyFd == -1) in writeData()
[all …]
Dublox6.h122 int ttyFd() { return m_ttyFd; }; in ttyFd()
126 int m_ttyFd; variable
/hardware/bsp/intel/peripheral/libupm/src/mhz16/
Dmhz16.cxx38 m_ttyFd = -1; in MHZ16()
58 if ( (m_ttyFd = open(devPath, O_RDWR)) == -1) in MHZ16()
70 if (m_ttyFd != -1) in ~MHZ16()
71 close(m_ttyFd); in ~MHZ16()
78 if (m_ttyFd == -1) in dataAvailable()
92 FD_SET(m_ttyFd, &readfds); in dataAvailable()
94 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0) in dataAvailable()
102 if (m_ttyFd == -1) in readData()
108 int rv = read(m_ttyFd, buffer, len); in readData()
123 if (m_ttyFd == -1) in writeData()
[all …]
Dmhz16.h154 int ttyFd() { return m_ttyFd; }; in ttyFd()
158 int m_ttyFd; variable
/hardware/bsp/intel/peripheral/libupm/src/grovescam/
Dgrovescam.cxx41 m_ttyFd = -1; in GROVESCAM()
66 if ( (m_ttyFd = open(devPath, O_RDWR)) == -1) in GROVESCAM()
78 if (m_ttyFd != -1) in ~GROVESCAM()
79 close(m_ttyFd); in ~GROVESCAM()
84 if (m_ttyFd == -1) in dataAvailable()
106 FD_SET(m_ttyFd, &readfds); in dataAvailable()
108 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0) in dataAvailable()
116 if (m_ttyFd == -1) in readData()
119 int rv = read(m_ttyFd, (char *)buffer, len); in readData()
134 if (m_ttyFd == -1) in writeData()
[all …]
Dgrovescam.h183 int ttyFd() { return m_ttyFd; }; in ttyFd()
187 int m_ttyFd; variable
/hardware/bsp/intel/peripheral/libupm/src/hmtrp/
Dhmtrp.cxx42 m_ttyFd = -1; in HMTRP()
62 if ( (m_ttyFd = open(devPath, O_RDWR)) == -1) in HMTRP()
74 if (m_ttyFd != -1) in ~HMTRP()
75 close(m_ttyFd); in ~HMTRP()
80 if (m_ttyFd == -1) in dataAvailable()
93 FD_SET(m_ttyFd, &readfds); in dataAvailable()
95 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0) in dataAvailable()
103 if (m_ttyFd == -1) in readData()
113 int rv = read(m_ttyFd, buffer, len); in readData()
128 if (m_ttyFd == -1) in writeData()
[all …]
Dhmtrp.h249 int m_ttyFd; variable
/hardware/bsp/intel/peripheral/libupm/src/wt5001/
Dwt5001.cxx39 m_ttyFd = -1; in WT5001()
59 if ( (m_ttyFd = open(devPath, O_RDWR)) == -1) in WT5001()
71 if (m_ttyFd != -1) in ~WT5001()
72 close(m_ttyFd); in ~WT5001()
79 if (m_ttyFd == -1) in dataAvailable()
93 FD_SET(m_ttyFd, &readfds); in dataAvailable()
95 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0) in dataAvailable()
103 if (m_ttyFd == -1) in readData()
109 int rv = read(m_ttyFd, buffer, len); in readData()
124 if (m_ttyFd == -1) in writeData()
[all …]
Dwt5001.h342 int ttyFd() { return m_ttyFd; }; in ttyFd()
346 int m_ttyFd; variable
/hardware/bsp/intel/peripheral/libupm/src/zfm20/
Dzfm20.cxx38 m_ttyFd = -1; in ZFM20()
58 if ( (m_ttyFd = open(devPath, O_RDWR)) == -1) in ZFM20()
76 if (m_ttyFd != -1) in ~ZFM20()
77 close(m_ttyFd); in ~ZFM20()
84 if (m_ttyFd == -1) in dataAvailable()
98 FD_SET(m_ttyFd, &readfds); in dataAvailable()
100 if (select(m_ttyFd + 1, &readfds, NULL, NULL, &timeout) > 0) in dataAvailable()
108 if (m_ttyFd == -1) in readData()
114 int rv = read(m_ttyFd, buffer, len); in readData()
129 if (m_ttyFd == -1) in writeData()
[all …]
Dzfm20.h368 int ttyFd() { return m_ttyFd; }; in ttyFd()
372 int m_ttyFd; variable