Home
last modified time | relevance | path

Searched refs:fw_offset (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/mtd/parsers/
Dofpart_bcm4908.c52 long long fw_offset; in bcm4908_partitions_post_parse() local
55 fw_offset = bcm4908_partitions_fw_offset(); in bcm4908_partitions_post_parse()
59 if (fw_offset < 0 || parts[i].offset == fw_offset) in bcm4908_partitions_post_parse()
/linux-6.1.9/sound/soc/sof/
Dipc3-loader.c324 header = (struct snd_sof_fw_header *)(fw->data + plat_data->fw_offset); in sof_ipc3_load_fw_to_dsp()
334 module = (struct snd_sof_mod_hdr *)(fw->data + plat_data->fw_offset + in sof_ipc3_load_fw_to_dsp()
336 remaining = fw->size - sizeof(*header) - plat_data->fw_offset; in sof_ipc3_load_fw_to_dsp()
380 size_t fw_size = fw->size - plat_data->fw_offset; in sof_ipc3_validate_firmware()
382 if (fw->size <= plat_data->fw_offset) { in sof_ipc3_validate_firmware()
389 header = (struct snd_sof_fw_header *)(fw->data + plat_data->fw_offset); in sof_ipc3_validate_firmware()
Dloader.c51 plat_data->fw_offset = ext_man_size; in snd_sof_load_firmware_raw()
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
Dfwio.c229 int fw_offset; in load_firmware_secure() local
249 ret = get_firmware(wdev, buf[PTE_INFO_KEYSET_IDX], &fw, &fw_offset); in load_firmware_secure()
252 header_size = fw_offset + FW_SIGNATURE_SIZE + FW_HASH_SIZE; in load_firmware_secure()
261 wfx_sram_write_dma_safe(wdev, WFX_DCA_FW_SIGNATURE, fw->data + fw_offset, in load_firmware_secure()
263 wfx_sram_write_dma_safe(wdev, WFX_DCA_FW_HASH, fw->data + fw_offset + FW_SIGNATURE_SIZE, in load_firmware_secure()
/linux-6.1.9/sound/soc/sof/intel/
Dhda-loader.c332 if (plat_data->fw->size <= plat_data->fw_offset) { in hda_dsp_cl_boot_firmware_iccmax()
337 stripped_firmware.size = plat_data->fw->size - plat_data->fw_offset; in hda_dsp_cl_boot_firmware_iccmax()
408 if (plat_data->fw->size <= plat_data->fw_offset) { in hda_dsp_cl_boot_firmware()
413 stripped_firmware.data = plat_data->fw->data + plat_data->fw_offset; in hda_dsp_cl_boot_firmware()
414 stripped_firmware.size = plat_data->fw->size - plat_data->fw_offset; in hda_dsp_cl_boot_firmware()
Dhda-loader-skl.c503 stripped_firmware.data = plat_data->fw->data + plat_data->fw_offset; in cl_copy_fw_skl()
504 stripped_firmware.size = plat_data->fw->size - plat_data->fw_offset; in cl_copy_fw_skl()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82599.c1872 u16 fw_offset, fw_ptp_cfg_offset; in ixgbe_verify_fw_version_82599() local
1882 if (hw->eeprom.ops.read(hw, offset, &fw_offset)) in ixgbe_verify_fw_version_82599()
1885 if (fw_offset == 0 || fw_offset == 0xFFFF) in ixgbe_verify_fw_version_82599()
1889 offset = fw_offset + IXGBE_FW_PASSTHROUGH_PATCH_CONFIG_PTR; in ixgbe_verify_fw_version_82599()
1920 u16 fw_offset, fw_lesm_param_offset, fw_lesm_state; in ixgbe_verify_lesm_fw_enabled_82599() local
1924 status = hw->eeprom.ops.read(hw, IXGBE_FW_PTR, &fw_offset); in ixgbe_verify_lesm_fw_enabled_82599()
1926 if (status || fw_offset == 0 || fw_offset == 0xFFFF) in ixgbe_verify_lesm_fw_enabled_82599()
1930 status = hw->eeprom.ops.read(hw, (fw_offset + in ixgbe_verify_lesm_fw_enabled_82599()
/linux-6.1.9/include/sound/
Dsof.h69 size_t fw_offset; member
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.c1023 uint64_t fw_offset = 0; in amdgpu_ucode_init_bo() local
1046 amdgpu_ucode_init_single_fw(adev, ucode, adev->firmware.fw_buf_mc + fw_offset, in amdgpu_ucode_init_bo()
1047 adev->firmware.fw_buf_ptr + fw_offset); in amdgpu_ucode_init_bo()
1052 amdgpu_ucode_patch_jt(ucode, adev->firmware.fw_buf_mc + fw_offset, in amdgpu_ucode_init_bo()
1053 adev->firmware.fw_buf_ptr + fw_offset); in amdgpu_ucode_init_bo()
1054 fw_offset += ALIGN(le32_to_cpu(cp_hdr->jt_size) << 2, PAGE_SIZE); in amdgpu_ucode_init_bo()
1056 fw_offset += ALIGN(ucode->ucode_size, PAGE_SIZE); in amdgpu_ucode_init_bo()
/linux-6.1.9/drivers/net/usb/
Dr8152.c1006 __le16 fw_offset; member
1028 __le16 fw_offset; member
1064 __le16 fw_offset; member
1119 __le16 fw_offset; member
4110 u16 fw_offset; in rtl8152_is_fw_phy_speed_up_ok() local
4135 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_speed_up_ok()
4137 if (fw_offset < sizeof(*phy) || length <= fw_offset) { in rtl8152_is_fw_phy_speed_up_ok()
4142 length -= fw_offset; in rtl8152_is_fw_phy_speed_up_ok()
4221 u16 fw_offset; in rtl8152_is_fw_phy_union_ok() local
4236 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_union_ok()
[all …]
/linux-6.1.9/drivers/input/touchscreen/
Dmelfas_mip4.c1080 const u8 *fw_data, u32 fw_size, u32 fw_offset) in mip4_flash_fw() argument
1108 for (offset = fw_offset; in mip4_flash_fw()
1109 offset < fw_offset + fw_size; in mip4_flash_fw()
/linux-6.1.9/drivers/media/platform/amphion/
Dvpu_malone.c251 u32 fw_offset; member