Lines Matching refs:suof_handle
1042 struct icp_qat_suof_handle *suof_handle = handle->sobj_handle; in qat_uclo_map_suof_file_hdr() local
1044 suof_handle->file_id = ICP_QAT_SUOF_FID; in qat_uclo_map_suof_file_hdr()
1045 suof_handle->suof_buf = (char *)suof_ptr; in qat_uclo_map_suof_file_hdr()
1046 suof_handle->suof_size = suof_size; in qat_uclo_map_suof_file_hdr()
1055 suof_handle->check_sum = suof_ptr->check_sum; in qat_uclo_map_suof_file_hdr()
1056 suof_handle->min_ver = suof_ptr->min_ver; in qat_uclo_map_suof_file_hdr()
1057 suof_handle->maj_ver = suof_ptr->maj_ver; in qat_uclo_map_suof_file_hdr()
1058 suof_handle->fw_type = suof_ptr->fw_type; in qat_uclo_map_suof_file_hdr()
1066 struct icp_qat_suof_handle *suof_handle = handle->sobj_handle; in qat_uclo_map_simg() local
1070 suof_img_hdr->simg_buf = (suof_handle->suof_buf + in qat_uclo_map_simg()
1074 (suof_handle->suof_buf + in qat_uclo_map_simg()
1094 qat_uclo_map_suof_symobjs(struct icp_qat_suof_handle *suof_handle, in qat_uclo_map_suof_symobjs() argument
1097 char **sym_str = (char **)&suof_handle->sym_str; in qat_uclo_map_suof_symobjs()
1098 unsigned int *sym_size = &suof_handle->sym_size; in qat_uclo_map_suof_symobjs()
1102 (suof_chunk_hdr->offset + suof_handle->suof_buf); in qat_uclo_map_suof_symobjs()
1104 (suof_handle->suof_buf + suof_chunk_hdr->offset + in qat_uclo_map_suof_symobjs()
1161 struct icp_qat_suof_handle *suof_handle = handle->sobj_handle; in qat_uclo_map_suof() local
1180 qat_uclo_map_suof_symobjs(suof_handle, suof_chunk_hdr); in qat_uclo_map_suof()
1181 suof_handle->img_table.num_simgs = suof_ptr->num_chunks - 1; in qat_uclo_map_suof()
1183 if (suof_handle->img_table.num_simgs != 0) { in qat_uclo_map_suof()
1184 suof_img_hdr = kcalloc(suof_handle->img_table.num_simgs, in qat_uclo_map_suof()
1189 suof_handle->img_table.simg_hdr = suof_img_hdr; in qat_uclo_map_suof()
1191 for (i = 0; i < suof_handle->img_table.num_simgs; i++) { in qat_uclo_map_suof()
1205 suof_handle->img_table.num_simgs); in qat_uclo_map_suof()
1575 struct icp_qat_suof_handle *suof_handle; in qat_uclo_map_suof_obj() local
1577 suof_handle = kzalloc(sizeof(*suof_handle), GFP_KERNEL); in qat_uclo_map_suof_obj()
1578 if (!suof_handle) in qat_uclo_map_suof_obj()
1580 handle->sobj_handle = suof_handle; in qat_uclo_map_suof_obj()