• Home
  • Raw
  • Download

Lines Matching refs:ae_data

65 	struct icp_qat_uclo_aedata *ae_data;  in qat_uclo_init_ae_data()  local
70 ae_data = &obj_handle->ae_data[ae]; in qat_uclo_init_ae_data()
72 ae_slice = &ae_data->ae_slices[ae_data->slice_num]; in qat_uclo_init_ae_data()
78 ae_data->eff_ustore_size = obj_handle->ustore_phy_size; in qat_uclo_init_ae_data()
91 ae_data->slice_num++; in qat_uclo_init_ae_data()
99 static int qat_uclo_free_ae_data(struct icp_qat_uclo_aedata *ae_data) in qat_uclo_free_ae_data() argument
103 if (!ae_data) { in qat_uclo_free_ae_data()
108 for (i = 0; i < ae_data->slice_num; i++) { in qat_uclo_free_ae_data()
109 kfree(ae_data->ae_slices[i].region); in qat_uclo_free_ae_data()
110 ae_data->ae_slices[i].region = NULL; in qat_uclo_free_ae_data()
111 kfree(ae_data->ae_slices[i].page); in qat_uclo_free_ae_data()
112 ae_data->ae_slices[i].page = NULL; in qat_uclo_free_ae_data()
374 for (i = 0; i < obj_handle->ae_data[ae].slice_num; i++) { in qat_uclo_init_umem_seg()
375 if (obj_handle->ae_data[ae].ae_slices[i]. in qat_uclo_init_umem_seg()
377 obj_handle->ae_data[ae].ae_slices[i]. in qat_uclo_init_umem_seg()
429 ustore_size = obj_handle->ae_data[ae].eff_ustore_size; in qat_uclo_init_ustore()
897 for (s = 0; s < obj_handle->ae_data[ae].slice_num; s++) { in qat_uclo_init_globals()
898 if (!obj_handle->ae_data[ae].ae_slices[s].encap_image) in qat_uclo_init_globals()
901 obj_handle->ae_data[ae]. in qat_uclo_init_globals()
914 struct icp_qat_uclo_aedata *ae_data; in qat_uclo_set_ae_mode() local
921 ae_data = &obj_handle->ae_data[ae]; in qat_uclo_set_ae_mode()
922 for (s = 0; s < min_t(unsigned int, ae_data->slice_num, in qat_uclo_set_ae_mode()
924 if (!obj_handle->ae_data[ae].ae_slices[s].encap_image) in qat_uclo_set_ae_mode()
926 uof_image = ae_data->ae_slices[s].encap_image->img_ptr; in qat_uclo_set_ae_mode()
1507 qat_uclo_free_ae_data(&obj_handle->ae_data[a]); in qat_uclo_del_uof_obj()
1602 for (s = 0; s < obj_handle->ae_data[ae].slice_num; s++) { in qat_uclo_wr_uimage_page()
1603 if (image->ctx_assigned & obj_handle->ae_data[ae]. in qat_uclo_wr_uimage_page()
1607 if (s >= obj_handle->ae_data[ae].slice_num) in qat_uclo_wr_uimage_page()
1609 page = obj_handle->ae_data[ae].ae_slices[s].page; in qat_uclo_wr_uimage_page()
1614 page = obj_handle->ae_data[ae].ae_slices[s].page; in qat_uclo_wr_uimage_page()
1616 obj_handle->ae_data[ae].ae_slices[s].cur_page[ctx] = in qat_uclo_wr_uimage_page()