/drivers/net/wireless/ath/ |
D | dfs_pri_detector.c | 160 static struct pulse_elem *pulse_queue_get_tail(struct pri_detector *pde) in pulse_queue_get_tail() argument 162 struct list_head *l = &pde->pulses; in pulse_queue_get_tail() 168 static bool pulse_queue_dequeue(struct pri_detector *pde) in pulse_queue_dequeue() argument 170 struct pulse_elem *p = pulse_queue_get_tail(pde); in pulse_queue_dequeue() 173 pde->count--; in pulse_queue_dequeue() 177 return (pde->count > 0); in pulse_queue_dequeue() 181 static void pulse_queue_check_window(struct pri_detector *pde) in pulse_queue_check_window() argument 187 if (pde->count < 2) in pulse_queue_check_window() 190 if (pde->last_ts <= pde->window_size) in pulse_queue_check_window() 193 min_valid_ts = pde->last_ts - pde->window_size; in pulse_queue_check_window() [all …]
|
/drivers/gpu/drm/i915/gt/ |
D | gen6_ppgtt.c | 16 const unsigned int pde, in gen6_write_pde() argument 23 ppgtt->pd_addr + pde); in gen6_write_pde() 76 unsigned int pde = first_entry / GEN6_PTES; in gen6_ppgtt_clear_range() local 82 i915_pt_entry(ppgtt->base.pd, pde++); in gen6_ppgtt_clear_range() 150 unsigned int pde; in gen6_flush_pd() local 157 gen6_for_each_pde(pt, pd, start, end, pde) in gen6_flush_pd() 158 gen6_write_pde(ppgtt, pde, pt); in gen6_flush_pd() 161 ioread32(ppgtt->pd_addr + pde - 1); in gen6_flush_pd() 177 unsigned int pde; in gen6_alloc_va_range() local 180 gen6_for_each_pde(pt, pd, start, length, pde) { in gen6_alloc_va_range() [all …]
|
D | gen8_ppgtt.c | 21 u64 pde = addr | _PAGE_PRESENT | _PAGE_RW; in gen8_pde_encode() local 24 pde |= PPAT_CACHED_PDE; in gen8_pde_encode() 26 pde |= PPAT_UNCACHED; in gen8_pde_encode() 28 return pde; in gen8_pde_encode() 179 void **pde = pd->entry; in __gen8_ppgtt_cleanup() local 182 if (!*pde) in __gen8_ppgtt_cleanup() 185 __gen8_ppgtt_cleanup(vm, *pde, GEN8_PDES, lvl - 1); in __gen8_ppgtt_cleanup() 186 } while (pde++, --count); in __gen8_ppgtt_cleanup() 698 struct i915_page_directory *pde; in gen8_preallocate_top_level_pdp() local 701 pde = alloc_pd(vm); in gen8_preallocate_top_level_pdp() [all …]
|
/drivers/iommu/intel/ |
D | pasid.h | 81 static inline bool pasid_pde_is_present(struct pasid_dir_entry *pde) in pasid_pde_is_present() argument 83 return READ_ONCE(pde->val) & PASID_PTE_PRESENT; in pasid_pde_is_present() 88 get_pasid_table_from_pde(struct pasid_dir_entry *pde) in get_pasid_table_from_pde() argument 90 if (!pasid_pde_is_present(pde)) in get_pasid_table_from_pde() 93 return phys_to_virt(READ_ONCE(pde->val) & PDE_PFN_MASK); in get_pasid_table_from_pde()
|
D | debugfs.c | 321 static void pgtable_walk_level(struct seq_file *m, struct dma_pte *pde, in pgtable_walk_level() argument 331 i++, pde++, start += level_to_directory_size(level)) { in pgtable_walk_level() 332 if (!dma_pte_present(pde)) in pgtable_walk_level() 335 path[level] = pde->val; in pgtable_walk_level() 336 if (dma_pte_superpage(pde) || level == 1) in pgtable_walk_level() 339 pgtable_walk_level(m, phys_to_virt(dma_pte_addr(pde)), in pgtable_walk_level()
|
/drivers/iommu/ |
D | tegra-smmu.c | 172 static dma_addr_t smmu_pde_to_dma(struct tegra_smmu *smmu, u32 pde) in smmu_pde_to_dma() argument 174 return (dma_addr_t)(pde & smmu->pfn_mask) << 12; in smmu_pde_to_dma() 584 unsigned int pde = iova_pd_index(iova); in as_get_pte() local 587 if (!as->pts[pde]) { in as_get_pte() 604 as->pts[pde] = page; in as_get_pte() 613 *dmap = smmu_pde_to_dma(smmu, pd[pde]); in as_get_pte() 616 return tegra_smmu_pte_offset(as->pts[pde], iova); in as_get_pte() 628 unsigned int pde = iova_pd_index(iova); in tegra_smmu_pte_put_use() local 629 struct page *page = as->pts[pde]; in tegra_smmu_pte_put_use() 635 if (--as->count[pde] == 0) { in tegra_smmu_pte_put_use() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | vmm.h | 35 #define NVKM_VMM_PDE_INVALID(pde) IS_ERR_OR_NULL(pde) argument 36 #define NVKM_VMM_PDE_SPARSED(pde) IS_ERR(pde) argument 38 struct nvkm_vmm_pt **pde; member 65 nvkm_vmm_pde_func pde; member
|
D | vmm.c | 32 kvfree(pgt->pde); in nvkm_vmm_pt_del() 62 pgt->pde = kvcalloc(pten, sizeof(*pgt->pde), GFP_KERNEL); in nvkm_vmm_pt_new() 63 if (!pgt->pde) { in nvkm_vmm_pt_new() 160 pgd->pde[pdei] = NVKM_VMM_PDE_SPARSE; in nvkm_vmm_unref_pdes() 163 pgd->pde[pdei] = NULL; in nvkm_vmm_unref_pdes() 170 func->pde(vmm, pgd, pdei); in nvkm_vmm_unref_pdes() 171 pgd->pde[pdei] = NULL; in nvkm_vmm_unref_pdes() 177 func->pde(vmm, pgd, pdei); in nvkm_vmm_unref_pdes() 386 pgt->pde[ptei++] = NVKM_VMM_PDE_SPARSE; in nvkm_vmm_sparse_ptes() 398 memset(&pt->pde[ptei], 0x00, sizeof(pt->pde[0]) * ptes); in nvkm_vmm_sparse_unref_ptes() [all …]
|
D | vmmnv50.c | 151 if (!nv50_vmm_pde(vmm, pgd->pde[pdei], &data)) in nv50_vmm_pgd_pde() 163 .pde = nv50_vmm_pgd_pde, 353 if (!nv50_vmm_pde(vmm, vmm->pd->pde[pdei], &data)) { in nv50_vmm_join()
|
D | vmmgp100.c | 238 struct nvkm_vmm_pt *pgt = pgd->pde[pdei]; in gp100_vmm_pd0_pde() 355 .pde = gp100_vmm_pd0_pde, 365 struct nvkm_vmm_pt *pgt = pgd->pde[pdei]; in gp100_vmm_pd1_pde() 381 .pde = gp100_vmm_pd1_pde,
|
D | vmmgf100.c | 108 struct nvkm_vmm_pt *pgt = pgd->pde[pdei]; in gf100_vmm_pgd_pde() 149 .pde = gf100_vmm_pgd_pde,
|
D | vmmgm200.c | 64 .pde = gf100_vmm_pgd_pde,
|
/drivers/char/ |
D | toshiba.c | 499 struct proc_dir_entry *pde; in toshiba_init() local 501 pde = proc_create_single("toshiba", 0, NULL, proc_toshiba_show); in toshiba_init() 502 if (!pde) { in toshiba_init()
|
/drivers/s390/block/ |
D | dasd.c | 240 struct dentry *pde; in dasd_debugfs_setup() local 244 pde = debugfs_create_dir(name, base_dentry); in dasd_debugfs_setup() 245 if (!pde || IS_ERR(pde)) in dasd_debugfs_setup() 247 return pde; in dasd_debugfs_setup() 1064 struct dentry *pde; in dasd_profile_init() local 1071 pde = debugfs_create_file("statistics", mode, base_dentry, in dasd_profile_init() 1073 if (pde && !IS_ERR(pde)) in dasd_profile_init() 1074 profile->dentry = pde; in dasd_profile_init() 1095 struct dentry *pde; in dasd_statistics_createroot() local 1098 pde = debugfs_create_dir("dasd", NULL); in dasd_statistics_createroot() [all …]
|
/drivers/scsi/ |
D | scsi_proc.c | 456 struct proc_dir_entry *pde; in scsi_init_procfs() local 462 pde = proc_create("scsi/scsi", 0, NULL, &scsi_scsi_proc_ops); in scsi_init_procfs() 463 if (!pde) in scsi_init_procfs()
|
/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.c | 376 ctx->tqm_ctx.pde.level = ctx->tqm_ctx.pde_level; in bnxt_qplib_free_ctx() 377 bnxt_qplib_free_hwq(res, &ctx->tqm_ctx.pde); in bnxt_qplib_free_ctx() 400 rc = bnxt_qplib_alloc_init_hwq(&tqmctx->pde, &hwq_attr); in bnxt_qplib_alloc_tqm_rings() 404 tqmctx->pde_level = tqmctx->pde.level; in bnxt_qplib_alloc_tqm_rings() 428 pbl_ptr = (__le64 **)ctx->pde.pbl_ptr; in bnxt_qplib_map_tqm_pgtbl() 458 ctx->pde.level = (ctx->qtbl[fnz_idx].level == PBL_LVL_2) ? PBL_LVL_2 : in bnxt_qplib_map_tqm_pgtbl()
|
D | qplib_rcfw.c | 524 lvl = ctx->tqm_ctx.pde.level; in bnxt_qplib_init_rcfw() 525 pgsz = bnxt_qplib_base_pg_size(&ctx->tqm_ctx.pde); in bnxt_qplib_init_rcfw() 539 cpu_to_le64(ctx->tqm_ctx.pde.pbl[PBL_LVL_0].pg_map_arr[0]); in bnxt_qplib_init_rcfw()
|
D | qplib_res.h | 231 struct bnxt_qplib_hwq pde; member
|
/drivers/usb/gadget/udc/ |
D | at91_udc.h | 140 struct proc_dir_entry *pde; member
|
/drivers/gpu/drm/radeon/ |
D | radeon_vm.c | 669 uint64_t pde, pt; in radeon_vm_update_page_directory() local 679 pde = pd_addr + pt_idx * 8; in radeon_vm_update_page_directory() 680 if (((last_pde + 8 * count) != pde) || in radeon_vm_update_page_directory() 690 last_pde = pde; in radeon_vm_update_page_directory()
|
/drivers/block/ |
D | ps3vram.c | 522 struct proc_dir_entry *pde; in ps3vram_proc_init() local 524 pde = proc_create_single_data(DEVICE_NAME, 0444, NULL, in ps3vram_proc_init() 526 if (!pde) in ps3vram_proc_init()
|
/drivers/net/ppp/ |
D | pppoe.c | 1155 struct proc_dir_entry *pde; in pppoe_init_net() local 1159 pde = proc_create_net("pppoe", 0444, net->proc_net, in pppoe_init_net() 1162 if (!pde) in pppoe_init_net()
|
/drivers/iommu/amd/ |
D | iommu.c | 910 size_t size, u16 domid, int pde) in build_inv_iommu_pages() argument 919 if (pde) /* PDE bit - we want to flush everything, not only the PTEs */ in build_inv_iommu_pages() 1246 u64 address, size_t size, int pde) in __domain_flush_pages() argument 1252 build_inv_iommu_pages(&cmd, address, size, domain->id, pde); in __domain_flush_pages() 1277 u64 address, size_t size, int pde) in domain_flush_pages() argument 1280 __domain_flush_pages(domain, address, size, pde); in domain_flush_pages() 1313 __domain_flush_pages(domain, address, flush_size, pde); in domain_flush_pages()
|
/drivers/scsi/esas2r/ |
D | esas2r_main.c | 733 struct proc_dir_entry *pde; in esas2r_info() local 735 pde = proc_create(ATTONODE_NAME, 0, in esas2r_info() 739 if (!pde) { in esas2r_info()
|
/drivers/parisc/ |
D | sba_iommu.c | 243 u32 pde = ((u32) (((char *)pptr)[7])) << 24; in sba_check_pdir() local 244 if ((rval ^ pde) & 0x80000000) in sba_check_pdir()
|