Home
last modified time | relevance | path

Searched refs:wpr (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dga102.c39 nvkm_robj(acr->wpr, offset, &hdr, sizeof(hdr)); in ga102_acr_wpr_patch()
43 if (lsfw->id != hdr.wpr.falcon_id) in ga102_acr_wpr_patch()
46 nvkm_robj(acr->wpr, hdr.wpr.lsb_offset, lsb, sizeof(*lsb)); in ga102_acr_wpr_patch()
54 } while (hdr.wpr.falcon_id != WPR_HEADER_V1_FALCON_ID_INVALID); in ga102_acr_wpr_patch()
126 nvkm_wobj(acr->wpr, lsfw->offset.lsb, hdr, sizeof(*hdr)); in ga102_acr_wpr_build_lsb()
140 nvkm_wo32(acr->wpr, 0x300, (2 << 16) | WPR_GENERIC_HEADER_ID_LSF_SHARED_SUB_WPR); in ga102_acr_wpr_build()
141 nvkm_wo32(acr->wpr, 0x304, 0x14); in ga102_acr_wpr_build()
142 nvkm_wo32(acr->wpr, 0x308, 0xffffffff); in ga102_acr_wpr_build()
143 nvkm_wo32(acr->wpr, 0x30c, 0); in ga102_acr_wpr_build()
144 nvkm_wo32(acr->wpr, 0x310, 0); in ga102_acr_wpr_build()
[all …]
H A Dgp102.c41 nvkm_robj(acr->wpr, offset, &hdr, sizeof(hdr)); in gp102_acr_wpr_patch()
48 nvkm_robj(acr->wpr, hdr.lsb_offset, &lsb, sizeof(lsb)); in gp102_acr_wpr_patch()
72 nvkm_wobj(acr->wpr, lsfw->offset.lsb, &hdr, sizeof(hdr)); in gp102_acr_wpr_build_lsb()
96 nvkm_wobj(acr->wpr, offset, &hdr, sizeof(hdr)); in gp102_acr_wpr_build()
105 nvkm_wobj(acr->wpr, lsfw->offset.img, in gp102_acr_wpr_build()
114 nvkm_wo32(acr->wpr, offset, WPR_HEADER_V1_FALCON_ID_INVALID); in gp102_acr_wpr_build()
123 &acr->wpr); in gp102_acr_wpr_alloc()
127 acr->shadow_start = nvkm_memory_addr(acr->wpr); in gp102_acr_wpr_alloc()
128 acr->wpr_start = acr->shadow_start + (nvkm_memory_size(acr->wpr) >> 1); in gp102_acr_wpr_alloc()
129 acr->wpr_end = acr->wpr_start + (nvkm_memory_size(acr->wpr) >> 1); in gp102_acr_wpr_alloc()
[all …]
H A Dgm200.c74 nvkm_robj(acr->wpr, offset, &hdr, sizeof(hdr)); in gm200_acr_wpr_patch()
81 nvkm_robj(acr->wpr, hdr.lsb_offset, &lsb, sizeof(lsb)); in gm200_acr_wpr_patch()
124 nvkm_wobj(acr->wpr, lsfw->offset.lsb, &hdr, sizeof(hdr)); in gm200_acr_wpr_build_lsb()
146 nvkm_wobj(acr->wpr, offset, &hdr, sizeof(hdr)); in gm200_acr_wpr_build()
155 nvkm_wobj(acr->wpr, lsfw->offset.img, in gm200_acr_wpr_build()
164 nvkm_wo32(acr->wpr, offset, WPR_HEADER_V0_FALCON_ID_INVALID); in gm200_acr_wpr_build()
173 &acr->wpr); in gm200_acr_wpr_alloc()
177 acr->wpr_start = nvkm_memory_addr(acr->wpr); in gm200_acr_wpr_alloc()
178 acr->wpr_end = acr->wpr_start + nvkm_memory_size(acr->wpr); in gm200_acr_wpr_alloc()
186 u32 wpr = 0; in gm200_acr_wpr_layout() local
[all …]
H A Dtu102.c50 nvkm_wo32(acr->wpr, 0x200, 0xffffffff); in tu102_acr_wpr_build()
65 nvkm_wobj(acr->wpr, offset, &hdr, sizeof(hdr)); in tu102_acr_wpr_build()
74 nvkm_wobj(acr->wpr, lsfw->offset.img, in tu102_acr_wpr_build()
83 nvkm_wo32(acr->wpr, offset, WPR_HEADER_V1_FALCON_ID_INVALID); in tu102_acr_wpr_build()
H A Dgm20b.c45 wpr_size, 0, true, &acr->wpr); in gm20b_acr_wpr_alloc()
75 desc->ucode_blob_base = nvkm_memory_addr(acr->wpr); in gm20b_acr_load_setup()
76 desc->ucode_blob_size = nvkm_memory_size(acr->wpr); in gm20b_acr_load_setup()
H A Dbase.c300 nvkm_kmap(acr->wpr); in nvkm_acr_oneinit()
302 nvkm_wobj(acr->wpr, 0, acr->wpr_fw->data, acr->wpr_fw->size); in nvkm_acr_oneinit()
309 nvkm_kmap(acr->wpr); in nvkm_acr_oneinit()
311 u32 us = nvkm_ro32(acr->wpr, i); in nvkm_acr_oneinit()
320 nvkm_done(acr->wpr); in nvkm_acr_oneinit()
376 nvkm_memory_unref(&acr->wpr); in nvkm_acr_dtor()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgp108.c32 nvkm_robj(acr->wpr, bld, &hdr, sizeof(hdr)); in gp108_gr_acr_bld_patch()
35 nvkm_wobj(acr->wpr, bld, &hdr, sizeof(hdr)); in gp108_gr_acr_bld_patch()
56 nvkm_wobj(acr->wpr, bld, &hdr, sizeof(hdr)); in gp108_gr_acr_bld_write()
H A Dgm20b.c39 nvkm_robj(acr->wpr, bld, &hdr, sizeof(hdr)); in gm20b_gr_acr_bld_patch()
46 nvkm_wobj(acr->wpr, bld, &hdr, sizeof(hdr)); in gm20b_gr_acr_bld_patch()
70 nvkm_wobj(acr->wpr, bld, &hdr, sizeof(hdr)); in gm20b_gr_acr_bld_write()
H A Dgm200.c49 nvkm_robj(acr->wpr, bld, &hdr, sizeof(hdr)); in gm200_gr_acr_bld_patch()
52 nvkm_wobj(acr->wpr, bld, &hdr, sizeof(hdr)); in gm200_gr_acr_bld_patch()
73 nvkm_wobj(acr->wpr, bld, &hdr, sizeof(hdr)); in gm200_gr_acr_bld_write()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/sec2/
H A Dgp102.c81 nvkm_robj(acr->wpr, bld, &hdr, sizeof(hdr)); in gp102_sec2_acr_bld_patch()
85 nvkm_wobj(acr->wpr, bld, &hdr, sizeof(hdr)); in gp102_sec2_acr_bld_patch()
107 nvkm_wobj(acr->wpr, bld, &hdr, sizeof(hdr)); in gp102_sec2_acr_bld_write()
244 nvkm_robj(acr->wpr, bld, &hdr, sizeof(hdr)); in gp102_sec2_acr_bld_patch_1()
247 nvkm_wobj(acr->wpr, bld, &hdr, sizeof(hdr)); in gp102_sec2_acr_bld_patch_1()
268 nvkm_wobj(acr->wpr, bld, &hdr, sizeof(hdr)); in gp102_sec2_acr_bld_write_1()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgm20b.c71 nvkm_robj(acr->wpr, bld, &hdr, sizeof(hdr)); in gm20b_pmu_acr_bld_patch()
81 nvkm_wobj(acr->wpr, bld, &hdr, sizeof(hdr)); in gm20b_pmu_acr_bld_patch()
109 nvkm_wobj(acr->wpr, bld, &hdr, sizeof(hdr)); in gm20b_pmu_acr_bld_write()
/openbmc/linux/drivers/rtc/
H A Drtc-stm32.c106 u16 wpr; member
141 writel_relaxed(RTC_WPR_1ST_KEY, rtc->base + regs->wpr); in stm32_rtc_wpr_unlock()
142 writel_relaxed(RTC_WPR_2ND_KEY, rtc->base + regs->wpr); in stm32_rtc_wpr_unlock()
149 writel_relaxed(RTC_WPR_WRONG_KEY, rtc->base + regs->wpr); in stm32_rtc_wpr_lock()
563 .wpr = 0x24,
585 .wpr = 0x24,
616 .wpr = 0x24,
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dacr.h44 struct nvkm_memory *wpr; member
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvfw/
H A Dacr.h54 struct wpr_header_v1 wpr; member
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/nvfw/
H A Dacr.c61 wpr_header_v1_dump(subdev, &hdr->wpr); in wpr_header_v2_dump()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dlpc32xx_nand_mlc.c43 u32 wpr; member