Searched refs:pqi_ofa_memory (Results 1 – 2 of 2) sorted by relevance
446 (offsetof(struct pqi_ofa_memory, sg_descriptor) + \449 struct pqi_ofa_memory { struct1185 struct pqi_ofa_memory *pqi_ofa_mem_virt_addr;
7706 struct pqi_ofa_memory *ofap; in pqi_ofa_alloc_mem()7781 struct pqi_ofa_memory *pqi_ofa_memory; in pqi_ofa_setup_host_buffer() local7785 pqi_ofa_memory = dma_alloc_coherent(dev, in pqi_ofa_setup_host_buffer()7790 if (!pqi_ofa_memory) in pqi_ofa_setup_host_buffer()7793 put_unaligned_le16(PQI_OFA_VERSION, &pqi_ofa_memory->version); in pqi_ofa_setup_host_buffer()7794 memcpy(&pqi_ofa_memory->signature, PQI_OFA_SIGNATURE, in pqi_ofa_setup_host_buffer()7795 sizeof(pqi_ofa_memory->signature)); in pqi_ofa_setup_host_buffer()7796 pqi_ofa_memory->bytes_allocated = cpu_to_le32(bytes_requested); in pqi_ofa_setup_host_buffer()7798 ctrl_info->pqi_ofa_mem_virt_addr = pqi_ofa_memory; in pqi_ofa_setup_host_buffer()7812 struct pqi_ofa_memory *ofap; in pqi_ofa_free_host_buffer()[all …]