Searched refs:fw_size (Results 1 - 25 of 101) sorted by last modified time

12345

/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c2081 adev->firmware.fw_size +=
2086 adev->firmware.fw_size +=
2187 adev->firmware.fw_size +=
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_6_ppt.c317 adev->firmware.fw_size += ALIGN(ucode->fw->size, PAGE_SIZE);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dsdma_v5_2.c648 u32 fw_size; local
660 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
668 for (j = 0; j < fw_size; j++) {
H A Dsdma_v4_4_2.c824 u32 fw_size; local
836 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
844 for (j = 0; j < fw_size; j++)
H A Dgfx_v9_0.c1686 unsigned fw_size; local
1721 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes);
1734 memcpy(fw, fw_data, fw_size);
2884 unsigned i, fw_size; local
2894 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
2898 for (i = 0; i < fw_size; i++)
2972 unsigned i, fw_size; local
2994 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4;
2996 for (i = 0; i < fw_size; i++)
3004 fw_size
[all...]
H A Dgfx_v11_0.c1060 uint32_t fw_size,
1073 if (fw_size == 0)
1074 fw_size = toc_fw_size;
1076 if (fw_size > toc_fw_size)
1077 fw_size = toc_fw_size;
1079 memcpy(ptr + toc_offset, fw_data, fw_size);
1081 if (fw_size < toc_fw_size)
1082 memset(ptr + toc_offset + fw_size, 0, toc_fw_size - fw_size);
1113 uint32_t fw_size; local
1057 gfx_v11_0_rlc_backdoor_autoload_copy_ucode(struct amdgpu_device *adev, SOC21_FIRMWARE_ID id, const void *fw_data, uint32_t fw_size, uint32_t *fw_autoload_mask) argument
1240 uint32_t fw_size; local
1264 unsigned fw_size; local
1861 unsigned i, fw_size; local
1882 unsigned i, fw_size; local
1926 unsigned i, fw_size; local
2687 unsigned i, fw_size; local
2905 unsigned i, fw_size; local
3410 unsigned i, fw_size; local
[all...]
H A Dgfx_v10_0.c4202 unsigned int fw_size; local
4237 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes);
4250 memcpy(fw, fw_data, fw_size);
5130 unsigned int i, fw_size; local
5140 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
5145 for (i = 0; i < fw_size; i++)
5312 uint32_t fw_size)
5324 if (fw_size == 0)
5325 fw_size = toc_fw_size;
5327 if (fw_size > toc_fw_siz
5309 gfx_v10_0_rlc_backdoor_autoload_copy_ucode(struct amdgpu_device *adev, FIRMWARE_ID id, const void *fw_data, uint32_t fw_size) argument
5352 uint32_t fw_size; local
5413 uint32_t fw_size; local
5702 unsigned int i, fw_size; local
5780 unsigned int i, fw_size; local
5857 unsigned int i, fw_size; local
[all...]
H A Damdgpu_vpe.c246 adev->firmware.fw_size +=
252 adev->firmware.fw_size +=
H A Damdgpu_umsch_mm.c615 adev->firmware.fw_size +=
621 adev->firmware.fw_size +=
633 uint32_t fw_size; local
641 fw_size = le32_to_cpu(umsch_mm_hdr->umsch_mm_ucode_size_bytes);
643 r = amdgpu_bo_create_reserved(adev, fw_size,
653 memcpy(adev->umsch_mm.ucode_fw_ptr, fw_data, fw_size);
665 uint32_t fw_size; local
673 fw_size = le32_to_cpu(umsch_mm_hdr->umsch_mm_ucode_data_size_bytes);
675 r = amdgpu_bo_create_reserved(adev, fw_size,
685 memcpy(adev->umsch_mm.data_fw_ptr, fw_data, fw_size);
[all...]
H A Damdgpu_mes.c1530 adev->firmware.fw_size +=
1537 adev->firmware.fw_size +=
H A Dmes_v11_0.c440 unsigned fw_size; local
447 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes);
449 r = amdgpu_bo_create_reserved(adev, fw_size,
461 memcpy(adev->mes.ucode_fw_ptr[pipe], fw_data, fw_size);
475 unsigned fw_size; local
482 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes);
484 if (fw_size > GFX_MES_DRAM_SIZE) {
486 pipe, fw_size, GFX_MES_DRAM_SIZE);
502 memcpy(adev->mes.data_fw_ptr[pipe], fw_data, fw_size);
H A Damdgpu_vcn.c1071 adev->firmware.fw_size +=
H A Damdgpu_psp.c1014 cmd->cmd.cmd_load_ip_fw.fw_size = psp->rl.size_bytes;
2587 cmd->cmd.cmd_load_ip_fw.fw_size = ucode->ucode_size;
3624 adev->firmware.fw_size += ALIGN(
H A Damdgpu_gfx.c1088 unsigned int fw_size; local
1099 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
1109 fw_size = le32_to_cpu(cp_hdr_v2_0->ucode_size_bytes);
1116 fw_size = le32_to_cpu(cp_hdr_v2_0->data_size_bytes);
1126 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
1136 fw_size = le32_to_cpu(cp_hdr_v2_0->ucode_size_bytes);
1143 fw_size = le32_to_cpu(cp_hdr_v2_0->data_size_bytes);
1153 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
1163 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) -
1170 fw_size
[all...]
/linux-master/drivers/bluetooth/
H A Dbtmtk.c233 size_t fw_size; local
258 fw_size = fw->size;
261 if (fw_size < 30) {
266 fw_size -= 30;
273 while (fw_size > 0) {
274 dlen = min_t(int, 250, fw_size);
277 if (fw_size - dlen <= 0)
279 else if (fw_size < fw->size - 30)
293 fw_size -= dlen;
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0.c89 adev->firmware.fw_size +=
190 adev->firmware.fw_size +=
/linux-master/drivers/media/usb/s2255/
H A Ds2255drv.c181 int fw_size; member in struct:s2255_fw
516 if (data->fw_loaded < data->fw_size) {
517 len = (data->fw_loaded + CHUNK_SIZE) > data->fw_size ?
518 data->fw_size % CHUNK_SIZE : CHUNK_SIZE;
2186 dev->fw_data->fw_size = dev->fw_data->fw->size;
2209 int fw_size; local
2285 fw_size = dev->fw_data->fw->size;
2286 pdata = (__le32 *) &dev->fw_data->fw->data[fw_size - 8];
2295 pRel = (__le32 *) &dev->fw_data->fw->data[fw_size - 4];
/linux-master/drivers/media/platform/mediatek/vpu/
H A Dmtk_vpu.c503 size_t fw_size = fw_type ? VPU_D_FW_SIZE : VPU_P_FW_SIZE; local
525 if (dl_size > fw_size) {
/linux-master/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-core.c509 state->fw_size = data[0] + (data[1] << 16);
/linux-master/sound/soc/sof/
H A Dipc3-loader.c380 size_t fw_size = fw->size - payload_offset; local
398 if (fw_size != header->file_size + sizeof(*header)) {
401 fw_size, header->file_size + sizeof(*header));
/linux-master/drivers/net/ethernet/sun/
H A Dcassini.c806 cp->fw_size = fw->size - 2;
807 cp->fw_data = vmalloc(cp->fw_size);
810 memcpy(cp->fw_data, &fw->data[2], cp->fw_size);
840 for (i = 0; i < cp->fw_size; i++)
/linux-master/drivers/media/i2c/
H A Dthp7312.c1740 const u8 *fw_data, u32 fw_size)
1743 u16 header_size = fw_size - THP7312_FW_RAM_SIZE;
1767 fw_crc = get_unaligned_be32(&fw_data[fw_size - 4]);
1739 thp7312_fw_check_crc(struct thp7312_device *thp7312, const u8 *fw_data, u32 fw_size) argument
/linux-master/drivers/gpu/drm/xe/
H A Dxe_uc_fw.c377 static int parse_css_header(struct xe_uc_fw *uc_fw, const void *fw_data, size_t fw_size) argument
385 if (unlikely(fw_size < sizeof(struct uc_css_header))) {
388 fw_size, sizeof(struct uc_css_header));
401 fw_size, sizeof(struct uc_css_header));
414 if (unlikely(fw_size < size)) {
417 fw_size, size);
H A Dxe_gsc.c40 u32 fw_size = gsc->fw.size; local
47 storage = kmalloc(fw_size, GFP_KERNEL);
51 xe_map_memcpy_from(xe, storage, &gsc->fw.bo->vmap, 0, fw_size);
52 xe_map_memcpy_to(xe, &gsc->private->vmap, 0, storage, fw_size);
53 xe_map_memset(xe, &gsc->private->vmap, fw_size, 0, gsc->private->size - fw_size);
/linux-master/drivers/gpu/drm/radeon/
H A Dsi.c3473 u32 fw_size; local
3482 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4;
3484 for (i = 0; i < fw_size; i++)
3491 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4;
3493 for (i = 0; i < fw_size; i++)
3500 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4;
3502 for (i = 0; i < fw_size; i++)
5873 u32 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; local
5879 for (i = 0; i < fw_size; i++) {

Completed in 637 milliseconds

12345