Home
last modified time | relevance | path

Searched refs:pde (Results 1 – 23 of 23) sorted by relevance

/drivers/net/wireless/ath/
Ddfs_pri_detector.c161 static struct pulse_elem *pulse_queue_get_tail(struct pri_detector *pde) in pulse_queue_get_tail() argument
163 struct list_head *l = &pde->pulses; in pulse_queue_get_tail()
169 static bool pulse_queue_dequeue(struct pri_detector *pde) in pulse_queue_dequeue() argument
171 struct pulse_elem *p = pulse_queue_get_tail(pde); in pulse_queue_dequeue()
174 pde->count--; in pulse_queue_dequeue()
178 return (pde->count > 0); in pulse_queue_dequeue()
182 static void pulse_queue_check_window(struct pri_detector *pde) in pulse_queue_check_window() argument
188 if (pde->count < 2) in pulse_queue_check_window()
191 if (pde->last_ts <= pde->window_size) in pulse_queue_check_window()
194 min_valid_ts = pde->last_ts - pde->window_size; in pulse_queue_check_window()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dbase.c38 u32 pde = (offset >> mmu->func->pgt_bits) - vm->fpde; in nvkm_vm_map_at() local
49 struct nvkm_memory *pgt = vm->pgt[pde].mem[big]; in nvkm_vm_map_at()
62 pde++; in nvkm_vm_map_at()
83 u32 pde = (offset >> mmu->func->pgt_bits) - vm->fpde; in nvkm_vm_map_sg_table() local
92 struct nvkm_memory *pgt = vm->pgt[pde].mem[big]; in nvkm_vm_map_sg_table()
111 pde++; in nvkm_vm_map_sg_table()
142 u32 pde = (offset >> mmu->func->pgt_bits) - vm->fpde; in nvkm_vm_map_sg() local
148 struct nvkm_memory *pgt = vm->pgt[pde].mem[big]; in nvkm_vm_map_sg()
161 pde++; in nvkm_vm_map_sg()
190 u32 pde = (offset >> mmu->func->pgt_bits) - vm->fpde; in nvkm_vm_unmap_at() local
[all …]
Dgf100.c75 u32 pde[2] = { 0, 0 }; in gf100_vm_map_pgt() local
78 pde[1] = 0x00000001 | (nvkm_memory_addr(pgt[0]) >> 8); in gf100_vm_map_pgt()
80 pde[0] = 0x00000001 | (nvkm_memory_addr(pgt[1]) >> 8); in gf100_vm_map_pgt()
83 nvkm_wo32(pgd, (index * 8) + 0, pde[0]); in gf100_vm_map_pgt()
84 nvkm_wo32(pgd, (index * 8) + 4, pde[1]); in gf100_vm_map_pgt()
Dnv50.c32 nv50_vm_map_pgt(struct nvkm_gpuobj *pgd, u32 pde, struct nvkm_memory *pgt[2]) in nv50_vm_map_pgt() argument
58 nvkm_wo32(pgd, (pde * 8) + 0, lower_32_bits(phys)); in nv50_vm_map_pgt()
59 nvkm_wo32(pgd, (pde * 8) + 4, upper_32_bits(phys)); in nv50_vm_map_pgt()
Dpriv.h25 void (*map_pgt)(struct nvkm_gpuobj *pgd, u32 pde,
/drivers/gpu/drm/i915/
Di915_gem_gtt.c223 gen8_pde_t pde = _PAGE_PRESENT | _PAGE_RW; in gen8_pde_encode() local
224 pde |= addr; in gen8_pde_encode()
226 pde |= PPAT_CACHED_PDE_INDEX; in gen8_pde_encode()
228 pde |= PPAT_UNCACHED_INDEX; in gen8_pde_encode()
229 return pde; in gen8_pde_encode()
718 unsigned pde = gen8_pde_index(start); in gen8_ppgtt_clear_pte_range() local
735 if (WARN_ON(!pd->page_table[pde])) in gen8_ppgtt_clear_pte_range()
738 pt = pd->page_table[pde]; in gen8_ppgtt_clear_pte_range()
757 if (++pde == I915_PDES) { in gen8_ppgtt_clear_pte_range()
760 pde = 0; in gen8_ppgtt_clear_pte_range()
[all …]
Di915_trace.h221 TP_PROTO(struct i915_address_space *vm, u32 pde, u64 start, u64 pde_shift),
222 TP_ARGS(vm, pde, start, pde_shift)
247 TP_PROTO(struct i915_address_space *vm, u32 pde,
249 TP_ARGS(vm, pde, pt, first, count, bits),
253 __field(u32, pde)
261 __entry->pde = pde;
272 __entry->vm, __entry->pde, __entry->last, __entry->first,
277 TP_PROTO(struct i915_address_space *vm, u32 pde,
279 TP_ARGS(vm, pde, pt, first, count, bits)
/drivers/iommu/
Dtegra-smmu.c157 static dma_addr_t smmu_pde_to_dma(u32 pde) in smmu_pde_to_dma() argument
159 return pde << 12; in smmu_pde_to_dma()
548 unsigned int pde = iova_pd_index(iova); in as_get_pte() local
551 if (!as->pts[pde]) { in as_get_pte()
573 as->pts[pde] = page; in as_get_pte()
582 *dmap = smmu_pde_to_dma(pd[pde]); in as_get_pte()
585 return tegra_smmu_pte_offset(as->pts[pde], iova); in as_get_pte()
597 unsigned int pde = iova_pd_index(iova); in tegra_smmu_pte_put_use() local
598 struct page *page = as->pts[pde]; in tegra_smmu_pte_put_use()
604 if (--as->count[pde] == 0) { in tegra_smmu_pte_put_use()
[all …]
Damd_iommu.c879 size_t size, u16 domid, int pde) in build_inv_iommu_pages() argument
905 if (pde) /* PDE bit - we want to flush everything, not only the PTEs */ in build_inv_iommu_pages()
1223 u64 address, size_t size, int pde) in __domain_flush_pages() argument
1229 build_inv_iommu_pages(&cmd, address, size, domain->id, pde); in __domain_flush_pages()
/drivers/char/
Dtoshiba.c525 struct proc_dir_entry *pde; in toshiba_init() local
527 pde = proc_create("toshiba", 0, NULL, &proc_toshiba_fops); in toshiba_init()
528 if (!pde) { in toshiba_init()
/drivers/s390/block/
Ddasd.c228 struct dentry *pde; in dasd_debugfs_setup() local
232 pde = debugfs_create_dir(name, base_dentry); in dasd_debugfs_setup()
233 if (!pde || IS_ERR(pde)) in dasd_debugfs_setup()
235 return pde; in dasd_debugfs_setup()
1061 struct dentry *pde; in dasd_profile_init() local
1068 pde = debugfs_create_file("statistics", mode, base_dentry, in dasd_profile_init()
1070 if (pde && !IS_ERR(pde)) in dasd_profile_init()
1071 profile->dentry = pde; in dasd_profile_init()
1092 struct dentry *pde; in dasd_statistics_createroot() local
1095 pde = debugfs_create_dir("dasd", NULL); in dasd_statistics_createroot()
[all …]
/drivers/scsi/
Dscsi_proc.c457 struct proc_dir_entry *pde; in scsi_init_procfs() local
463 pde = proc_create("scsi/scsi", 0, NULL, &proc_scsi_operations); in scsi_init_procfs()
464 if (!pde) in scsi_init_procfs()
/drivers/usb/gadget/udc/
Dat91_udc.h144 struct proc_dir_entry *pde; member
Dlpc32xx_udc.c139 struct dentry *pde; member
553 udc->pde = debugfs_create_file(debug_filename, 0, NULL, udc, &proc_ops); in create_debug_file()
558 debugfs_remove(udc->pde); in remove_debug_file()
Dat91_udc.c256 udc->pde = proc_create_data(debug_filename, 0, NULL, &proc_ops, udc); in create_debug_file()
261 if (udc->pde) in remove_debug_file()
/drivers/gpu/drm/radeon/
Dradeon_vm.c669 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/
Dps3vram.c542 struct proc_dir_entry *pde; in ps3vram_proc_init() local
544 pde = proc_create_data(DEVICE_NAME, 0444, NULL, &ps3vram_proc_fops, in ps3vram_proc_init()
546 if (!pde) in ps3vram_proc_init()
Dcciss.c550 struct proc_dir_entry *pde; in cciss_procinit() local
556 pde = proc_create_data(h->devname, S_IWUSR | S_IRUSR | S_IRGRP | in cciss_procinit()
/drivers/net/ppp/
Dpppoe.c1147 struct proc_dir_entry *pde; in pppoe_init_net() local
1151 pde = proc_create("pppoe", S_IRUGO, net->proc_net, &pppoe_seq_fops); in pppoe_init_net()
1153 if (!pde) in pppoe_init_net()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm.c659 uint64_t pde, pt; in amdgpu_vm_update_pd_or_shadow() local
683 pde = pd_addr + pt_idx * 8; in amdgpu_vm_update_pd_or_shadow()
684 if (((last_pde + 8 * count) != pde) || in amdgpu_vm_update_pd_or_shadow()
695 last_pde = pde; in amdgpu_vm_update_pd_or_shadow()
/drivers/scsi/esas2r/
Desas2r_main.c792 struct proc_dir_entry *pde; in esas2r_info() local
794 pde = proc_create(ATTONODE_NAME, 0, in esas2r_info()
798 if (!pde) { in esas2r_info()
/drivers/parisc/
Dsba_iommu.c243 u32 pde = ((u32) (((char *)pptr)[7])) << 24; in sba_check_pdir() local
244 if ((rval ^ pde) & 0x80000000) in sba_check_pdir()
/drivers/perf/
Dxgene_pmu.c270 XGENE_PMU_EVENT_ATTR(pde-cmd-sent, 0x08),