Home
last modified time | relevance | path

Searched refs:biter (Results 1 – 14 of 14) sorted by relevance

/drivers/infiniband/core/
Dverbs.c2900 void __rdma_block_iter_start(struct ib_block_iter *biter, in __rdma_block_iter_start() argument
2904 memset(biter, 0, sizeof(struct ib_block_iter)); in __rdma_block_iter_start()
2905 biter->__sg = sglist; in __rdma_block_iter_start()
2906 biter->__sg_nents = nents; in __rdma_block_iter_start()
2909 biter->__pg_bit = __fls(pgsz); in __rdma_block_iter_start()
2913 bool __rdma_block_iter_next(struct ib_block_iter *biter) in __rdma_block_iter_next() argument
2918 if (!biter->__sg_nents || !biter->__sg) in __rdma_block_iter_next()
2921 biter->__dma_addr = sg_dma_address(biter->__sg) + biter->__sg_advance; in __rdma_block_iter_next()
2922 block_offset = biter->__dma_addr & (BIT_ULL(biter->__pg_bit) - 1); in __rdma_block_iter_next()
2923 sg_delta = BIT_ULL(biter->__pg_bit) - block_offset; in __rdma_block_iter_next()
[all …]
/drivers/dma/
Dfsl-edma-common.c284 * le16_to_cpu(edesc->tcd[i].vtcd->biter); in fsl_edma_desc_residue()
297 * le16_to_cpu(edesc->tcd[i].vtcd->biter); in fsl_edma_desc_residue()
370 edma_writew(edma, (s16)tcd->biter, &regs->tcd[ch].biter); in fsl_edma_set_tcd_regs()
382 u16 biter, u16 doff, u32 dlast_sga, bool major_int, in fsl_edma_fill_tcd() argument
408 tcd->biter = cpu_to_le16(EDMA_TCD_BITER_BITER(biter)); in fsl_edma_fill_tcd()
Dmpc512x_dma.c165 u32 biter:9; /* Beginning "major" iteration count */ member
663 tcd->biter = 1; in mpc_dma_prep_memcpy()
770 tcd->biter = 1; in mpc_dma_prep_slave_sg()
784 tcd->biter = iter & 0x1ff; in mpc_dma_prep_slave_sg()
786 tcd->citer = tcd->biter; in mpc_dma_prep_slave_sg()
Dfsl-edma-common.h81 __le16 biter; member
/drivers/infiniband/hw/hns/
Dhns_roce_alloc.c259 struct ib_block_iter biter; in hns_roce_get_umem_bufs() local
271 rdma_umem_for_each_dma_block(umem, &biter, 1 << page_shift) { in hns_roce_get_umem_bufs()
272 addr = rdma_block_iter_dma_address(&biter); in hns_roce_get_umem_bufs()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c185 struct ib_block_iter biter; in pvrdma_page_dir_insert_umem() local
192 rdma_umem_for_each_dma_block (umem, &biter, PAGE_SIZE) { in pvrdma_page_dir_insert_umem()
194 pdir, i, rdma_block_iter_dma_address(&biter)); in pvrdma_page_dir_insert_umem()
/drivers/md/
Ddm-user.c476 struct bvec_iter biter; in bio_copy_from_iter() local
479 bio_for_each_segment (bvec, bio, biter) { in bio_copy_from_iter()
507 struct bvec_iter biter; in bio_copy_to_iter() local
510 bio_for_each_segment (bvec, bio, biter) { in bio_copy_to_iter()
/drivers/infiniband/hw/efa/
Defa_verbs.c1149 struct ib_block_iter biter; in umem_to_page_list() local
1155 rdma_umem_for_each_dma_block(umem, &biter, BIT(hp_shift)) in umem_to_page_list()
1156 page_list[hp_idx++] = rdma_block_iter_dma_address(&biter); in umem_to_page_list()
1198 struct ib_block_iter biter; in pbl_chunk_list_create() local
1232 rdma_for_each_block(pages_sgl, &biter, sg_dma_cnt, in pbl_chunk_list_create()
1235 rdma_block_iter_dma_address(&biter); in pbl_chunk_list_create()
/drivers/infiniband/hw/bnxt_re/
Dqplib_res.c94 struct ib_block_iter biter; in bnxt_qplib_fill_user_dma_pages() local
97 rdma_umem_for_each_dma_block(sginfo->umem, &biter, sginfo->pgsize) { in bnxt_qplib_fill_user_dma_pages()
98 pbl->pg_map_arr[i] = rdma_block_iter_dma_address(&biter); in bnxt_qplib_fill_user_dma_pages()
/drivers/infiniband/hw/cxgb4/
Dmem.c513 struct ib_block_iter biter; in c4iw_reg_user_mr() local
564 rdma_umem_for_each_dma_block(mhp->umem, &biter, 1 << shift) { in c4iw_reg_user_mr()
565 pages[i++] = cpu_to_be64(rdma_block_iter_dma_address(&biter)); in c4iw_reg_user_mr()
/drivers/infiniband/hw/mthca/
Dmthca_provider.c856 struct ib_block_iter biter; in mthca_reg_user_mr() local
905 rdma_umem_for_each_dma_block(mr->umem, &biter, PAGE_SIZE) { in mthca_reg_user_mr()
906 pages[i++] = rdma_block_iter_dma_address(&biter); in mthca_reg_user_mr()
/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c1304 struct ib_block_iter biter; in i40iw_copy_user_pgaddrs() local
1312 rdma_umem_for_each_dma_block(region, &biter, iwmr->page_size) { in i40iw_copy_user_pgaddrs()
1313 *pbl = rdma_block_iter_dma_address(&biter); in i40iw_copy_user_pgaddrs()
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c817 struct ib_block_iter biter; in build_user_pbes() local
828 rdma_umem_for_each_dma_block (mr->umem, &biter, PAGE_SIZE) { in build_user_pbes()
830 pg_addr = rdma_block_iter_dma_address(&biter); in build_user_pbes()
/drivers/infiniband/hw/qedr/
Dverbs.c625 struct ib_block_iter biter; in qedr_populate_pbls() local
647 rdma_umem_for_each_dma_block (umem, &biter, BIT(pg_shift)) { in qedr_populate_pbls()
648 u64 pg_addr = rdma_block_iter_dma_address(&biter); in qedr_populate_pbls()