Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.c244 uint64_t fw_offset = 0; in amdgpu_ucode_init_bo() local
283 fw_offset = 0; in amdgpu_ucode_init_bo()
288 amdgpu_ucode_init_single_fw(ucode, fw_mc_addr + fw_offset, in amdgpu_ucode_init_bo()
289 fw_buf_ptr + fw_offset); in amdgpu_ucode_init_bo()
290 fw_offset += ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in amdgpu_ucode_init_bo()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82599.c1890 u16 fw_offset, fw_ptp_cfg_offset; in ixgbe_verify_fw_version_82599() local
1900 if (hw->eeprom.ops.read(hw, offset, &fw_offset)) in ixgbe_verify_fw_version_82599()
1903 if (fw_offset == 0 || fw_offset == 0xFFFF) in ixgbe_verify_fw_version_82599()
1907 offset = fw_offset + IXGBE_FW_PASSTHROUGH_PATCH_CONFIG_PTR; in ixgbe_verify_fw_version_82599()
1938 u16 fw_offset, fw_lesm_param_offset, fw_lesm_state; in ixgbe_verify_lesm_fw_enabled_82599() local
1942 status = hw->eeprom.ops.read(hw, IXGBE_FW_PTR, &fw_offset); in ixgbe_verify_lesm_fw_enabled_82599()
1944 if (status || fw_offset == 0 || fw_offset == 0xFFFF) in ixgbe_verify_lesm_fw_enabled_82599()
1948 status = hw->eeprom.ops.read(hw, (fw_offset + in ixgbe_verify_lesm_fw_enabled_82599()
/drivers/nvme/host/
Dscsi.c535 u8 fw_offset = sizeof(dev->firmware_rev); in nvme_trans_standard_inquiry_page() local
558 while (dev->firmware_rev[fw_offset - 1] == ' ' && fw_offset > 4) in nvme_trans_standard_inquiry_page()
559 fw_offset--; in nvme_trans_standard_inquiry_page()
560 fw_offset -= 4; in nvme_trans_standard_inquiry_page()
561 strncpy(&inq_response[32], dev->firmware_rev + fw_offset, 4); in nvme_trans_standard_inquiry_page()