Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 20 of 20) sorted by relevance

/device/google/contexthub/firmware/os/core/
DnanohubCommand.c137 struct NanohubOsHwVersionsResponse *resp = tx; in getOsHwVersion() local
138 resp->hwType = htole16(platHwType()); in getOsHwVersion()
139 resp->hwVer = htole16(platHwVer()); in getOsHwVersion()
140 resp->blVer = htole16(platBlVer()); in getOsHwVersion()
141 resp->osVer = htole16(OS_VER); in getOsHwVersion()
142 resp->variantVer = htole32(VARIANT_VER); in getOsHwVersion()
144 return sizeof(*resp); in getOsHwVersion()
150 struct NanohubAppVersionsResponse *resp = tx; in getAppVersion() local
154 resp->appVer = htole32(appVer); in getAppVersion()
155 return sizeof(*resp); in getAppVersion()
[all …]
DhostIntf.c405 static void hostIntfTxSendAck(uint32_t resp) in hostIntfTxSendAck() argument
409 if (resp == NANOHUB_FAST_UNHANDLED_ACK) { in hostIntfTxSendAck()
412 } else if (resp == NANOHUB_FAST_DONT_ACK) { in hostIntfTxSendAck()
415 hostIntfTxPacket(mRxCmd->reason, resp, mTxRetrans.seq, hostIntfTxPayloadDone); in hostIntfTxSendAck()
434 uint32_t resp = NANOHUB_FAST_UNHANDLED_ACK; in hostIntfGenerateAck() local
447 resp = mRxCmd->fastHandler(rxPayload, rx_len, txPayload, mRxTimestamp); in hostIntfGenerateAck()
449 hostIntfTxSendAck(resp); in hostIntfGenerateAck()
1114 struct NanohubHalSysMgmtTx *resp; in hostIntfNotifyReboot() local
1115 resp = heapAlloc(sizeof(*resp)); in hostIntfNotifyReboot()
1116 if (resp) { in hostIntfNotifyReboot()
[all …]
/device/linaro/dragonboard/qcom/rmtfs/
Drmtfs.c56 struct rmtfs_open_resp resp = {}; in rmtfs_open() local
68 qmi_result_error(&resp.result, QMI_RMTFS_ERR_MALFORMED_MSG); in rmtfs_open()
74 qmi_result_error(&resp.result, QMI_RMTFS_ERR_INTERNAL); in rmtfs_open()
79 resp.caller_id = caller_id; in rmtfs_open()
80 resp.caller_id_valid = true; in rmtfs_open()
84 req.path, caller_id, resp.result.result, resp.result.error); in rmtfs_open()
87 QMI_RESPONSE, QMI_RMTFS_OPEN, txn, &resp, in rmtfs_open()
104 struct rmtfs_close_resp resp = {}; in rmtfs_close() local
115 qmi_result_error(&resp.result, QMI_RMTFS_ERR_MALFORMED_MSG); in rmtfs_close()
121 qmi_result_error(&resp.result, QMI_RMTFS_ERR_INTERNAL); in rmtfs_close()
[all …]
/device/linaro/dragonboard/qcom/pd-mapper/
Dpd-mapper.c58 struct servreg_loc_get_domain_list_resp resp = {}; in handle_get_domain_list() local
71 resp.result.result = QMI_RESULT_FAILURE; in handle_get_domain_list()
72 resp.result.error = QMI_ERR_MALFORMED_MSG; in handle_get_domain_list()
78 resp.result.result = QMI_RESULT_SUCCESS; in handle_get_domain_list()
79 resp.db_revision_valid = 1; in handle_get_domain_list()
80 resp.db_revision = 1; in handle_get_domain_list()
84 entry = &resp.domain_list[resp.domain_list_len++]; in handle_get_domain_list()
94 if (resp.domain_list_len) in handle_get_domain_list()
95 resp.domain_list_valid = 1; in handle_get_domain_list()
97 resp.total_domains_valid = 1; in handle_get_domain_list()
[all …]
/device/linaro/dragonboard/qcom/qrtr/src/
Daddr.c25 } resp; in qrtr_set_address() local
67 ret = recv(sock, &resp, sizeof(resp), 0); in qrtr_set_address()
71 if (resp.nh.nlmsg_type == NLMSG_ERROR && resp.err.error != 0) { in qrtr_set_address()
72 errno = -resp.err.error; in qrtr_set_address()
/device/linaro/hikey/wpan/uim/
Duim.c151 command_complete_t resp; in read_command_complete() local
156 if (read_hci_event(fd, (unsigned char *)&resp, sizeof(resp)) < 0) { in read_command_complete()
162 if (resp.uart_prefix != HCI_EVENT_PKT) { in read_command_complete()
164 resp.uart_prefix); in read_command_complete()
169 if (resp.hci_hdr.evt != EVT_CMD_COMPLETE) { in read_command_complete()
172 resp.hci_hdr.evt); in read_command_complete()
176 if (resp.hci_hdr.plen < 4) { in read_command_complete()
179 resp.hci_hdr.plen); in read_command_complete()
183 if (resp.cmd_complete.opcode != (unsigned short)opcode) { in read_command_complete()
185 resp.cmd_complete.opcode, opcode); in read_command_complete()
[all …]
/device/google/bonito/sdm710/kernel-headers/linux/
Dipa_qmi_service_v01.h129 struct ipa_qmi_response_type_v01 resp; member
141 struct ipa_qmi_response_type_v01 resp; member
150 struct ipa_qmi_response_type_v01 resp; member
264 struct ipa_qmi_response_type_v01 resp; member
303 struct ipa_qmi_response_type_v01 resp; member
312 struct ipa_qmi_response_type_v01 resp; member
318 struct ipa_qmi_response_type_v01 resp; member
374 struct ipa_qmi_response_type_v01 resp; member
400 struct ipa_qmi_response_type_v01 resp; member
426 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dipa_qmi_service_v01.h129 struct ipa_qmi_response_type_v01 resp; member
141 struct ipa_qmi_response_type_v01 resp; member
150 struct ipa_qmi_response_type_v01 resp; member
264 struct ipa_qmi_response_type_v01 resp; member
303 struct ipa_qmi_response_type_v01 resp; member
312 struct ipa_qmi_response_type_v01 resp; member
318 struct ipa_qmi_response_type_v01 resp; member
374 struct ipa_qmi_response_type_v01 resp; member
400 struct ipa_qmi_response_type_v01 resp; member
426 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dipa_qmi_service_v01.h360 struct ipa_qmi_response_type_v01 resp; member
422 struct ipa_qmi_response_type_v01 resp; member
464 struct ipa_qmi_response_type_v01 resp; member
878 struct ipa_qmi_response_type_v01 resp; member
1055 struct ipa_qmi_response_type_v01 resp; member
1100 struct ipa_qmi_response_type_v01 resp; member
1123 struct ipa_qmi_response_type_v01 resp; member
1364 struct ipa_qmi_response_type_v01 resp; member
1431 struct ipa_qmi_response_type_v01 resp; member
1517 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dipa_qmi_service_v01.h360 struct ipa_qmi_response_type_v01 resp; member
422 struct ipa_qmi_response_type_v01 resp; member
464 struct ipa_qmi_response_type_v01 resp; member
878 struct ipa_qmi_response_type_v01 resp; member
1055 struct ipa_qmi_response_type_v01 resp; member
1100 struct ipa_qmi_response_type_v01 resp; member
1123 struct ipa_qmi_response_type_v01 resp; member
1364 struct ipa_qmi_response_type_v01 resp; member
1431 struct ipa_qmi_response_type_v01 resp; member
1517 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dipa_qmi_service_v01.h370 struct ipa_qmi_response_type_v01 resp; member
432 struct ipa_qmi_response_type_v01 resp; member
484 struct ipa_qmi_response_type_v01 resp; member
1073 struct ipa_qmi_response_type_v01 resp; member
1250 struct ipa_qmi_response_type_v01 resp; member
1295 struct ipa_qmi_response_type_v01 resp; member
1318 struct ipa_qmi_response_type_v01 resp; member
1559 struct ipa_qmi_response_type_v01 resp; member
1626 struct ipa_qmi_response_type_v01 resp; member
1712 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dipa_qmi_service_v01.h135 struct ipa_qmi_response_type_v01 resp; member
147 struct ipa_qmi_response_type_v01 resp; member
158 struct ipa_qmi_response_type_v01 resp; member
312 struct ipa_qmi_response_type_v01 resp; member
351 struct ipa_qmi_response_type_v01 resp; member
360 struct ipa_qmi_response_type_v01 resp; member
366 struct ipa_qmi_response_type_v01 resp; member
422 struct ipa_qmi_response_type_v01 resp; member
448 struct ipa_qmi_response_type_v01 resp; member
474 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/generic/goldfish/radio/libril/
Dril_service.cpp3889 char **resp = (char **) response; in getVoiceRegistrationStateResponse() local
3890 voiceRegResponse.regState = (RegState) ATOI_NULL_HANDLED_DEF(resp[0], 4); in getVoiceRegistrationStateResponse()
3891 voiceRegResponse.rat = ATOI_NULL_HANDLED(resp[3]); in getVoiceRegistrationStateResponse()
3892 voiceRegResponse.cssSupported = ATOI_NULL_HANDLED_DEF(resp[7], 0); in getVoiceRegistrationStateResponse()
3893 voiceRegResponse.roamingIndicator = ATOI_NULL_HANDLED(resp[10]); in getVoiceRegistrationStateResponse()
3894 voiceRegResponse.systemIsInPrl = ATOI_NULL_HANDLED_DEF(resp[11], 0); in getVoiceRegistrationStateResponse()
3895 voiceRegResponse.defaultRoamingIndicator = ATOI_NULL_HANDLED_DEF(resp[12], 0); in getVoiceRegistrationStateResponse()
3896 voiceRegResponse.reasonForDenial = ATOI_NULL_HANDLED_DEF(resp[13], 0); in getVoiceRegistrationStateResponse()
3898 numStrings, resp); in getVoiceRegistrationStateResponse()
3952 char **resp = (char **) response; in getDataRegistrationStateResponse() local
[all …]
/device/generic/goldfish/radio/ril/
Dreference-ril.c1513 int *resp = NULL; local
1549 resp = (int *)calloc(commas + 1, sizeof(int));
1550 if (!resp) goto error;
1553 err = at_tok_nextint(&line, &resp[0]);
1555 resp[1] = -1;
1556 resp[2] = -1;
1562 err = at_tok_nextint(&line, &resp[0]);
1564 resp[1] = -1;
1565 resp[2] = -1;
1570 err = at_tok_nextint(&line, &resp[0]);
[all …]
/device/google/cuttlefish/guest/hals/ril/libril/
Dril_service.cpp4822 char **resp = (char **) response; in getVoiceRegistrationStateResponse() local
4823 voiceRegResponse.regState = (RegState) ATOI_NULL_HANDLED_DEF(resp[0], 4); in getVoiceRegistrationStateResponse()
4824 voiceRegResponse.rat = ATOI_NULL_HANDLED(resp[3]); in getVoiceRegistrationStateResponse()
4825 voiceRegResponse.cssSupported = ATOI_NULL_HANDLED_DEF(resp[7], 0); in getVoiceRegistrationStateResponse()
4826 voiceRegResponse.roamingIndicator = ATOI_NULL_HANDLED(resp[10]); in getVoiceRegistrationStateResponse()
4827 voiceRegResponse.systemIsInPrl = ATOI_NULL_HANDLED_DEF(resp[11], 0); in getVoiceRegistrationStateResponse()
4828 voiceRegResponse.defaultRoamingIndicator = ATOI_NULL_HANDLED_DEF(resp[12], 0); in getVoiceRegistrationStateResponse()
4829 voiceRegResponse.reasonForDenial = ATOI_NULL_HANDLED_DEF(resp[13], 0); in getVoiceRegistrationStateResponse()
4831 numStrings, resp); in getVoiceRegistrationStateResponse()
4885 char **resp = (char **) response; in getDataRegistrationStateResponse() local
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp5039 char **resp = (char **) response; in getVoiceRegistrationStateResponse() local
5040 voiceRegResponse.regState = (RegState) ATOI_NULL_HANDLED_DEF(resp[0], 4); in getVoiceRegistrationStateResponse()
5041 voiceRegResponse.rat = ATOI_NULL_HANDLED(resp[3]); in getVoiceRegistrationStateResponse()
5042 voiceRegResponse.cssSupported = ATOI_NULL_HANDLED_DEF(resp[7], 0); in getVoiceRegistrationStateResponse()
5043 voiceRegResponse.roamingIndicator = ATOI_NULL_HANDLED(resp[10]); in getVoiceRegistrationStateResponse()
5044 voiceRegResponse.systemIsInPrl = ATOI_NULL_HANDLED_DEF(resp[11], 0); in getVoiceRegistrationStateResponse()
5045 voiceRegResponse.defaultRoamingIndicator = ATOI_NULL_HANDLED_DEF(resp[12], 0); in getVoiceRegistrationStateResponse()
5046 voiceRegResponse.reasonForDenial = ATOI_NULL_HANDLED_DEF(resp[13], 0); in getVoiceRegistrationStateResponse()
5048 numStrings, resp); in getVoiceRegistrationStateResponse()
5102 char **resp = (char **) response; in getDataRegistrationStateResponse() local
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c1587 int *resp = NULL; local
1623 resp = (int *)calloc(commas + 1, sizeof(int));
1624 if (!resp) goto error;
1627 err = at_tok_nextint(&line, &resp[0]);
1629 resp[1] = -1;
1630 resp[2] = -1;
1636 err = at_tok_nextint(&line, &resp[0]);
1638 resp[1] = -1;
1639 resp[2] = -1;
1644 err = at_tok_nextint(&line, &resp[0]);
[all …]
/device/google/cuttlefish/guest/hals/ril/
Dcuttlefish_ril.cpp1791 std::map<SimFileCommand, SimFileResponse>::iterator resp = in request_SIM_IO() local
1794 if (resp != gSimFileSystem.end()) { in request_SIM_IO()
1795 sr.sw1 = resp->second.sw1; in request_SIM_IO()
1796 sr.sw2 = resp->second.sw2; in request_SIM_IO()
1797 if (resp->second.data) sr.simResponse = strdup(resp->second.data); in request_SIM_IO()
/device/generic/goldfish-opengl/shared/GoldfishAddressSpace/include/
Dgoldfish_address_space_android.impl647 ALOGD("%s: resp bo: %u resid %u mapped %p\n", __func__,
/device/linaro/dragonboard/db845c/firmware/
Dadsp.b133 …els %d ���vsm_actions.cpp:vsm_action_playback_set_system_config: cmd issued count %d, resp count %d
6 ����vsm_actions.cpp:VSM: ACTION_SET_VOICE_TIMING: cmd issued count %d, resp count %d
11 ���vsm_actions.cpp:VSM: ACTION_SET_PKTEXG_MODE: cmd issued count %d, resp count %d
12 …hed DTX value 0x%x�vsm_actions.cpp:VSM: ACTION_SET_CACHED_PROPs: cmd issued count %d, resp count %d
13 …ixer: active_tx_sr: %d, requested_var_voc_tx_sr: %d cmd issued count: %d, resp count: %d����vsm_ac…