Home
last modified time | relevance | path

Searched refs:pdir (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c52 int pvrdma_page_dir_init(struct pvrdma_dev *dev, struct pvrdma_page_dir *pdir, in pvrdma_page_dir_init() argument
60 memset(pdir, 0, sizeof(*pdir)); in pvrdma_page_dir_init()
62 pdir->dir = dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE, in pvrdma_page_dir_init()
63 &pdir->dir_dma, GFP_KERNEL); in pvrdma_page_dir_init()
64 if (!pdir->dir) in pvrdma_page_dir_init()
67 pdir->ntables = PVRDMA_PAGE_DIR_TABLE(npages - 1) + 1; in pvrdma_page_dir_init()
68 pdir->tables = kcalloc(pdir->ntables, sizeof(*pdir->tables), in pvrdma_page_dir_init()
70 if (!pdir->tables) in pvrdma_page_dir_init()
73 for (i = 0; i < pdir->ntables; i++) { in pvrdma_page_dir_init()
74 pdir->tables[i] = dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE, in pvrdma_page_dir_init()
[all …]
Dpvrdma.h93 struct pvrdma_page_dir pdir; member
144 struct pvrdma_page_dir pdir; member
174 struct pvrdma_page_dir pdir; member
189 struct pvrdma_page_dir pdir; member
319 static inline void *pvrdma_page_dir_get_ptr(struct pvrdma_page_dir *pdir, in pvrdma_page_dir_get_ptr() argument
322 return pdir->pages[offset / PAGE_SIZE] + (offset % PAGE_SIZE); in pvrdma_page_dir_get_ptr()
540 int pvrdma_page_dir_init(struct pvrdma_dev *dev, struct pvrdma_page_dir *pdir,
543 struct pvrdma_page_dir *pdir);
544 int pvrdma_page_dir_insert_dma(struct pvrdma_page_dir *pdir, u64 idx,
546 int pvrdma_page_dir_insert_umem(struct pvrdma_page_dir *pdir,
[all …]
Dpvrdma_mr.c154 ret = pvrdma_page_dir_init(dev, &mr->pdir, npages, false); in pvrdma_reg_user_mr()
161 ret = pvrdma_page_dir_insert_umem(&mr->pdir, mr->umem, 0); in pvrdma_reg_user_mr()
172 cmd->pdir_dma = mr->pdir.dir_dma; in pvrdma_reg_user_mr()
188 pvrdma_page_dir_cleanup(dev, &mr->pdir); in pvrdma_reg_user_mr()
230 ret = pvrdma_page_dir_init(dev, &mr->pdir, max_num_sg, false); in pvrdma_alloc_mr()
262 pvrdma_page_dir_cleanup(dev, &mr->pdir); in pvrdma_alloc_mr()
293 pvrdma_page_dir_cleanup(dev, &mr->pdir); in pvrdma_dereg_mr()
Dpvrdma_cq.c165 ret = pvrdma_page_dir_init(dev, &cq->pdir, npages, cq->is_kernel); in pvrdma_create_cq()
174 cq->ring_state = cq->pdir.pages[0]; in pvrdma_create_cq()
176 pvrdma_page_dir_insert_umem(&cq->pdir, cq->umem, 0); in pvrdma_create_cq()
187 cmd->pdir_dma = cq->pdir.dir_dma; in pvrdma_create_cq()
217 pvrdma_page_dir_cleanup(dev, &cq->pdir); in pvrdma_create_cq()
233 pvrdma_page_dir_cleanup(dev, &cq->pdir); in pvrdma_free_cq()
273 &cq->pdir, in get_cqe()
Dpvrdma_srq.c164 ret = pvrdma_page_dir_init(dev, &srq->pdir, srq->npages, false); in pvrdma_create_srq()
171 pvrdma_page_dir_insert_umem(&srq->pdir, srq->umem, 0); in pvrdma_create_srq()
181 cmd->pdir_dma = srq->pdir.dir_dma; in pvrdma_create_srq()
207 pvrdma_page_dir_cleanup(dev, &srq->pdir); in pvrdma_create_srq()
231 pvrdma_page_dir_cleanup(dev, &srq->pdir); in pvrdma_free_srq()
Dpvrdma_qp.c328 ret = pvrdma_page_dir_init(dev, &qp->pdir, qp->npages, in pvrdma_create_qp()
337 pvrdma_page_dir_insert_umem(&qp->pdir, qp->sumem, 0); in pvrdma_create_qp()
339 pvrdma_page_dir_insert_umem(&qp->pdir, in pvrdma_create_qp()
344 qp->sq.ring = qp->pdir.pages[0]; in pvrdma_create_qp()
377 cmd->pdir_dma = qp->pdir.dir_dma; in pvrdma_create_qp()
421 pvrdma_page_dir_cleanup(dev, &qp->pdir); in pvrdma_create_qp()
446 pvrdma_page_dir_cleanup(dev, &qp->pdir); in _pvrdma_free_qp()
636 return pvrdma_page_dir_get_ptr(&qp->pdir, in get_sq_wqe()
642 return pvrdma_page_dir_get_ptr(&qp->pdir, in get_rq_wqe()
652 wqe_hdr->wr.fast_reg.pl_pdir_dma = mr->pdir.dir_dma; in set_reg_seg()
[all …]
/linux-5.19.10/scripts/package/
Dbuilddeb28 local pname="$1" pdir="$2"
31 mkdir -m 755 -p "$pdir/DEBIAN"
32 mkdir -p "$pdir/usr/share/doc/$pname"
33 cp debian/copyright "$pdir/usr/share/doc/$pname/"
34 cp debian/changelog "$pdir/usr/share/doc/$pname/changelog.Debian"
35 gzip -n -9 "$pdir/usr/share/doc/$pname/changelog.Debian"
36 sh -c "cd '$pdir'; find . -type f ! -path './DEBIAN/*' -printf '%P\0' \
43 chown -R root:root "$pdir"
45 chmod -R go-w "$pdir"
47 chmod -R a+rX "$pdir"
[all …]
/linux-5.19.10/sound/soc/ti/
Ddavinci-mcasp.c108 unsigned long pdir; /* Pin direction bitfield */ member
194 for_each_set_bit_from(bit, &mcasp->pdir, PIN_BIT_AFSR + 1) { in mcasp_set_clk_pdir()
206 for_each_set_bit(bit, &mcasp->pdir, PIN_BIT_AMUTE) { in mcasp_set_axr_pdir()
505 set_bit(PIN_BIT_ACLKX, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
506 set_bit(PIN_BIT_ACLKR, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
508 set_bit(PIN_BIT_AFSX, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
509 set_bit(PIN_BIT_AFSR, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
522 set_bit(PIN_BIT_ACLKX, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
523 set_bit(PIN_BIT_ACLKR, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
525 clear_bit(PIN_BIT_AFSX, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
[all …]
/linux-5.19.10/scripts/
Dasn1_compiler.c320 const char *const *pdir = _pdir, *dir = *pdir; in directive_compare() local
/linux-5.19.10/drivers/scsi/qla2xxx/
Dqla_edif.c362 int pdir) in __qla2x00_release_all_sadb() argument
382 entry->sa_pair[i].sa_index, pdir); in __qla2x00_release_all_sadb()
384 qla_edif_find_sa_ctl_by_index(fcport, sa_ctl->index, pdir)) { in __qla2x00_release_all_sadb()
404 if (pdir != SAU_FLG_TX) { in __qla2x00_release_all_sadb()
441 __func__, key_cnt, pdir ? "tx" : "rx"); in __qla2x00_release_all_sadb()