Home
last modified time | relevance | path

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

12

/linux-6.1.9/sound/soc/sof/
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()
Dsof-client-probes.c137 size_t max_msg_size = sof_client_get_ipc_max_payload_size(cdev); in sof_probes_info() local
146 reply = kzalloc(max_msg_size, GFP_KERNEL); in sof_probes_info()
152 ret = sof_client_ipc_tx_message(cdev, &msg, reply, max_msg_size); in sof_probes_info()
/linux-6.1.9/drivers/base/regmap/
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()
127 if (max_size + reg_reserve_size > max_msg_size) in regmap_get_spi_bus()
/linux-6.1.9/net/strparser/
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-6.1.9/drivers/net/ethernet/microsoft/mana/
Dhw_channel.c393 u32 max_msg_size, in mana_hwc_alloc_dma_buf() argument
412 buf_size = PAGE_ALIGN(q_depth * max_msg_size); in mana_hwc_alloc_dma_buf()
427 hwc_wr->buf_va = virt_addr + i * max_msg_size; in mana_hwc_alloc_dma_buf()
428 hwc_wr->buf_sge_addr = base_pa + i * max_msg_size; in mana_hwc_alloc_dma_buf()
430 hwc_wr->buf_len = max_msg_size; in mana_hwc_alloc_dma_buf()
465 u32 max_msg_size, struct hwc_cq *hwc_cq, in mana_hwc_create_wq() argument
496 err = mana_hwc_alloc_dma_buf(hwc, q_depth, max_msg_size, in mana_hwc_create_wq()
/linux-6.1.9/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c1228 unsigned int max_msg_size = 0; in ath6kl_htc_pipe_conn_service() local
1244 max_msg_size = HTC_MAX_CTRL_MSG_LEN; in ath6kl_htc_pipe_conn_service()
1336 max_msg_size = le16_to_cpu(resp_msg->max_msg_sz); in ath6kl_htc_pipe_conn_service()
1347 if (max_msg_size == 0) { in ath6kl_htc_pipe_conn_service()
1362 conn_resp->len_max = max_msg_size; in ath6kl_htc_pipe_conn_service()
1367 ep->len_max = max_msg_size; in ath6kl_htc_pipe_conn_service()
1370 ep->cred_dist.cred_per_msg = max_msg_size / target->tgt_cred_sz; in ath6kl_htc_pipe_conn_service()
1371 if (max_msg_size % target->tgt_cred_sz) in ath6kl_htc_pipe_conn_service()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dhtc.c1023 unsigned int max_msg_size = 0; in ath10k_htc_connect_service() local
1034 max_msg_size = ATH10K_HTC_MAX_CTRL_MSG_LEN; in ath10k_htc_connect_service()
1117 max_msg_size = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service()
1124 if (max_msg_size == 0) in ath10k_htc_connect_service()
1135 conn_resp->max_msg_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service()
1140 ep->max_ep_message_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service()
Dhtc.h181 __le16 max_msg_size; member
/linux-6.1.9/drivers/vfio/pci/mlx5/
Dcmd.c518 ilog2(tracker->host_qp->max_msg_size)); in mlx5vf_create_tracker()
849 data->byte_count = cpu_to_be32(qp->max_msg_size); in mlx5vf_post_recv()
886 recv_buf->next_rq_offset += qp->max_msg_size; in mlx5vf_activate_qp()
1109 u32 max_msg_size = PAGE_SIZE; in mlx5vf_start_page_tracker() local
1137 max_recv_wr = DIV_ROUND_UP_ULL(rq_size, max_msg_size); in mlx5vf_start_page_tracker()
1148 host_qp->max_msg_size = max_msg_size; in mlx5vf_start_page_tracker()
1221 (nent > qp->max_msg_size / entry_size))) in set_report_output()
1253 qp->recv_buf.next_rq_offset = ix * qp->max_msg_size; in mlx5vf_rq_cqe()
Dcmd.h71 u32 max_msg_size; member
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dhtc.c598 unsigned int max_msg_size = 0; in ath11k_htc_connect_service() local
609 max_msg_size = ATH11K_HTC_MAX_CTRL_MSG_LEN; in ath11k_htc_connect_service()
703 max_msg_size = FIELD_GET(HTC_SVC_RESP_MSG_MAXMSGSIZE, in ath11k_htc_connect_service()
711 if (max_msg_size == 0) in ath11k_htc_connect_service()
/linux-6.1.9/include/net/
Dstrparser.h168 size_t max_msg_size, long timeo);
/linux-6.1.9/drivers/firmware/arm_scmi/
Dmailbox.c204 .max_msg_size = 128,
Dsmc.c233 .max_msg_size = 128,
Ddriver.c667 info->desc->ops->fetch_notification(cinfo, info->desc->max_msg_size, in scmi_handle_notification()
701 xfer->rx.len = info->desc->max_msg_size; in scmi_handle_response()
952 xfer->rx.len = info->desc->max_msg_size; in reset_rx_to_maxsz()
1040 if (rx_size > info->desc->max_msg_size || in xfer_get_init()
1041 tx_size > info->desc->max_msg_size) in xfer_get_init()
1052 xfer->rx.len = rx_size ? : info->desc->max_msg_size; in xfer_get_init()
1930 xfer->rx.buf = devm_kcalloc(dev, sizeof(u8), desc->max_msg_size, in __scmi_xfer_info_init()
Dcommon.h212 int max_msg_size; member
Doptee.c643 .max_msg_size = SCMI_OPTEE_MAX_MSG_SIZE,
Dvirtio.c939 .max_msg_size = VIRTIO_SCMI_MAX_MSG_SIZE,
/linux-6.1.9/drivers/firmware/
Dti_sci.c80 int max_msg_size; member
268 if (mbox_msg->len > info->desc->max_msg_size) { in ti_sci_rx_callback()
270 mbox_msg->len, info->desc->max_msg_size); in ti_sci_rx_callback()
319 if (rx_message_size > info->desc->max_msg_size || in ti_sci_get_one_xfer()
320 tx_message_size > info->desc->max_msg_size || in ti_sci_get_one_xfer()
3321 .max_msg_size = 64,
3331 .max_msg_size = 60,
3412 xfer->xfer_buf = devm_kcalloc(dev, 1, desc->max_msg_size, in ti_sci_probe()
/linux-6.1.9/drivers/s390/crypto/
Dap_card.c195 static DEVICE_ATTR_RO(max_msg_size);
/linux-6.1.9/Documentation/networking/
Dstrparser.rst86 size_t max_msg_size, long timeo)
91 consume the sk_buff. max_msg_size is maximum size the stream
/linux-6.1.9/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.h435 unsigned int max_msg_size; member
Dvchiq_core.c3307 config->max_msg_size = VCHIQ_MAX_MSG_SIZE; in vchiq_get_config()
/linux-6.1.9/include/linux/qed/
Dqed_rdma_if.h157 u64 max_msg_size; member
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
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()

12