Lines Matching refs:Length
40 int Length; in ComposeQCTLMsg() local
51 …pRequest->CTLMsg.QMICTLMsgHdr.Length = cpu_to_le16(customQctlMsgFunction(&pRequest->CTLMsg, arg) -… in ComposeQCTLMsg()
53 pRequest->CTLMsg.QMICTLMsgHdr.Length = cpu_to_le16(0x0000); in ComposeQCTLMsg()
55 …pRequest->QMIHdr.Length = cpu_to_le16(le16_to_cpu(pRequest->CTLMsg.QMICTLMsgHdr.Length) + sizeof(Q… in ComposeQCTLMsg()
56 Length = le16_to_cpu(pRequest->QMIHdr.Length) + 1; in ComposeQCTLMsg()
58 pRequest = (PQCQMIMSG)malloc(Length); in ComposeQCTLMsg()
62 memcpy(pRequest, QMIBuf, Length); in ComposeQCTLMsg()
150 ssize_t nwrites = le16_to_cpu(pRequest->QMIHdr.Length) + 1; in QmiWwanSendQMI()
273 if (nreads == sizeof(QCQMI_HDR) && le16_to_cpu(pHdr->Length) < size) { in qmi_proxy_read()
274 nreads += read(fd, pHdr+1, le16_to_cpu(pHdr->Length) + 1 - sizeof(QCQMI_HDR)); in qmi_proxy_read()
415 if (nreads != (le16_to_cpu(pResponse->QMIHdr.Length) + 1)) { in QmiWwanThread()
416 …s=%d, pQCQMI->QMIHdr.Length = %d", __func__, (int)nreads, le16_to_cpu(pResponse->QMIHdr.Length)); in QmiWwanThread()