/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | via-pmu.c | 17 * - Cleanup atomically disabling reply to PMU events after 615 pmu_version = req.reply[0]; in init_pmu() 623 if (req.reply[1] & PMU_PWR_WAKEUP_AC_INSERT) in init_pmu() 657 req.reply[0], PMU_PWR_WAKEUP_AC_INSERT); in pmu_set_server_mode() 661 req.reply[0], PMU_PWR_WAKEUP_AC_INSERT); in pmu_set_server_mode() 697 if (req->reply[0] & 0x01) in done_battery_state_ohare() 714 if (req->reply[0] & 0x04) { in done_battery_state_ohare() 716 if (req->reply[0] & 0x02) in done_battery_state_ohare() 718 vb = (req->reply[1] << 8) | req->reply[ in done_battery_state_ohare() [all...] |
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/ |
H A D | wpa_p2p_cmd.c | 975 char *reply;
in WpaInterfaceP2pConnect() local 994 reply = (char *)malloc(replySize);
in WpaInterfaceP2pConnect() 995 if (reply == NULL) {
in WpaInterfaceP2pConnect() 997 HDF_LOGE("%{public}s reply is NULL!", __func__);
in WpaInterfaceP2pConnect() 1012 free(reply);
in WpaInterfaceP2pConnect() 1032 free(reply);
in WpaInterfaceP2pConnect() 1043 free(reply);
in WpaInterfaceP2pConnect() 1047 if (WpaCliCmd(cmd, reply, REPLY_SIZE) != 0) {
in WpaInterfaceP2pConnect() 1050 free(reply);
in WpaInterfaceP2pConnect() 1054 if (strncmp(reply, "FAI in WpaInterfaceP2pConnect() 1250 char *reply; WpaInterfaceP2pGetPeer() local 1385 char *reply; WpaInterfaceP2pGetGroupCapability() local 1446 char *reply; WpaInterfaceP2pListNetworks() local 1601 char *reply; WpaInterfaceVendorExtProcessCmd() local [all...] |
/drivers/peripheral/audio/supportlibs/adm_adapter/include/ |
H A D | audio_interface_lib_common.h | 53 int32_t AudioServiceDispatch(void *obj, int cmdId, struct HdfSBuf *sBuf, struct HdfSBuf *reply); 55 int32_t AudioGetElemValue(struct HdfSBuf *reply, struct AudioCtrlElemInfo *volThreshold); 58 int32_t AudioAllocHdfSBuf(struct HdfSBuf **reply, struct HdfSBuf **sBuf); 59 void AudioFreeHdfSBuf(struct HdfSBuf *sBuf, struct HdfSBuf *reply);
|
/test/xts/acts/ability/ability_runtime/capichildprocess/entry/src/main/cpp/ |
H A D | IpcStub.h | 36 static int OnRemoteRequest(uint32_t code, const OHIPCParcel *data, OHIPCParcel *reply, void *userData); 41 int HandleRequestExitChildProcess(const OHIPCParcel *data, OHIPCParcel *reply); 42 int HandleAdd(const OHIPCParcel *data, OHIPCParcel *reply); 43 int HandleStartNativeChildProcess(const OHIPCParcel *data, OHIPCParcel *reply);
|
/test/xts/device_attest/interfaces/innerkits/native_cpp/src/ |
H A D | devattest_service_proxy.cpp | 27 MessageParcel reply; in GetAttestStatus() local 40 int ret = remote->SendRequest(GET_AUTH_RESULT, data, reply, option); in GetAttestStatus() 46 if (!reply.ReadInt32(authRet)) { in GetAttestStatus() 55 sptr<AttestResultInfo> attestResultInfoPtr = AttestResultInfo::Unmarshalling(reply); in GetAttestStatus()
|
/drivers/hdf_core/framework/test/unittest/platform/common/ |
H A D | pcie_test.c | 34 struct HdfSBuf *reply = NULL; in PcieTestGetConfig() local 43 reply = HdfSbufObtainDefaultSize(); in PcieTestGetConfig() 44 if (reply == NULL) { in PcieTestGetConfig() 45 HDF_LOGE("PcieTestGetConfig: fail to obtain reply!"); in PcieTestGetConfig() 50 ret = service->dispatcher->Dispatch(&service->object, 0, NULL, reply); in PcieTestGetConfig() 53 HdfSbufRecycle(reply); in PcieTestGetConfig() 58 if (!HdfSbufReadUint32(reply, &config->busNum)) { in PcieTestGetConfig() 60 HdfSbufRecycle(reply); in PcieTestGetConfig() 64 HdfSbufRecycle(reply); in PcieTestGetConfig()
|
H A D | pin_test.c | 37 struct HdfSBuf *reply = NULL; in PinTestGetTestConfig() local 48 reply = HdfSbufObtain(sizeof(*config) + sizeof(uint64_t)); in PinTestGetTestConfig() 49 if (reply == NULL) { in PinTestGetTestConfig() 50 HDF_LOGE("PinTestGetTestConfig: fail to obtain reply!"); in PinTestGetTestConfig() 55 ret = service->dispatcher->Dispatch(&service->object, 0, NULL, reply); in PinTestGetTestConfig() 59 HdfSbufRecycle(reply); in PinTestGetTestConfig() 63 if (!HdfSbufReadBuffer(reply, &buf, &len)) { in PinTestGetTestConfig() 66 HdfSbufRecycle(reply); in PinTestGetTestConfig() 73 HdfSbufRecycle(reply); in PinTestGetTestConfig() 80 HdfSbufRecycle(reply); in PinTestGetTestConfig() [all...] |
H A D | watchdog_test.c | 29 struct HdfSBuf *reply = NULL; in WatchdogTestGetTestConfig() local 40 reply = HdfSbufObtain(sizeof(*config) + sizeof(uint64_t)); in WatchdogTestGetTestConfig() 41 if (reply == NULL) { in WatchdogTestGetTestConfig() 42 HDF_LOGE("WatchdogTestGetTestConfig: fail to obtain reply!"); in WatchdogTestGetTestConfig() 47 ret = service->dispatcher->Dispatch(&service->object, 0, NULL, reply); in WatchdogTestGetTestConfig() 51 HdfSbufRecycle(reply); in WatchdogTestGetTestConfig() 55 if (!HdfSbufReadBuffer(reply, &buf, &len)) { in WatchdogTestGetTestConfig() 58 HdfSbufRecycle(reply); in WatchdogTestGetTestConfig() 65 HdfSbufRecycle(reply); in WatchdogTestGetTestConfig() 72 HdfSbufRecycle(reply); in WatchdogTestGetTestConfig() [all...] |
/kernel/linux/linux-5.10/drivers/thermal/tegra/ |
H A D | tegra-bpmp-thermal.c | 37 union mrq_thermal_bpmp_to_host_response reply; in tegra_bpmp_thermal_get_temp() local 49 msg.rx.data = &reply; in tegra_bpmp_thermal_get_temp() 50 msg.rx.size = sizeof(reply); in tegra_bpmp_thermal_get_temp() 56 *out_temp = reply.get_temp.temp; in tegra_bpmp_thermal_get_temp() 126 union mrq_thermal_bpmp_to_host_response reply; in tegra_bpmp_thermal_get_num_zones() local 137 msg.rx.data = &reply; in tegra_bpmp_thermal_get_num_zones() 138 msg.rx.size = sizeof(reply); in tegra_bpmp_thermal_get_num_zones() 144 *num_zones = reply.get_num_zones.num; in tegra_bpmp_thermal_get_num_zones()
|
/drivers/hdf_core/framework/model/input/driver/ |
H A D | hdf_hid_adapter.c | 331 static int32_t HidGetDevType(InputDevice *inputDev, struct HdfSBuf *reply) in HidGetDevType() argument 335 bool ret = HdfSbufWriteUint32(reply, devType); in HidGetDevType() 343 static int32_t HidGetDeviceStrInfo(InputDevice *inputDev, int32_t cmd, struct HdfSBuf *reply) in HidGetDeviceStrInfo() argument 366 bool ret = HdfSbufWriteString(reply, info); in HidGetDeviceStrInfo() 375 static int32_t HidGetDeviceAttr(InputDevice *inputDev, struct HdfSBuf *reply) in HidGetDeviceAttr() argument 388 if (!HdfSbufWriteBuffer(reply, &inputDev->attrSet, sizeof(DevAttr))) { in HidGetDeviceAttr() 396 static int32_t HidGetDeviceAbility(InputDevice *inputDev, struct HdfSBuf *reply) in HidGetDeviceAbility() argument 402 if (!HdfSbufWriteBuffer(reply, &inputDev->abilitySet, sizeof(DevAbility))) { in HidGetDeviceAbility() 410 static int32_t HdfHIDDispatch(struct HdfDeviceIoClient *client, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply) in HdfHIDDispatch() argument 415 if (client == NULL || data == NULL || reply in HdfHIDDispatch() [all...] |
/kernel/linux/linux-6.6/drivers/s390/crypto/ |
H A D | zcrypt_msgtype50.c | 337 * Copy results from a type 80 reply message back to user space. 340 * @reply: reply AP message. 347 struct ap_message *reply, in convert_type80() 351 struct type80_hdr *t80h = reply->msg; in convert_type80() 367 data = reply->msg + t80h->len - outputdatalength; in convert_type80() 374 struct ap_message *reply, in convert_response() 379 unsigned char rtype = ((unsigned char *)reply->msg)[1]; in convert_response() 384 return convert_error(zq, reply); in convert_response() 386 return convert_type80(zq, reply, in convert_response() 346 convert_type80(struct zcrypt_queue *zq, struct ap_message *reply, char __user *outputdata, unsigned int outputdatalength) convert_type80() argument 373 convert_response(struct zcrypt_queue *zq, struct ap_message *reply, char __user *outputdata, unsigned int outputdatalength) convert_response() argument 411 zcrypt_msgtype50_receive(struct ap_queue *aq, struct ap_message *msg, struct ap_message *reply) zcrypt_msgtype50_receive() argument [all...] |
/drivers/hdf_core/framework/support/platform/src/pwm/ |
H A D | pwm_if_u.c | 140 struct HdfSBuf *reply = NULL; in PwmGetConfig() local 156 reply = HdfSbufObtainDefaultSize(); in PwmGetConfig() 157 if (reply == NULL) { in PwmGetConfig() 158 HDF_LOGE("PwmGetConfig: fail to obtain reply!"); in PwmGetConfig() 162 ret = service->dispatcher->Dispatch(&service->object, PWM_IO_GET_CONFIG, NULL, reply); in PwmGetConfig() 165 HdfSbufRecycle(reply); in PwmGetConfig() 169 if (!HdfSbufReadBuffer(reply, &rBuf, &rLen)) { in PwmGetConfig() 171 HdfSbufRecycle(reply); in PwmGetConfig() 176 HdfSbufRecycle(reply); in PwmGetConfig() 181 HdfSbufRecycle(reply); in PwmGetConfig() [all...] |
/kernel/linux/linux-5.10/sound/soc/sof/imx/ |
H A D | imx8m.c | 37 struct sof_ipc_reply reply; in imx8m_get_reply() local 45 /* get reply */ in imx8m_get_reply() 46 sof_mailbox_read(sdev, sdev->host_box.offset, &reply, sizeof(reply)); in imx8m_get_reply() 48 if (reply.error < 0) { in imx8m_get_reply() 49 memcpy(msg->reply_data, &reply, sizeof(reply)); in imx8m_get_reply() 50 ret = reply.error; in imx8m_get_reply() 52 /* reply has correct size? */ in imx8m_get_reply() 53 if (reply in imx8m_get_reply() 242 imx8m_ipc_pcm_params(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, const struct sof_ipc_pcm_params_reply *reply) imx8m_ipc_pcm_params() argument [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-tunnel.c | 902 pa_log("Invalid protocol reply"); in command_request() 951 pa_log("Invalid reply."); in stream_get_latency_callback() 961 pa_log("Invalid reply."); in stream_get_latency_callback() 968 pa_log("Invalid reply."); in stream_get_latency_callback() 1014 * and reply, it was already posted before we requested the source latency. */ in stream_get_latency_callback() 1582 pa_log("Invalid protocol reply"); in command_subscribe_event() 1727 pa_log("Invalid reply. (Create stream)"); in create_stream_callback() 1737 pa_tagstruct *reply; in setup_complete_callback() local 1790 reply = pa_tagstruct_new(); in setup_complete_callback() 1791 pa_tagstruct_putu32(reply, PA_COMMAND_SET_CLIENT_NAM in setup_complete_callback() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
H A D | ap_ctrl_iface.c | 261 char *cmd, char *reply, in hostapd_ctrl_iface_wps_nfc_config_token() 279 res = wpa_snprintf_hex_uppercase(reply, max_len, wpabuf_head(buf), in hostapd_ctrl_iface_wps_nfc_config_token() 281 reply[res++] = '\n'; in hostapd_ctrl_iface_wps_nfc_config_token() 282 reply[res] = '\0'; in hostapd_ctrl_iface_wps_nfc_config_token() 291 char *reply, size_t max_len, in hostapd_ctrl_iface_wps_nfc_token_gen() 301 res = wpa_snprintf_hex_uppercase(reply, max_len, wpabuf_head(buf), in hostapd_ctrl_iface_wps_nfc_token_gen() 303 reply[res++] = '\n'; in hostapd_ctrl_iface_wps_nfc_token_gen() 304 reply[res] = '\0'; in hostapd_ctrl_iface_wps_nfc_token_gen() 313 char *cmd, char *reply, in hostapd_ctrl_iface_wps_nfc_token() 317 return hostapd_ctrl_iface_wps_nfc_token_gen(hapd, reply, in hostapd_ctrl_iface_wps_nfc_token() 260 hostapd_ctrl_iface_wps_nfc_config_token(struct hostapd_data *hapd, char *cmd, char *reply, size_t max_len) hostapd_ctrl_iface_wps_nfc_config_token() argument 290 hostapd_ctrl_iface_wps_nfc_token_gen(struct hostapd_data *hapd, char *reply, size_t max_len, int ndef) hostapd_ctrl_iface_wps_nfc_token_gen() argument 312 hostapd_ctrl_iface_wps_nfc_token(struct hostapd_data *hapd, char *cmd, char *reply, size_t max_len) hostapd_ctrl_iface_wps_nfc_token() argument 336 hostapd_ctrl_iface_nfc_get_handover_sel(struct hostapd_data *hapd, char *cmd, char *reply, size_t max_len) hostapd_ctrl_iface_nfc_get_handover_sel() argument 2859 hostapd_ctrl_iface_mib(struct hostapd_data *hapd, char *reply, int reply_size, const char *param) hostapd_ctrl_iface_mib() argument 2880 struct wpabuf *reply; hostapd_ctrl_iface_vendor() local 3137 hostapd_ctrl_iface_req_beacon(struct hostapd_data *hapd, const char *cmd, char *reply, size_t reply_size) hostapd_ctrl_iface_req_beacon() argument 3506 hostapd_ctrl_iface_receive_process(struct hostapd_data *hapd, char *buf, char *reply, int reply_size, struct sockaddr_storage *from, socklen_t fromlen) hostapd_ctrl_iface_receive_process() argument 4044 char *reply, *pos = buf; hostapd_ctrl_iface_receive() local 4659 hostapd_global_ctrl_iface_interfaces(struct hapd_interfaces *interfaces, const char *input, char *reply, int reply_size) hostapd_global_ctrl_iface_interfaces() argument 4748 hostapd_global_ctrl_iface_ifname(struct hapd_interfaces *interfaces, const char *ifname, char *buf, char *reply, int reply_size, struct sockaddr_storage *from, socklen_t fromlen) hostapd_global_ctrl_iface_ifname() argument 4780 char *reply; hostapd_global_ctrl_iface_receive() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 81 static int reply(struct ib_mad_hdr *smp) in reply() function 590 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodedesc() 600 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodedesc() 618 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodeinfo() 640 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodeinfo() 655 return reply((struct ib_mad_hdr *)smp); in subn_get_nodeinfo() 674 return reply((struct ib_mad_hdr *)smp); in subn_get_nodeinfo() 816 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_portinfo() 827 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_portinfo() 1003 return reply((struc in __subn_get_opa_portinfo() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 39 static int reply(struct ib_mad_hdr *smp) in reply() function 548 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodedesc() 558 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodedesc() 576 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodeinfo() 598 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_nodeinfo() 613 return reply((struct ib_mad_hdr *)smp); in subn_get_nodeinfo() 632 return reply((struct ib_mad_hdr *)smp); in subn_get_nodeinfo() 774 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_portinfo() 785 return reply((struct ib_mad_hdr *)smp); in __subn_get_opa_portinfo() 961 return reply((struc in __subn_get_opa_portinfo() [all...] |
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/sample_driver/ |
H A D | sample_driver.cpp | 25 struct HdfDeviceIoClient *client, int cmdId, struct HdfSBuf *data, struct HdfSBuf *reply) in SampleServiceDispatch() 27 return SampleServiceOnRemoteRequest(client, cmdId, data, reply); in SampleServiceDispatch() 53 static int32_t DevHostSampleDumpService(struct HdfSBuf *data, struct HdfSBuf *reply) in DevHostSampleDumpService() argument 67 HdfSbufWriteString(reply, "sample_service_dump\n"); in DevHostSampleDumpService() 24 SampleServiceDispatch( struct HdfDeviceIoClient *client, int cmdId, struct HdfSBuf *data, struct HdfSBuf *reply) SampleServiceDispatch() argument
|
/drivers/hdf_core/adapter/uhdf2/manager/src/ |
H A D | devmgr_query_device.c | 24 int DevFillQueryDeviceInfo(struct IDevmgrService *inst, struct HdfSBuf *data, struct HdfSBuf *reply) in DevFillQueryDeviceInfo() argument 33 if (devMgrSvc == NULL || data == NULL || reply == NULL) { in DevFillQueryDeviceInfo() 53 flag = HdfSbufWriteString(reply, deviceInfo->svcName); in DevFillQueryDeviceInfo() 58 flag = HdfSbufWriteInt32(reply, deviceInfo->deviceType); in DevFillQueryDeviceInfo()
|
/drivers/peripheral/display/composer/hdi_service/include/ |
H A D | display_dump_vdi.h | 45 int32_t ShowDumpMenu(struct HdfSBuf *reply); 46 int32_t ComposerHostDumpProcess(struct HdfSBuf *data, struct HdfSBuf *reply, uint32_t argsNum); 57 int32_t DumpBuffer(HdfSBuf *reply); 58 int32_t UpdateUserConfig(HdfSBuf *reply);
|
/kernel/linux/linux-5.10/fs/afs/ |
H A D | cmservice.c | 210 /* We need to break the callbacks before sending the reply as the in SRXAFSCB_CallBack() 211 * server holds up change visibility till it receives our reply so as in SRXAFSCB_CallBack() 552 } reply; in SRXAFSCB_TellMeAboutYourself() local 556 memset(&reply, 0, sizeof(reply)); in SRXAFSCB_TellMeAboutYourself() 558 reply.ia.uuid[0] = call->net->uuid.time_low; in SRXAFSCB_TellMeAboutYourself() 559 reply.ia.uuid[1] = htonl(ntohs(call->net->uuid.time_mid)); in SRXAFSCB_TellMeAboutYourself() 560 reply.ia.uuid[2] = htonl(ntohs(call->net->uuid.time_hi_and_version)); in SRXAFSCB_TellMeAboutYourself() 561 reply.ia.uuid[3] = htonl((s8) call->net->uuid.clock_seq_hi_and_reserved); in SRXAFSCB_TellMeAboutYourself() 562 reply in SRXAFSCB_TellMeAboutYourself() [all...] |
/kernel/linux/linux-6.6/fs/afs/ |
H A D | cmservice.c | 212 /* We need to break the callbacks before sending the reply as the in SRXAFSCB_CallBack() 213 * server holds up change visibility till it receives our reply so as in SRXAFSCB_CallBack() 558 } reply; in SRXAFSCB_TellMeAboutYourself() local 562 memset(&reply, 0, sizeof(reply)); in SRXAFSCB_TellMeAboutYourself() 564 reply.ia.uuid[0] = call->net->uuid.time_low; in SRXAFSCB_TellMeAboutYourself() 565 reply.ia.uuid[1] = htonl(ntohs(call->net->uuid.time_mid)); in SRXAFSCB_TellMeAboutYourself() 566 reply.ia.uuid[2] = htonl(ntohs(call->net->uuid.time_hi_and_version)); in SRXAFSCB_TellMeAboutYourself() 567 reply.ia.uuid[3] = htonl((s8) call->net->uuid.clock_seq_hi_and_reserved); in SRXAFSCB_TellMeAboutYourself() 568 reply in SRXAFSCB_TellMeAboutYourself() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/crypto/ |
H A D | tls.c | 114 struct nfp_crypto_reply_simple *reply; in nfp_net_tls_communicate_simple() local 118 sizeof(*reply), sizeof(*reply), in nfp_net_tls_communicate_simple() 125 reply = (void *)skb->data; in nfp_net_tls_communicate_simple() 126 err = -be32_to_cpu(reply->error); in nfp_net_tls_communicate_simple() 274 struct nfp_crypto_reply_add *reply; in nfp_net_tls_add() local 312 skb = nfp_ccm_mbox_msg_alloc(nn, req_sz, sizeof(*reply), GFP_KERNEL); in nfp_net_tls_add() 349 sizeof(*reply), sizeof(*reply)); in nfp_net_tls_add() 350 reply in nfp_net_tls_add() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/crypto/ |
H A D | tls.c | 114 struct nfp_crypto_reply_simple *reply; in nfp_net_tls_communicate_simple() local 118 sizeof(*reply), sizeof(*reply), in nfp_net_tls_communicate_simple() 125 reply = (void *)skb->data; in nfp_net_tls_communicate_simple() 126 err = -be32_to_cpu(reply->error); in nfp_net_tls_communicate_simple() 274 struct nfp_crypto_reply_add *reply; in nfp_net_tls_add() local 312 skb = nfp_ccm_mbox_msg_alloc(nn, req_sz, sizeof(*reply), GFP_KERNEL); in nfp_net_tls_add() 349 sizeof(*reply), sizeof(*reply)); in nfp_net_tls_add() 350 reply in nfp_net_tls_add() [all...] |
/third_party/mesa3d/src/glx/ |
H A D | single2.c | 129 xGLXGetErrorReply reply; in __indirect_glGetError() local 141 retval = reply.error; in __indirect_glGetError() 321 xGLXSingleReply reply; in __indirect_glGetBooleanv() local 372 xGLXSingleReply reply; in __indirect_glGetDoublev() local 423 xGLXSingleReply reply; in __indirect_glGetFloatv() local 474 xGLXSingleReply reply; in __indirect_glGetIntegerv() local 577 xGLXRenderModeReply reply; in __indirect_glRenderMode() local 588 if (reply.newMode != mode) { in __indirect_glRenderMode() 616 xGLXSingleReply reply; in __indirect_glFinish() local 759 xGLXSingleReply reply; in __indirect_glIsEnabled() local 851 xcb_glx_are_textures_resident_reply_t *reply; __indirect_glAreTexturesResident() local [all...] |