| /drivers/mailbox/ |
| A D | mailbox-mchp-ipc-sbi.c | 66 u16 max_msg_size; member 154 request.size = chan_info->max_msg_size; in mchp_ipc_prepare_receive_req() 299 chan_info->max_msg_size = ch_init_msg.max_msg_size; in mchp_ipc_startup() 301 chan_info->msg_buf_tx = kmalloc(chan_info->max_msg_size, GFP_KERNEL); in mchp_ipc_startup() 309 chan_info->msg_buf_rx = kmalloc(chan_info->max_msg_size, GFP_KERNEL); in mchp_ipc_startup()
|
| /drivers/gpu/drm/xe/display/ |
| A D | xe_hdcp_gsc.c | 163 const size_t max_msg_size = PAGE_SIZE - HDCP_GSC_HEADER_SIZE; in intel_hdcp_gsc_msg_send() local 169 if (msg_in_len > max_msg_size || msg_out_len > max_msg_size) { in intel_hdcp_gsc_msg_send()
|
| /drivers/base/regmap/ |
| A D | regmap-spi.c | 116 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()
|
| /drivers/firmware/arm_scmi/vendors/imx/ |
| A D | imx-sm-misc.c | 208 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()
|
| /drivers/gpu/drm/i915/display/ |
| A D | intel_hdcp_gsc.c | 178 const size_t max_msg_size = PAGE_SIZE - sizeof(*header_in); in intel_hdcp_gsc_msg_send() local 186 if (msg_in_len > max_msg_size || msg_out_len > max_msg_size) in intel_hdcp_gsc_msg_send()
|
| /drivers/gpu/drm/i915/pxp/ |
| A D | intel_pxp_gsccs.c | 64 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()
|
| A D | intel_pxp_tee.c | 114 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()
|
| /drivers/net/ethernet/microsoft/mana/ |
| A D | hw_channel.c | 439 u32 max_msg_size, in mana_hwc_alloc_dma_buf() argument 458 buf_size = MANA_PAGE_ALIGN(q_depth * max_msg_size); in mana_hwc_alloc_dma_buf() 474 hwc_wr->buf_va = virt_addr + i * max_msg_size; in mana_hwc_alloc_dma_buf() 475 hwc_wr->buf_sge_addr = base_pa + i * max_msg_size; in mana_hwc_alloc_dma_buf() 477 hwc_wr->buf_len = max_msg_size; in mana_hwc_alloc_dma_buf() 512 u32 max_msg_size, struct hwc_cq *hwc_cq, in mana_hwc_create_wq() argument 543 err = mana_hwc_alloc_dma_buf(hwc, q_depth, max_msg_size, in mana_hwc_create_wq()
|
| /drivers/vfio/pci/mlx5/ |
| A D | cmd.c | 955 ilog2(tracker->host_qp->max_msg_size)); in mlx5vf_create_tracker() 1317 data->byte_count = cpu_to_be32(qp->max_msg_size); in mlx5vf_post_recv() 1354 recv_buf->next_rq_offset += qp->max_msg_size; in mlx5vf_activate_qp() 1506 u32 max_msg_size; in mlx5vf_start_page_tracker() local 1524 max_msg_size = (1ULL << log_max_msg_size); in mlx5vf_start_page_tracker() 1526 if (rq_size < 4ULL * max_msg_size) in mlx5vf_start_page_tracker() 1527 rq_size = 4ULL * max_msg_size; in mlx5vf_start_page_tracker() 1551 host_qp->max_msg_size = max_msg_size; in mlx5vf_start_page_tracker() 1629 buf_offset = index * qp->max_msg_size; in set_report_output() 1631 (nent > qp->max_msg_size / entry_size))) in set_report_output() [all …]
|
| A D | cmd.h | 144 u32 max_msg_size; member
|
| /drivers/firmware/arm_scmi/ |
| A D | raw_mode.c | 542 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()
|
| A D | driver.c | 1164 xfer->rx.len = info->desc->max_msg_size; in scmi_handle_response() 1495 xfer->rx.len = info->desc->max_msg_size; in reset_rx_to_maxsz() 1581 if (rx_size > info->desc->max_msg_size || in xfer_get_init() 1582 tx_size > info->desc->max_msg_size) in xfer_get_init() 1602 xfer->rx.len = rx_size ? : info->desc->max_msg_size; in xfer_get_init() 1745 return info->desc->max_msg_size; in scmi_common_get_max_msg_size() 2612 xfer->rx.buf = devm_kcalloc(dev, sizeof(u8), desc->max_msg_size, in __scmi_xfer_info_init() 2696 cinfo->max_msg_size = info->desc->max_msg_size; in scmi_chan_setup() 3020 (u32 *)&info->desc->max_msg_size); in scmi_debugfs_common_setup() 3106 &trans->desc.max_msg_size); in scmi_transport_setup() [all …]
|
| A D | common.h | 183 unsigned int max_msg_size; member 255 int max_msg_size; member
|
| A D | shmem.c | 226 if (cinfo->max_msg_size + SCMI_SHMEM_LAYOUT_OVERHEAD > size) { in shmem_setup_iomap()
|
| /drivers/net/wireless/ath/ath6kl/ |
| A D | htc_pipe.c | 1227 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()
|
| /drivers/net/wireless/ath/ath10k/ |
| A D | htc.c | 1027 unsigned int max_msg_size = 0; in ath10k_htc_connect_service() local 1038 max_msg_size = ATH10K_HTC_MAX_CTRL_MSG_LEN; in ath10k_htc_connect_service() 1121 max_msg_size = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service() 1128 if (max_msg_size == 0) in ath10k_htc_connect_service() 1139 conn_resp->max_msg_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service() 1144 ep->max_ep_message_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service()
|
| A D | htc.h | 181 __le16 max_msg_size; member
|
| /drivers/net/wireless/ath/ath12k/ |
| A D | htc.c | 568 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()
|
| /drivers/net/wireless/ath/ath11k/ |
| A D | htc.c | 607 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()
|
| /drivers/gpu/drm/xe/ |
| A D | xe_pxp_submit.c | 404 const size_t max_msg_size = gsc_res->inout_size - sizeof(struct intel_gsc_mtl_header); in gsccs_send_message() local 412 if (msg_in_size > max_msg_size || msg_out_size_max > max_msg_size) in gsccs_send_message()
|
| /drivers/firmware/arm_scmi/transports/ |
| A D | virtio.c | 36 ((ci)->max_msg_size + SCMI_MSG_MAX_PROT_OVERHEAD) 799 .max_msg_size = VIRTIO_SCMI_MAX_MSG_SIZE,
|
| A D | smc.c | 285 .max_msg_size = SCMI_SHMEM_MAX_PAYLOAD_SIZE,
|
| A D | mailbox.c | 374 .max_msg_size = SCMI_SHMEM_MAX_PAYLOAD_SIZE,
|
| /drivers/firmware/ |
| A D | ti_sci.c | 87 int max_msg_size; member 259 if (mbox_msg->len > info->desc->max_msg_size) { in ti_sci_rx_callback() 261 mbox_msg->len, info->desc->max_msg_size); in ti_sci_rx_callback() 310 if (rx_message_size > info->desc->max_msg_size || in ti_sci_get_one_xfer() 311 tx_message_size > info->desc->max_msg_size || in ti_sci_get_one_xfer() 3757 .max_msg_size = 64, 3767 .max_msg_size = 60, 3837 xfer->xfer_buf = devm_kcalloc(dev, 1, desc->max_msg_size, in ti_sci_probe()
|
| /drivers/s390/crypto/ |
| A D | ap_card.c | 194 static DEVICE_ATTR_RO(max_msg_size);
|