Lines Matching refs:ae_data
22 struct icp_qat_uclo_aedata *ae_data; in qat_uclo_init_ae_data() local
27 ae_data = &obj_handle->ae_data[ae]; in qat_uclo_init_ae_data()
29 ae_slice = &ae_data->ae_slices[ae_data->slice_num]; in qat_uclo_init_ae_data()
35 ae_data->eff_ustore_size = obj_handle->ustore_phy_size; in qat_uclo_init_ae_data()
48 ae_data->slice_num++; in qat_uclo_init_ae_data()
56 static int qat_uclo_free_ae_data(struct icp_qat_uclo_aedata *ae_data) in qat_uclo_free_ae_data() argument
60 if (!ae_data) { in qat_uclo_free_ae_data()
65 for (i = 0; i < ae_data->slice_num; i++) { in qat_uclo_free_ae_data()
66 kfree(ae_data->ae_slices[i].region); in qat_uclo_free_ae_data()
67 ae_data->ae_slices[i].region = NULL; in qat_uclo_free_ae_data()
68 kfree(ae_data->ae_slices[i].page); in qat_uclo_free_ae_data()
69 ae_data->ae_slices[i].page = NULL; in qat_uclo_free_ae_data()
336 for (i = 0; i < obj_handle->ae_data[ae].slice_num; i++) { in qat_uclo_init_umem_seg()
337 if (obj_handle->ae_data[ae].ae_slices[i]. in qat_uclo_init_umem_seg()
339 obj_handle->ae_data[ae].ae_slices[i]. in qat_uclo_init_umem_seg()
391 ustore_size = obj_handle->ae_data[ae].eff_ustore_size; in qat_uclo_init_ustore()
859 for (s = 0; s < obj_handle->ae_data[ae].slice_num; s++) { in qat_uclo_init_globals()
860 if (!obj_handle->ae_data[ae].ae_slices[s].encap_image) in qat_uclo_init_globals()
863 obj_handle->ae_data[ae]. in qat_uclo_init_globals()
876 struct icp_qat_uclo_aedata *ae_data; in qat_uclo_set_ae_mode() local
883 ae_data = &obj_handle->ae_data[ae]; in qat_uclo_set_ae_mode()
884 for (s = 0; s < min_t(unsigned int, ae_data->slice_num, in qat_uclo_set_ae_mode()
886 if (!obj_handle->ae_data[ae].ae_slices[s].encap_image) in qat_uclo_set_ae_mode()
888 uof_image = ae_data->ae_slices[s].encap_image->img_ptr; in qat_uclo_set_ae_mode()
1469 qat_uclo_free_ae_data(&obj_handle->ae_data[a]); in qat_uclo_del_uof_obj()
1564 for (s = 0; s < obj_handle->ae_data[ae].slice_num; s++) { in qat_uclo_wr_uimage_page()
1565 if (image->ctx_assigned & obj_handle->ae_data[ae]. in qat_uclo_wr_uimage_page()
1569 if (s >= obj_handle->ae_data[ae].slice_num) in qat_uclo_wr_uimage_page()
1571 page = obj_handle->ae_data[ae].ae_slices[s].page; in qat_uclo_wr_uimage_page()
1576 page = obj_handle->ae_data[ae].ae_slices[s].page; in qat_uclo_wr_uimage_page()
1578 obj_handle->ae_data[ae].ae_slices[s].cur_page[ctx] = in qat_uclo_wr_uimage_page()