Home
last modified time | relevance | path

Searched refs:reply_size (Results 1 - 25 of 75) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
H A Dccm.h112 enum nfp_ccm_type type, unsigned int reply_size);
121 unsigned int reply_size, gfp_t flags);
124 unsigned int reply_size,
128 unsigned int reply_size,
H A Dccm_mbox.c466 unsigned int reply_size, unsigned int max_reply_size, in nfp_ccm_mbox_msg_prepare()
511 nfp_ccm_mbox_msg_init(skb, reply_size, max_len); in nfp_ccm_mbox_msg_prepare()
541 unsigned int reply_size, in __nfp_ccm_mbox_communicate()
546 err = nfp_ccm_mbox_msg_prepare(nn, skb, type, reply_size, in __nfp_ccm_mbox_communicate()
599 unsigned int reply_size, in nfp_ccm_mbox_communicate()
602 return __nfp_ccm_mbox_communicate(nn, skb, type, reply_size, in nfp_ccm_mbox_communicate()
691 unsigned int reply_size, gfp_t flags) in nfp_ccm_mbox_msg_alloc()
696 if (!reply_size) in nfp_ccm_mbox_msg_alloc()
699 max_size = max(req_size, reply_size); in nfp_ccm_mbox_msg_alloc()
464 nfp_ccm_mbox_msg_prepare(struct nfp_net *nn, struct sk_buff *skb, enum nfp_ccm_type type, unsigned int reply_size, unsigned int max_reply_size, gfp_t flags) nfp_ccm_mbox_msg_prepare() argument
539 __nfp_ccm_mbox_communicate(struct nfp_net *nn, struct sk_buff *skb, enum nfp_ccm_type type, unsigned int reply_size, unsigned int max_reply_size, bool critical) __nfp_ccm_mbox_communicate() argument
597 nfp_ccm_mbox_communicate(struct nfp_net *nn, struct sk_buff *skb, enum nfp_ccm_type type, unsigned int reply_size, unsigned int max_reply_size) nfp_ccm_mbox_communicate() argument
690 nfp_ccm_mbox_msg_alloc(struct nfp_net *nn, unsigned int req_size, unsigned int reply_size, gfp_t flags) nfp_ccm_mbox_msg_alloc() argument
H A Dccm.c129 enum nfp_ccm_type type, unsigned int reply_size) in nfp_ccm_communicate()
162 /* 0 reply_size means caller will do the validation */ in nfp_ccm_communicate()
163 if (reply_size && skb->len != reply_size) { in nfp_ccm_communicate()
165 type, skb->len, reply_size); in nfp_ccm_communicate()
128 nfp_ccm_communicate(struct nfp_ccm *ccm, struct sk_buff *skb, enum nfp_ccm_type type, unsigned int reply_size) nfp_ccm_communicate() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/
H A Dccm.h112 enum nfp_ccm_type type, unsigned int reply_size);
121 unsigned int reply_size, gfp_t flags);
124 unsigned int reply_size,
128 unsigned int reply_size,
H A Dccm_mbox.c466 unsigned int reply_size, unsigned int max_reply_size, in nfp_ccm_mbox_msg_prepare()
511 nfp_ccm_mbox_msg_init(skb, reply_size, max_len); in nfp_ccm_mbox_msg_prepare()
541 unsigned int reply_size, in __nfp_ccm_mbox_communicate()
546 err = nfp_ccm_mbox_msg_prepare(nn, skb, type, reply_size, in __nfp_ccm_mbox_communicate()
599 unsigned int reply_size, in nfp_ccm_mbox_communicate()
602 return __nfp_ccm_mbox_communicate(nn, skb, type, reply_size, in nfp_ccm_mbox_communicate()
691 unsigned int reply_size, gfp_t flags) in nfp_ccm_mbox_msg_alloc()
696 if (!reply_size) in nfp_ccm_mbox_msg_alloc()
699 max_size = max(req_size, reply_size); in nfp_ccm_mbox_msg_alloc()
464 nfp_ccm_mbox_msg_prepare(struct nfp_net *nn, struct sk_buff *skb, enum nfp_ccm_type type, unsigned int reply_size, unsigned int max_reply_size, gfp_t flags) nfp_ccm_mbox_msg_prepare() argument
539 __nfp_ccm_mbox_communicate(struct nfp_net *nn, struct sk_buff *skb, enum nfp_ccm_type type, unsigned int reply_size, unsigned int max_reply_size, bool critical) __nfp_ccm_mbox_communicate() argument
597 nfp_ccm_mbox_communicate(struct nfp_net *nn, struct sk_buff *skb, enum nfp_ccm_type type, unsigned int reply_size, unsigned int max_reply_size) nfp_ccm_mbox_communicate() argument
690 nfp_ccm_mbox_msg_alloc(struct nfp_net *nn, unsigned int req_size, unsigned int reply_size, gfp_t flags) nfp_ccm_mbox_msg_alloc() argument
H A Dccm.c129 enum nfp_ccm_type type, unsigned int reply_size) in nfp_ccm_communicate()
162 /* 0 reply_size means caller will do the validation */ in nfp_ccm_communicate()
163 if (reply_size && skb->len != reply_size) { in nfp_ccm_communicate()
165 type, skb->len, reply_size); in nfp_ccm_communicate()
128 nfp_ccm_communicate(struct nfp_ccm *ccm, struct sk_buff *skb, enum nfp_ccm_type type, unsigned int reply_size) nfp_ccm_communicate() argument
/kernel/linux/linux-6.6/sound/soc/sof/
H A Dipc3.c249 if (msg->reply_size) in sof_ipc3_get_reply()
252 msg->reply_size); in sof_ipc3_get_reply()
259 if (msg->reply_size > 0) { in sof_ipc3_get_reply()
260 if (reply->hdr.size == msg->reply_size) { in sof_ipc3_get_reply()
262 } else if (reply->hdr.size < msg->reply_size) { in sof_ipc3_get_reply()
265 reply->hdr.size, msg->reply_size); in sof_ipc3_get_reply()
267 msg->reply_size = reply->hdr.size; in sof_ipc3_get_reply()
272 reply->hdr.size, msg->reply_size); in sof_ipc3_get_reply()
277 * get the full message if reply->hdr.size <= msg->reply_size in sof_ipc3_get_reply()
280 if (!ret && msg->reply_size > sizeo in sof_ipc3_get_reply()
[all...]
H A Dipc4.c273 if (!msg->reply_size || !SOF_IPC4_MSG_IS_MODULE_MSG(ipc4_reply->primary) || in sof_ipc4_get_reply()
279 msg->reply_size); in sof_ipc4_get_reply()
313 if (msg->reply_size && ipc4_reply_data->data_ptr) { in ipc4_wait_tx_done()
316 msg->reply_size); in ipc4_wait_tx_done()
317 ipc4_reply_data->data_size = msg->reply_size; in ipc4_wait_tx_done()
/kernel/linux/linux-5.10/sound/soc/sof/intel/
H A Dhda-ipc.c109 if (reply.hdr.size != msg->reply_size && in hda_dsp_ipc_get_reply()
113 msg->reply_size, reply.hdr.size); in hda_dsp_ipc_get_reply()
118 if (msg->reply_size > 0) in hda_dsp_ipc_get_reply()
120 msg->reply_data, msg->reply_size); in hda_dsp_ipc_get_reply()
H A Dbdw.c395 if (reply.hdr.size != msg->reply_size) { in bdw_get_reply()
397 msg->reply_size, reply.hdr.size); in bdw_get_reply()
402 if (msg->reply_size > 0) in bdw_get_reply()
404 msg->reply_data, msg->reply_size); in bdw_get_reply()
/kernel/linux/linux-6.6/sound/soc/sof/amd/
H A Dacp-ipc.c135 * reply_size set to zero. in acp_dsp_ipc_get_reply()
137 if (!msg->reply_size) in acp_dsp_ipc_get_reply()
141 if (reply.hdr.size != msg->reply_size && in acp_dsp_ipc_get_reply()
144 msg->reply_size, reply.hdr.size); in acp_dsp_ipc_get_reply()
148 if (msg->reply_size > 0) in acp_dsp_ipc_get_reply()
149 acp_mailbox_read(sdev, offset, msg->reply_data, msg->reply_size); in acp_dsp_ipc_get_reply()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/pxp/
H A Dintel_pxp_gsccs.c64 u32 reply_size; in gsccs_send_message() local
145 reply_size = header->message_size - sizeof(*header); in gsccs_send_message()
146 if (reply_size > msg_out_size_max) { in gsccs_send_message()
148 reply_size, msg_out_size_max); in gsccs_send_message()
149 reply_size = msg_out_size_max; in gsccs_send_message()
154 reply_size); in gsccs_send_message()
156 *msg_out_len = reply_size; in gsccs_send_message()
/kernel/linux/linux-5.10/sound/soc/sof/imx/
H A Dimx8m.c53 if (reply.hdr.size != msg->reply_size) { in imx8m_get_reply()
55 msg->reply_size, reply.hdr.size); in imx8m_get_reply()
60 if (msg->reply_size > 0) in imx8m_get_reply()
62 msg->reply_data, msg->reply_size); in imx8m_get_reply()
H A Dimx8.c80 if (reply.hdr.size != msg->reply_size) { in imx8_get_reply()
82 msg->reply_size, reply.hdr.size); in imx8_get_reply()
87 if (msg->reply_size > 0) in imx8_get_reply()
89 msg->reply_data, msg->reply_size); in imx8_get_reply()
/kernel/linux/linux-5.10/drivers/nfc/
H A Dmei_phy.c292 int reply_size; in nfc_mei_rx_cb() local
304 reply_size = mei_nfc_recv(phy, skb->data, MEI_NFC_MAX_READ); in nfc_mei_rx_cb()
305 if (reply_size < MEI_NFC_HEADER_SIZE) { in nfc_mei_rx_cb()
310 skb_put(skb, reply_size); in nfc_mei_rx_cb()
/kernel/linux/linux-6.6/drivers/nfc/
H A Dmei_phy.c288 int reply_size; in nfc_mei_rx_cb() local
300 reply_size = mei_nfc_recv(phy, skb->data, MEI_NFC_MAX_READ); in nfc_mei_rx_cb()
301 if (reply_size < MEI_NFC_HEADER_SIZE) { in nfc_mei_rx_cb()
306 skb_put(skb, reply_size); in nfc_mei_rx_cb()
/kernel/linux/linux-5.10/drivers/w1/
H A Dw1_netlink.c582 int reply_size = sizeof(*cn) + cn->len + slave_len; in w1_cn_callback() local
585 reply_size += 2 * cmd_count * (sizeof(struct cn_msg) + in w1_cn_callback()
589 reply_size = min(CONNECTOR_MAX_MSG_SIZE, reply_size); in w1_cn_callback()
602 sizeof(struct cn_msg) + reply_size; in w1_cn_callback()
617 /* Sneeky, when not bundling, reply_size is the allocated space in w1_cn_callback()
619 * it should be reply_size - sizeof(struct cn_msg), however in w1_cn_callback()
626 block->maxlen = reply_size; in w1_cn_callback()
/kernel/linux/linux-6.6/drivers/w1/
H A Dw1_netlink.c584 int reply_size = sizeof(*cn) + cn->len + slave_len; in w1_cn_callback() local
587 reply_size += 2 * cmd_count * (sizeof(struct cn_msg) + in w1_cn_callback()
591 reply_size = min(CONNECTOR_MAX_MSG_SIZE, reply_size); in w1_cn_callback()
604 sizeof(struct cn_msg) + reply_size; in w1_cn_callback()
620 /* Sneeky, when not bundling, reply_size is the allocated space in w1_cn_callback()
622 * it should be reply_size - sizeof(struct cn_msg), however in w1_cn_callback()
629 block->maxlen = reply_size; in w1_cn_callback()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_hdcp_gsc.c786 u32 reply_size, msg_size_in, msg_size_out; in intel_hdcp_gsc_msg_send() local
832 reply_size = header_out->message_size - sizeof(*header_out); in intel_hdcp_gsc_msg_send()
833 if (reply_size > msg_out_len) { in intel_hdcp_gsc_msg_send()
835 reply_size, (u32)msg_out_len); in intel_hdcp_gsc_msg_send()
836 reply_size = msg_out_len; in intel_hdcp_gsc_msg_send()
837 } else if (reply_size != msg_out_len) { in intel_hdcp_gsc_msg_send()
839 reply_size, (u32)msg_out_len); in intel_hdcp_gsc_msg_send()
/kernel/linux/linux-6.6/net/ethtool/
H A Dplca.c183 .reply_size = plca_get_cfg_reply_size,
259 .reply_size = plca_get_status_reply_size,
H A Dphc_vclocks.c91 .reply_size = phc_vclocks_reply_size,
/kernel/linux/linux-5.10/sound/soc/sof/
H A Dipc.c226 hdr->cmd, msg->reply_size); in tx_wait_done()
229 if (msg->reply_size) in tx_wait_done()
232 msg->reply_size); in tx_wait_done()
262 msg->reply_size = reply_bytes; in sof_ipc_tx_message_unlocked()
/kernel/linux/linux-5.10/net/ethtool/
H A Dtsinfo.c134 .reply_size = tsinfo_reply_size,
H A Dlinkinfo.c84 .reply_size = linkinfo_reply_size,
H A Ddebug.c74 .reply_size = debug_reply_size,

Completed in 16 milliseconds

123