Searched refs:sg_arr (Results 1 – 3 of 3) sorted by relevance
37 struct sg_el *sg_arr, in asd_map_scatterlist() argument53 sg_arr[0].bus_addr = cpu_to_le64((u64)dma); in asd_map_scatterlist()54 sg_arr[0].size = cpu_to_le32(task->total_xfer_len); in asd_map_scatterlist()55 sg_arr[0].flags |= ASD_SG_EL_LIST_EOL; in asd_map_scatterlist()72 ascb->sg_arr = asd_alloc_coherent(asd_ha, in asd_map_scatterlist()75 if (!ascb->sg_arr) { in asd_map_scatterlist()81 &((struct sg_el *)ascb->sg_arr->vaddr)[i]; in asd_map_scatterlist()89 sg_arr[i].bus_addr = in asd_map_scatterlist()91 sg_arr[i].size = cpu_to_le32((u32)sg_dma_len(sc)); in asd_map_scatterlist()93 sg_arr[1].next_sg_offs = 2 * sizeof(*sg_arr); in asd_map_scatterlist()[all …]
118 struct asd_dma_tok *sg_arr; member
94 struct scatterlist *tmp, sg_arr[2]; in omap_aes_gcm_copy_buffers() local129 tmp = scatterwalk_ffwd(sg_arr, req->src, req->assoclen); in omap_aes_gcm_copy_buffers()153 dd->out_sg = scatterwalk_ffwd(sg_arr, req->dst, req->assoclen); in omap_aes_gcm_copy_buffers()156 if (req->src == req->dst || dd->out_sg == sg_arr) in omap_aes_gcm_copy_buffers()