| /linux-6.15/drivers/firmware/efi/stmm/ |
| H A D | tee_stmm_efi.c | 20 static size_t max_payload_size; /* func + data */ variable 257 if (payload_size > max_payload_size) in get_property_int() 305 if (name_size > max_payload_size - MM_VARIABLE_ACCESS_HEADER_SIZE) in tee_get_variable() 311 max_payload_size - MM_VARIABLE_ACCESS_HEADER_SIZE) { in tee_get_variable() 312 tmp_dsize = max_payload_size - MM_VARIABLE_ACCESS_HEADER_SIZE - in tee_get_variable() 373 if (in_name_size > max_payload_size - MM_VARIABLE_GET_NEXT_HEADER_SIZE) in tee_get_next_variable() 377 if (out_name_size > max_payload_size - MM_VARIABLE_GET_NEXT_HEADER_SIZE) in tee_get_next_variable() 379 max_payload_size - MM_VARIABLE_GET_NEXT_HEADER_SIZE; in tee_get_next_variable() 431 if (payload_size > max_payload_size) in tee_set_variable() 559 ret = get_max_payload(&max_payload_size); in tee_stmm_efi_probe() [all …]
|
| /linux-6.15/sound/soc/sof/ |
| H A D | ipc.c | 78 if (msg_bytes > ipc->max_payload_size || in sof_ipc_tx_message() 79 reply_bytes > ipc->max_payload_size) in sof_ipc_tx_message() 103 if (msg_bytes > ipc->max_payload_size || in sof_ipc_tx_message_no_pm() 104 reply_bytes > ipc->max_payload_size) in sof_ipc_tx_message_no_pm()
|
| H A D | ipc4.c | 351 if (msg_bytes > ipc->max_payload_size || reply_bytes > ipc->max_payload_size) in ipc4_tx_msg_unlocked() 417 size_t payload_limit = sdev->ipc->max_payload_size; in sof_ipc4_set_get_data() 540 sdev->ipc->max_payload_size = SOF_IPC4_MSG_MAX_SIZE; in sof_ipc4_init_msg_memory() 543 msg->reply_data = devm_kzalloc(sdev->dev, sdev->ipc->max_payload_size + in sof_ipc4_init_msg_memory()
|
| H A D | ipc3.c | 436 if (cdata->rhdr.hdr.size <= ipc->max_payload_size) in sof_ipc3_set_get_data() 440 cdata_chunk = kzalloc(ipc->max_payload_size, GFP_KERNEL); in sof_ipc3_set_get_data() 473 payload_size = ipc->max_payload_size - hdr_bytes; in sof_ipc3_set_get_data() 773 sdev->ipc->max_payload_size = SOF_IPC_MSG_MAX_SIZE; in ipc3_init_reply_data_buffer()
|
| H A D | ipc4-loader.c | 446 msg.data_size = sdev->ipc->max_payload_size; in sof_ipc4_query_fw_configuration() 512 msg.data_size = sdev->ipc->max_payload_size; in sof_ipc4_query_fw_configuration()
|
| H A D | compress.c | 195 if (sizeof(*pcm) + ext_data_size > sdev->ipc->max_payload_size) in sof_compr_set_params()
|
| H A D | sof-client.c | 429 return sdev->ipc->max_payload_size; in sof_client_get_ipc_max_payload_size()
|
| H A D | sof-priv.h | 532 size_t max_payload_size; member
|
| /linux-6.15/drivers/usb/gadget/function/ |
| H A D | uvc_video.c | 108 len = min_t(int, video->max_payload_size - video->payload_size, len); in uvc_video_encode_bulk() 115 req->zero = video->payload_size == video->max_payload_size; in uvc_video_encode_bulk() 127 if (video->payload_size == video->max_payload_size || in uvc_video_encode_bulk() 284 bool is_bulk = video->max_payload_size; in uvcg_video_usb_req_queue() 424 bool is_bulk = video->max_payload_size; in uvcg_video_hw_submit() 613 bool is_bulk = video->max_payload_size; in uvcg_video_pump() 786 if (video->max_payload_size) { in uvcg_video_enable()
|
| H A D | uvc.h | 139 __u32 max_payload_size; member
|
| /linux-6.15/drivers/scsi/fnic/ |
| H A D | fnic_fdls.h | 204 uint16_t max_payload_size; member 305 uint16_t max_payload_size; member
|
| H A D | fnic_main.c | 641 fc_host_maxframe_size(fnic->host) = iport->max_payload_size; in fnic_scsi_drv_init() 1001 iport->max_payload_size = fnic->config.maxdatafieldsize; in fnic_probe() 1003 if ((iport->max_payload_size < FNIC_MIN_DATA_FIELD_SIZE) || in fnic_probe() 1004 (iport->max_payload_size > FNIC_FC_MAX_PAYLOAD_LEN) || in fnic_probe() 1005 ((iport->max_payload_size % 4) != 0)) { in fnic_probe() 1006 iport->max_payload_size = FNIC_FC_MAX_PAYLOAD_LEN; in fnic_probe()
|
| H A D | fdls_disc.c | 1751 tport->max_payload_size = FNIC_FCOE_MAX_FRAME_SZ; in fdls_create_tport() 2551 uint16_t max_payload_size; in fdls_process_tgt_plogi_rsp() local 2644 tport->max_payload_size = in fdls_process_tgt_plogi_rsp() 2645 min(max_payload_size, iport->max_payload_size); in fdls_process_tgt_plogi_rsp() 2650 tport->max_payload_size); in fdls_process_tgt_plogi_rsp() 2651 tport->max_payload_size = FNIC_MIN_DATA_FIELD_SIZE; in fdls_process_tgt_plogi_rsp() 2656 max_payload_size, iport->max_payload_size, in fdls_process_tgt_plogi_rsp() 2657 tport->max_payload_size); in fdls_process_tgt_plogi_rsp() 3443 iport->max_payload_size = min(rdf_size, in fdls_process_flogi_rsp() 3444 iport->max_payload_size); in fdls_process_flogi_rsp() [all …]
|
| H A D | fnic_scsi.c | 445 tport->max_payload_size, in fnic_queue_wq_copy_desc()
|
| /linux-6.15/arch/um/drivers/ |
| H A D | virtio_uml.c | 129 size_t max_payload_size, bool wait) in vhost_user_recv() argument 154 if (size > max_payload_size) in vhost_user_recv() 177 size_t max_payload_size) in vhost_user_recv_resp() argument 180 max_payload_size, true); in vhost_user_recv_resp() 210 size_t max_payload_size) in vhost_user_recv_req() argument 213 max_payload_size, false); in vhost_user_recv_req()
|
| /linux-6.15/drivers/s390/crypto/ |
| H A D | zcrypt_msgtype6.c | 1106 unsigned int max_payload_size; in zcrypt_msgtype6_send_cprb() local 1110 max_payload_size = zq->reply.bufsize - sizeof(struct type86_fmt2_msg); in zcrypt_msgtype6_send_cprb() 1113 msg->hdr.fromcardlen1 = min(msg->hdr.fromcardlen1, max_payload_size); in zcrypt_msgtype6_send_cprb() 1114 msg->hdr.fromcardlen2 = min(msg->hdr.fromcardlen2, max_payload_size); in zcrypt_msgtype6_send_cprb() 1118 - max_payload_size; in zcrypt_msgtype6_send_cprb()
|
| /linux-6.15/fs/fuse/ |
| H A D | dev_uring.c | 214 size_t max_payload_size; in fuse_uring_create() local 225 max_payload_size = max(FUSE_MIN_READ_BUFFER, fc->max_write); in fuse_uring_create() 226 max_payload_size = max(max_payload_size, fc->max_pages * PAGE_SIZE); in fuse_uring_create() 240 ring->max_payload_sz = max_payload_size; in fuse_uring_create()
|
| /linux-6.15/drivers/pci/controller/dwc/ |
| H A D | pci-meson.c | 269 int max_payload_size = meson_size_to_payload(mp, size); in meson_set_max_payload() local 276 val |= PCIE_CAP_MAX_PAYLOAD_SIZE(max_payload_size); in meson_set_max_payload()
|
| /linux-6.15/drivers/media/usb/uvc/ |
| H A D | uvc_video.c | 1397 nbytes = min(stream->bulk.max_payload_size - stream->bulk.payload_size, in uvc_video_encode_data() 1633 stream->bulk.payload_size >= stream->bulk.max_payload_size) { in uvc_video_decode_bulk() 1677 stream->bulk.payload_size == stream->bulk.max_payload_size) { in uvc_video_encode_bulk() 1983 stream->bulk.max_payload_size = size; in uvc_init_video_bulk()
|
| H A D | uvcvideo.h | 491 u32 max_payload_size; member
|
| /linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
| H A D | r535.c | 957 const u32 max_payload_size = max_rpc_size - sizeof(*rpc); in r535_gsp_rpc_push() local 962 if (payload_size > max_payload_size) { in r535_gsp_rpc_push() 967 rpc->length = sizeof(*rpc) + max_payload_size; in r535_gsp_rpc_push() 974 payload += max_payload_size; in r535_gsp_rpc_push() 975 remain_payload_size -= max_payload_size; in r535_gsp_rpc_push() 980 max_payload_size); in r535_gsp_rpc_push()
|
| /linux-6.15/include/linux/mlx5/ |
| H A D | mlx5_ifc.h | 10263 u8 max_payload_size[0x4]; member
|