Home
last modified time | relevance | path

Searched refs:payload_offset (Results 1 – 17 of 17) sorted by relevance

/linux/sound/soc/sof/
H A Dipc4-loader.c149 ssize_t payload_offset; in sof_ipc4_fw_parse_basefw_ext_man() local
158 payload_offset = sof_ipc4_fw_parse_ext_man(sdev, fw_lib); in sof_ipc4_fw_parse_basefw_ext_man()
159 if (payload_offset > 0) { in sof_ipc4_fw_parse_basefw_ext_man()
160 fw_lib->sof_fw.payload_offset = payload_offset; in sof_ipc4_fw_parse_basefw_ext_man()
169 return payload_offset; in sof_ipc4_fw_parse_basefw_ext_man()
178 ssize_t payload_offset; in sof_ipc4_load_library_by_uuid() local
211 payload_offset = sof_ipc4_fw_parse_ext_man(sdev, fw_lib); in sof_ipc4_load_library_by_uuid()
212 if (payload_offset <= 0) { in sof_ipc4_load_library_by_uuid()
213 if (!payload_offset) in sof_ipc4_load_library_by_uuid()
216 ret = payload_offset; in sof_ipc4_load_library_by_uuid()
[all …]
H A Dloader.c51 sdev->basefw.payload_offset = ext_man_size; in snd_sof_load_firmware_raw()
H A Dsof-priv.h158 u32 payload_offset; member
/linux/tools/testing/selftests/net/
H A Dip_defrag.c139 int payload_offset = offset > 0 ? offset - UDP_HLEN : 0; in send_fragment() local
159 if (payload_len - payload_offset <= max_frag_len && offset > 0) { in send_fragment()
161 frag_len = FRAG_HLEN + payload_len - payload_offset; in send_fragment()
172 memcpy(frag_start, udp_payload + payload_offset, in send_fragment()
177 if (payload_len - payload_offset <= max_frag_len && offset > 0) { in send_fragment()
179 frag_len = IP4_HLEN + payload_len - payload_offset; in send_fragment()
190 memcpy(frag_start, udp_payload + payload_offset, in send_fragment()
/linux/tools/perf/util/bpf_skel/
H A Daugmented_raw_syscalls.bpf.c439 void *arg, *payload_offset; in augment_sys_enter() local
451 payload_offset = (void *)&payload->aug_args; in augment_sys_enter()
478 …aug_size = bpf_probe_read_user_str(((struct augmented_arg *)payload_offset)->value, value_size, ar… in augment_sys_enter()
485 if (!bpf_probe_read_user(((struct augmented_arg *)payload_offset)->value, size, arg)) in augment_sys_enter()
497 if (!bpf_probe_read_user(((struct augmented_arg *)payload_offset)->value, aug_size, arg)) in augment_sys_enter()
513 ((struct augmented_arg *)payload_offset)->size = aug_size; in augment_sys_enter()
515 payload_offset += written; in augment_sys_enter()
/linux/drivers/gpu/drm/xe/
H A Dxe_gsc_submit.c140 u32 *payload_offset) in xe_gsc_read_out_header() argument
159 if (payload_offset) in xe_gsc_read_out_header()
160 *payload_offset = offset + GSC_HDR_SIZE; in xe_gsc_read_out_header()
H A Dxe_gsc_submit.h26 u32 *payload_offset);
/linux/drivers/net/ethernet/sfc/
H A Dtc_counters.c429 u8 payload_offset, header_offset, ident; in efx_tc_rx_version_2() local
462 payload_offset = TCV2_HDR_BYTE(data, PAYLOAD_OFFSET); in efx_tc_rx_version_2()
471 counter_idx_p = TCV2_PKT_PTR(data, payload_offset, i, COUNTER_INDEX); in efx_tc_rx_version_2()
476 packet_count_p = TCV2_PKT_PTR(data, payload_offset, i, PACKET_COUNT); in efx_tc_rx_version_2()
481 byte_count_p = TCV2_PKT_PTR(data, payload_offset, i, BYTE_COUNT); in efx_tc_rx_version_2()
/linux/sound/soc/sof/intel/
H A Dhda-loader.c453 if (sdev->basefw.fw->size <= sdev->basefw.payload_offset) { in hda_dsp_cl_boot_firmware()
462 stripped_firmware.size = sdev->basefw.fw->size - sdev->basefw.payload_offset; in hda_dsp_cl_boot_firmware()
479 stripped_firmware.data = sdev->basefw.fw->data + sdev->basefw.payload_offset; in hda_dsp_cl_boot_firmware()
587 stripped_firmware.data = fw_lib->sof_fw.fw->data + fw_lib->sof_fw.payload_offset; in hda_dsp_ipc4_load_library()
588 stripped_firmware.size = fw_lib->sof_fw.fw->size - fw_lib->sof_fw.payload_offset; in hda_dsp_ipc4_load_library()
H A Dhda-loader-skl.c501 stripped_firmware.data = fw->data + sdev->basefw.payload_offset; in cl_copy_fw_skl()
502 stripped_firmware.size = fw->size - sdev->basefw.payload_offset; in cl_copy_fw_skl()
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_main.c126 u8 payload_offset; in rsi_prepare_skb() local
142 payload_offset = (extended_desc + FRAME_DESC_SZ); in rsi_prepare_skb()
144 memcpy((skb->data), (buffer + payload_offset), skb->len); in rsi_prepare_skb()
/linux/drivers/crypto/bcm/
H A Dspu2.c566 u64 payload_offset; in spu2_fmd_init() local
581 payload_offset = 0; in spu2_fmd_init()
585 (payload_offset << SPU2_PL_OFFSET_SHIFT); in spu2_fmd_init()
740 u64 payload_offset; in spu2_fmd_ctrl2_write() local
746 payload_offset = cipher_offset; in spu2_fmd_ctrl2_write()
750 (payload_offset << SPU2_PL_OFFSET_SHIFT); in spu2_fmd_ctrl2_write()
/linux/arch/x86/include/uapi/asm/
H A Dbootparam.h71 __u32 payload_offset; member
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c305 int payload_offset, u8 pctype) in i40e_prepare_fdir_filter() argument
314 payload = packet_addr + payload_offset; in i40e_prepare_fdir_filter()
538 int payload_offset; in i40e_add_del_fdir_ip() local
563 payload_offset = (ipv4) ? I40E_IP_DUMMY_PACKET_LEN : in i40e_add_del_fdir_ip()
566 payload_offset, i); in i40e_add_del_fdir_ip()
/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_psi.c171 u32 payload_offset = 0; in vidtv_psi_ts_psi_write_into() local
226 args->from + payload_offset, in vidtv_psi_ts_psi_write_into()
231 payload_offset += payload_write_len; in vidtv_psi_ts_psi_write_into()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v9_0.c5469 uint64_t payload_offset, payload_size; in gfx_v9_0_ring_patch_ce_meta() local
5474 payload_offset = offsetof(struct amdgpu_mes_ctx_meta_data, in gfx_v9_0_ring_patch_ce_meta()
5478 amdgpu_mes_ctx_get_offs_cpu_addr(ring, payload_offset); in gfx_v9_0_ring_patch_ce_meta()
5480 payload_offset = offsetof(struct v9_gfx_meta_data, ce_payload); in gfx_v9_0_ring_patch_ce_meta()
5481 ce_payload_cpu_addr = adev->virt.csa_cpu_addr + payload_offset; in gfx_v9_0_ring_patch_ce_meta()
5501 uint64_t payload_offset, payload_size; in gfx_v9_0_ring_patch_de_meta() local
5506 payload_offset = offsetof(struct amdgpu_mes_ctx_meta_data, in gfx_v9_0_ring_patch_de_meta()
5510 amdgpu_mes_ctx_get_offs_cpu_addr(ring, payload_offset); in gfx_v9_0_ring_patch_de_meta()
5512 payload_offset = offsetof(struct v9_gfx_meta_data, de_payload); in gfx_v9_0_ring_patch_de_meta()
5513 de_payload_cpu_addr = adev->virt.csa_cpu_addr + payload_offset; in gfx_v9_0_ring_patch_de_meta()
/linux/Documentation/arch/x86/
H A Dboot.rst51 payload. Introduced payload_offset and payload_length
221 0248/4 2.08+ payload_offset Offset of kernel payload
773 Field name: payload_offset