Home
last modified time | relevance | path

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

/linux/sound/soc/sof/
H A Dsof-client-ipc-msg-injector.c26 size_t max_msg_size; member
139 priv->max_msg_size); in sof_msg_inject_send_message()
162 size = simple_write_to_buffer(priv->tx_buffer, priv->max_msg_size, in sof_msg_inject_dfs_write()
169 memset(priv->rx_buffer, 0, priv->max_msg_size); in sof_msg_inject_dfs_write()
202 if (data_size > priv->max_msg_size) in sof_msg_inject_ipc4_dfs_write()
215 ipc4_msg->data_size = priv->max_msg_size; in sof_msg_inject_ipc4_dfs_write()
216 memset(ipc4_msg->data_ptr, 0, priv->max_msg_size); in sof_msg_inject_ipc4_dfs_write()
270 priv->max_msg_size = sof_client_get_ipc_max_payload_size(cdev); in sof_msg_inject_probe()
271 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()
106 priv->max_msg_size = sof_client_get_ipc_max_payload_size(cdev); in sof_msg_inject_probe()
107 alloc_size = priv->max_msg_size; in sof_msg_inject_probe()
/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/gpu/drm/xe/display/
H A Dxe_hdcp_gsc.c164 const size_t max_msg_size = PAGE_SIZE - HDCP_GSC_HEADER_SIZE; in intel_hdcp_gsc_msg_send() local
170 if (msg_in_len > max_msg_size || msg_out_len > max_msg_size) in intel_hdcp_gsc_msg_send()
/linux/drivers/gpu/drm/i915/
H A Di915_hdcp_gsc.c179 const size_t max_msg_size = PAGE_SIZE - sizeof(*header_in); in intel_hdcp_gsc_msg_send() local
187 if (msg_in_len > max_msg_size || msg_out_len > max_msg_size) in intel_hdcp_gsc_msg_send()
/linux/net/strparser/
H A Dstrparser.c99 size_t max_msg_size, long timeo) in __strp_recv()
243 } else if (len > max_msg_size) { in __strp_recv()
327 size_t max_msg_size, long timeo) in strp_process()
334 max_msg_size, timeo); in strp_recv()
91 __strp_recv(read_descriptor_t * desc,struct sk_buff * orig_skb,unsigned int orig_offset,size_t orig_len,size_t max_msg_size,long timeo) __strp_recv() argument
319 strp_process(struct strparser * strp,struct sk_buff * orig_skb,unsigned int orig_offset,size_t orig_len,size_t max_msg_size,long timeo) strp_process() argument
/linux/drivers/gpu/drm/i915/pxp/
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.c460 u32 max_msg_size, in mana_hwc_alloc_dma_buf() argument
479 buf_size = MANA_PAGE_ALIGN(q_depth * max_msg_size); in mana_hwc_alloc_dma_buf()
495 hwc_wr->buf_va = virt_addr + i * max_msg_size; in mana_hwc_alloc_dma_buf()
496 hwc_wr->buf_sge_addr = base_pa + i * max_msg_size; in mana_hwc_alloc_dma_buf()
498 hwc_wr->buf_len = max_msg_size; in mana_hwc_alloc_dma_buf()
533 u32 max_msg_size, struct hwc_cq *hwc_cq, in mana_hwc_create_wq() argument
564 err = mana_hwc_alloc_dma_buf(hwc, q_depth, max_msg_size, in mana_hwc_create_wq()
/linux/drivers/firmware/arm_scmi/
H A Draw_mode.c542 if (tx_size > raw->desc->max_msg_size) in scmi_xfer_raw_get_init()
559 xfer->rx.len = raw->desc->max_msg_size; in scmi_xfer_raw_get_init()
561 memset(xfer->tx.buf, 0x00, raw->desc->max_msg_size); in scmi_xfer_raw_get_init()
915 rd->rx.len = raw->desc->max_msg_size + sizeof(u32); in scmi_dbg_raw_mode_open()
922 rd->tx.len = raw->desc->max_msg_size + sizeof(u32); in scmi_dbg_raw_mode_open()
1094 rb->max_len = raw->desc->max_msg_size + sizeof(u32); in scmi_raw_queue_init()
1496 xfer.rx.len = raw->desc->max_msg_size; in scmi_raw_error_report()
/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/include/net/
H A Dstrparser.h168 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/drivers/s390/crypto/
H A Dap_card.c193 static DEVICE_ATTR_RO(max_msg_size);
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtc.h181 __le16 max_msg_size; member
/linux/tools/testing/vsock/
H A Dvsock_test.c389 size_t max_msg_size; in test_seqpacket_msg_bounds_client()
415 max_msg_size = MAX_MSG_PAGES * page_size; in test_seqpacket_msg_bounds_client()
416 msg_count = SOCK_BUF_SIZE / max_msg_size; in test_seqpacket_msg_bounds_client()
426 (rand() % (max_msg_size - page_size)); in test_seqpacket_msg_bounds_client()
357 size_t max_msg_size; test_seqpacket_msg_bounds_client() local
/linux/include/linux/raspberrypi/
H A Dvchiq_core.h501 unsigned int max_msg_size; member
/linux/include/linux/qed/
H A Dqed_rdma_if.h157 u64 max_msg_size; member
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_rdma.c527 port->max_msg_size = min_t(u64, in qed_rdma_init_port()
810 p_port->max_msg_size = RDMA_MAX_DATA_SIZE_IN_WQE; in qed_rdma_query_port()
/linux/drivers/platform/raspberrypi/vchiq-interface/
H A Dvchiq_core.c3712 config->max_msg_size = VCHIQ_MAX_MSG_SIZE; in vchiq_get_config()