Lines Matching refs:U32_ENDIAN_SWAP
112 ASSERT_TRUE(U32_ENDIAN_SWAP(0x12345678) == 0x78563412);
127 U32_ENDIAN_SWAP(AudioProtocol::ECmdDownload),
128 U32_ENDIAN_SWAP(8),
129 U32_ENDIAN_SWAP(0), //id
130 U32_ENDIAN_SWAP(0)
133 U32_ENDIAN_SWAP((AudioProtocol::ECmdDownload & 0xffff) | 0x43210000),
169 U32_ENDIAN_SWAP(AudioProtocol::ECmdStartPlayback),
170 U32_ENDIAN_SWAP(20),
171 U32_ENDIAN_SWAP(id), //id
172 U32_ENDIAN_SWAP(samplingF),
173 U32_ENDIAN_SWAP(mode),
174 U32_ENDIAN_SWAP(volume),
175 U32_ENDIAN_SWAP(repeat)
178 U32_ENDIAN_SWAP((AudioProtocol::ECmdStartPlayback & 0xffff) | 0x43210000),
202 U32_ENDIAN_SWAP(AudioProtocol::ECmdStartPlayback),
203 U32_ENDIAN_SWAP(20),
204 U32_ENDIAN_SWAP(id),
205 U32_ENDIAN_SWAP(samplingF),
206 U32_ENDIAN_SWAP(mode),
207 U32_ENDIAN_SWAP(volume),
208 U32_ENDIAN_SWAP(repeat)
211 U32_ENDIAN_SWAP((AudioProtocol::ECmdStartPlayback & 0xffff) | 0x43210000),
217 U32_ENDIAN_SWAP(AudioProtocol::ECmdStopPlayback),
218 U32_ENDIAN_SWAP(0)
222 U32_ENDIAN_SWAP((AudioProtocol::ECmdStopPlayback & 0xffff) | 0x43210000),
266 U32_ENDIAN_SWAP(AudioProtocol::ECmdStartRecording),
267 U32_ENDIAN_SWAP(16),
268 U32_ENDIAN_SWAP(samplingF),
269 U32_ENDIAN_SWAP(mode),
270 U32_ENDIAN_SWAP(volume),
271 U32_ENDIAN_SWAP(noSamples)
277 startReply[0] = U32_ENDIAN_SWAP((AudioProtocol::ECmdStartRecording & 0xffff) | 0x43210000);
279 startReply[2] = U32_ENDIAN_SWAP(noSamples * 2);
282 U32_ENDIAN_SWAP(AudioProtocol::ECmdStopRecording),
283 U32_ENDIAN_SWAP(0)
287 U32_ENDIAN_SWAP((AudioProtocol::ECmdStopRecording & 0xffff) | 0x43210000),
313 U32_ENDIAN_SWAP(AudioProtocol::ECmdGetDeviceInfo),
314 U32_ENDIAN_SWAP(0)
317 U32_ENDIAN_SWAP((AudioProtocol::ECmdGetDeviceInfo & 0xffff) | 0x43210000),
319 U32_ENDIAN_SWAP(4),
320 U32_ENDIAN_SWAP(0x30313233)