Searched refs:lhdr (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ |
D | acr_r367.c | 159 struct acr_r367_lsf_lsb_header *lhdr = &img->lsb_header; in acr_r367_ls_img_fill_headers() local 167 whdr->bin_version = lhdr->signature.version; in acr_r367_ls_img_fill_headers() 177 offset += sizeof(*lhdr); in acr_r367_ls_img_fill_headers() 184 _img->ucode_off = lhdr->ucode_off = offset; in acr_r367_ls_img_fill_headers() 195 lhdr->bl_code_size = ALIGN(desc->bootloader_size, in acr_r367_ls_img_fill_headers() 197 lhdr->ucode_size = ALIGN(desc->app_resident_data_offset, in acr_r367_ls_img_fill_headers() 198 LSF_BL_CODE_SIZE_ALIGN) + lhdr->bl_code_size; in acr_r367_ls_img_fill_headers() 199 lhdr->data_size = ALIGN(desc->app_size, LSF_BL_CODE_SIZE_ALIGN) + in acr_r367_ls_img_fill_headers() 200 lhdr->bl_code_size - lhdr->ucode_size; in acr_r367_ls_img_fill_headers() 206 lhdr->bl_imem_off = desc->bootloader_imem_offset; in acr_r367_ls_img_fill_headers() [all …]
|
D | gp102.c | 56 struct hsf_load_header *lhdr; in gp102_run_secure_scrub() local 78 lhdr = scrub_image + fw_hdr->hdr_offset; in gp102_run_secure_scrub() 81 nvkm_falcon_load_imem(falcon, scrub_data, lhdr->non_sec_code_off, in gp102_run_secure_scrub() 82 lhdr->non_sec_code_size, in gp102_run_secure_scrub() 83 lhdr->non_sec_code_off >> 8, 0, false); in gp102_run_secure_scrub() 84 nvkm_falcon_load_imem(falcon, scrub_data + lhdr->apps[0], in gp102_run_secure_scrub() 85 ALIGN(lhdr->apps[0], 0x100), in gp102_run_secure_scrub() 86 lhdr->apps[1], in gp102_run_secure_scrub() 87 lhdr->apps[0] >> 8, 0, true); in gp102_run_secure_scrub() 88 nvkm_falcon_load_dmem(falcon, scrub_data + lhdr->data_dma_base, 0, in gp102_run_secure_scrub() [all …]
|
D | acr_r352.c | 303 struct acr_r352_lsf_lsb_header *lhdr = &img->lsb_header; in acr_r352_ls_img_fill_headers() local 320 offset += sizeof(*lhdr); in acr_r352_ls_img_fill_headers() 327 _img->ucode_off = lhdr->ucode_off = offset; in acr_r352_ls_img_fill_headers() 338 lhdr->bl_code_size = ALIGN(desc->bootloader_size, in acr_r352_ls_img_fill_headers() 340 lhdr->ucode_size = ALIGN(desc->app_resident_data_offset, in acr_r352_ls_img_fill_headers() 341 LSF_BL_CODE_SIZE_ALIGN) + lhdr->bl_code_size; in acr_r352_ls_img_fill_headers() 342 lhdr->data_size = ALIGN(desc->app_size, LSF_BL_CODE_SIZE_ALIGN) + in acr_r352_ls_img_fill_headers() 343 lhdr->bl_code_size - lhdr->ucode_size; in acr_r352_ls_img_fill_headers() 349 lhdr->bl_imem_off = desc->bootloader_imem_offset; in acr_r352_ls_img_fill_headers() 350 lhdr->app_code_off = desc->app_start_offset + in acr_r352_ls_img_fill_headers() [all …]
|
/Linux-v4.19/fs/xfs/ |
D | xfs_log_cil.c | 639 struct xfs_log_iovec lhdr; in xlog_cil_push() local 781 lhdr.i_addr = &thdr; in xlog_cil_push() 782 lhdr.i_len = sizeof(xfs_trans_header_t); in xlog_cil_push() 783 lhdr.i_type = XLOG_REG_TYPE_TRANSHDR; in xlog_cil_push() 784 tic->t_curr_res -= lhdr.i_len + sizeof(xlog_op_header_t); in xlog_cil_push() 787 lvhdr.lv_iovecp = &lhdr; in xlog_cil_push()
|