Searched refs:pResponse (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/app/forlinx/quectelCM/ |
| H A D | QMIThread.c | 24 if (err < 0 || pResponse == NULL) { \ 28 pMUXMsg = &pResponse->MUXMsg; \ 33 free(pResponse); \ 39 if (err < 0 || pResponse == NULL) { \ 43 pMUXMsg = &pResponse->MUXMsg; \ 571 static int is_response(const PQCQMIMSG pRequest, const PQCQMIMSG pResponse) { in is_response() argument 572 if ((pRequest->QMIHdr.QMIType == pResponse->QMIHdr.QMIType) in is_response() 573 && (pRequest->QMIHdr.ClientId == pResponse->QMIHdr.ClientId)) { in is_response() 577 responseTID = pResponse->CTLMsg.QMICTLMsgHdr.TransactionId; in is_response() 580 responseTID = le16_to_cpu(pResponse->MUXMsg.QMUXHdr.TransactionId); in is_response() [all …]
|
| H A D | QmiWwanCM.c | 106 PQCQMIMSG pResponse; in libqmi_proxy_open() local 109 CtlLibQmiProxyOpenReq, (void *)cdc_wdm), &pResponse); in libqmi_proxy_open() 110 if (!ret && pResponse in libqmi_proxy_open() 111 && pResponse->CTLMsg.QMICTLMsgHdrRsp.QMUXResult == 0 in libqmi_proxy_open() 112 && pResponse->CTLMsg.QMICTLMsgHdrRsp.QMUXError == 0) { in libqmi_proxy_open() 119 if (pResponse) in libqmi_proxy_open() 120 free(pResponse); in libqmi_proxy_open() 165 PQCQMIMSG pResponse; in QmiWwanGetClientID() local 167 …miThreadSendQMI(ComposeQCTLMsg(QMICTL_GET_CLIENT_ID_REQ, CtlGetClientIdReq, &QMIType), &pResponse); in QmiWwanGetClientID() 169 if (pResponse) { in QmiWwanGetClientID() [all …]
|
| H A D | GobiNetCM.c | 200 PQCQMIMSG pResponse = (PQCQMIMSG)cm_recv_buf; in GobiNetThread() local 202 nreads = read(fd, &pResponse->MUXMsg, sizeof(cm_recv_buf) - sizeof(QCQMI_HDR)); in GobiNetThread() 213 pResponse->QMIHdr.QMIType = i; in GobiNetThread() 217 pResponse->QMIHdr.IFType = USB_CTL_MSG_TYPE_QMI; in GobiNetThread() 218 pResponse->QMIHdr.Length = cpu_to_le16(nreads + sizeof(QCQMI_HDR) - 1); in GobiNetThread() 219 pResponse->QMIHdr.CtlFlags = 0x00; in GobiNetThread() 220 pResponse->QMIHdr.ClientId = (fd&0xFF) ? fd&0xFF : pResponse->QMIHdr.QMIType;; in GobiNetThread() 222 QmiThreadRecvQMI(pResponse); in GobiNetThread()
|
| H A D | quectel-mbim-proxy.c | 234 MBIM_MESSAGE_HEADER *pResponse = (MBIM_MESSAGE_HEADER *)pdata; in handle_device_response() local 237 if (pResponse->TransactionId == 0) { in handle_device_response() 240 non_block_write(cm_clients[i].client_fd, pResponse, len); in handle_device_response() 246 int client_idx = (pResponse->TransactionId >> TID_SHIFT); in handle_device_response() 250 pResponse->TransactionId &= TID_MASK; in handle_device_response() 251 …_idx=%d, tid=%u\n", cm_clients[i].client_fd, cm_clients[i].client_idx, (pResponse->TransactionId &… in handle_device_response() 252 non_block_write(cm_clients[i].client_fd, pResponse, len); in handle_device_response() 258 mbim_debug("%s nobody care tid=%u\n", __func__, pResponse->TransactionId); in handle_device_response()
|
| H A D | mbim-cm.c | 1308 static void mbim_recv_command(MBIM_MESSAGE_HEADER *pResponse, unsigned size) in mbim_recv_command() argument 1313 if (pResponse) in mbim_recv_command() 1314 mbim_dump(pResponse, mbim_verbose); in mbim_recv_command() 1316 if (pResponse == NULL) { in mbim_recv_command() 1319 …else if (mbim_pRequest && le32toh(mbim_pRequest->TransactionId) == le32toh(pResponse->TransactionI… in mbim_recv_command() 1320 mbim_pResponse = mbim_alloc(le32toh(pResponse->MessageLength)); in mbim_recv_command() 1322 memcpy(mbim_pResponse, pResponse, le32toh(pResponse->MessageLength)); in mbim_recv_command() 1325 else if (le32toh(pResponse->MessageType) == MBIM_INDICATE_STATUS_MSG) { in mbim_recv_command() 1326 MBIM_INDICATE_STATUS_MSG_T *pIndMsg = (MBIM_INDICATE_STATUS_MSG_T *)pResponse; in mbim_recv_command() 1420 static ssize_t mbim_proxy_read (int fd, MBIM_MESSAGE_HEADER *pResponse, size_t size) { in mbim_proxy_read() argument [all …]
|
| H A D | QMIThread.h | 270 extern void QmiThreadRecvQMI(PQCQMIMSG pResponse);
|