Lines Matching refs:mem_descriptor
8203 struct pqi_sg_descriptor *mem_descriptor; in pqi_ofa_alloc_mem() local
8223 mem_descriptor = &ofap->sg_descriptor[i]; in pqi_ofa_alloc_mem()
8224 put_unaligned_le64((u64)dma_handle, &mem_descriptor->address); in pqi_ofa_alloc_mem()
8225 put_unaligned_le32(chunk_size, &mem_descriptor->length); in pqi_ofa_alloc_mem()
8228 put_unaligned_le32(CISS_SG_LAST, &mem_descriptor->flags); in pqi_ofa_alloc_mem()
8236 mem_descriptor = &ofap->sg_descriptor[i]; in pqi_ofa_alloc_mem()
8239 get_unaligned_le64(&mem_descriptor->address)); in pqi_ofa_alloc_mem()
8301 struct pqi_sg_descriptor *mem_descriptor; in pqi_ofa_free_host_buffer() local
8313 mem_descriptor = ofap->sg_descriptor; in pqi_ofa_free_host_buffer()
8319 get_unaligned_le32(&mem_descriptor[i].length), in pqi_ofa_free_host_buffer()
8321 get_unaligned_le64(&mem_descriptor[i].address)); in pqi_ofa_free_host_buffer()