Home
last modified time | relevance | path

Searched refs:rlc_hdr (Results 1 – 20 of 20) sorted by relevance

/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.c132 const struct rlc_firmware_header_v1_0 *rlc_hdr = in amdgpu_ucode_print_rlc_hdr() local
136 le32_to_cpu(rlc_hdr->ucode_feature_version)); in amdgpu_ucode_print_rlc_hdr()
138 le32_to_cpu(rlc_hdr->save_and_restore_offset)); in amdgpu_ucode_print_rlc_hdr()
146 const struct rlc_firmware_header_v2_0 *rlc_hdr = in amdgpu_ucode_print_rlc_hdr() local
150 le32_to_cpu(rlc_hdr->ucode_feature_version)); in amdgpu_ucode_print_rlc_hdr()
154 le32_to_cpu(rlc_hdr->save_and_restore_offset)); in amdgpu_ucode_print_rlc_hdr()
160 le32_to_cpu(rlc_hdr->reg_restore_list_size)); in amdgpu_ucode_print_rlc_hdr()
162 le32_to_cpu(rlc_hdr->reg_list_format_start)); in amdgpu_ucode_print_rlc_hdr()
166 le32_to_cpu(rlc_hdr->starting_offsets_start)); in amdgpu_ucode_print_rlc_hdr()
168 le32_to_cpu(rlc_hdr->reg_list_format_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
[all …]
H A Dgfx_v9_0.c1170 const struct rlc_firmware_header_v2_1 *rlc_hdr; in gfx_v9_0_init_rlc_ext_microcode() local
1176 …adev->gfx.rlc.save_restore_list_cntl = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_cntl… in gfx_v9_0_init_rlc_ext_microcode()
1180 …adev->gfx.rlc.save_restore_list_gpm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_gpm_o… in gfx_v9_0_init_rlc_ext_microcode()
1184 …adev->gfx.rlc.save_restore_list_srm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_srm_o… in gfx_v9_0_init_rlc_ext_microcode()
1418 const struct rlc_firmware_header_v2_0 *rlc_hdr; in gfx_v9_0_init_rlc_microcode() local
1465 le32_to_cpu(rlc_hdr->reg_restore_list_size); in gfx_v9_0_init_rlc_microcode()
1467 le32_to_cpu(rlc_hdr->reg_list_format_start); in gfx_v9_0_init_rlc_microcode()
1471 le32_to_cpu(rlc_hdr->starting_offsets_start); in gfx_v9_0_init_rlc_microcode()
1475 le32_to_cpu(rlc_hdr->reg_list_size_bytes); in gfx_v9_0_init_rlc_microcode()
1484 tmp = (unsigned int *)((uintptr_t)rlc_hdr + in gfx_v9_0_init_rlc_microcode()
[all …]
H A Dgfx_v10_0.c3825 const struct rlc_firmware_header_v2_1 *rlc_hdr; in gfx_v10_0_init_rlc_ext_microcode() local
3831 …adev->gfx.rlc.save_restore_list_cntl = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_cntl… in gfx_v10_0_init_rlc_ext_microcode()
3835 …adev->gfx.rlc.save_restore_list_gpm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_gpm_o… in gfx_v10_0_init_rlc_ext_microcode()
3839 …adev->gfx.rlc.save_restore_list_srm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_srm_o… in gfx_v10_0_init_rlc_ext_microcode()
3850 adev->gfx.rlc.rlc_iram_ucode = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->rlc_iram_ucode_offset_bytes); in gfx_v10_0_init_rlc_iram_dram_microcode()
3852 adev->gfx.rlc.rlc_dram_ucode = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->rlc_dram_ucode_offset_bytes); in gfx_v10_0_init_rlc_iram_dram_microcode()
3983 le32_to_cpu(rlc_hdr->reg_restore_list_size); in gfx_v10_0_init_microcode()
3985 le32_to_cpu(rlc_hdr->reg_list_format_start); in gfx_v10_0_init_microcode()
3993 le32_to_cpu(rlc_hdr->reg_list_size_bytes); in gfx_v10_0_init_microcode()
4002 tmp = (unsigned int *)((uintptr_t)rlc_hdr + in gfx_v10_0_init_microcode()
[all …]
H A Dgfx_v8_0.c967 const struct rlc_firmware_header_v2_0 *rlc_hdr; in gfx_v8_0_init_microcode() local
1086 le32_to_cpu(rlc_hdr->save_and_restore_offset); in gfx_v8_0_init_microcode()
1090 le32_to_cpu(rlc_hdr->avail_scratch_ram_locations); in gfx_v8_0_init_microcode()
1092 le32_to_cpu(rlc_hdr->reg_restore_list_size); in gfx_v8_0_init_microcode()
1094 le32_to_cpu(rlc_hdr->reg_list_format_start); in gfx_v8_0_init_microcode()
1098 le32_to_cpu(rlc_hdr->starting_offsets_start); in gfx_v8_0_init_microcode()
1100 le32_to_cpu(rlc_hdr->reg_list_format_size_bytes); in gfx_v8_0_init_microcode()
1102 le32_to_cpu(rlc_hdr->reg_list_size_bytes); in gfx_v8_0_init_microcode()
1113 tmp = (unsigned int *)((uintptr_t)rlc_hdr + in gfx_v8_0_init_microcode()
1120 tmp = (unsigned int *)((uintptr_t)rlc_hdr + in gfx_v8_0_init_microcode()
[all …]
H A Dgfx_v6_0.c317 const struct rlc_firmware_header_v1_0 *rlc_hdr; in gfx_v6_0_init_microcode() local
378 rlc_hdr = (const struct rlc_firmware_header_v1_0 *)adev->gfx.rlc_fw->data; in gfx_v6_0_init_microcode()
379 adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version); in gfx_v6_0_init_microcode()
380 adev->gfx.rlc_feature_version = le32_to_cpu(rlc_hdr->ucode_feature_version); in gfx_v6_0_init_microcode()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.c132 const struct rlc_firmware_header_v1_0 *rlc_hdr = in amdgpu_ucode_print_rlc_hdr() local
136 le32_to_cpu(rlc_hdr->ucode_feature_version)); in amdgpu_ucode_print_rlc_hdr()
138 le32_to_cpu(rlc_hdr->save_and_restore_offset)); in amdgpu_ucode_print_rlc_hdr()
146 const struct rlc_firmware_header_v2_0 *rlc_hdr = in amdgpu_ucode_print_rlc_hdr() local
150 le32_to_cpu(rlc_hdr->ucode_feature_version)); in amdgpu_ucode_print_rlc_hdr()
154 le32_to_cpu(rlc_hdr->save_and_restore_offset)); in amdgpu_ucode_print_rlc_hdr()
160 le32_to_cpu(rlc_hdr->reg_restore_list_size)); in amdgpu_ucode_print_rlc_hdr()
162 le32_to_cpu(rlc_hdr->reg_list_format_start)); in amdgpu_ucode_print_rlc_hdr()
166 le32_to_cpu(rlc_hdr->starting_offsets_start)); in amdgpu_ucode_print_rlc_hdr()
168 le32_to_cpu(rlc_hdr->reg_list_format_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
[all …]
H A Dgfx_v9_0.c1170 const struct rlc_firmware_header_v2_1 *rlc_hdr; in gfx_v9_0_init_rlc_ext_microcode() local
1176 …adev->gfx.rlc.save_restore_list_cntl = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_cntl… in gfx_v9_0_init_rlc_ext_microcode()
1180 …adev->gfx.rlc.save_restore_list_gpm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_gpm_o… in gfx_v9_0_init_rlc_ext_microcode()
1184 …adev->gfx.rlc.save_restore_list_srm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_srm_o… in gfx_v9_0_init_rlc_ext_microcode()
1418 const struct rlc_firmware_header_v2_0 *rlc_hdr; in gfx_v9_0_init_rlc_microcode() local
1465 le32_to_cpu(rlc_hdr->reg_restore_list_size); in gfx_v9_0_init_rlc_microcode()
1467 le32_to_cpu(rlc_hdr->reg_list_format_start); in gfx_v9_0_init_rlc_microcode()
1471 le32_to_cpu(rlc_hdr->starting_offsets_start); in gfx_v9_0_init_rlc_microcode()
1475 le32_to_cpu(rlc_hdr->reg_list_size_bytes); in gfx_v9_0_init_rlc_microcode()
1484 tmp = (unsigned int *)((uintptr_t)rlc_hdr + in gfx_v9_0_init_rlc_microcode()
[all …]
H A Dgfx_v10_0.c3825 const struct rlc_firmware_header_v2_1 *rlc_hdr; in gfx_v10_0_init_rlc_ext_microcode() local
3831 …adev->gfx.rlc.save_restore_list_cntl = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_cntl… in gfx_v10_0_init_rlc_ext_microcode()
3835 …adev->gfx.rlc.save_restore_list_gpm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_gpm_o… in gfx_v10_0_init_rlc_ext_microcode()
3839 …adev->gfx.rlc.save_restore_list_srm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_srm_o… in gfx_v10_0_init_rlc_ext_microcode()
3850 adev->gfx.rlc.rlc_iram_ucode = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->rlc_iram_ucode_offset_bytes); in gfx_v10_0_init_rlc_iram_dram_microcode()
3852 adev->gfx.rlc.rlc_dram_ucode = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->rlc_dram_ucode_offset_bytes); in gfx_v10_0_init_rlc_iram_dram_microcode()
3983 le32_to_cpu(rlc_hdr->reg_restore_list_size); in gfx_v10_0_init_microcode()
3985 le32_to_cpu(rlc_hdr->reg_list_format_start); in gfx_v10_0_init_microcode()
3993 le32_to_cpu(rlc_hdr->reg_list_size_bytes); in gfx_v10_0_init_microcode()
4002 tmp = (unsigned int *)((uintptr_t)rlc_hdr + in gfx_v10_0_init_microcode()
[all …]
H A Dgfx_v8_0.c967 const struct rlc_firmware_header_v2_0 *rlc_hdr; in gfx_v8_0_init_microcode() local
1086 le32_to_cpu(rlc_hdr->save_and_restore_offset); in gfx_v8_0_init_microcode()
1090 le32_to_cpu(rlc_hdr->avail_scratch_ram_locations); in gfx_v8_0_init_microcode()
1092 le32_to_cpu(rlc_hdr->reg_restore_list_size); in gfx_v8_0_init_microcode()
1094 le32_to_cpu(rlc_hdr->reg_list_format_start); in gfx_v8_0_init_microcode()
1098 le32_to_cpu(rlc_hdr->starting_offsets_start); in gfx_v8_0_init_microcode()
1100 le32_to_cpu(rlc_hdr->reg_list_format_size_bytes); in gfx_v8_0_init_microcode()
1102 le32_to_cpu(rlc_hdr->reg_list_size_bytes); in gfx_v8_0_init_microcode()
1113 tmp = (unsigned int *)((uintptr_t)rlc_hdr + in gfx_v8_0_init_microcode()
1120 tmp = (unsigned int *)((uintptr_t)rlc_hdr + in gfx_v8_0_init_microcode()
[all …]
H A Dgfx_v6_0.c317 const struct rlc_firmware_header_v1_0 *rlc_hdr; in gfx_v6_0_init_microcode() local
378 rlc_hdr = (const struct rlc_firmware_header_v1_0 *)adev->gfx.rlc_fw->data; in gfx_v6_0_init_microcode()
379 adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version); in gfx_v6_0_init_microcode()
380 adev->gfx.rlc_feature_version = le32_to_cpu(rlc_hdr->ucode_feature_version); in gfx_v6_0_init_microcode()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.c132 const struct rlc_firmware_header_v1_0 *rlc_hdr = in amdgpu_ucode_print_rlc_hdr() local
136 le32_to_cpu(rlc_hdr->ucode_feature_version)); in amdgpu_ucode_print_rlc_hdr()
138 le32_to_cpu(rlc_hdr->save_and_restore_offset)); in amdgpu_ucode_print_rlc_hdr()
146 const struct rlc_firmware_header_v2_0 *rlc_hdr = in amdgpu_ucode_print_rlc_hdr() local
150 le32_to_cpu(rlc_hdr->ucode_feature_version)); in amdgpu_ucode_print_rlc_hdr()
154 le32_to_cpu(rlc_hdr->save_and_restore_offset)); in amdgpu_ucode_print_rlc_hdr()
160 le32_to_cpu(rlc_hdr->reg_restore_list_size)); in amdgpu_ucode_print_rlc_hdr()
162 le32_to_cpu(rlc_hdr->reg_list_format_start)); in amdgpu_ucode_print_rlc_hdr()
166 le32_to_cpu(rlc_hdr->starting_offsets_start)); in amdgpu_ucode_print_rlc_hdr()
168 le32_to_cpu(rlc_hdr->reg_list_format_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
[all …]
H A Dgfx_v9_0.c1170 const struct rlc_firmware_header_v2_1 *rlc_hdr; in gfx_v9_0_init_rlc_ext_microcode() local
1176 …adev->gfx.rlc.save_restore_list_cntl = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_cntl… in gfx_v9_0_init_rlc_ext_microcode()
1180 …adev->gfx.rlc.save_restore_list_gpm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_gpm_o… in gfx_v9_0_init_rlc_ext_microcode()
1184 …adev->gfx.rlc.save_restore_list_srm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_srm_o… in gfx_v9_0_init_rlc_ext_microcode()
1418 const struct rlc_firmware_header_v2_0 *rlc_hdr; in gfx_v9_0_init_rlc_microcode() local
1465 le32_to_cpu(rlc_hdr->reg_restore_list_size); in gfx_v9_0_init_rlc_microcode()
1467 le32_to_cpu(rlc_hdr->reg_list_format_start); in gfx_v9_0_init_rlc_microcode()
1471 le32_to_cpu(rlc_hdr->starting_offsets_start); in gfx_v9_0_init_rlc_microcode()
1475 le32_to_cpu(rlc_hdr->reg_list_size_bytes); in gfx_v9_0_init_rlc_microcode()
1484 tmp = (unsigned int *)((uintptr_t)rlc_hdr + in gfx_v9_0_init_rlc_microcode()
[all …]
H A Dgfx_v10_0.c3825 const struct rlc_firmware_header_v2_1 *rlc_hdr; in gfx_v10_0_init_rlc_ext_microcode() local
3831 …adev->gfx.rlc.save_restore_list_cntl = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_cntl… in gfx_v10_0_init_rlc_ext_microcode()
3835 …adev->gfx.rlc.save_restore_list_gpm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_gpm_o… in gfx_v10_0_init_rlc_ext_microcode()
3839 …adev->gfx.rlc.save_restore_list_srm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_srm_o… in gfx_v10_0_init_rlc_ext_microcode()
3850 adev->gfx.rlc.rlc_iram_ucode = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->rlc_iram_ucode_offset_bytes); in gfx_v10_0_init_rlc_iram_dram_microcode()
3852 adev->gfx.rlc.rlc_dram_ucode = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->rlc_dram_ucode_offset_bytes); in gfx_v10_0_init_rlc_iram_dram_microcode()
3983 le32_to_cpu(rlc_hdr->reg_restore_list_size); in gfx_v10_0_init_microcode()
3985 le32_to_cpu(rlc_hdr->reg_list_format_start); in gfx_v10_0_init_microcode()
3993 le32_to_cpu(rlc_hdr->reg_list_size_bytes); in gfx_v10_0_init_microcode()
4002 tmp = (unsigned int *)((uintptr_t)rlc_hdr + in gfx_v10_0_init_microcode()
[all …]
H A Dgfx_v8_0.c967 const struct rlc_firmware_header_v2_0 *rlc_hdr; in gfx_v8_0_init_microcode() local
1086 le32_to_cpu(rlc_hdr->save_and_restore_offset); in gfx_v8_0_init_microcode()
1090 le32_to_cpu(rlc_hdr->avail_scratch_ram_locations); in gfx_v8_0_init_microcode()
1092 le32_to_cpu(rlc_hdr->reg_restore_list_size); in gfx_v8_0_init_microcode()
1094 le32_to_cpu(rlc_hdr->reg_list_format_start); in gfx_v8_0_init_microcode()
1098 le32_to_cpu(rlc_hdr->starting_offsets_start); in gfx_v8_0_init_microcode()
1100 le32_to_cpu(rlc_hdr->reg_list_format_size_bytes); in gfx_v8_0_init_microcode()
1102 le32_to_cpu(rlc_hdr->reg_list_size_bytes); in gfx_v8_0_init_microcode()
1113 tmp = (unsigned int *)((uintptr_t)rlc_hdr + in gfx_v8_0_init_microcode()
1120 tmp = (unsigned int *)((uintptr_t)rlc_hdr + in gfx_v8_0_init_microcode()
[all …]
H A Dgfx_v6_0.c317 const struct rlc_firmware_header_v1_0 *rlc_hdr; in gfx_v6_0_init_microcode() local
378 rlc_hdr = (const struct rlc_firmware_header_v1_0 *)adev->gfx.rlc_fw->data; in gfx_v6_0_init_microcode()
379 adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version); in gfx_v6_0_init_microcode()
380 adev->gfx.rlc_feature_version = le32_to_cpu(rlc_hdr->ucode_feature_version); in gfx_v6_0_init_microcode()
/dports/net/mad_fcl/mad_fcl_v1.7_src/alclib/
H A Dmad_rlc.c541 rlc_hdr->layer = layer; in mad_rlc_fill_header()
542 rlc_hdr->seqid = htons(hdr_seqid); in mad_rlc_fill_header()
547 rlc_hdr->sp = 0; in mad_rlc_fill_header()
551 rlc_hdr->sp = 1; in mad_rlc_fill_header()
565 rlc_hdr->sp = 0; in mad_rlc_fill_header()
578 hdr_seqid = ntohs(rlc_hdr->seqid); in mad_rlc_analyze_cci()
579 hdr_layer = rlc_hdr->layer; in mad_rlc_analyze_cci()
580 hdr_sp = rlc_hdr->sp; in mad_rlc_analyze_cci()
582 if(rlc_hdr->reserved != 0x55) { in mad_rlc_analyze_cci()
585 if(rlc_hdr->layer >= s->nb_channel) { in mad_rlc_analyze_cci()
[all …]
H A Dmad_rlc.h55 typedef struct rlc_hdr { struct
191 int mad_rlc_fill_header(alc_session_t *s, rlc_hdr_t *rlc_hdr, int layer);
203 int mad_rlc_analyze_cci(alc_session_t *s, rlc_hdr_t *rlc_hdr);
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/radeon/
H A Dradeon_ucode.c115 const struct rlc_firmware_header_v1_0 *rlc_hdr = in radeon_ucode_print_rlc_hdr() local
119 le32_to_cpu(rlc_hdr->ucode_feature_version)); in radeon_ucode_print_rlc_hdr()
121 le32_to_cpu(rlc_hdr->save_and_restore_offset)); in radeon_ucode_print_rlc_hdr()
123 le32_to_cpu(rlc_hdr->clear_state_descriptor_offset)); in radeon_ucode_print_rlc_hdr()
125 le32_to_cpu(rlc_hdr->avail_scratch_ram_locations)); in radeon_ucode_print_rlc_hdr()
127 le32_to_cpu(rlc_hdr->master_pkt_description_offset)); in radeon_ucode_print_rlc_hdr()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/radeon/
H A Dradeon_ucode.c115 const struct rlc_firmware_header_v1_0 *rlc_hdr = in radeon_ucode_print_rlc_hdr() local
119 le32_to_cpu(rlc_hdr->ucode_feature_version)); in radeon_ucode_print_rlc_hdr()
121 le32_to_cpu(rlc_hdr->save_and_restore_offset)); in radeon_ucode_print_rlc_hdr()
123 le32_to_cpu(rlc_hdr->clear_state_descriptor_offset)); in radeon_ucode_print_rlc_hdr()
125 le32_to_cpu(rlc_hdr->avail_scratch_ram_locations)); in radeon_ucode_print_rlc_hdr()
127 le32_to_cpu(rlc_hdr->master_pkt_description_offset)); in radeon_ucode_print_rlc_hdr()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/radeon/
H A Dradeon_ucode.c115 const struct rlc_firmware_header_v1_0 *rlc_hdr = in radeon_ucode_print_rlc_hdr() local
119 le32_to_cpu(rlc_hdr->ucode_feature_version)); in radeon_ucode_print_rlc_hdr()
121 le32_to_cpu(rlc_hdr->save_and_restore_offset)); in radeon_ucode_print_rlc_hdr()
123 le32_to_cpu(rlc_hdr->clear_state_descriptor_offset)); in radeon_ucode_print_rlc_hdr()
125 le32_to_cpu(rlc_hdr->avail_scratch_ram_locations)); in radeon_ucode_print_rlc_hdr()
127 le32_to_cpu(rlc_hdr->master_pkt_description_offset)); in radeon_ucode_print_rlc_hdr()