/linux-6.12.1/drivers/platform/cznic/ |
D | turris-omnia-mcu.h | 68 void *reply, unsigned int reply_len); 107 void *reply, unsigned int len) in omnia_cmd_read() argument 109 return omnia_cmd_write_read(client, &cmd, 1, reply, len); in omnia_cmd_read() 126 __le32 reply; in omnia_cmd_read_bits() local 134 err = omnia_cmd_read(client, cmd, &reply, in omnia_cmd_read_bits() 139 *dst = le32_to_cpu(reply) & bits; in omnia_cmd_read_bits() 147 unsigned long reply; in omnia_cmd_read_bit() local 150 err = omnia_cmd_read_bits(client, cmd, bit, &reply); in omnia_cmd_read_bit() 154 return !!reply; in omnia_cmd_read_bit() 160 __le32 reply; in omnia_cmd_read_u32() local [all …]
|
D | turris-omnia-mcu-base.c | 28 void *reply, unsigned int reply_len) in omnia_cmd_write_read() argument 43 msgs[1].buf = reply; in omnia_cmd_write_read() 59 u8 reply[OMNIA_FW_VERSION_LEN]; in omnia_get_version_hash() local 66 reply, sizeof(reply)); in omnia_get_version_hash() 70 p = bin2hex(version, reply, OMNIA_FW_VERSION_LEN); in omnia_get_version_hash() 127 u8 reply; in reset_selector_show() local 131 &reply); in reset_selector_show() 135 return sysfs_emit(buf, "%d\n", reply); in reset_selector_show() 331 u8 reply[1 + OMNIA_BOARD_INFO_LEN]; in omnia_mcu_read_board_info() local 334 err = omnia_cmd_read(mcu->client, OMNIA_CMD_BOARD_INFO_GET, reply, in omnia_mcu_read_board_info() [all …]
|
/linux-6.12.1/net/openvswitch/ |
D | meter.c | 232 static int ovs_meter_cmd_reply_stats(struct sk_buff *reply, u32 meter_id, in ovs_meter_cmd_reply_stats() argument 239 if (nla_put_u32(reply, OVS_METER_ATTR_ID, meter_id)) in ovs_meter_cmd_reply_stats() 242 if (nla_put(reply, OVS_METER_ATTR_STATS, in ovs_meter_cmd_reply_stats() 246 if (nla_put_u64_64bit(reply, OVS_METER_ATTR_USED, meter->used, in ovs_meter_cmd_reply_stats() 250 nla = nla_nest_start_noflag(reply, OVS_METER_ATTR_BANDS); in ovs_meter_cmd_reply_stats() 259 band_nla = nla_nest_start_noflag(reply, OVS_BAND_ATTR_UNSPEC); in ovs_meter_cmd_reply_stats() 260 if (!band_nla || nla_put(reply, OVS_BAND_ATTR_STATS, in ovs_meter_cmd_reply_stats() 264 nla_nest_end(reply, band_nla); in ovs_meter_cmd_reply_stats() 266 nla_nest_end(reply, nla); in ovs_meter_cmd_reply_stats() 278 struct sk_buff *reply; in ovs_meter_cmd_features() local [all …]
|
D | datapath.c | 972 struct sk_buff *reply; in ovs_flow_cmd_new() local 1030 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new() 1032 if (IS_ERR(reply)) { in ovs_flow_cmd_new() 1033 error = PTR_ERR(reply); in ovs_flow_cmd_new() 1059 if (unlikely(reply)) { in ovs_flow_cmd_new() 1062 reply, info->snd_portid, in ovs_flow_cmd_new() 1101 if (unlikely(reply)) { in ovs_flow_cmd_new() 1104 reply, info->snd_portid, in ovs_flow_cmd_new() 1116 if (reply) in ovs_flow_cmd_new() 1117 ovs_notify(&dp_flow_genl_family, reply, info); in ovs_flow_cmd_new() [all …]
|
/linux-6.12.1/drivers/thunderbolt/ |
D | icm.c | 59 struct icm_usb4_switch_op_response reply; member 458 struct icm_fr_pkg_driver_ready_response reply; in icm_fr_driver_ready() local 464 memset(&reply, 0, sizeof(reply)); in icm_fr_driver_ready() 465 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_driver_ready() 471 *security_level = reply.security_level & ICM_FR_SLEVEL_MASK; in icm_fr_driver_ready() 479 struct icm_fr_pkg_approve_device reply; in icm_fr_approve_switch() local 488 memset(&reply, 0, sizeof(reply)); in icm_fr_approve_switch() 490 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_approve_switch() 495 if (reply.hdr.flags & ICM_FLAGS_ERROR) { in icm_fr_approve_switch() 506 struct icm_fr_pkg_add_device_key_response reply; in icm_fr_add_switch_key() local [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/drivers/net/wireless/ath/wil6210/ |
D | wmi.c | 2040 u16 reply_id, void *reply, u16 reply_size, int to_msec) in wmi_call() argument 2051 wil->reply_buf = reply; in wmi_call() 2135 } __packed reply = { in wmi_led_cfg() local 2153 WMI_LED_CFG_DONE_EVENTID, &reply, sizeof(reply), in wmi_led_cfg() 2158 if (reply.evt.status) { in wmi_led_cfg() 2160 led_id, le32_to_cpu(reply.evt.status)); in wmi_led_cfg() 2180 } __packed reply = { in wmi_rbufcap_cfg() local 2185 WMI_RBUFCAP_CFG_EVENTID, &reply, sizeof(reply), in wmi_rbufcap_cfg() 2190 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_rbufcap_cfg() 2192 reply.evt.status); in wmi_rbufcap_cfg() [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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() 136 struct mconsole_reply reply; in mconsole_reply_len() local 140 reply.err = err; in mconsole_reply_len() 147 if (len == total) reply.more = more; in mconsole_reply_len() 148 else reply.more = 1; in mconsole_reply_len() 150 memcpy(reply.data, str, len); in mconsole_reply_len() 151 reply.data[len] = '\0'; in mconsole_reply_len() 154 reply.len = len + 1; in mconsole_reply_len() [all …]
|
/linux-6.12.1/tools/net/ynl/ |
D | ethtool.py | 40 def print_field(reply, *desc): argument 46 return print_field(reply, *zip(reply.keys(), reply.keys())) 55 value = reply.get(field, None) 91 reply = ynl.dump(op_name, { 'header': {} } | extra) 92 if not reply: 95 for msg in reply: 227 reply = dumpit(ynl, args, 'features-get') 228 available = bits_to_dict(reply['hw']) 229 requested = bits_to_dict(reply['wanted']).keys() 230 active = bits_to_dict(reply['active']).keys() [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/sound/soc/sof/ |
D | sof-client-probes-ipc3.c | 107 struct sof_ipc_probe_info_params *reply; in ipc3_probes_info() local 114 reply = kzalloc(max_msg_size, GFP_KERNEL); in ipc3_probes_info() 115 if (!reply) in ipc3_probes_info() 120 ret = sof_client_ipc_tx_message(cdev, &msg, reply, max_msg_size); in ipc3_probes_info() 121 if (ret < 0 || reply->rhdr.error < 0) in ipc3_probes_info() 124 if (!reply->num_elems) in ipc3_probes_info() 128 bytes = sizeof(reply->dma[0]); in ipc3_probes_info() 130 bytes = sizeof(reply->desc[0]); in ipc3_probes_info() 131 bytes *= reply->num_elems; in ipc3_probes_info() 132 *params = kmemdup(&reply->dma[0], bytes, GFP_KERNEL); in ipc3_probes_info() [all …]
|
/linux-6.12.1/drivers/s390/crypto/ |
D | zcrypt_msgtype6.c | 569 struct ap_message *reply, in convert_type86_ica() argument 573 struct type86x_reply *msg = reply->msg; in convert_type86_ica() 623 struct ap_message *reply, in convert_type86_xcrb() argument 626 struct type86_fmt2_msg *msg = reply->msg; in convert_type86_xcrb() 627 char *data = reply->msg; in convert_type86_xcrb() 666 struct ap_message *reply, in convert_type86_ep11_xcrb() argument 669 struct type86_fmt2_msg *msg = reply->msg; in convert_type86_ep11_xcrb() 670 char *data = reply->msg; in convert_type86_ep11_xcrb() 687 struct ap_message *reply, in convert_type86_rng() argument 694 } __packed * msg = reply->msg; in convert_type86_rng() [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/sound/soc/sof/amd/ |
D | acp-ipc.c | 99 struct sof_ipc_reply reply; in acp_dsp_ipc_get_reply() local 121 reply.error = 0; in acp_dsp_ipc_get_reply() 122 reply.hdr.cmd = SOF_IPC_GLB_REPLY; in acp_dsp_ipc_get_reply() 123 reply.hdr.size = sizeof(reply); in acp_dsp_ipc_get_reply() 124 memcpy(msg->reply_data, &reply, sizeof(reply)); in acp_dsp_ipc_get_reply() 128 acp_mailbox_read(sdev, offset, &reply, sizeof(reply)); in acp_dsp_ipc_get_reply() 129 if (reply.error < 0) { in acp_dsp_ipc_get_reply() 130 memcpy(msg->reply_data, &reply, sizeof(reply)); in acp_dsp_ipc_get_reply() 131 ret = reply.error; in acp_dsp_ipc_get_reply() 141 if (reply.hdr.size != msg->reply_size && in acp_dsp_ipc_get_reply() [all …]
|
/linux-6.12.1/net/ethtool/ |
D | eeprom.c | 54 struct eeprom_reply_data *reply) in eeprom_fallback() argument 56 struct net_device *dev = reply->base.dev; in eeprom_fallback() 78 reply->data = data; in eeprom_fallback() 79 reply->length = eeprom.len; in eeprom_fallback() 113 struct eeprom_reply_data *reply = MODULE_EEPROM_REPDATA(reply_base); in eeprom_prepare_data() local 136 reply->length = ret; in eeprom_prepare_data() 137 reply->data = page_data.data; in eeprom_prepare_data() 148 return eeprom_fallback(request, reply); in eeprom_prepare_data() 209 struct eeprom_reply_data *reply = MODULE_EEPROM_REPDATA(reply_base); in eeprom_fill_reply() local 211 return nla_put(skb, ETHTOOL_A_MODULE_EEPROM_DATA, reply->length, reply->data); in eeprom_fill_reply() [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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()
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/sound/soc/intel/avs/ |
D | ipc.c | 355 static void avs_ipc_msg_init(struct avs_ipc *ipc, struct avs_ipc_msg *reply) in avs_ipc_msg_init() argument 360 ipc->rx.size = reply ? reply->size : 0; in avs_ipc_msg_init() 385 struct avs_ipc_msg *reply, int timeout, const char *name) in avs_dsp_do_send_msg() argument 396 avs_ipc_msg_init(ipc, reply); in avs_dsp_do_send_msg() 425 if (reply) { in avs_dsp_do_send_msg() 426 reply->header = ipc->rx.header; in avs_dsp_do_send_msg() 427 reply->size = ipc->rx.size; in avs_dsp_do_send_msg() 428 if (reply->data && ipc->rx.size) in avs_dsp_do_send_msg() 429 memcpy(reply->data, ipc->rx.data, reply->size); in avs_dsp_do_send_msg() 438 struct avs_ipc_msg *reply, int timeout, bool wake_d0i0, in avs_dsp_send_msg_sequence() argument [all …]
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_msg.c | 205 static unsigned long vmw_port_hb_in(struct rpc_channel *channel, char *reply, in vmw_port_hb_in() argument 217 (uintptr_t) reply, channel->cookie_low, in vmw_port_hb_in() 239 memcpy(reply, &ebx, bytes); in vmw_port_hb_in() 241 reply += bytes; in vmw_port_hb_in() 308 char *reply; in vmw_recv_msg() local 335 reply = kzalloc(reply_len + 1, GFP_KERNEL); in vmw_recv_msg() 336 if (!reply) { in vmw_recv_msg() 343 ebx = vmw_port_hb_in(channel, reply, reply_len, in vmw_recv_msg() 346 kfree(reply); in vmw_recv_msg() 347 reply = NULL; in vmw_recv_msg() [all …]
|
/linux-6.12.1/drivers/nfc/ |
D | mei_phy.c | 96 struct mei_nfc_reply *reply = NULL; in mei_nfc_if_version() local 117 reply = kzalloc(if_version_length, GFP_KERNEL); in mei_nfc_if_version() 118 if (!reply) in mei_nfc_if_version() 121 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, if_version_length); in mei_nfc_if_version() 128 version = (struct mei_nfc_if_version *)reply->data; in mei_nfc_if_version() 135 kfree(reply); in mei_nfc_if_version() 141 struct mei_nfc_cmd *cmd, *reply; in mei_nfc_connect() local 158 reply = kzalloc(connect_resp_length, GFP_KERNEL); in mei_nfc_connect() 159 if (!reply) { in mei_nfc_connect() 164 connect_resp = (struct mei_nfc_connect_resp *)reply->data; in mei_nfc_connect() [all …]
|