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;
7712 struct pqi_ofa_memory *ofap; in pqi_ofa_alloc_mem()7787 struct pqi_ofa_memory *pqi_ofa_memory; in pqi_ofa_setup_host_buffer() local7791 pqi_ofa_memory = dma_alloc_coherent(dev, in pqi_ofa_setup_host_buffer()7796 if (!pqi_ofa_memory) in pqi_ofa_setup_host_buffer()7799 put_unaligned_le16(PQI_OFA_VERSION, &pqi_ofa_memory->version); in pqi_ofa_setup_host_buffer()7800 memcpy(&pqi_ofa_memory->signature, PQI_OFA_SIGNATURE, in pqi_ofa_setup_host_buffer()7801 sizeof(pqi_ofa_memory->signature)); in pqi_ofa_setup_host_buffer()7802 pqi_ofa_memory->bytes_allocated = cpu_to_le32(bytes_requested); in pqi_ofa_setup_host_buffer()7804 ctrl_info->pqi_ofa_mem_virt_addr = pqi_ofa_memory; in pqi_ofa_setup_host_buffer()7818 struct pqi_ofa_memory *ofap; in pqi_ofa_free_host_buffer()[all …]