| /linux/drivers/mfd/ |
| H A D | qnap-mcu.c | 37 * struct qnap_mcu_reply - Reply to a command 39 * @data: Buffer to store reply payload in 40 * @length: Expected reply length, including the checksum 42 * @done: Triggered when the entire reply has been received 56 * @reply: Reply data structure 59 * @rx: Receive buffer the reply is assembled in 64 struct qnap_mcu_reply reply; member 155 struct qnap_mcu_reply *reply = &mcu->reply; in qnap_mcu_receive_buf() local 159 if (!reply->length) { in qnap_mcu_receive_buf() 165 reply->data[reply->received] = *src++; in qnap_mcu_receive_buf() [all …]
|
| H A D | rave-sp.c | 99 * struct rave_sp_reply - Reply as per RAVE device protocol 101 * @length: Expected reply length 102 * @data: Buffer to store reply payload in 103 * @code: Expected reply code 104 * @ackid: Expected reply ACK ID 105 * @received: Successful reply reception completion 183 * @ackid: ACK ID used in last reply sent to the device 185 * @reply_lock: Lock protecting @reply 186 * @reply: Pointer to memory to store reply payload 200 struct rave_sp_reply *reply; member [all …]
|
| /linux/net/openvswitch/ |
| H A D | meter.c | 237 static int ovs_meter_cmd_reply_stats(struct sk_buff *reply, u32 meter_id, in ovs_meter_cmd_reply_stats() argument 244 if (nla_put_u32(reply, OVS_METER_ATTR_ID, meter_id)) in ovs_meter_cmd_reply_stats() 247 if (nla_put(reply, OVS_METER_ATTR_STATS, in ovs_meter_cmd_reply_stats() 251 if (nla_put_u64_64bit(reply, OVS_METER_ATTR_USED, meter->used, in ovs_meter_cmd_reply_stats() 255 nla = nla_nest_start_noflag(reply, OVS_METER_ATTR_BANDS); in ovs_meter_cmd_reply_stats() 264 band_nla = nla_nest_start_noflag(reply, OVS_BAND_ATTR_UNSPEC); in ovs_meter_cmd_reply_stats() 265 if (!band_nla || nla_put(reply, OVS_BAND_ATTR_STATS, in ovs_meter_cmd_reply_stats() 269 nla_nest_end(reply, band_nla); in ovs_meter_cmd_reply_stats() 271 nla_nest_end(reply, nla); in ovs_meter_cmd_reply_stats() 283 struct sk_buff *reply; in ovs_meter_cmd_features() local [all …]
|
| H A D | datapath.c | 72 /* Check if need to build a reply message. 73 * OVS userspace sets the NLM_F_ECHO flag if it needs the reply. */ 1007 struct sk_buff *reply; in ovs_flow_cmd_new() local 1065 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new() 1067 if (IS_ERR(reply)) { in ovs_flow_cmd_new() 1068 error = PTR_ERR(reply); in ovs_flow_cmd_new() 1094 if (unlikely(reply)) { in ovs_flow_cmd_new() 1097 reply, info->snd_portid, in ovs_flow_cmd_new() 1132 if (unlikely(reply)) { in ovs_flow_cmd_new() 1150 kfree_skb(reply); in ovs_flow_cmd_new() 1277 struct sk_buff *reply = NULL; ovs_flow_cmd_set() local 1379 struct sk_buff *reply; ovs_flow_cmd_get() local 1438 struct sk_buff *reply; ovs_flow_cmd_del() local 1844 struct sk_buff *reply; ovs_dp_cmd_new() local 1984 struct sk_buff *reply; ovs_dp_cmd_del() local 2018 struct sk_buff *reply; ovs_dp_cmd_set() local 2054 struct sk_buff *reply; ovs_dp_cmd_get() local 2335 struct sk_buff *reply; ovs_vport_cmd_new() local 2420 struct sk_buff *reply; ovs_vport_cmd_set() local 2473 struct sk_buff *reply; ovs_vport_cmd_del() local 2528 struct sk_buff *reply; ovs_vport_cmd_get() local [all...] |
| /linux/drivers/net/ethernet/mucse/rnpgbe/ |
| H A D | rnpgbe_mbx_fw.c | 15 * @reply: pointer to the fw reply structure 18 * reply from fw. 24 union mbx_fw_cmd_reply_u *reply) in mucse_fw_send_cmd_wait_resp() argument 35 err = mucse_poll_and_read_mbx(hw, reply->dwords, in mucse_fw_send_cmd_wait_resp() 36 sizeof(reply->r)); in mucse_fw_send_cmd_wait_resp() 41 * reply with 'retry_cnt' times. in mucse_fw_send_cmd_wait_resp() 43 } while (--retry_cnt >= 0 && reply->r.opcode != req->r.opcode); in mucse_fw_send_cmd_wait_resp() 48 if (!err && reply->r.error_code) in mucse_fw_send_cmd_wait_resp() 70 union mbx_fw_cmd_reply_u reply = {}; in mucse_mbx_get_info() local 73 err = mucse_fw_send_cmd_wait_resp(hw, &req, &reply); in mucse_mbx_get_info() [all …]
|
| /linux/drivers/thunderbolt/ |
| H A D | icm.c | 55 * @reply: Reply from ICM firmware is placed here 60 struct icm_usb4_switch_op_response reply; member 480 struct icm_fr_pkg_driver_ready_response reply; in icm_fr_driver_ready() local 486 memset(&reply, 0, sizeof(reply)); in icm_fr_driver_ready() 487 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_driver_ready() 493 *security_level = reply.security_level & ICM_FR_SLEVEL_MASK; in icm_fr_driver_ready() 501 struct icm_fr_pkg_approve_device reply; in icm_fr_approve_switch() local 510 memset(&reply, 0, sizeof(reply)); in icm_fr_approve_switch() 512 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_approve_switch() 517 if (reply.hdr.flags & ICM_FLAGS_ERROR) { in icm_fr_approve_switch() [all …]
|
| /linux/net/bridge/ |
| H A D | br_arp_nd_proxy.c | 189 /* its our local ip, so don't proxy reply in br_do_proxy_suppress_arp() 262 struct sk_buff *reply; in br_nd_send() local 277 reply = alloc_skb(len, GFP_ATOMIC); in br_nd_send() 278 if (!reply) in br_nd_send() 281 reply->protocol = htons(ETH_P_IPV6); in br_nd_send() 282 reply->dev = dev; in br_nd_send() 283 skb_reserve(reply, LL_RESERVED_SPACE(dev)); in br_nd_send() 284 skb_push(reply, sizeof(struct ethhdr)); in br_nd_send() 285 skb_set_mac_header(reply, 0); in br_nd_send() 295 kfree_skb(reply); in br_nd_send() [all …]
|
| /linux/sound/soc/sof/amd/ |
| H A D | acp-ipc.c | 108 struct sof_ipc_reply reply; in acp_dsp_ipc_get_reply() 114 * Sometimes, there is unexpected reply ipc arriving. The reply in acp_dsp_ipc_get_reply() 126 * memory windows are powered off before sending IPC reply, in acp_dsp_ipc_get_reply() 130 reply.error = 0; in acp_dsp_ipc_get_reply() 131 reply.hdr.cmd = SOF_IPC_GLB_REPLY; in acp_dsp_ipc_get_reply() 132 reply.hdr.size = sizeof(reply); in acp_dsp_ipc_get_reply() 133 memcpy(msg->reply_data, &reply, sizeof(reply)); in acp_dsp_ipc_get_reply() 99 struct sof_ipc_reply reply; acp_dsp_ipc_get_reply() local [all...] |
| /linux/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | cmsg.c | 60 struct cmsg_reply_map_simple *reply) in nfp_bpf_ctrl_rc_to_errno() argument 74 rc = be32_to_cpu(reply->rc); in nfp_bpf_ctrl_rc_to_errno() 86 struct cmsg_reply_map_alloc_tbl *reply; in nfp_bpf_ctrl_alloc_map() local 104 sizeof(*reply)); in nfp_bpf_ctrl_alloc_map() 108 reply = (void *)skb->data; in nfp_bpf_ctrl_alloc_map() 109 err = nfp_bpf_ctrl_rc_to_errno(bpf, &reply->reply_hdr); in nfp_bpf_ctrl_alloc_map() 113 tid = be32_to_cpu(reply->tid); in nfp_bpf_ctrl_alloc_map() 124 struct cmsg_reply_map_free_tbl *reply; in nfp_bpf_ctrl_free_map() local 139 sizeof(*reply)); in nfp_bpf_ctrl_free_map() 145 reply = (void *)skb->data; in nfp_bpf_ctrl_free_map() [all …]
|
| /linux/sound/soc/intel/catpt/ |
| H A D | ipc.c | 46 struct catpt_ipc_msg *reply) in catpt_ipc_msg_init() 51 ipc->rx.size = reply ? reply->size : 0; in catpt_ipc_msg_init() 80 /* wait for delayed reply */ in catpt_wait_msg_completion() 88 struct catpt_ipc_msg *reply, int timeout, const char *name) in catpt_dsp_do_send_msg() 97 (reply && reply->size > ipc->config.outbox_size)) in catpt_dsp_do_send_msg() 101 catpt_ipc_msg_init(ipc, reply); in catpt_dsp_do_send_msg() 117 if (reply) { in catpt_dsp_do_send_msg() 118 reply in catpt_dsp_do_send_msg() 45 catpt_ipc_msg_init(struct catpt_ipc * ipc,struct catpt_ipc_msg * reply) catpt_ipc_msg_init() argument 87 catpt_dsp_do_send_msg(struct catpt_dev * cdev,struct catpt_ipc_msg request,struct catpt_ipc_msg * reply,int timeout) catpt_dsp_do_send_msg() argument 126 catpt_dsp_send_msg_timeout(struct catpt_dev * cdev,struct catpt_ipc_msg request,struct catpt_ipc_msg * reply,int timeout) catpt_dsp_send_msg_timeout() argument 139 catpt_dsp_send_msg(struct catpt_dev * cdev,struct catpt_ipc_msg request,struct catpt_ipc_msg * reply) catpt_dsp_send_msg() argument [all...] |
| H A D | messages.c | 17 struct catpt_ipc_msg request = {{0}}, reply; in catpt_ipc_get_fw_version() local 20 reply.size = sizeof(*version); in catpt_ipc_get_fw_version() 21 reply.data = version; in catpt_ipc_get_fw_version() 23 return catpt_dsp_send_msg(cdev, request, &reply, "get fw version"); in catpt_ipc_get_fw_version() 53 struct catpt_ipc_msg request, reply; in catpt_ipc_alloc_stream() 89 reply.size = sizeof(*sinfo); in catpt_ipc_alloc_stream() 90 reply.data = sinfo; in catpt_ipc_alloc_stream() 92 ret = catpt_dsp_send_msg(cdev, request, &reply, "alloc stream"); in catpt_ipc_alloc_stream() 126 struct catpt_ipc_msg request, reply; in catpt_ipc_set_device_format() 131 reply in catpt_ipc_set_device_format() 58 struct catpt_ipc_msg request, reply; catpt_ipc_alloc_stream() local 146 struct catpt_ipc_msg request, reply; catpt_ipc_enter_dxstate() local 166 struct catpt_ipc_msg request = {{0}}, reply; catpt_ipc_get_mixer_stream_info() local [all...] |
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | router_broadcast.sh | 174 log_info "ping $dip, expected reply from $from" 188 log_test "h1 -> net2: reply from r1 (not forwarding)" 190 log_test "h1 -> net3: reply from r1 (not forwarding)" 192 log_test "h1 -> net1: reply from r1 (not dropping)" 194 log_test "h1 -> 255.255.255.255: reply from r1 (not forwarding)" 197 log_test "h2 -> net1: reply from r1 (not forwarding)" 199 log_test "h2 -> net3: reply from r1 (not forwarding)" 201 log_test "h2 -> net2: reply from r1 (not dropping)" 203 log_test "h2 -> 255.255.255.255: reply from r1 (not forwarding)" 209 log_test "h1 -> net2: reply from h2 (forwarding)" [all …]
|
| /linux/Documentation/userspace-api/media/cec/ |
| H A D | cec-ioc-receive.rst | 55 3. the reply to an earlier non-blocking transmit (the ``sequence`` field will 64 of 2-byte messages). Note that the CEC kernel framework will also reply 71 If a non-blocking transmit also specified waiting for a reply, then 72 the reply will arrive in a later message. The ``sequence`` field can 115 filled in by the driver with the length of the reply message if ``reply`` was set. 122 then it will be replaced by 1000 if the ``reply`` is non-zero or 123 ignored if ``reply`` is 0. 131 In addition, if a non-blocking transmit will wait for a reply (ii.e. ``timeout`` 132 was not 0), then the ``sequence`` field of the reply will be set to the sequence 143 the payload of the reply message if ``timeout`` was set. [all …]
|
| /linux/drivers/platform/cznic/ |
| H A D | turris-omnia-mcu-keyctl.c | 26 u8 reply[1 + OMNIA_MCU_CRYPTO_SIGNATURE_LEN]; in omnia_msg_signed_irq_handler() local 31 reply, sizeof(reply)); in omnia_msg_signed_irq_handler() 32 if (!err && reply[0] != OMNIA_MCU_CRYPTO_SIGNATURE_LEN) in omnia_msg_signed_irq_handler() 40 memcpy(mcu->signature, &reply[1], in omnia_msg_signed_irq_handler() 53 u8 cmd[1 + SHA256_DIGEST_SIZE], reply; in omnia_mcu_sign() local 64 &reply, 1); in omnia_mcu_sign() 68 if (!reply) in omnia_mcu_sign() 109 u8 reply[1 + OMNIA_MCU_CRYPTO_PUBLIC_KEY_LEN]; in omnia_mcu_read_public_key() local 113 reply, sizeof(reply)); in omnia_mcu_read_public_key() 117 if (reply[0] != OMNIA_MCU_CRYPTO_PUBLIC_KEY_LEN) in omnia_mcu_read_public_key() [all …]
|
| /linux/Documentation/netlink/specs/ |
| H A D | devlink.yaml | 1358 reply: &get-reply 1367 reply: *get-reply 1384 reply: 1390 reply: 1431 reply: 1491 reply: &sb-get-reply 1497 reply: *sb-get-reply 1515 reply: &sb-pool-get-reply 1521 reply: *sb-pool-get-reply 1559 reply: &sb-port-pool-get-reply [all …]
|
| H A D | conntrack.yaml | 88 - seen-reply 226 name: tcp-wscale-reply 228 doc: window scaling factor in reply direction 234 name: tcp-flags-reply 267 name: vtag-reply 371 name: reply-flags 373 doc: bitmask of tuple fields to filter on, reply direction 383 name: tuple-reply 386 doc: conntrack l3+l4 protocol information, reply direction 419 name: counters-reply [all …]
|
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_msgtype6.c | 30 #define CEXXC_MAX_ICA_RESPONSE_SIZE 0x77c /* max size type86 v2 reply */ 370 /* reply length and overflow checks */ in xcrb_msg_to_type6cprb_msgx() 533 /* reply length and overflow checks */ in xcrb_msg_to_type6_ep11cprb_msgx() 614 * Copy results from a type 86 ICA reply message back to user space. 617 * @reply: reply AP message. 639 struct ap_message *reply, in convert_type86_ica() argument 643 struct type86x_reply *msg = reply->msg; in convert_type86_ica() 684 * Copy results from a type 86 XCRB reply message back to user space. 687 * @reply: reply AP message. 693 struct ap_message *reply, in convert_type86_xcrb() argument [all …]
|
| /linux/tools/net/ynl/tests/ |
| H A D | ethtool.py | 48 def print_field(reply, *desc): argument 50 Pretty-print a set of fields from the reply. desc specifies the 53 if not reply: 57 print_field(reply, *zip(reply.keys(), reply.keys())) 67 value = reply.get(field, None) 107 reply = ynl.do(op_name, req) 108 if not reply: 112 pprint.PrettyPrinter().pprint(reply) 114 reply.pop('header', None) 115 return reply [all …]
|
| /linux/sound/soc/sof/ |
| H A D | sof-client-probes-ipc3.c | 109 struct sof_ipc_probe_info_params *reply; in ipc3_probes_info() local 121 reply = kzalloc(max_msg_size, GFP_KERNEL); in ipc3_probes_info() 122 if (!reply) in ipc3_probes_info() 127 ret = sof_client_ipc_tx_message(cdev, &msg, reply, max_msg_size); in ipc3_probes_info() 128 if (ret < 0 || reply->rhdr.error < 0) in ipc3_probes_info() 131 payload_size = reply->rhdr.hdr.size; in ipc3_probes_info() 137 if (!reply->num_elems) in ipc3_probes_info() 141 elem_size = sizeof(reply->dma[0]); in ipc3_probes_info() 143 elem_size = sizeof(reply->desc[0]); in ipc3_probes_info() 146 if (reply->num_elems > payload_size / elem_size) { in ipc3_probes_info() [all …]
|
| /linux/arch/um/drivers/ |
| H A 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/net/netfilter/ |
| H A D | nf_conntrack_sane.c | 66 struct sane_reply_net_start *reply; in help() local 107 /* We're interested in the next reply */ in help() 114 /* Is it a reply to an uninteresting command? */ in help() 118 /* It's a reply to SANE_NET_START. */ in help() 122 pr_debug("NET_START reply too short\n"); in help() 128 reply = skb_header_pointer(skb, dataoff, datalen, &buf.repl); in help() 129 if (!reply) in help() 132 if (reply->status != htonl(SANE_STATUS_SUCCESS)) { in help() 135 ntohl(reply->status)); in help() 139 /* Invalid saned reply? Ignore it. */ in help() [all …]
|
| /linux/drivers/android/binder/ |
| H A D | error.rs | 15 pub(crate) reply: u32, field 22 reply: BR_DEAD_REPLY, in new_dead() 29 reply: BR_FROZEN_REPLY, in new_frozen() 36 reply: BR_TRANSACTION_PENDING_FROZEN, in new_frozen_oneway() 42 self.reply == BR_DEAD_REPLY in is_dead() 51 reply: BR_FAILED_REPLY, in from() 66 reply: BR_FAILED_REPLY, in from() 74 match self.reply { in fmt() 85 None => self.reply.fmt(f), in fmt()
|
| /linux/tools/net/ynl/pyynl/ |
| H A D | ethtool.py | |
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
| H A 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 87 /* call MEMX process to execute the script, and wait for reply */ in nvkm_memx_fini() 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() [all …]
|
| /linux/net/ethtool/ |
| H A D | eeprom.c | 58 struct eeprom_reply_data *reply) in eeprom_fallback() argument 60 struct net_device *dev = reply->base.dev; in eeprom_fallback() 82 reply->data = data; in eeprom_fallback() 83 reply->length = eeprom.len; in eeprom_fallback() 117 struct eeprom_reply_data *reply = MODULE_EEPROM_REPDATA(reply_base); in eeprom_prepare_data() local 140 reply->length = ret; in eeprom_prepare_data() 141 reply->data = page_data.data; in eeprom_prepare_data() 148 ret = eeprom_fallback(request, reply); in eeprom_prepare_data() 214 struct eeprom_reply_data *reply = MODULE_EEPROM_REPDATA(reply_base); in eeprom_fill_reply() local 216 return nla_put(skb, ETHTOOL_A_MODULE_EEPROM_DATA, reply->length, reply->data); in eeprom_fill_reply() [all …]
|