Home
last modified time | relevance | path

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

/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()
/drivers/staging/wfx/
Dfwio.c238 int fw_offset; in load_firmware_secure() local
258 ret = get_firmware(wdev, buf[PTE_INFO_KEYSET_IDX], &fw, &fw_offset); in load_firmware_secure()
261 header_size = fw_offset + FW_SIGNATURE_SIZE + FW_HASH_SIZE; in load_firmware_secure()
271 sram_write_dma_safe(wdev, WFX_DCA_FW_SIGNATURE, fw->data + fw_offset, in load_firmware_secure()
274 fw->data + fw_offset + FW_SIGNATURE_SIZE, in load_firmware_secure()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.c733 uint64_t fw_offset = 0; in amdgpu_ucode_init_bo() local
756 amdgpu_ucode_init_single_fw(adev, ucode, adev->firmware.fw_buf_mc + fw_offset, in amdgpu_ucode_init_bo()
757 adev->firmware.fw_buf_ptr + fw_offset); in amdgpu_ucode_init_bo()
762 amdgpu_ucode_patch_jt(ucode, adev->firmware.fw_buf_mc + fw_offset, in amdgpu_ucode_init_bo()
763 adev->firmware.fw_buf_ptr + fw_offset); in amdgpu_ucode_init_bo()
764 fw_offset += ALIGN(le32_to_cpu(cp_hdr->jt_size) << 2, PAGE_SIZE); in amdgpu_ucode_init_bo()
766 fw_offset += ALIGN(ucode->ucode_size, PAGE_SIZE); in amdgpu_ucode_init_bo()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82599.c1870 u16 fw_offset, fw_ptp_cfg_offset; in ixgbe_verify_fw_version_82599() local
1881 if (hw->eeprom.ops.read(hw, offset, &fw_offset)) in ixgbe_verify_fw_version_82599()
1884 if (fw_offset == 0 || fw_offset == 0xFFFF) in ixgbe_verify_fw_version_82599()
1888 offset = fw_offset + IXGBE_FW_PASSTHROUGH_PATCH_CONFIG_PTR; in ixgbe_verify_fw_version_82599()
1919 u16 fw_offset, fw_lesm_param_offset, fw_lesm_state; in ixgbe_verify_lesm_fw_enabled_82599() local
1923 status = hw->eeprom.ops.read(hw, IXGBE_FW_PTR, &fw_offset); in ixgbe_verify_lesm_fw_enabled_82599()
1925 if (status || fw_offset == 0 || fw_offset == 0xFFFF) in ixgbe_verify_lesm_fw_enabled_82599()
1929 status = hw->eeprom.ops.read(hw, (fw_offset + in ixgbe_verify_lesm_fw_enabled_82599()
/drivers/net/usb/
Dr8152.c1007 __le16 fw_offset; member
1029 __le16 fw_offset; member
1065 __le16 fw_offset; member
1120 __le16 fw_offset; member
4125 u16 fw_offset; in rtl8152_is_fw_phy_speed_up_ok() local
4150 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_speed_up_ok()
4152 if (fw_offset < sizeof(*phy) || length <= fw_offset) { in rtl8152_is_fw_phy_speed_up_ok()
4157 length -= fw_offset; in rtl8152_is_fw_phy_speed_up_ok()
4236 u16 fw_offset; in rtl8152_is_fw_phy_union_ok() local
4251 fw_offset = __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_union_ok()
[all …]
/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()