/linux/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/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 | 376 if (msg_bytes > ipc->max_payload_size || reply_bytes > ipc->max_payload_size) in ipc4_tx_msg_unlocked() 442 size_t payload_limit = sdev->ipc->max_payload_size; in sof_ipc4_set_get_data() 565 sdev->ipc->max_payload_size = SOF_IPC4_MSG_MAX_SIZE; in sof_ipc4_init_msg_memory() 568 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 | 445 msg.data_size = sdev->ipc->max_payload_size; in sof_ipc4_query_fw_configuration() 517 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/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ |
H A D | rpc.c | 632 const u32 max_payload_size = max_rpc_size - sizeof(*rpc); in r535_gsp_rpc_push() local 637 if (payload_size > max_payload_size) { in r535_gsp_rpc_push() 643 next = r535_gsp_rpc_get(gsp, fn, max_payload_size); in r535_gsp_rpc_push() 649 memcpy(next, payload, max_payload_size); in r535_gsp_rpc_push() 655 payload += max_payload_size; in r535_gsp_rpc_push() 656 remain_payload_size -= max_payload_size; in r535_gsp_rpc_push() 661 max_payload_size); in r535_gsp_rpc_push()
|
/linux/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/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 | fdls_disc.c | 488 FNIC_LOGI_SET_RDF_SIZE(pplogi->els, iport->max_payload_size); in fdls_init_plogi_frame() 880 FNIC_LOGI_SET_RDF_SIZE(pflogi->els, iport->max_payload_size); in fdls_send_fabric_flogi() 1787 tport->max_payload_size = FNIC_FCOE_MAX_FRAME_SZ; in fdls_create_tport() 2608 uint16_t max_payload_size; in fdls_process_tgt_plogi_rsp() local 2700 max_payload_size = fnic_fc_plogi_rsp_rdf(iport, plogi_rsp); in fdls_process_tgt_plogi_rsp() 2701 tport->max_payload_size = in fdls_process_tgt_plogi_rsp() 2702 min(max_payload_size, iport->max_payload_size); in fdls_process_tgt_plogi_rsp() 2704 if (tport->max_payload_size < FNIC_MIN_DATA_FIELD_SIZE) { in fdls_process_tgt_plogi_rsp() 2707 tport->max_payload_size); in fdls_process_tgt_plogi_rsp() 2708 tport->max_payload_size = FNIC_MIN_DATA_FIELD_SIZE; in fdls_process_tgt_plogi_rsp() [all …]
|
H A D | fnic_scsi.c | 445 tport->max_payload_size, in fnic_queue_wq_copy_desc()
|
/linux/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/drivers/s390/crypto/ |
H A D | zcrypt_msgtype6.c | 1088 unsigned int max_payload_size; in zcrypt_msgtype6_send_cprb() local 1092 max_payload_size = zq->reply.bufsize - sizeof(struct type86_fmt2_msg); in zcrypt_msgtype6_send_cprb() 1095 msg->hdr.fromcardlen1 = min(msg->hdr.fromcardlen1, max_payload_size); in zcrypt_msgtype6_send_cprb() 1096 msg->hdr.fromcardlen2 = min(msg->hdr.fromcardlen2, max_payload_size); in zcrypt_msgtype6_send_cprb() 1100 - max_payload_size; in zcrypt_msgtype6_send_cprb()
|
/linux/fs/fuse/ |
H A D | dev_uring.c | 230 size_t max_payload_size; in fuse_uring_create() local 241 max_payload_size = max(FUSE_MIN_READ_BUFFER, fc->max_write); in fuse_uring_create() 242 max_payload_size = max(max_payload_size, fc->max_pages * PAGE_SIZE); in fuse_uring_create() 256 ring->max_payload_sz = max_payload_size; in fuse_uring_create()
|
/linux/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/drivers/media/usb/uvc/ |
H A D | uvc_video.c | 1392 nbytes = min(stream->bulk.max_payload_size - stream->bulk.payload_size, in uvc_video_encode_data() 1628 stream->bulk.payload_size >= stream->bulk.max_payload_size) { in uvc_video_decode_bulk() 1672 stream->bulk.payload_size == stream->bulk.max_payload_size) { in uvc_video_encode_bulk() 1958 stream->bulk.max_payload_size = size; in uvc_init_video_bulk()
|
H A D | uvcvideo.h | 497 u32 max_payload_size; member
|
/linux/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 10292 u8 max_payload_size[0x4]; member
|