Lines Matching refs:mem_descriptor
7710 struct pqi_sg_descriptor *mem_descriptor = NULL; in pqi_ofa_alloc_mem() local
7739 mem_descriptor = &ofap->sg_descriptor[i]; in pqi_ofa_alloc_mem()
7740 put_unaligned_le64 ((u64) dma_handle, &mem_descriptor->address); in pqi_ofa_alloc_mem()
7741 put_unaligned_le32 (chunk_size, &mem_descriptor->length); in pqi_ofa_alloc_mem()
7747 put_unaligned_le32(CISS_SG_LAST, &mem_descriptor->flags); in pqi_ofa_alloc_mem()
7755 mem_descriptor = &ofap->sg_descriptor[i]; in pqi_ofa_alloc_mem()
7758 get_unaligned_le64(&mem_descriptor->address)); in pqi_ofa_alloc_mem()
7817 struct pqi_sg_descriptor *mem_descriptor; in pqi_ofa_free_host_buffer() local
7828 mem_descriptor = ofap->sg_descriptor; in pqi_ofa_free_host_buffer()
7833 get_unaligned_le32(&mem_descriptor[i].length), in pqi_ofa_free_host_buffer()
7835 get_unaligned_le64(&mem_descriptor[i].address)); in pqi_ofa_free_host_buffer()