Home
last modified time | relevance | path

Searched refs:payload_size (Results 1 – 25 of 115) sorted by relevance

12345

/linux/drivers/staging/media/meson/vdec/
A Desparser.c191 u32 payload_size) in esparser_pad_start_code() argument
196 if (payload_size < ESPARSER_MIN_PACKET_SIZE) { in esparser_pad_start_code()
197 pad_size = ESPARSER_MIN_PACKET_SIZE - payload_size; in esparser_pad_start_code()
198 memset(vaddr + payload_size, 0, pad_size); in esparser_pad_start_code()
208 vaddr[payload_size + pad_size] = 0x00; in esparser_pad_start_code()
209 vaddr[payload_size + pad_size + 1] = 0x00; in esparser_pad_start_code()
210 vaddr[payload_size + pad_size + 2] = 0x01; in esparser_pad_start_code()
211 vaddr[payload_size + pad_size + 3] = 0xff; in esparser_pad_start_code()
298 u32 payload_size = vb2_get_plane_payload(vb, 0); in esparser_queue() local
340 payload_size = vp9_update_header(core, vb); in esparser_queue()
[all …]
/linux/sound/soc/qcom/qdsp6/
A Daudioreach.c228 cmd_header->payload_size = payload_size; in __audioreach_alloc_pkt()
632 int rc, payload_size; in audioreach_codec_dma_set_media_format() local
708 int rc, payload_size; in audioreach_i2s_set_media_format() local
716 payload_size = ic_sz + ep_sz + fs_sz; in audioreach_i2s_set_media_format()
780 int rc, payload_size; in audioreach_logging_set_media_format() local
818 int rc, payload_size; in audioreach_pcm_set_media_format() local
876 int rc, payload_size; in audioreach_shmem_set_media_format() local
904 header->payload_size = payload_size - sizeof(*header); in audioreach_shmem_set_media_format()
934 int rc, payload_size; in audioreach_gain_set_vol_ctrl() local
966 int rc, payload_size; in audioreach_gain_set() local
[all …]
A Daudioreach.h121 uint32_t payload_size; member
223 uint32_t payload_size; member
313 uint32_t payload_size; member
514 uint32_t payload_size; member
689 void *audioreach_alloc_cmd_pkt(int payload_size, uint32_t opcode,
694 void *audioreach_alloc_pkt(int payload_size, uint32_t opcode,
/linux/drivers/ps3/
A Dps3-sys-manager.c49 u32 payload_size; member
61 pr_debug("%s:%d: payload_size: %xh\n", func, line, h->payload_size); in _dump_sm_header()
237 BUG_ON(header->payload_size != 8 && header->payload_size != 16); in ps3_sys_manager_write()
244 result = ps3_vuart_write(dev, payload, header->payload_size); in ps3_sys_manager_write()
271 header.payload_size = 16; in ps3_sys_manager_send_attr()
308 header.payload_size = 16; in ps3_sys_manager_send_next_op()
350 header.payload_size = 16; in ps3_sys_manager_send_request_shutdown()
388 header.payload_size = 16; in ps3_sys_manager_send_response()
546 if (header.size != 16 || (header.payload_size != 8 in ps3_sys_manager_handle_msg()
547 && header.payload_size != 16)) { in ps3_sys_manager_handle_msg()
[all …]
/linux/drivers/gpu/drm/amd/display/modules/freesync/
A Dfreesync.c672 unsigned int *payload_size) in build_vrr_infopacket_header_v1() argument
689 *payload_size = 0x08; in build_vrr_infopacket_header_v1()
715 *payload_size = 0x1B; in build_vrr_infopacket_header_v1()
721 unsigned int *payload_size) in build_vrr_infopacket_header_v2() argument
738 *payload_size = 0x0A; in build_vrr_infopacket_header_v2()
764 *payload_size = 0x1B; in build_vrr_infopacket_header_v2()
770 unsigned int *payload_size) in build_vrr_infopacket_header_v3() argument
788 *payload_size = 0x10; in build_vrr_infopacket_header_v3()
816 *payload_size = 0x1B; in build_vrr_infopacket_header_v3()
847 unsigned int payload_size = 0; in build_vrr_infopacket_v1() local
[all …]
/linux/drivers/media/test-drivers/vidtv/
A Dvidtv_pes.c330 u32 payload_size; in vidtv_pes_write_into() local
375 payload_size = available_space; in vidtv_pes_write_into()
378 payload_size = remaining_len; in vidtv_pes_write_into()
379 stuff_bytes += available_space - payload_size; in vidtv_pes_write_into()
390 payload_size -= tmp; in vidtv_pes_write_into()
417 payload_size); in vidtv_pes_write_into()
419 args->from += payload_size; in vidtv_pes_write_into()
421 remaining_len -= payload_size; in vidtv_pes_write_into()
/linux/drivers/staging/greybus/
A Dlog.c31 if (op->request->payload_size < sizeof(*receive)) { in gb_log_request_handler()
33 op->request->payload_size, sizeof(*receive)); in gb_log_request_handler()
38 if (len != (op->request->payload_size - sizeof(*receive))) { in gb_log_request_handler()
40 (op->request->payload_size - sizeof(*receive))); in gb_log_request_handler()
A Dbootrom.c200 if (op->request->payload_size != sizeof(*size_request)) { in gb_bootrom_firmware_size_request()
202 __func__, op->request->payload_size, in gb_bootrom_firmware_size_request()
255 if (op->request->payload_size != sizeof(*firmware_request)) { in gb_bootrom_get_firmware()
257 __func__, op->request->payload_size, in gb_bootrom_get_firmware()
323 if (op->request->payload_size != sizeof(*rtb_request)) { in gb_bootrom_ready_to_boot()
325 __func__, op->request->payload_size, in gb_bootrom_ready_to_boot()
A Dfw-download.c231 if (op->request->payload_size != sizeof(*request)) { in fw_download_find_firmware()
234 op->request->payload_size, sizeof(*request)); in fw_download_find_firmware()
281 if (op->request->payload_size != sizeof(*request)) { in fw_download_fetch_firmware()
284 op->request->payload_size, sizeof(*request)); in fw_download_fetch_firmware()
360 if (op->request->payload_size != sizeof(*request)) { in fw_download_release_firmware()
363 op->request->payload_size, sizeof(*request)); in fw_download_release_firmware()
/linux/drivers/misc/
A Dgehc-achc.c216 const u8 *payload, size_t payload_size) in ezport_flash_transfer() argument
222 dev_dbg(&spi->dev, "EzPort write %zu bytes @ 0x%06x...\n", payload_size, address); in ezport_flash_transfer()
241 xfers[1].len = payload_size; in ezport_flash_transfer()
252 const u8 *payload, size_t payload_size) in ezport_flash_compare() argument
258 buffer = kmalloc(payload_size + 5, GFP_KERNEL | GFP_DMA); in ezport_flash_compare()
272 xfers[1].len = payload_size + 1; in ezport_flash_compare()
280 ret = memcmp(payload, buffer + 4 + 1, payload_size); in ezport_flash_compare()
284 print_hex_dump_bytes("fw: ", DUMP_PREFIX_OFFSET, payload, payload_size); in ezport_flash_compare()
285 print_hex_dump_bytes("dev: ", DUMP_PREFIX_OFFSET, buffer + 4, payload_size); in ezport_flash_compare()
/linux/drivers/usb/gadget/function/
A Duvc_video.c95 if (video->payload_size == 0) { in uvc_video_encode_bulk()
97 video->payload_size += ret; in uvc_video_encode_bulk()
103 len = min((int)(video->max_payload_size - video->payload_size), len); in uvc_video_encode_bulk()
106 video->payload_size += ret; in uvc_video_encode_bulk()
110 req->zero = video->payload_size == video->max_payload_size; in uvc_video_encode_bulk()
118 video->payload_size = 0; in uvc_video_encode_bulk()
121 if (video->payload_size == video->max_payload_size || in uvc_video_encode_bulk()
123 video->payload_size = 0; in uvc_video_encode_bulk()
465 video->payload_size = 0; in uvcg_video_enable()
/linux/drivers/net/ethernet/mellanox/mlxfw/
A Dmlxfw_mfa2_tlv.h29 size_t payload_size, bool varsize) in mlxfw_mfa2_tlv_payload_get() argument
39 if (varsize && (be16_to_cpu(tlv->len) < payload_size)) in mlxfw_mfa2_tlv_payload_get()
41 if (!varsize && (be16_to_cpu(tlv->len) != payload_size)) in mlxfw_mfa2_tlv_payload_get()
/linux/drivers/cpuidle/
A Dcpuidle-pseries.c156 __be16 payload_size; member
169 u16 payload_size; in parse_cede_parameters() local
180 payload_size = be16_to_cpu(xcede_latency_parameter.payload_size); in parse_cede_parameters()
198 total_xcede_records_size = payload_size - 2; in parse_cede_parameters()
/linux/drivers/misc/sgi-xp/
A Dxp.h289 u16 payload_size) in xpc_send() argument
295 payload_size); in xpc_send()
300 u16 payload_size, xpc_notify_func func, void *key) in xpc_send_notify() argument
306 payload_size, func, key); in xpc_send_notify()
A Dxp_main.c134 xpc_connect(int ch_number, xpc_channel_func func, void *key, u16 payload_size, in xpc_connect() argument
140 DBUG_ON(payload_size == 0 || nentries == 0); in xpc_connect()
144 if (XPC_MSG_SIZE(payload_size) > XPC_MSG_MAX_SIZE) in xpc_connect()
159 registration->entry_size = XPC_MSG_SIZE(payload_size); in xpc_connect()
/linux/drivers/cxl/
A Dpci.c174 size_t n = min3(mbox_cmd->size_out, cxlm->payload_size, out_len); in __cxl_pci_mbox_send_cmd()
286 cxlm->payload_size = in cxl_pci_setup_mailbox()
296 cxlm->payload_size = min_t(size_t, cxlm->payload_size, SZ_1M); in cxl_pci_setup_mailbox()
297 if (cxlm->payload_size < 256) { in cxl_pci_setup_mailbox()
299 cxlm->payload_size); in cxl_pci_setup_mailbox()
304 cxlm->payload_size); in cxl_pci_setup_mailbox()
/linux/drivers/hv/
A Dhv.c84 void *payload, size_t payload_size) in hv_post_message() argument
90 if (payload_size > HV_MESSAGE_PAYLOAD_BYTE_COUNT) in hv_post_message()
98 aligned_msg->payload_size = payload_size; in hv_post_message()
99 memcpy((void *)aligned_msg->payload, payload, payload_size); in hv_post_message()
/linux/include/linux/surface_aggregator/
A Dserial_hub.h141 #define SSH_MESSAGE_LENGTH(payload_size) (SSH_MSG_LEN_BASE + (payload_size)) argument
150 #define SSH_COMMAND_MESSAGE_LENGTH(payload_size) \ argument
151 SSH_MESSAGE_LENGTH(sizeof(struct ssh_command) + (payload_size))
/linux/drivers/gpu/drm/amd/display/dc/core/
A Ddc_link_ddc.c170 uint32_t payload_size = EDID_SEGMENT_SIZE; in dal_ddc_i2c_payloads_add() local
173 for (pos = 0; pos < len; pos += payload_size) { in dal_ddc_i2c_payloads_add()
177 .length = DDC_MIN(payload_size, len - pos), in dal_ddc_i2c_payloads_add()
529 uint32_t payload_size = in dal_ddc_service_query_ddc_data() local
534 (write_size + payload_size - 1) / payload_size; in dal_ddc_service_query_ddc_data()
537 (read_size + payload_size - 1) / payload_size; in dal_ddc_service_query_ddc_data()
/linux/drivers/gpu/drm/i915/display/
A Dintel_dmc.c374 unsigned int header_len_bytes, dmc_header_size, payload_size, i; in parse_dmc_fw_header() local
447 payload_size = dmc_header->fw_size * 4; in parse_dmc_fw_header()
448 if (rem_size < payload_size) in parse_dmc_fw_header()
451 if (payload_size > dmc->max_fw_size) { in parse_dmc_fw_header()
452 drm_err(&i915->drm, "DMC FW too big (%u bytes)\n", payload_size); in parse_dmc_fw_header()
457 dmc_info->payload = kmalloc(payload_size, GFP_KERNEL); in parse_dmc_fw_header()
462 memcpy(dmc_info->payload, payload, payload_size); in parse_dmc_fw_header()
464 return header_len_bytes + payload_size; in parse_dmc_fw_header()
/linux/drivers/greybus/
A Dsvc.c647 if (op->request->payload_size < sizeof(*request)) { in gb_svc_version_request()
649 op->request->payload_size, in gb_svc_version_request()
846 op->request->payload_size, in gb_svc_hello()
1139 if (request->payload_size < sizeof(*reset)) { in gb_svc_intf_reset_recv()
1141 request->payload_size, sizeof(*reset)); in gb_svc_intf_reset_recv()
1156 if (op->request->payload_size < sizeof(*request)) { in gb_svc_module_inserted_recv()
1158 op->request->payload_size, sizeof(*request)); in gb_svc_module_inserted_recv()
1175 if (op->request->payload_size < sizeof(*request)) { in gb_svc_module_removed_recv()
1177 op->request->payload_size, sizeof(*request)); in gb_svc_module_removed_recv()
1196 op->request->payload_size, sizeof(*request)); in gb_svc_intf_oops_recv()
[all …]
A Doperation.c312 size_t payload_size, u8 type) in gb_operation_message_init() argument
319 message->payload = payload_size ? header + 1 : NULL; in gb_operation_message_init()
320 message->payload_size = payload_size; in gb_operation_message_init()
328 u16 message_size = (u16)(sizeof(*header) + payload_size); in gb_operation_message_init()
362 size_t payload_size, gfp_t gfp_flags) in gb_operation_message_alloc() argument
366 size_t message_size = payload_size + sizeof(*header); in gb_operation_message_alloc()
384 gb_operation_message_init(hd, message, 0, payload_size, type); in gb_operation_message_alloc()
986 message_size = sizeof(*header) + message->payload_size; in gb_connection_recv_response()
995 message->payload_size = size - sizeof(*header); in gb_connection_recv_response()
/linux/drivers/cxl/core/
A Dmbox.c167 if (out_size > cxlm->payload_size) in cxl_mem_mbox_send_cmd()
246 if (send_cmd->in.size > cxlm->payload_size) in cxl_validate_cmd_from_user()
272 if (send_cmd->out.size > cxlm->payload_size) in cxl_validate_cmd_from_user()
467 c.info.size_out = cxlm->payload_size; in cxl_send_cmd()
487 u32 xfer_size = min_t(u32, remaining, cxlm->payload_size); in cxl_xfer_log()
544 ret = kvmalloc(cxlm->payload_size, GFP_KERNEL); in cxl_get_gsl()
549 0, ret, cxlm->payload_size); in cxl_get_gsl()
/linux/drivers/staging/gdm724x/
A Dgdm_mux.c145 unsigned int payload_size; in up_to_host() local
157 payload_size = __le32_to_cpu(mux_header->payload_size); in up_to_host()
165 total_len = ALIGN(MUX_HEADER_SIZE + payload_size, 4); in up_to_host()
169 payload_size, len, packet_type); in up_to_host()
180 payload_size, in up_to_host()
374 mux_header->payload_size = __cpu_to_le32((u32)len); in gdm_mux_send()
/linux/net/nfc/
A Ddigital_dep.c157 static u8 digital_payload_size_to_bits(u8 payload_size) in digital_payload_size_to_bits() argument
162 if (digital_payload_bits_map[i] == payload_size) in digital_payload_size_to_bits()
365 u8 payload_size, payload_bits; in digital_in_send_psl_req() local
381 payload_bits = digital_payload_size_to_bits(payload_size); in digital_in_send_psl_req()
384 ddev->local_payload_max = payload_size; in digital_in_send_psl_req()
385 ddev->remote_payload_max = payload_size; in digital_in_send_psl_req()
1404 u8 dsi, payload_size, payload_bits; in digital_tg_recv_psl_req() local
1450 payload_size = digital_payload_bits_to_size(payload_bits); in digital_tg_recv_psl_req()
1452 if (!payload_size || (payload_size > min(ddev->local_payload_max, in digital_tg_recv_psl_req()
1458 ddev->local_payload_max = payload_size; in digital_tg_recv_psl_req()
[all …]

Completed in 58 milliseconds

12345