/drivers/iommu/ |
D | tegra-smmu.c | 151 #define SMMU_PDN_TO_ADDR(pdn) ((pdn) << 22) argument 163 #define _PDE_VACANT(pdn) (((pdn) << 10) | _PDE_ATTR) argument 428 unsigned long pdn = SMMU_ADDR_TO_PDN(iova); in free_ptbl() local 431 if (pdir[pdn] != _PDE_VACANT(pdn)) { in free_ptbl() 432 dev_dbg(as->smmu->dev, "pdn: %lx\n", pdn); in free_ptbl() 434 ClearPageReserved(SMMU_EX_PTBL_PAGE(pdir[pdn])); in free_ptbl() 435 __free_page(SMMU_EX_PTBL_PAGE(pdir[pdn])); in free_ptbl() 436 pdir[pdn] = _PDE_VACANT(pdn); in free_ptbl() 437 FLUSH_CPU_DCACHE(&pdir[pdn], as->pdir_page, sizeof pdir[pdn]); in free_ptbl() 438 flush_ptc_and_tlb(as->smmu, as, iova, &pdir[pdn], in free_ptbl() [all …]
|
/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 145 struct pci_dn *pdn = PCI_DN(dn); in dlpar_pci_add_bus() local 146 struct pci_controller *phb = pdn->phb; in dlpar_pci_add_bus() 152 dev = of_create_pci_dev(dn, phb->bus, pdn->devfn); in dlpar_pci_add_bus() 214 struct pci_dn *pdn; in dlpar_remove_phb() local 228 pdn = dn->data; in dlpar_remove_phb() 229 BUG_ON(!pdn || !pdn->phb); in dlpar_remove_phb() 230 rc = remove_phb_dynamic(pdn->phb); in dlpar_remove_phb() 234 pdn->phb = NULL; in dlpar_remove_phb()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | pd.c | 48 int mlx4_pd_alloc(struct mlx4_dev *dev, u32 *pdn) in mlx4_pd_alloc() argument 52 *pdn = mlx4_bitmap_alloc(&priv->pd_bitmap); in mlx4_pd_alloc() 53 if (*pdn == -1) in mlx4_pd_alloc() 60 void mlx4_pd_free(struct mlx4_dev *dev, u32 pdn) in mlx4_pd_free() argument 62 mlx4_bitmap_free(&mlx4_priv(dev)->pd_bitmap, pdn); in mlx4_pd_free()
|
D | srq.c | 165 int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, u32 cqn, u16 xrcd, in mlx4_srq_alloc() argument 203 srq_context->pd = cpu_to_be32(pdn); in mlx4_srq_alloc()
|
/drivers/infiniband/hw/amso1100/ |
D | c2_user.h | 55 __u32 pdn; member 61 __u32 pdn; member
|
/drivers/infiniband/hw/mthca/ |
D | mthca_user.h | 59 __u32 pdn; member 75 __u32 pdn; member
|
D | mthca_cq.c | 777 struct mthca_ucontext *ctx, u32 pdn, in mthca_init_cq() argument 841 cq_context->pd = cpu_to_be32(pdn); in mthca_init_cq()
|
D | mthca_dev.h | 499 struct mthca_ucontext *ctx, u32 pdn,
|
D | mthca_provider.c | 691 context ? ucmd.pdn : to_mdev(ibdev)->driver_pd.pd_num, in mthca_create_cq()
|
/drivers/infiniband/hw/mlx4/ |
D | mr.c | 56 err = mlx4_mr_alloc(to_mdev(pd->device)->dev, to_mpd(pd)->pdn, 0, in mlx4_ib_get_dma_mr() 148 err = mlx4_mr_alloc(dev->dev, to_mpd(pd)->pdn, virt_addr, length, in mlx4_ib_reg_user_mr() 200 err = mlx4_mr_alloc(dev->dev, to_mpd(pd)->pdn, 0, 0, 0, in mlx4_ib_alloc_fast_reg_mr() 279 err = mlx4_fmr_alloc(dev->dev, to_mpd(pd)->pdn, convert_access(acc), in mlx4_ib_fmr_alloc()
|
D | user.h | 60 __u32 pdn; member
|
D | ah.c | 66 ah->av.ib.port_pd = cpu_to_be32(to_mpd(pd)->pdn | (ah_attr->port_num << 24)); in create_ib_ah() 112 ah->av.eth.port_pd = cpu_to_be32(to_mpd(pd)->pdn | (ah_attr->port_num << 24)); in create_iboe_ah()
|
D | main.c | 595 err = mlx4_pd_alloc(to_mdev(ibdev)->dev, &pd->pdn); in mlx4_ib_alloc_pd() 602 if (ib_copy_to_udata(udata, &pd->pdn, sizeof (__u32))) { in mlx4_ib_alloc_pd() 603 mlx4_pd_free(to_mdev(ibdev)->dev, pd->pdn); in mlx4_ib_alloc_pd() 613 mlx4_pd_free(to_mdev(pd->device)->dev, to_mpd(pd)->pdn); in mlx4_ib_dealloc_pd()
|
D | mlx4_ib.h | 56 u32 pdn; member
|
D | srq.c | 184 err = mlx4_srq_alloc(dev->dev, to_mpd(pd)->pdn, cqn, xrcdn, &srq->mtt, in mlx4_ib_create_srq()
|
D | qp.c | 188 av->port_pd = cpu_to_be32((qp->port << 24) | to_mpd(qp->ibqp.pd)->pdn); in post_nop_wqe() 1138 context->pd = cpu_to_be32(pd->pdn); in __mlx4_ib_modify_qp()
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.c | 440 struct pcan_usb_pro_devid *pdn; in pcan_usb_pro_get_device_id() local 456 pdn = (struct pcan_usb_pro_devid *)pc; in pcan_usb_pro_get_device_id() 458 *device_id = le32_to_cpu(pdn->serial_num); in pcan_usb_pro_get_device_id()
|