Lines Matching refs:desc_count

1985 	u16 desc_count = 0;  in mpi3mr_build_nvme_prp()  local
2198 if ((++desc_count) >= in mpi3mr_build_nvme_prp()
2206 drv_buf_iter->dma_desc[desc_count].dma_addr; in mpi3mr_build_nvme_prp()
2208 drv_buf_iter->dma_desc[desc_count].size; in mpi3mr_build_nvme_prp()
2242 u16 desc_count) in mpi3mr_map_data_buffer_dma() argument
2249 if ((needed_desc + desc_count) > MPI3MR_NUM_IOCTL_SGE) { in mpi3mr_map_data_buffer_dma()
2251 __func__, needed_desc, desc_count, MPI3MR_NUM_IOCTL_SGE); in mpi3mr_map_data_buffer_dma()
2258 for (i = 0; i < needed_desc; i++, desc_count++) { in mpi3mr_map_data_buffer_dma()
2259 drv_buf->dma_desc[i].addr = mrioc->ioctl_sge[desc_count].addr; in mpi3mr_map_data_buffer_dma()
2261 mrioc->ioctl_sge[desc_count].dma_addr; in mpi3mr_map_data_buffer_dma()
2262 if (buf_len < mrioc->ioctl_sge[desc_count].size) in mpi3mr_map_data_buffer_dma()
2266 mrioc->ioctl_sge[desc_count].size; in mpi3mr_map_data_buffer_dma()
2269 mrioc->ioctl_sge[desc_count].size); in mpi3mr_map_data_buffer_dma()
2323 u16 rmc_size = 0, desc_count = 0; in mpi3mr_bsg_process_mpt_cmds() local
2567 if (mpi3mr_map_data_buffer_dma(mrioc, drv_buf_iter, desc_count)) { in mpi3mr_bsg_process_mpt_cmds()
2574 desc_count += drv_buf_iter->num_dma_desc; in mpi3mr_bsg_process_mpt_cmds()
2799 for (desc_count = 0; in mpi3mr_bsg_process_mpt_cmds()
2800 desc_count < drv_buf_iter->num_dma_desc; in mpi3mr_bsg_process_mpt_cmds()
2801 desc_count++) { in mpi3mr_bsg_process_mpt_cmds()
2803 drv_buf_iter->dma_desc[desc_count].addr, in mpi3mr_bsg_process_mpt_cmds()
2804 drv_buf_iter->dma_desc[desc_count].size); in mpi3mr_bsg_process_mpt_cmds()
2806 drv_buf_iter->dma_desc[desc_count].size; in mpi3mr_bsg_process_mpt_cmds()