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()
337 aed = &obj_handle->ae_data[ae]; in qat_uclo_init_umem_seg()
398 ustore_size = obj_handle->ae_data[ae].eff_ustore_size; in qat_uclo_init_ustore()
877 aed = &obj_handle->ae_data[ae]; in qat_uclo_init_globals()
945 struct icp_qat_uclo_aedata *ae_data; in qat_uclo_set_ae_mode() local
956 ae_data = &obj_handle->ae_data[ae]; in qat_uclo_set_ae_mode()
957 for (s = 0; s < min_t(unsigned int, ae_data->slice_num, in qat_uclo_set_ae_mode()
959 if (!obj_handle->ae_data[ae].ae_slices[s].encap_image) in qat_uclo_set_ae_mode()
961 uof_image = ae_data->ae_slices[s].encap_image->img_ptr; in qat_uclo_set_ae_mode()
1887 qat_uclo_free_ae_data(&obj_handle->ae_data[a]); in qat_uclo_del_obj()
1990 aed = &obj_handle->ae_data[ae]; in qat_uclo_wr_uimage_page()