Home
last modified time | relevance | path

Searched refs:lhdr (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/
Dacr_r367.c165 struct acr_r367_lsf_lsb_header *lhdr = &img->lsb_header; in acr_r367_ls_img_fill_headers() local
172 whdr->bin_version = lhdr->signature.version; in acr_r367_ls_img_fill_headers()
182 offset += sizeof(*lhdr); in acr_r367_ls_img_fill_headers()
189 _img->ucode_off = lhdr->ucode_off = offset; in acr_r367_ls_img_fill_headers()
200 lhdr->bl_code_size = ALIGN(desc->bootloader_size, in acr_r367_ls_img_fill_headers()
202 lhdr->ucode_size = ALIGN(desc->app_resident_data_offset, in acr_r367_ls_img_fill_headers()
203 LSF_BL_CODE_SIZE_ALIGN) + lhdr->bl_code_size; in acr_r367_ls_img_fill_headers()
204 lhdr->data_size = ALIGN(desc->app_size, LSF_BL_CODE_SIZE_ALIGN) + in acr_r367_ls_img_fill_headers()
205 lhdr->bl_code_size - lhdr->ucode_size; in acr_r367_ls_img_fill_headers()
211 lhdr->bl_imem_off = desc->bootloader_imem_offset; in acr_r367_ls_img_fill_headers()
[all …]
Dgp102.c56 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 …]
Dacr_r352.c307 struct acr_r352_lsf_lsb_header *lhdr = &img->lsb_header; in acr_r352_ls_img_fill_headers() local
323 offset += sizeof(*lhdr); in acr_r352_ls_img_fill_headers()
330 _img->ucode_off = lhdr->ucode_off = offset; in acr_r352_ls_img_fill_headers()
341 lhdr->bl_code_size = ALIGN(desc->bootloader_size, in acr_r352_ls_img_fill_headers()
343 lhdr->ucode_size = ALIGN(desc->app_resident_data_offset, in acr_r352_ls_img_fill_headers()
344 LSF_BL_CODE_SIZE_ALIGN) + lhdr->bl_code_size; in acr_r352_ls_img_fill_headers()
345 lhdr->data_size = ALIGN(desc->app_size, LSF_BL_CODE_SIZE_ALIGN) + in acr_r352_ls_img_fill_headers()
346 lhdr->bl_code_size - lhdr->ucode_size; in acr_r352_ls_img_fill_headers()
352 lhdr->bl_imem_off = desc->bootloader_imem_offset; in acr_r352_ls_img_fill_headers()
353 lhdr->app_code_off = desc->app_start_offset + in acr_r352_ls_img_fill_headers()
[all …]
/Linux-v5.4/fs/xfs/
Dxfs_log_cil.c655 struct xfs_log_iovec lhdr; in xlog_cil_push() local
797 lhdr.i_addr = &thdr; in xlog_cil_push()
798 lhdr.i_len = sizeof(xfs_trans_header_t); in xlog_cil_push()
799 lhdr.i_type = XLOG_REG_TYPE_TRANSHDR; in xlog_cil_push()
800 tic->t_curr_res -= lhdr.i_len + sizeof(xlog_op_header_t); in xlog_cil_push()
803 lvhdr.lv_iovecp = &lhdr; in xlog_cil_push()