Home
last modified time | relevance | path

Searched refs:sginfo (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/infiniband/hw/bng_re/
H A Dbng_res.c67 struct bng_re_sg_info *sginfo) in bng_alloc_pbl() argument
73 if (sginfo->nopte) in bng_alloc_pbl()
75 pages = sginfo->npages; in bng_alloc_pbl()
89 pbl->pg_size = sginfo->pgsize; in bng_alloc_pbl()
132 struct bng_re_sg_info sginfo = {}; in bng_re_alloc_init_hwq() local
141 pg_size = hwq_attr->sginfo->pgsize; in bng_re_alloc_init_hwq()
152 hwq_attr->sginfo->npages = npages; in bng_re_alloc_init_hwq()
154 if (npages == MAX_PBL_LVL_0_PGS && !hwq_attr->sginfo->nopte) { in bng_re_alloc_init_hwq()
156 rc = bng_alloc_pbl(res, &hwq->pbl[BNG_PBL_LVL_0], hwq_attr->sginfo); in bng_re_alloc_init_hwq()
174 sginfo.pgsize = npde * pg_size; in bng_re_alloc_init_hwq()
[all …]
H A Dbng_fw.c65 struct bng_re_sg_info sginfo = {}; in bng_re_alloc_fw_channel() local
74 sginfo.pgsize = PAGE_SIZE; in bng_re_alloc_fw_channel()
75 sginfo.pgshft = PAGE_SHIFT; in bng_re_alloc_fw_channel()
77 hwq_attr.sginfo = &sginfo; in bng_re_alloc_fw_channel()
91 sginfo.pgsize = bng_fw_cmdqe_page_size(rcfw->cmdq_depth); in bng_re_alloc_fw_channel()
H A Dbng_res.h100 struct bng_re_sg_info *sginfo; member
/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.c84 struct bnxt_qplib_sg_info *sginfo) in bnxt_qplib_fill_user_dma_pages() argument
89 rdma_umem_for_each_dma_block(sginfo->umem, &biter, sginfo->pgsize) { in bnxt_qplib_fill_user_dma_pages()
99 struct bnxt_qplib_sg_info *sginfo) in __alloc_pbl() argument
106 if (sginfo->nopte) in __alloc_pbl()
108 if (sginfo->umem) in __alloc_pbl()
109 pages = ib_umem_num_dma_blocks(sginfo->umem, sginfo->pgsize); in __alloc_pbl()
111 pages = sginfo->npages; in __alloc_pbl()
126 pbl->pg_size = sginfo->pgsize; in __alloc_pbl()
128 if (!sginfo->umem) { in __alloc_pbl()
140 bnxt_qplib_fill_user_dma_pages(pbl, sginfo); in __alloc_pbl()
[all …]
H A Dqplib_sp.c585 struct bnxt_qplib_sg_info sginfo = {}; in bnxt_qplib_reg_mr() local
605 hwq_attr.sginfo = &sginfo; in bnxt_qplib_reg_mr()
606 hwq_attr.sginfo->umem = umem; in bnxt_qplib_reg_mr()
607 hwq_attr.sginfo->npages = pages; in bnxt_qplib_reg_mr()
608 hwq_attr.sginfo->pgsize = buf_pg_size; in bnxt_qplib_reg_mr()
609 hwq_attr.sginfo->pgshft = ilog2(buf_pg_size); in bnxt_qplib_reg_mr()
672 struct bnxt_qplib_sg_info sginfo = {}; in bnxt_qplib_alloc_fast_reg_page_list() local
684 sginfo.pgsize = PAGE_SIZE; in bnxt_qplib_alloc_fast_reg_page_list()
685 sginfo.nopte = true; in bnxt_qplib_alloc_fast_reg_page_list()
690 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_fast_reg_page_list()
H A Dqplib_rcfw.c935 struct bnxt_qplib_sg_info sginfo = {}; in bnxt_qplib_alloc_rcfw_channel() local
944 sginfo.pgsize = PAGE_SIZE; in bnxt_qplib_alloc_rcfw_channel()
945 sginfo.pgshft = PAGE_SHIFT; in bnxt_qplib_alloc_rcfw_channel()
947 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_rcfw_channel()
961 sginfo.pgsize = bnxt_qplib_cmdqe_page_size(rcfw->cmdq_depth); in bnxt_qplib_alloc_rcfw_channel()
H A Dqplib_fp.c594 struct bnxt_qplib_sg_info sginfo = {}; in bnxt_qplib_alloc_nq() local
602 sginfo.pgsize = PAGE_SIZE; in bnxt_qplib_alloc_nq()
603 sginfo.pgshft = PAGE_SHIFT; in bnxt_qplib_alloc_nq()
605 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_nq()
655 hwq_attr.sginfo = &srq->sg_info; in bnxt_qplib_create_srq()
842 hwq_attr.sginfo = &sq->sg_info; in bnxt_qplib_create_qp1()
870 hwq_attr.sginfo = &rq->sg_info; in bnxt_qplib_create_qp1()
962 struct bnxt_qplib_sg_info sginfo = {}; in bnxt_qplib_create_qp() local
1000 hwq_attr.sginfo = &sq->sg_info; in bnxt_qplib_create_qp()
1047 hwq_attr.sginfo = &rq->sg_info; in bnxt_qplib_create_qp()
[all …]
/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss.h115 struct sginfo { struct
188 struct sginfo t_src[MAX_SG];
189 struct sginfo t_dst[MAX_SG];
249 struct sginfo t_src[MAX_SG];
250 struct sginfo t_dst[MAX_SG];
/linux/drivers/crypto/gemini/
H A Dsl3516-ce.h263 struct sginfo { struct
281 struct sginfo t_src[MAXDESC]; argument
282 struct sginfo t_dst[MAXDESC];