Lines Matching full:fw
27 #include <nvfw/fw.h>
32 struct nvkm_falcon *falcon, struct nvkm_falcon_fw *fw) in tu102_gsp_booter_ctor() argument
49 blob->data + hdr->data_offset, hdr->data_size, falcon, fw); in tu102_gsp_booter_ctor()
53 ret = nvkm_falcon_fw_sign(fw, loc, hshdr->sig_prod_size / cnt, blob->data, in tu102_gsp_booter_ctor()
60 fw->nmem_base_img = 0; in tu102_gsp_booter_ctor()
61 fw->nmem_base = lhdr->os_code_offset; in tu102_gsp_booter_ctor()
62 fw->nmem_size = lhdr->os_code_size; in tu102_gsp_booter_ctor()
63 fw->imem_base_img = fw->nmem_size; in tu102_gsp_booter_ctor()
64 fw->imem_base = lhdr->app[0].offset; in tu102_gsp_booter_ctor()
65 fw->imem_size = lhdr->app[0].size; in tu102_gsp_booter_ctor()
66 fw->dmem_base_img = lhdr->os_data_offset; in tu102_gsp_booter_ctor()
67 fw->dmem_base = 0; in tu102_gsp_booter_ctor()
68 fw->dmem_size = lhdr->os_data_size; in tu102_gsp_booter_ctor()
69 fw->dmem_sign = loc - fw->dmem_base_img; in tu102_gsp_booter_ctor()
70 fw->boot_addr = lhdr->os_code_offset; in tu102_gsp_booter_ctor()
74 nvkm_falcon_fw_dtor(fw); in tu102_gsp_booter_ctor()
80 tu102_gsp_fwsec_load_bld(struct nvkm_falcon_fw *fw) in tu102_gsp_fwsec_load_bld() argument
84 .code_dma_base = fw->fw.phys, in tu102_gsp_fwsec_load_bld()
85 .non_sec_code_off = fw->nmem_base, in tu102_gsp_fwsec_load_bld()
86 .non_sec_code_size = fw->nmem_size, in tu102_gsp_fwsec_load_bld()
87 .sec_code_off = fw->imem_base, in tu102_gsp_fwsec_load_bld()
88 .sec_code_size = fw->imem_size, in tu102_gsp_fwsec_load_bld()
90 .data_dma_base = fw->fw.phys + fw->dmem_base_img, in tu102_gsp_fwsec_load_bld()
91 .data_size = fw->dmem_size, in tu102_gsp_fwsec_load_bld()
96 flcn_bl_dmem_desc_v2_dump(fw->falcon->user, &desc); in tu102_gsp_fwsec_load_bld()
98 nvkm_falcon_mask(fw->falcon, 0x600 + desc.ctx_dma * 4, 0x00000007, 0x00000005); in tu102_gsp_fwsec_load_bld()
100 return nvkm_falcon_pio_wr(fw->falcon, (u8 *)&desc, 0, 0, DMEM, 0, sizeof(desc), 0, 0); in tu102_gsp_fwsec_load_bld()