Home
last modified time | relevance | path

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

/linux-6.12.1/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.c166 ret = pvrdma_page_dir_init(dev, &cq->pdir, npages, cq->is_kernel); in pvrdma_create_cq()
175 cq->ring_state = cq->pdir.pages[0]; in pvrdma_create_cq()
177 pvrdma_page_dir_insert_umem(&cq->pdir, cq->umem, 0); in pvrdma_create_cq()
188 cmd->pdir_dma = cq->pdir.dir_dma; in pvrdma_create_cq()
218 pvrdma_page_dir_cleanup(dev, &cq->pdir); in pvrdma_create_cq()
234 pvrdma_page_dir_cleanup(dev, &cq->pdir); in pvrdma_free_cq()
274 &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-6.12.1/scripts/package/
Dbuilddeb29 pdir=debian/$1
33 …${MAKE} -f ${srctree}/Makefile INSTALL_DTBS_PATH="${pdir}/usr/lib/linux-image-${KERNELRELEASE}" dt…
36 ${MAKE} -f ${srctree}/Makefile INSTALL_MOD_PATH="${pdir}" INSTALL_MOD_STRIP=1 modules_install
37 rm -f "${pdir}/lib/modules/${KERNELRELEASE}/build"
41 mkdir -p "${pdir}/usr/lib/uml/modules"
42 mv "${pdir}/lib/modules/${KERNELRELEASE}" "${pdir}/usr/lib/uml/modules/${KERNELRELEASE}"
43 mkdir -p "${pdir}/usr/bin" "${pdir}/usr/share/doc/${pname}"
44 cp System.map "${pdir}/usr/lib/uml/modules/${KERNELRELEASE}/System.map"
45 cp ${KCONFIG_CONFIG} "${pdir}/usr/share/doc/${pname}/config"
46 gzip "${pdir}/usr/share/doc/${pname}/config"
[all …]
/linux-6.12.1/sound/soc/ti/
Ddavinci-mcasp.c106 unsigned long pdir; /* Pin direction bitfield */ member
192 for_each_set_bit_from(bit, &mcasp->pdir, PIN_BIT_AFSR + 1) { in mcasp_set_clk_pdir()
204 for_each_set_bit(bit, &mcasp->pdir, PIN_BIT_AMUTE) { in mcasp_set_axr_pdir()
503 set_bit(PIN_BIT_ACLKX, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
504 set_bit(PIN_BIT_ACLKR, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
506 set_bit(PIN_BIT_AFSX, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
507 set_bit(PIN_BIT_AFSR, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
520 set_bit(PIN_BIT_ACLKX, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
521 set_bit(PIN_BIT_ACLKR, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
523 clear_bit(PIN_BIT_AFSX, &mcasp->pdir); in davinci_mcasp_set_dai_fmt()
[all …]
/linux-6.12.1/scripts/
Dasn1_compiler.c320 const char *const *pdir = _pdir, *dir = *pdir; in directive_compare() local
/linux-6.12.1/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()