Home
last modified time | relevance | path

Searched refs:max_msg_size (Results 1 – 25 of 30) sorted by relevance

12

/linux/sound/soc/sof/
H A Dsof-client-ipc-msg-injector.c26 size_t max_msg_size; member
136 priv->max_msg_size); in sof_msg_inject_send_message()
159 size = simple_write_to_buffer(priv->tx_buffer, priv->max_msg_size, in sof_msg_inject_dfs_write()
166 memset(priv->rx_buffer, 0, priv->max_msg_size); in sof_msg_inject_dfs_write()
199 if (data_size > priv->max_msg_size) in sof_msg_inject_ipc4_dfs_write()
212 ipc4_msg->data_size = priv->max_msg_size; in sof_msg_inject_ipc4_dfs_write()
213 memset(ipc4_msg->data_ptr, 0, priv->max_msg_size); in sof_msg_inject_ipc4_dfs_write()
267 priv->max_msg_size = sof_client_get_ipc_max_payload_size(cdev); in sof_msg_inject_probe()
268 alloc_size = priv->max_msg_size; in sof_msg_inject_probe()
H A Dsof-client-ipc-kernel-injector.c21 size_t max_msg_size; member
53 size = simple_write_to_buffer(priv->kernel_buffer, priv->max_msg_size, in sof_kernel_msg_inject_dfs_write()
105 priv->max_msg_size = sof_client_get_ipc_max_payload_size(cdev); in sof_msg_inject_probe()
106 alloc_size = priv->max_msg_size; in sof_msg_inject_probe()
H A Dsof-client-probes-ipc3.c105 size_t max_msg_size = sof_client_get_ipc_max_payload_size(cdev); in ipc3_probes_info() local
114 reply = kzalloc(max_msg_size, GFP_KERNEL); in ipc3_probes_info()
120 ret = sof_client_ipc_tx_message(cdev, &msg, reply, max_msg_size); in ipc3_probes_info()
/linux/drivers/base/regmap/
H A Dregmap-spi.c116 size_t max_msg_size, reg_reserve_size; in regmap_get_spi_bus() local
124 max_msg_size = spi_max_message_size(spi); in regmap_get_spi_bus()
126 if (max_size + reg_reserve_size > max_msg_size) in regmap_get_spi_bus()
/linux/drivers/firmware/arm_scmi/vendors/imx/
H A Dimx-sm-misc.c208 int max_msg_size = ph->hops->get_max_msg_size(ph); in scmi_imx_misc_ctrl_get() local
209 int max_num = (max_msg_size - sizeof(*out)) / sizeof(__le32); in scmi_imx_misc_ctrl_get()
247 int max_msg_size = ph->hops->get_max_msg_size(ph); in scmi_imx_misc_ctrl_set() local
248 int max_num = (max_msg_size - sizeof(*in)) / sizeof(__le32); in scmi_imx_misc_ctrl_set()
/linux/drivers/gpu/drm/xe/display/
H A Dxe_hdcp_gsc.c212 const size_t max_msg_size = PAGE_SIZE - HDCP_GSC_HEADER_SIZE; in intel_hdcp_gsc_msg_send() local
219 if (msg_in_len > max_msg_size || msg_out_len > max_msg_size) { in intel_hdcp_gsc_msg_send()
/linux/drivers/gpu/drm/i915/pxp/
H A Dintel_pxp_gsccs.c64 size_t max_msg_size; in gsccs_send_message() local
71 max_msg_size = PXP43_MAX_HECI_INOUT_SIZE - sizeof(*header); in gsccs_send_message()
73 if (msg_in_size > max_msg_size || msg_out_size_max > max_msg_size) in gsccs_send_message()
H A Dintel_pxp_tee.c114 const size_t max_msg_size = PAGE_SIZE; in intel_pxp_tee_stream_message() local
121 if (msg_in_len > max_msg_size || msg_out_len > max_msg_size) in intel_pxp_tee_stream_message()
/linux/drivers/net/ethernet/microsoft/mana/
H A Dhw_channel.c419 u32 max_msg_size, in mana_hwc_alloc_dma_buf() argument
438 buf_size = MANA_PAGE_ALIGN(q_depth * max_msg_size); in mana_hwc_alloc_dma_buf()
453 hwc_wr->buf_va = virt_addr + i * max_msg_size; in mana_hwc_alloc_dma_buf()
454 hwc_wr->buf_sge_addr = base_pa + i * max_msg_size; in mana_hwc_alloc_dma_buf()
456 hwc_wr->buf_len = max_msg_size; in mana_hwc_alloc_dma_buf()
491 u32 max_msg_size, struct hwc_cq *hwc_cq, in mana_hwc_create_wq() argument
522 err = mana_hwc_alloc_dma_buf(hwc, q_depth, max_msg_size, in mana_hwc_create_wq()
/linux/net/strparser/
H A Dstrparser.c91 size_t max_msg_size, long timeo) in __strp_recv() argument
235 } else if (len > max_msg_size) { in __strp_recv()
319 size_t max_msg_size, long timeo) in strp_process() argument
326 max_msg_size, timeo); in strp_process()
/linux/drivers/firmware/arm_scmi/
H A Draw_mode.c58 * |-- max_msg_size
541 if (tx_size > raw->desc->max_msg_size) in scmi_xfer_raw_get_init()
558 xfer->rx.len = raw->desc->max_msg_size; in scmi_xfer_raw_get_init()
560 memset(xfer->tx.buf, 0x00, raw->desc->max_msg_size); in scmi_xfer_raw_get_init()
900 rd->rx.len = raw->desc->max_msg_size + sizeof(u32); in scmi_dbg_raw_mode_open()
907 rd->tx.len = raw->desc->max_msg_size + sizeof(u32); in scmi_dbg_raw_mode_open()
1044 rb->max_len = raw->desc->max_msg_size + sizeof(u32); in scmi_raw_queue_init()
1432 xfer.rx.len = raw->desc->max_msg_size; in scmi_raw_error_report()
H A Dshmem.c226 if (cinfo->max_msg_size + SCMI_SHMEM_LAYOUT_OVERHEAD > size) { in shmem_setup_iomap()
H A Dpinctrl.c476 int max_msg_size = ph->hops->get_max_msg_size(ph); in scmi_pinctrl_settings_conf() local
485 configs_in_chunk = (max_msg_size - sizeof(*tx)) / (sizeof(__le32) * 2); in scmi_pinctrl_settings_conf()
/linux/drivers/vfio/pci/mlx5/
H A Dcmd.c897 ilog2(tracker->host_qp->max_msg_size)); in mlx5vf_create_tracker()
1259 data->byte_count = cpu_to_be32(qp->max_msg_size); in mlx5vf_post_recv()
1296 recv_buf->next_rq_offset += qp->max_msg_size; in mlx5vf_activate_qp()
1521 u32 max_msg_size; in mlx5vf_start_page_tracker() local
1539 max_msg_size = (1ULL << log_max_msg_size); in mlx5vf_start_page_tracker()
1541 if (rq_size < 4 * max_msg_size) in mlx5vf_start_page_tracker()
1542 rq_size = 4 * max_msg_size; in mlx5vf_start_page_tracker()
1555 max_recv_wr = DIV_ROUND_UP_ULL(rq_size, max_msg_size); in mlx5vf_start_page_tracker()
1566 host_qp->max_msg_size = max_msg_size; in mlx5vf_start_page_tracker()
1644 buf_offset = index * qp->max_msg_size; in set_report_output()
[all …]
H A Dcmd.h146 u32 max_msg_size; member
/linux/drivers/net/wireless/ath/ath6kl/
H A Dhtc_pipe.c1227 unsigned int max_msg_size = 0; in ath6kl_htc_pipe_conn_service() local
1243 max_msg_size = HTC_MAX_CTRL_MSG_LEN; in ath6kl_htc_pipe_conn_service()
1335 max_msg_size = le16_to_cpu(resp_msg->max_msg_sz); in ath6kl_htc_pipe_conn_service()
1346 if (max_msg_size == 0) { in ath6kl_htc_pipe_conn_service()
1361 conn_resp->len_max = max_msg_size; in ath6kl_htc_pipe_conn_service()
1366 ep->len_max = max_msg_size; in ath6kl_htc_pipe_conn_service()
1369 ep->cred_dist.cred_per_msg = max_msg_size / target->tgt_cred_sz; in ath6kl_htc_pipe_conn_service()
1370 if (max_msg_size % target->tgt_cred_sz) in ath6kl_htc_pipe_conn_service()
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtc.c1024 unsigned int max_msg_size = 0; in ath10k_htc_connect_service() local
1035 max_msg_size = ATH10K_HTC_MAX_CTRL_MSG_LEN; in ath10k_htc_connect_service()
1118 max_msg_size = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service()
1125 if (max_msg_size == 0) in ath10k_htc_connect_service()
1136 conn_resp->max_msg_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service()
1141 ep->max_ep_message_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service()
H A Dhtc.h181 __le16 max_msg_size; member
/linux/drivers/net/wireless/ath/ath12k/
H A Dhtc.c568 unsigned int max_msg_size = 0; in ath12k_htc_connect_service() local
579 max_msg_size = ATH12K_HTC_MAX_CTRL_MSG_LEN; in ath12k_htc_connect_service()
667 max_msg_size = le32_get_bits(resp_msg->flags_len, in ath12k_htc_connect_service()
675 if (max_msg_size == 0) in ath12k_htc_connect_service()
/linux/drivers/net/wireless/ath/ath11k/
H A Dhtc.c607 unsigned int max_msg_size = 0; in ath11k_htc_connect_service() local
618 max_msg_size = ATH11K_HTC_MAX_CTRL_MSG_LEN; in ath11k_htc_connect_service()
712 max_msg_size = FIELD_GET(HTC_SVC_RESP_MSG_MAXMSGSIZE, in ath11k_htc_connect_service()
720 if (max_msg_size == 0) in ath11k_htc_connect_service()
/linux/include/net/
H A Dstrparser.h170 size_t max_msg_size, long timeo);
/linux/Documentation/ABI/testing/
H A Ddebugfs-scmi46 What: /sys/kernel/debug/scmi/<n>/transport/max_msg_size
/linux/tools/testing/vsock/
H A Dvsock_test.c353 size_t max_msg_size; in test_seqpacket_msg_bounds_client() local
369 max_msg_size = MAX_MSG_PAGES * page_size; in test_seqpacket_msg_bounds_client()
370 msg_count = SOCK_BUF_SIZE / max_msg_size; in test_seqpacket_msg_bounds_client()
380 (rand() % (max_msg_size - page_size)); in test_seqpacket_msg_bounds_client()
/linux/drivers/s390/crypto/
H A Dap_card.c194 static DEVICE_ATTR_RO(max_msg_size);
/linux/Documentation/networking/
H A Dstrparser.rst86 size_t max_msg_size, long timeo)
91 consume the sk_buff. max_msg_size is maximum size the stream

12