Searched refs:ofap (Results 1 – 1 of 1) sorted by relevance
8784 struct pqi_ofa_memory *ofap; in pqi_ofa_alloc_mem() local8788 ofap = ctrl_info->pqi_ofa_mem_virt_addr; in pqi_ofa_alloc_mem()8805 mem_descriptor = &ofap->sg_descriptor[i]; in pqi_ofa_alloc_mem()8811 put_unaligned_le16(sg_count, &ofap->num_memory_descriptors); in pqi_ofa_alloc_mem()8812 put_unaligned_le32(sg_count * chunk_size, &ofap->bytes_allocated); in pqi_ofa_alloc_mem()8818 mem_descriptor = &ofap->sg_descriptor[i]; in pqi_ofa_alloc_mem()8855 struct pqi_ofa_memory *ofap; in pqi_ofa_setup_host_buffer() local8859 ofap = dma_alloc_coherent(dev, sizeof(*ofap), in pqi_ofa_setup_host_buffer()8861 if (!ofap) in pqi_ofa_setup_host_buffer()8864 ctrl_info->pqi_ofa_mem_virt_addr = ofap; in pqi_ofa_setup_host_buffer()[all …]