Searched refs:reg_fuse_version (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | ga100.c | 35 u32 reg_fuse_version; in ga100_flcn_fw_signature() local 42 reg_fuse_version = nvkm_rd32(device, 0x824140 + (fw->ucode_id - 1) * 4); in ga100_flcn_fw_signature() 45 reg_fuse_version = nvkm_rd32(device, 0x824100 + (fw->ucode_id - 1) * 4); in ga100_flcn_fw_signature() 48 reg_fuse_version = nvkm_rd32(device, 0x8241c0 + (fw->ucode_id - 1) * 4); in ga100_flcn_fw_signature() 54 FLCN_DBG(falcon, "reg_fuse_version: %08x", reg_fuse_version); in ga100_flcn_fw_signature() 55 if (reg_fuse_version) { in ga100_flcn_fw_signature() 56 reg_fuse_version = fls(reg_fuse_version); in ga100_flcn_fw_signature() 57 FLCN_DBG(falcon, "reg_fuse_version: %d", reg_fuse_version); in ga100_flcn_fw_signature() 59 if (WARN_ON(fw->fuse_ver < reg_fuse_version)) in ga100_flcn_fw_signature() 62 idx = fw->fuse_ver - reg_fuse_version; in ga100_flcn_fw_signature()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
H A D | ga102.c | 100 u32 reg_fuse_version; in ga102_gsp_fwsec_signature() local 107 reg_fuse_version = nvkm_rd32(device, 0x8241c0 + (fw->ucode_id - 1) * 4); in ga102_gsp_fwsec_signature() 113 FLCN_DBG(falcon, "reg_fuse_version: %08x", reg_fuse_version); in ga102_gsp_fwsec_signature() 114 reg_fuse_version = BIT(fls(reg_fuse_version)); in ga102_gsp_fwsec_signature() 115 FLCN_DBG(falcon, "reg_fuse_version: %08x", reg_fuse_version); in ga102_gsp_fwsec_signature() 116 if (!(reg_fuse_version & fw->fuse_ver)) in ga102_gsp_fwsec_signature() 119 while (!(reg_fuse_version & sig_fuse_version & 1)) { in ga102_gsp_fwsec_signature() 121 reg_fuse_version >>= 1; in ga102_gsp_fwsec_signature()
|