/kernel/linux/linux-5.10/sound/soc/sof/ |
D | probe.c | 32 struct sof_ipc_reply reply; in sof_ipc_probe_init() local 46 &reply, sizeof(reply)); in sof_ipc_probe_init() 63 struct sof_ipc_reply reply; in sof_ipc_probe_deinit() local 69 &reply, sizeof(reply)); in sof_ipc_probe_deinit() 77 struct sof_ipc_probe_info_params *reply; in sof_ipc_probe_info() local 84 reply = kzalloc(SOF_IPC_MSG_MAX_SIZE, GFP_KERNEL); in sof_ipc_probe_info() 85 if (!reply) in sof_ipc_probe_info() 91 msg.rhdr.hdr.size, reply, SOF_IPC_MSG_MAX_SIZE); in sof_ipc_probe_info() 92 if (ret < 0 || reply->rhdr.error < 0) in sof_ipc_probe_info() 95 if (!reply->num_elems) in sof_ipc_probe_info() [all …]
|
/kernel/linux/linux-5.10/net/openvswitch/ |
D | meter.c | 235 static int ovs_meter_cmd_reply_stats(struct sk_buff *reply, u32 meter_id, in ovs_meter_cmd_reply_stats() argument 242 if (nla_put_u32(reply, OVS_METER_ATTR_ID, meter_id)) in ovs_meter_cmd_reply_stats() 245 if (nla_put(reply, OVS_METER_ATTR_STATS, in ovs_meter_cmd_reply_stats() 249 if (nla_put_u64_64bit(reply, OVS_METER_ATTR_USED, meter->used, in ovs_meter_cmd_reply_stats() 253 nla = nla_nest_start_noflag(reply, OVS_METER_ATTR_BANDS); in ovs_meter_cmd_reply_stats() 262 band_nla = nla_nest_start_noflag(reply, OVS_BAND_ATTR_UNSPEC); in ovs_meter_cmd_reply_stats() 263 if (!band_nla || nla_put(reply, OVS_BAND_ATTR_STATS, in ovs_meter_cmd_reply_stats() 267 nla_nest_end(reply, band_nla); in ovs_meter_cmd_reply_stats() 269 nla_nest_end(reply, nla); in ovs_meter_cmd_reply_stats() 281 struct sk_buff *reply; in ovs_meter_cmd_features() local [all …]
|
D | datapath.c | 934 struct sk_buff *reply; in ovs_flow_cmd_new() local 992 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new() 994 if (IS_ERR(reply)) { in ovs_flow_cmd_new() 995 error = PTR_ERR(reply); in ovs_flow_cmd_new() 1021 if (unlikely(reply)) { in ovs_flow_cmd_new() 1024 reply, info->snd_portid, in ovs_flow_cmd_new() 1063 if (unlikely(reply)) { in ovs_flow_cmd_new() 1066 reply, info->snd_portid, in ovs_flow_cmd_new() 1078 if (reply) in ovs_flow_cmd_new() 1079 ovs_notify(&dp_flow_genl_family, reply, info); in ovs_flow_cmd_new() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_msg.c | 204 static unsigned long vmw_port_hb_in(struct rpc_channel *channel, char *reply, in vmw_port_hb_in() argument 214 di = (uintptr_t) reply; in vmw_port_hb_in() 243 memcpy(reply, &ebx, bytes); in vmw_port_hb_in() 245 reply += bytes; in vmw_port_hb_in() 316 char *reply; in vmw_recv_msg() local 347 reply = kzalloc(reply_len + 1, GFP_KERNEL); in vmw_recv_msg() 348 if (!reply) { in vmw_recv_msg() 355 ebx = vmw_port_hb_in(channel, reply, reply_len, in vmw_recv_msg() 358 kfree(reply); in vmw_recv_msg() 359 reply = NULL; in vmw_recv_msg() [all …]
|
/kernel/linux/linux-5.10/sound/soc/sof/intel/ |
D | hda-ipc.c | 71 struct sof_ipc_reply reply; in hda_dsp_ipc_get_reply() local 93 reply.error = 0; in hda_dsp_ipc_get_reply() 94 reply.hdr.cmd = SOF_IPC_GLB_REPLY; in hda_dsp_ipc_get_reply() 95 reply.hdr.size = sizeof(reply); in hda_dsp_ipc_get_reply() 96 memcpy(msg->reply_data, &reply, sizeof(reply)); in hda_dsp_ipc_get_reply() 101 sof_mailbox_read(sdev, sdev->host_box.offset, &reply, in hda_dsp_ipc_get_reply() 102 sizeof(reply)); in hda_dsp_ipc_get_reply() 104 if (reply.error < 0) { in hda_dsp_ipc_get_reply() 105 memcpy(msg->reply_data, &reply, sizeof(reply)); in hda_dsp_ipc_get_reply() 106 ret = reply.error; in hda_dsp_ipc_get_reply() [all …]
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_arp_nd_proxy.c | 255 struct sk_buff *reply; in br_nd_send() local 270 reply = alloc_skb(len, GFP_ATOMIC); in br_nd_send() 271 if (!reply) in br_nd_send() 274 reply->protocol = htons(ETH_P_IPV6); in br_nd_send() 275 reply->dev = dev; in br_nd_send() 276 skb_reserve(reply, LL_RESERVED_SPACE(dev)); in br_nd_send() 277 skb_push(reply, sizeof(struct ethhdr)); in br_nd_send() 278 skb_set_mac_header(reply, 0); in br_nd_send() 287 kfree_skb(reply); in br_nd_send() 297 ether_addr_copy(eth_hdr(reply)->h_dest, daddr); in br_nd_send() [all …]
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
D | icm.c | 442 struct icm_fr_pkg_driver_ready_response reply; in icm_fr_driver_ready() local 448 memset(&reply, 0, sizeof(reply)); in icm_fr_driver_ready() 449 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_driver_ready() 455 *security_level = reply.security_level & ICM_FR_SLEVEL_MASK; in icm_fr_driver_ready() 463 struct icm_fr_pkg_approve_device reply; in icm_fr_approve_switch() local 472 memset(&reply, 0, sizeof(reply)); in icm_fr_approve_switch() 474 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_approve_switch() 479 if (reply.hdr.flags & ICM_FLAGS_ERROR) { in icm_fr_approve_switch() 490 struct icm_fr_pkg_add_device_key_response reply; in icm_fr_add_switch_key() local 500 memset(&reply, 0, sizeof(reply)); in icm_fr_add_switch_key() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
D | cmsg.c | 58 struct cmsg_reply_map_simple *reply) in nfp_bpf_ctrl_rc_to_errno() argument 72 rc = be32_to_cpu(reply->rc); in nfp_bpf_ctrl_rc_to_errno() 84 struct cmsg_reply_map_alloc_tbl *reply; in nfp_bpf_ctrl_alloc_map() local 102 sizeof(*reply)); in nfp_bpf_ctrl_alloc_map() 106 reply = (void *)skb->data; in nfp_bpf_ctrl_alloc_map() 107 err = nfp_bpf_ctrl_rc_to_errno(bpf, &reply->reply_hdr); in nfp_bpf_ctrl_alloc_map() 111 tid = be32_to_cpu(reply->tid); in nfp_bpf_ctrl_alloc_map() 122 struct cmsg_reply_map_free_tbl *reply; in nfp_bpf_ctrl_free_map() local 137 sizeof(*reply)); in nfp_bpf_ctrl_free_map() 143 reply = (void *)skb->data; in nfp_bpf_ctrl_free_map() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/ |
D | wmi.c | 2041 u16 reply_id, void *reply, u16 reply_size, int to_msec) in wmi_call() argument 2052 wil->reply_buf = reply; in wmi_call() 2136 } __packed reply = { in wmi_led_cfg() local 2154 WMI_LED_CFG_DONE_EVENTID, &reply, sizeof(reply), in wmi_led_cfg() 2159 if (reply.evt.status) { in wmi_led_cfg() 2161 led_id, le32_to_cpu(reply.evt.status)); in wmi_led_cfg() 2181 } __packed reply = { in wmi_rbufcap_cfg() local 2186 WMI_RBUFCAP_CFG_EVENTID, &reply, sizeof(reply), in wmi_rbufcap_cfg() 2191 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_rbufcap_cfg() 2193 reply.evt.status); in wmi_rbufcap_cfg() [all …]
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | cec-funcs.h | 46 int reply) in cec_msg_request_active_source() argument 51 msg->reply = reply ? CEC_MSG_ACTIVE_SOURCE : 0; in cec_msg_request_active_source() 68 int reply, in cec_msg_routing_change() argument 79 msg->reply = reply ? CEC_MSG_ROUTING_INFORMATION : 0; in cec_msg_routing_change() 106 static inline void cec_msg_record_off(struct cec_msg *msg, int reply) in cec_msg_record_off() argument 110 msg->reply = reply ? CEC_MSG_RECORD_STATUS : 0; in cec_msg_record_off() 254 int reply, in cec_msg_record_on() argument 278 msg->reply = reply ? CEC_MSG_RECORD_STATUS : 0; in cec_msg_record_on() 317 int reply) in cec_msg_record_tv_screen() argument 321 msg->reply = reply ? CEC_MSG_RECORD_ON : 0; in cec_msg_record_tv_screen() [all …]
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
D | mconsole_user.c | 40 static int mconsole_reply_v0(struct mc_request *req, char *reply) in mconsole_reply_v0() argument 45 iov.iov_base = reply; in mconsole_reply_v0() 46 iov.iov_len = strlen(reply); in mconsole_reply_v0() 134 struct mconsole_reply reply; in mconsole_reply_len() local 138 reply.err = err; in mconsole_reply_len() 145 if (len == total) reply.more = more; in mconsole_reply_len() 146 else reply.more = 1; in mconsole_reply_len() 148 memcpy(reply.data, str, len); in mconsole_reply_len() 149 reply.data[len] = '\0'; in mconsole_reply_len() 152 reply.len = len + 1; in mconsole_reply_len() [all …]
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | cec-funcs.h | 59 int reply) in cec_msg_request_active_source() argument 64 msg->reply = reply ? CEC_MSG_ACTIVE_SOURCE : 0; in cec_msg_request_active_source() 84 int reply, in cec_msg_routing_change() argument 95 msg->reply = reply ? CEC_MSG_ROUTING_INFORMATION : 0; in cec_msg_routing_change() 131 static inline void cec_msg_record_off(struct cec_msg *msg, int reply) in cec_msg_record_off() argument 135 msg->reply = reply ? CEC_MSG_RECORD_STATUS : 0; in cec_msg_record_off() 293 int reply, in cec_msg_record_on() argument 317 msg->reply = reply ? CEC_MSG_RECORD_STATUS : 0; in cec_msg_record_on() 360 int reply) in cec_msg_record_tv_screen() argument 364 msg->reply = reply ? CEC_MSG_RECORD_ON : 0; in cec_msg_record_tv_screen() [all …]
|
/kernel/linux/linux-5.10/sound/soc/intel/catpt/ |
D | ipc.c | 45 struct catpt_ipc_msg *reply) in catpt_ipc_msg_init() argument 50 ipc->rx.size = reply ? reply->size : 0; in catpt_ipc_msg_init() 87 struct catpt_ipc_msg *reply, int timeout) in catpt_dsp_do_send_msg() argument 96 (reply && reply->size > ipc->config.outbox_size)) in catpt_dsp_do_send_msg() 100 catpt_ipc_msg_init(ipc, reply); in catpt_dsp_do_send_msg() 114 if (reply) { in catpt_dsp_do_send_msg() 115 reply->header = ipc->rx.header; in catpt_dsp_do_send_msg() 117 if (!ret && reply->data) in catpt_dsp_do_send_msg() 118 memcpy(reply->data, ipc->rx.data, reply->size); in catpt_dsp_do_send_msg() 126 struct catpt_ipc_msg *reply, int timeout) in catpt_dsp_send_msg_timeout() argument [all …]
|
D | messages.c | 17 struct catpt_ipc_msg request = {{0}}, reply; in catpt_ipc_get_fw_version() local 21 reply.size = sizeof(*version); in catpt_ipc_get_fw_version() 22 reply.data = version; in catpt_ipc_get_fw_version() 24 ret = catpt_dsp_send_msg(cdev, request, &reply); in catpt_ipc_get_fw_version() 58 struct catpt_ipc_msg request, reply; in catpt_ipc_alloc_stream() local 94 reply.size = sizeof(*sinfo); in catpt_ipc_alloc_stream() 95 reply.data = sinfo; in catpt_ipc_alloc_stream() 97 ret = catpt_dsp_send_msg(cdev, request, &reply); in catpt_ipc_alloc_stream() 146 struct catpt_ipc_msg request, reply; in catpt_ipc_enter_dxstate() local 152 reply.size = sizeof(*context); in catpt_ipc_enter_dxstate() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | memx.c | 48 u32 reply[2]; in nvkm_memx_init() local 51 ret = nvkm_pmu_send(pmu, reply, PROC_MEMX, MEMX_MSG_INFO, in nvkm_memx_init() 60 memx->base = reply[0]; in nvkm_memx_init() 61 memx->size = reply[1]; in nvkm_memx_init() 78 u32 finish, reply[2]; in nvkm_memx_fini() local 89 nvkm_pmu_send(pmu, reply, PROC_MEMX, MEMX_MSG_EXEC, in nvkm_memx_fini() 92 reply[0], reply[1]); in nvkm_memx_fini() 169 u32 reply[2], base, size, i; in nvkm_memx_train_result() local 172 ret = nvkm_pmu_send(pmu, reply, PROC_MEMX, MEMX_MSG_INFO, in nvkm_memx_train_result() 177 base = reply[0]; in nvkm_memx_train_result() [all …]
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | rave-sp.c | 194 struct rave_sp_reply *reply; member 346 struct rave_sp_reply reply = { in rave_sp_exec() local 349 .received = COMPLETION_INITIALIZER_ONSTACK(reply.received), in rave_sp_exec() 360 reply.ackid = ackid; in rave_sp_exec() 361 reply.code = rave_sp_reply_code((u8)command), in rave_sp_exec() 366 sp->reply = &reply; in rave_sp_exec() 374 if (!wait_for_completion_timeout(&reply.received, HZ)) { in rave_sp_exec() 379 sp->reply = NULL; in rave_sp_exec() 407 struct rave_sp_reply *reply; in rave_sp_receive_reply() local 411 reply = sp->reply; in rave_sp_receive_reply() [all …]
|
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
D | zcrypt_msgtype6.c | 611 struct ap_message *reply, in convert_type86_ica() argument 650 struct type86x_reply *msg = reply->msg; in convert_type86_ica() 720 struct ap_message *reply, in convert_type86_xcrb() argument 723 struct type86_fmt2_msg *msg = reply->msg; in convert_type86_xcrb() 724 char *data = reply->msg; in convert_type86_xcrb() 751 struct ap_message *reply, in convert_type86_ep11_xcrb() argument 754 struct type86_fmt2_msg *msg = reply->msg; in convert_type86_ep11_xcrb() 755 char *data = reply->msg; in convert_type86_ep11_xcrb() 769 struct ap_message *reply, in convert_type86_rng() argument 776 } __packed * msg = reply->msg; in convert_type86_rng() [all …]
|
/kernel/linux/linux-5.10/drivers/firmware/ |
D | turris-mox-rwtm.c | 56 struct armada_37xx_rwtm_rx_msg reply; member 177 rwtm->reply = *msg; in mox_rwtm_rx_callback() 194 struct armada_37xx_rwtm_rx_msg *reply = &rwtm->reply; in mox_get_board_info() local 206 ret = mox_get_status(MBOX_CMD_BOARD_INFO, reply->retval); in mox_get_board_info() 216 rwtm->serial_number = reply->status[1]; in mox_get_board_info() 218 rwtm->serial_number |= reply->status[0]; in mox_get_board_info() 219 rwtm->board_version = reply->status[2]; in mox_get_board_info() 220 rwtm->ram_size = reply->status[3]; in mox_get_board_info() 221 reply_to_mac_addr(rwtm->mac_address1, reply->status[4], in mox_get_board_info() 222 reply->status[5]); in mox_get_board_info() [all …]
|
/kernel/linux/linux-5.10/tools/usb/usbip/src/ |
D | usbip_attach.c | 124 struct op_import_reply reply; in query_import_device() local 129 memset(&reply, 0, sizeof(reply)); in query_import_device() 156 rc = usbip_net_recv(sockfd, (void *) &reply, sizeof(reply)); in query_import_device() 162 PACK_OP_IMPORT_REPLY(0, &reply); in query_import_device() 165 if (strncmp(reply.udev.busid, busid, SYSFS_BUS_ID_SIZE)) { in query_import_device() 166 err("recv different busid %s", reply.udev.busid); in query_import_device() 171 return import_device(sockfd, &reply.udev); in query_import_device()
|
D | usbip_network.h | 74 #define PACK_OP_IMPORT_REPLY(pack, reply) do {\ argument 75 usbip_net_pack_usb_device(pack, &(reply)->udev);\ 97 #define PACK_OP_EXPORT_REPLY(pack, reply) do {\ argument 118 #define PACK_OP_UNEXPORT_REPLY(pack, reply) do {\ argument 159 #define PACK_OP_DEVLIST_REPLY(pack, reply) do {\ argument 160 (reply)->ndev = usbip_net_pack_uint32_t(pack, (reply)->ndev);\
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | vendor.c | 26 struct sk_buff *reply; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local 81 reply = cfg80211_vendor_cmd_alloc_reply_skb(wiphy, payload); in brcmf_cfg80211_vndr_cmds_dcmd_handler() 82 if (NULL == reply) { in brcmf_cfg80211_vndr_cmds_dcmd_handler() 87 if (nla_put(reply, BRCMF_NLATTR_DATA, msglen, wr_pointer) || in brcmf_cfg80211_vndr_cmds_dcmd_handler() 88 nla_put_u16(reply, BRCMF_NLATTR_LEN, msglen)) { in brcmf_cfg80211_vndr_cmds_dcmd_handler() 89 kfree_skb(reply); in brcmf_cfg80211_vndr_cmds_dcmd_handler() 94 ret = cfg80211_vendor_cmd_reply(reply); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
|
/kernel/linux/linux-5.10/sound/soc/intel/common/ |
D | sst-ipc.c | 46 struct ipc_message *msg, struct sst_ipc_message *reply) in tx_wait_done() argument 65 if (reply) { in tx_wait_done() 66 reply->header = msg->rx.header; in tx_wait_done() 67 if (reply->data) in tx_wait_done() 68 memcpy(reply->data, msg->rx.data, msg->rx.size); in tx_wait_done() 80 struct sst_ipc_message *reply, int wait) in ipc_tx_message() argument 96 msg->rx.size = reply ? reply->size : 0; in ipc_tx_message() 110 return tx_wait_done(ipc, msg, reply); in ipc_tx_message() 181 struct sst_ipc_message request, struct sst_ipc_message *reply) in sst_ipc_tx_message_wait() argument 194 ret = ipc_tx_message(ipc, request, reply, 1); in sst_ipc_tx_message_wait() [all …]
|
/kernel/linux/linux-5.10/net/bpfilter/ |
D | main.c | 35 struct mbox_reply reply; in loop() local 44 reply.status = req.is_set ? in loop() 48 n = write(1, &reply, sizeof(reply)); in loop() 49 if (n != sizeof(reply)) { in loop()
|
/kernel/linux/linux-5.10/drivers/nfc/ |
D | mei_phy.c | 96 struct mei_nfc_reply *reply = NULL; in mei_nfc_if_version() local 119 reply = kzalloc(if_version_length, GFP_KERNEL); in mei_nfc_if_version() 120 if (!reply) in mei_nfc_if_version() 123 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, if_version_length); in mei_nfc_if_version() 130 version = (struct mei_nfc_if_version *)reply->data; in mei_nfc_if_version() 137 kfree(reply); in mei_nfc_if_version() 143 struct mei_nfc_cmd *cmd, *reply; in mei_nfc_connect() local 162 reply = kzalloc(connect_resp_length, GFP_KERNEL); in mei_nfc_connect() 163 if (!reply) { in mei_nfc_connect() 168 connect_resp = (struct mei_nfc_connect_resp *)reply->data; in mei_nfc_connect() [all …]
|
/kernel/linux/linux-5.10/drivers/media/firewire/ |
D | firedtv-ci.c | 75 struct ca_msg *reply = arg; in fdtv_ca_app_info() local 77 return avc_ca_app_info(fdtv, reply->msg, &reply->length); in fdtv_ca_app_info() 82 struct ca_msg *reply = arg; in fdtv_ca_info() local 84 return avc_ca_info(fdtv, reply->msg, &reply->length); in fdtv_ca_info() 89 struct ca_msg *reply = arg; in fdtv_ca_get_mmi() local 91 return avc_ca_get_mmi(fdtv, reply->msg, &reply->length); in fdtv_ca_get_mmi()
|