/drivers/infiniband/hw/hns/ |
D | hns_roce_alloc.c | 161 struct ib_block_iter biter; in hns_roce_get_umem_bufs() local 165 rdma_umem_for_each_dma_block(umem, &biter, 1 << page_shift) { in hns_roce_get_umem_bufs() 166 bufs[total++] = rdma_block_iter_dma_address(&biter); in hns_roce_get_umem_bufs()
|
/drivers/infiniband/core/ |
D | verbs.c | 2954 void __rdma_block_iter_start(struct ib_block_iter *biter, in __rdma_block_iter_start() argument 2958 memset(biter, 0, sizeof(struct ib_block_iter)); in __rdma_block_iter_start() 2959 biter->__sg = sglist; in __rdma_block_iter_start() 2960 biter->__sg_nents = nents; in __rdma_block_iter_start() 2963 biter->__pg_bit = __fls(pgsz); in __rdma_block_iter_start() 2967 bool __rdma_block_iter_next(struct ib_block_iter *biter) in __rdma_block_iter_next() argument 2972 if (!biter->__sg_nents || !biter->__sg) in __rdma_block_iter_next() 2975 biter->__dma_addr = sg_dma_address(biter->__sg) + biter->__sg_advance; in __rdma_block_iter_next() 2976 block_offset = biter->__dma_addr & (BIT_ULL(biter->__pg_bit) - 1); in __rdma_block_iter_next() 2977 sg_delta = BIT_ULL(biter->__pg_bit) - block_offset; in __rdma_block_iter_next() [all …]
|
/drivers/infiniband/hw/mlx5/ |
D | mem.c | 46 struct ib_block_iter biter; in mlx5_ib_populate_pas() local 48 rdma_umem_for_each_dma_block (umem, &biter, page_size) { in mlx5_ib_populate_pas() 49 *pas = cpu_to_be64(rdma_block_iter_dma_address(&biter) | in mlx5_ib_populate_pas()
|
D | mr.c | 1213 struct ib_block_iter biter; in mlx5_ib_update_mr_pas() local 1234 rdma_for_each_block (mr->umem->sgt_append.sgt.sgl, &biter, in mlx5_ib_update_mr_pas() 1250 cpu_to_be64(rdma_block_iter_dma_address(&biter) | in mlx5_ib_update_mr_pas()
|
/drivers/dma/ |
D | fsl-edma-common.c | 284 * 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, ®s->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()
|
D | mpc512x_dma.c | 165 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()
|
D | fsl-edma-common.h | 81 __le16 biter; member
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_misc.c | 185 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/ |
D | dm-user.c | 476 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/cxgb4/ |
D | mem.c | 497 struct ib_block_iter biter; in c4iw_reg_user_mr() local 548 rdma_umem_for_each_dma_block(mhp->umem, &biter, 1 << shift) { in c4iw_reg_user_mr() 549 pages[i++] = cpu_to_be64(rdma_block_iter_dma_address(&biter)); in c4iw_reg_user_mr()
|
/drivers/infiniband/hw/efa/ |
D | efa_verbs.c | 1155 struct ib_block_iter biter; in umem_to_page_list() local 1161 rdma_umem_for_each_dma_block(umem, &biter, BIT(hp_shift)) in umem_to_page_list() 1162 page_list[hp_idx++] = rdma_block_iter_dma_address(&biter); in umem_to_page_list() 1204 struct ib_block_iter biter; in pbl_chunk_list_create() local 1238 rdma_for_each_block(pages_sgl, &biter, sg_dma_cnt, in pbl_chunk_list_create() 1241 rdma_block_iter_dma_address(&biter); in pbl_chunk_list_create()
|
/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.c | 94 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/mthca/ |
D | mthca_provider.c | 838 struct ib_block_iter biter; in mthca_reg_user_mr() local 887 rdma_umem_for_each_dma_block(mr->umem, &biter, PAGE_SIZE) { in mthca_reg_user_mr() 888 pages[i++] = rdma_block_iter_dma_address(&biter); in mthca_reg_user_mr()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 817 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/irdma/ |
D | verbs.c | 2228 struct ib_block_iter biter; in irdma_copy_user_pgaddrs() local 2237 rdma_umem_for_each_dma_block(region, &biter, iwmr->page_size) { in irdma_copy_user_pgaddrs() 2238 *pbl = rdma_block_iter_dma_address(&biter); in irdma_copy_user_pgaddrs()
|
/drivers/infiniband/hw/qedr/ |
D | verbs.c | 626 struct ib_block_iter biter; in qedr_populate_pbls() local 648 rdma_umem_for_each_dma_block (umem, &biter, BIT(pg_shift)) { in qedr_populate_pbls() 649 u64 pg_addr = rdma_block_iter_dma_address(&biter); in qedr_populate_pbls()
|