Lines Matching refs:command
58 uint32_t command = ntohl(data[0]); in handleReplyHeader() local
59 if ((command & 0xffff0000) != 0x43210000) { in handleReplyHeader()
60 LOGE("Wrong header %x %x", command, data[0]); in handleReplyHeader()
63 command = (command & 0xffff) | 0x12340000; // convert to id in handleReplyHeader()
64 if (command < ECmdStart) { in handleReplyHeader()
65 LOGE("Wrong header %x %x", command, data[0]); in handleReplyHeader()
68 if (command > (ECmdLast - 1)) { in handleReplyHeader()
69 LOGE("Wrong header %x %x", command, data[0]); in handleReplyHeader()
72 id = (CommandId)command; in handleReplyHeader()
73 LOGD("received reply with command %x", command); in handleReplyHeader()
77 bool AudioProtocol::checkHeaderId(const uint32_t* data, uint32_t command) in checkHeaderId() argument
79 if (ntohl(data[0]) != ((command & 0xffff) | 0x43210000)) { in checkHeaderId()