| /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 63 struct qnap_mcu_reply reply; member 153 struct qnap_mcu_reply *reply = &mcu->reply; in qnap_mcu_receive_buf() local 157 if (!reply->length) { in qnap_mcu_receive_buf() 163 reply->data[reply->received] = *src++; in qnap_mcu_receive_buf() 164 reply->received++; in qnap_mcu_receive_buf() [all …]
|
| H A D | rave-sp.c | 93 * struct rave_sp_reply - Reply as per RAVE device protocol 95 * @length: Expected reply length 96 * @data: Buffer to store reply payload in 97 * @code: Expected reply code 98 * @ackid: Expected reply ACK ID 99 * @received: Successful reply reception completion 177 * @ackid: ACK ID used in last reply sent to the device 179 * @reply_lock: Lock protecting @reply 180 * @reply: Pointer to memory to store reply payload 194 struct rave_sp_reply *reply; member [all …]
|
| /linux/net/openvswitch/ |
| H A 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 …]
|
| /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 struct mbx_fw_cmd_reply *reply) in mucse_fw_send_cmd_wait_resp() argument 35 err = mucse_poll_and_read_mbx(hw, (u32 *)reply, in mucse_fw_send_cmd_wait_resp() 36 sizeof(*reply)); 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->opcode != req->opcode); in mucse_fw_send_cmd_wait_resp() 48 if (!err && reply->error_code) in mucse_fw_send_cmd_wait_resp() 68 struct mbx_fw_cmd_reply reply = {}; in mucse_mbx_get_info() local 71 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 | 187 /* its our local ip, so don't proxy reply in br_do_proxy_suppress_arp() 259 struct sk_buff *reply; in br_nd_send() 273 reply = alloc_skb(len, GFP_ATOMIC); in br_nd_send() 274 if (!reply) in br_nd_send() 277 reply->protocol = htons(ETH_P_IPV6); in br_nd_send() 278 reply->dev = dev; in br_nd_send() 279 skb_reserve(reply, LL_RESERVED_SPACE(dev)); in br_nd_send() 280 skb_push(reply, sizeof(struct ethhdr)); in br_nd_send() 281 skb_set_mac_header(reply, 0); in br_nd_send() 292 kfree_skb(reply); in br_nd_send() 258 struct sk_buff *reply; br_nd_send() local [all...] |
| /linux/sound/soc/sof/amd/ |
| H A D | acp-ipc.c | 99 struct sof_ipc_reply reply; in acp_dsp_ipc_get_reply() local 105 * Sometimes, there is unexpected reply ipc arriving. The reply in acp_dsp_ipc_get_reply() 117 * memory windows are powered off before sending IPC reply, in acp_dsp_ipc_get_reply() 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() [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 | 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() 79 /* wait for delayed reply */ in catpt_wait_msg_completion() 87 struct catpt_ipc_msg *reply, int timeout, const char *name) 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() 116 if (reply) { in catpt_dsp_do_send_msg() 117 reply in catpt_dsp_do_send_msg() 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/Documentation/netlink/specs/ |
| H A D | devlink.yaml | 1309 reply: &get-reply 1317 reply: *get-reply 1333 reply: 1339 reply: 1378 reply: 1436 reply: &sb-get-reply 1442 reply: *sb-get-reply 1459 reply: &sb-pool-get-reply 1465 reply: *sb-pool-get-reply 1501 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 372 name: tuple-reply 375 doc: conntrack l3+l4 protocol information, reply direction 408 name: counters-reply 432 name: seq-adj-reply 564 - tuple-reply [all …]
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A 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/drivers/s390/crypto/ |
| H A D | zcrypt_msgtype6.c | 29 #define CEXXC_MAX_ICA_RESPONSE_SIZE 0x77c /* max size type86 v2 reply */ 538 * Copy results from a type 86 ICA reply message back to user space. 541 * @reply: reply AP message. 563 struct ap_message *reply, in convert_type86_ica() argument 567 struct type86x_reply *msg = reply->msg; in convert_type86_ica() 608 * Copy results from a type 86 XCRB reply message back to user space. 611 * @reply: reply AP message. 617 struct ap_message *reply, in convert_type86_xcrb() argument 620 struct type86_fmt2_msg *msg = reply->msg; in convert_type86_xcrb() 621 char *data = reply->msg; in convert_type86_xcrb() [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/drivers/gpu/drm/nouveau/nvkm/subdev/fsp/ |
| H A D | gh100.c | 161 } reply; in gh100_fsp_send_sync() local 172 ret = gh100_fsp_recv(fsp, (u8 *)&reply, sizeof(reply)); in gh100_fsp_send_sync() 176 if (NVVAL_TEST(reply.mctp_header, MCTP, HEADER, SOM, !=, 1) || in gh100_fsp_send_sync() 177 NVVAL_TEST(reply.mctp_header, MCTP, HEADER, EOM, !=, 1)) { in gh100_fsp_send_sync() 178 nvkm_error(subdev, "unexpected MCTP header in reply: 0x%08x\n", reply.mctp_header); in gh100_fsp_send_sync() 182 if (NVDEF_TEST(reply.nvdm_header, MCTP, MSG_HEADER, TYPE, !=, VENDOR_PCI) || in gh100_fsp_send_sync() 183 NVDEF_TEST(reply.nvdm_header, MCTP, MSG_HEADER, VENDOR_ID, !=, NV) || in gh100_fsp_send_sync() 184 NVVAL_TEST(reply.nvdm_header, MCTP, MSG_HEADER, NVDM_TYPE, !=, NVDM_TYPE_FSP_RESPONSE)) { in gh100_fsp_send_sync() 185 nvkm_error(subdev, "unexpected NVDM header in reply: 0x%08x\n", reply.nvdm_header); in gh100_fsp_send_sync() 189 if (reply.response.commandNvdmType != nvdm_type) { in gh100_fsp_send_sync() [all …]
|
| /linux/include/linux/ |
| H A D | turris-omnia-mcu-interface.h | 272 void *reply, unsigned int reply_len); 311 void *reply, unsigned int len) in omnia_cmd_read() argument 313 return omnia_cmd_write_read(client, &cmd, 1, reply, len); in omnia_cmd_read() 330 __le32 reply; in omnia_cmd_read_bits() local 338 err = omnia_cmd_read(client, cmd, &reply, in omnia_cmd_read_bits() 343 *dst = le32_to_cpu(reply) & bits; in omnia_cmd_read_bits() 351 unsigned long reply; in omnia_cmd_read_bit() local 354 err = omnia_cmd_read_bits(client, cmd, bit, &reply); in omnia_cmd_read_bit() 358 return !!reply; in omnia_cmd_read_bit() 364 __le32 reply; in omnia_cmd_read_u32() local [all …]
|
| /linux/include/uapi/linux/ |
| H A 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/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() 59 reply: BR_FAILED_REPLY, in from() 74 reply: BR_FAILED_REPLY, in from() 82 match self.reply { in fmt() 96 .field("reply", &self.reply) in fmt()
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_sendto.c | 48 * RPC server when an RPC Reply is ready to be transmitted to a client. 51 * XDR-encoded RPC Reply message. sendto must construct the RPC-over-RDMA 52 * transport header, post all Write WRs needed for this Reply, then post 56 * svc_rdma_sendto must fully transmit the Reply before returning, as 64 * The I/O that performs Reply transmission is asynchronous, and may 79 * The ownership of all of the Reply's pages are transferred into that 83 * Send completion handler finally releases the Reply's pages. 94 * handler releases the Reply's pages. 96 * the Reply's pages. 404 * svc_rdma_encode_read_list - Encode RPC Reply's Read chunk list [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/tools/net/ynl/pyynl/ |
| H A D | ethtool.py | 50 def print_field(reply, *desc): argument 52 Pretty-print a set of fields from the reply. desc specifies the 55 if not reply: 59 print_field(reply, *zip(reply.keys(), reply.keys())) 69 value = reply.get(field, None) 106 reply = ynl.dump(op_name, { 'header': {} } | extra) 107 if not reply: 110 for msg in reply: 246 reply = dumpit(ynl, args, 'features-get') 247 available = bits_to_dict(reply['hw']) [all …]
|
| /linux/drivers/media/cec/usb/extron-da-hd-4k-plus/ |
| H A D | cec-splitter.c | 12 * Helper function to reply to a received message with a Feature Abort 21 * Don't reply with CEC_MSG_FEATURE_ABORT to a CEC_MSG_FEATURE_ABORT in cec_feature_abort_reason() 171 struct cec_msg reply = {}; in cec_out_report_current_latency() local 183 /* Return if a port is still waiting for a reply */ in cec_out_report_current_latency() 191 * All ports that can reply, replied, so clear the sequence in cec_out_report_current_latency() 208 /* Reply with the average latency */ in cec_out_report_current_latency() 210 cec_msg_init(&reply, input_adap->log_addrs.log_addr[0], in cec_out_report_current_latency() 212 cec_msg_report_current_latency(&reply, input_adap->phys_addr, in cec_out_report_current_latency() 214 cec_transmit_msg(input_adap, &reply, false); in cec_out_report_current_latency() 267 struct cec_msg reply = {}; in cec_out_report_power_status() local [all …]
|