Home
last modified time | relevance | path

Searched refs:dma_buff (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr_app.c187 struct mpi3mr_ioctl_mpt_dma_buffer *dma_buff = dma_buffers; in mpi3mr_app_construct_nvme_sgl() local
202 for (count = 0; count < bufcnt; count++, dma_buff++) { in mpi3mr_app_construct_nvme_sgl()
203 if ((dma_buff->data_dir == MPI3MR_APP_DDI) || in mpi3mr_app_construct_nvme_sgl()
204 (dma_buff->data_dir == MPI3MR_APP_DDO)) { in mpi3mr_app_construct_nvme_sgl()
205 length = dma_buff->kern_buf_len; in mpi3mr_app_construct_nvme_sgl()
209 if (!length || !dma_buff->num_dma_desc) in mpi3mr_app_construct_nvme_sgl()
212 if (dma_buff->num_dma_desc == 1) { in mpi3mr_app_construct_nvme_sgl()
228 if (available_sges < dma_buff->num_dma_desc) in mpi3mr_app_construct_nvme_sgl()
232 size = dma_buff->num_dma_desc * sizeof(struct mpi3mr_nvme_pt_sge); in mpi3mr_app_construct_nvme_sgl()
239 for (i = 0; i < dma_buff->num_dma_desc; i++) { in mpi3mr_app_construct_nvme_sgl()
[all …]
/freebsd/sys/dev/iavf/
H A Diavf_adminq.c677 struct iavf_dma_mem *dma_buff = NULL; in iavf_asq_send_command() local
771 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); in iavf_asq_send_command()
773 iavf_memcpy(dma_buff->va, buff, buff_size, in iavf_asq_send_command()
781 CPU_TO_LE32(IAVF_HI_DWORD(dma_buff->pa)); in iavf_asq_send_command()
783 CPU_TO_LE32(IAVF_LO_DWORD(dma_buff->pa)); in iavf_asq_send_command()
818 iavf_memcpy(buff, dma_buff->va, buff_size, in iavf_asq_send_command()
/freebsd/sys/dev/ixl/
H A Di40e_adminq.c848 struct i40e_dma_mem *dma_buff = NULL; in i40e_asq_send_command() local
942 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); in i40e_asq_send_command()
944 i40e_memcpy(dma_buff->va, buff, buff_size, in i40e_asq_send_command()
952 CPU_TO_LE32(I40E_HI_DWORD(dma_buff->pa)); in i40e_asq_send_command()
954 CPU_TO_LE32(I40E_LO_DWORD(dma_buff->pa)); in i40e_asq_send_command()
989 i40e_memcpy(buff, dma_buff->va, buff_size, in i40e_asq_send_command()