Searched refs:pqi_ofa_memory (Results 1 – 2 of 2) sorted by relevance
443 (offsetof(struct pqi_ofa_memory, sg_descriptor) + \446 struct pqi_ofa_memory { struct1173 struct pqi_ofa_memory *pqi_ofa_mem_virt_addr;
7626 struct pqi_ofa_memory *ofap; in pqi_ofa_alloc_mem()7701 struct pqi_ofa_memory *pqi_ofa_memory; in pqi_ofa_setup_host_buffer() local7705 pqi_ofa_memory = dma_alloc_coherent(dev, in pqi_ofa_setup_host_buffer()7710 if (!pqi_ofa_memory) in pqi_ofa_setup_host_buffer()7713 put_unaligned_le16(PQI_OFA_VERSION, &pqi_ofa_memory->version); in pqi_ofa_setup_host_buffer()7714 memcpy(&pqi_ofa_memory->signature, PQI_OFA_SIGNATURE, in pqi_ofa_setup_host_buffer()7715 sizeof(pqi_ofa_memory->signature)); in pqi_ofa_setup_host_buffer()7716 pqi_ofa_memory->bytes_allocated = cpu_to_le32(bytes_requested); in pqi_ofa_setup_host_buffer()7718 ctrl_info->pqi_ofa_mem_virt_addr = pqi_ofa_memory; in pqi_ofa_setup_host_buffer()7730 struct pqi_ofa_memory *ofap; in pqi_ofa_free_host_buffer()[all …]