Lines Matching refs:pqi_ofa_memory
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() local
7705 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()
7762 struct pqi_ofa_memory *ofap; in pqi_ofa_host_memory_update()
7775 size = offsetof(struct pqi_ofa_memory, sg_descriptor) + in pqi_ofa_host_memory_update()