/Linux-v5.15/arch/arm64/include/asm/ |
D | kernel-pgtable.h | 68 #define EARLY_ENTRIES(vstart, vend, shift) \ argument 69 ((((vend) - 1) >> (shift)) - ((vstart) >> (shift)) + 1 + EARLY_KASLR) 71 #define EARLY_PGDS(vstart, vend) (EARLY_ENTRIES(vstart, vend, PGDIR_SHIFT)) argument 74 #define EARLY_PUDS(vstart, vend) (EARLY_ENTRIES(vstart, vend, PUD_SHIFT)) argument 76 #define EARLY_PUDS(vstart, vend) (0) argument 80 #define EARLY_PMDS(vstart, vend) (EARLY_ENTRIES(vstart, vend, SWAPPER_TABLE_SHIFT)) argument 82 #define EARLY_PMDS(vstart, vend) (0) argument 85 #define EARLY_PAGES(vstart, vend) ( 1 /* PGDIR page */ \ argument 86 + EARLY_PGDS((vstart), (vend)) /* each PGDIR needs a next level page table */ \ 87 + EARLY_PUDS((vstart), (vend)) /* each PUD needs a next level page table */ \ [all …]
|
/Linux-v5.15/arch/powerpc/platforms/pseries/ |
D | svm.c | 46 unsigned char *vstart; in svm_swiotlb_init() local 54 vstart = memblock_alloc(PAGE_ALIGN(bytes), PAGE_SIZE); in svm_swiotlb_init() 55 if (vstart && !swiotlb_init_with_tbl(vstart, io_tlb_nslabs, false)) in svm_swiotlb_init() 59 memblock_free_early(__pa(vstart), in svm_swiotlb_init()
|
/Linux-v5.15/arch/sparc/mm/ |
D | init_64.c | 1671 static unsigned long __ref kernel_map_hugepud(unsigned long vstart, in kernel_map_hugepud() argument 1676 u64 pte_val = vstart; in kernel_map_hugepud() 1679 if ((vstart & mask16gb) || in kernel_map_hugepud() 1680 (vend - vstart <= mask16gb)) { in kernel_map_hugepud() 1684 return vstart + PUD_SIZE; in kernel_map_hugepud() 1690 vend = vstart + mask16gb + 1UL; in kernel_map_hugepud() 1691 while (vstart < vend) { in kernel_map_hugepud() 1695 vstart += PUD_SIZE; in kernel_map_hugepud() 1698 return vstart; in kernel_map_hugepud() 1701 static bool kernel_can_map_hugepud(unsigned long vstart, unsigned long vend, in kernel_can_map_hugepud() argument [all …]
|
D | srmmu.c | 860 unsigned long vstart = (vbase & PGDIR_MASK); in map_spbank() local 866 if (vstart < min_vaddr || vstart >= max_vaddr) in map_spbank() 867 return vstart; in map_spbank() 872 while (vstart < vend) { in map_spbank() 873 do_large_mapping(vstart, pstart); in map_spbank() 874 vstart += PGDIR_SIZE; pstart += PGDIR_SIZE; in map_spbank() 876 return vstart; in map_spbank()
|
/Linux-v5.15/arch/x86/include/asm/xen/ |
D | page-coherent.h | 12 void *vstart = (void*)__get_free_pages(flags, get_order(size)); in xen_alloc_coherent_pages() local 13 *dma_handle = virt_to_phys(vstart); in xen_alloc_coherent_pages() 14 return vstart; in xen_alloc_coherent_pages()
|
/Linux-v5.15/arch/powerpc/kernel/ |
D | io-workarounds.c | 31 unsigned long vstart, vend; in iowa_pci_find() local 38 vstart = (unsigned long)phb->io_base_virt; in iowa_pci_find() 39 vend = vstart + phb->pci_io_size - 1; in iowa_pci_find() 40 if ((vaddr >= vstart) && (vaddr <= vend)) in iowa_pci_find()
|
/Linux-v5.15/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_bridge.c | 207 int hstart, hend, vstart, vend; in msm_hdmi_bridge_mode_set() local 217 vstart = mode->vtotal - mode->vsync_start - 1; in msm_hdmi_bridge_mode_set() 221 mode->htotal, mode->vtotal, hstart, hend, vstart, vend); in msm_hdmi_bridge_mode_set() 231 HDMI_ACTIVE_VSYNC_START(vstart) | in msm_hdmi_bridge_mode_set() 238 HDMI_VSYNC_ACTIVE_F2_START(vstart + 1) | in msm_hdmi_bridge_mode_set()
|
/Linux-v5.15/drivers/media/usb/gspca/ |
D | sn9c20x.c | 98 u8 vstart; member 1100 sd->vstart = 7; in ov9650_init_sensor() 1114 sd->vstart = 2; in ov9655_init_sensor() 1128 sd->vstart = 11; in soi968_init_sensor() 1141 sd->vstart = 3; in ov7660_init_sensor() 1155 sd->vstart = 1; in ov7670_init_sensor() 1173 sd->vstart = 2; in mt9v_init_sensor() 1191 sd->vstart = 2; in mt9v_init_sensor() 1214 sd->vstart = 2; in mt9v_init_sensor() 1232 sd->vstart = 2; in mt9m112_init_sensor() [all …]
|
/Linux-v5.15/arch/alpha/boot/ |
D | bootpz.c | 76 check_range(unsigned long vstart, unsigned long vend, in check_range() argument 83 vstart, vend, kstart, kend); in check_range() 86 for (vaddr = vstart; vaddr <= vend; vaddr += PAGE_SIZE) in check_range()
|
/Linux-v5.15/drivers/gpu/drm/i915/display/ |
D | dvo_ns2501.c | 214 u16 vstart; /* vertical start, registers C5/C6 */ member 241 .vstart = 22, 261 .vstart = 26, 280 .vstart = 15, 621 ns2501_writeb(dvo, NS2501_REGC5, conf->vstart & 0xff); in ns2501_mode_set() 622 ns2501_writeb(dvo, NS2501_REGC6, conf->vstart >> 8); in ns2501_mode_set()
|
/Linux-v5.15/drivers/scsi/csiostor/ |
D | csio_wr.c | 119 __be64 *d = (__be64 *)(flq->vstart); in csio_wr_fill_fl() 236 q->vstart = dma_alloc_coherent(&hw->pdev->dev, qsz, &q->pstart, in csio_wr_alloc_q() 238 if (!q->vstart) { in csio_wr_alloc_q() 262 q->vwrap = (void *)((uintptr_t)(q->vstart) + qsz in csio_wr_alloc_q() 316 q->vwrap = (void *)((uintptr_t)(q->vstart) + qsz in csio_wr_alloc_q() 321 q->vwrap = (void *)((uintptr_t)(q->vstart) + qsz in csio_wr_alloc_q() 775 wr = (void *)((uintptr_t)q->vstart + in csio_wr_cleanup_iq_ftr() 868 void *cwr = (void *)((uintptr_t)(q->vstart) + in csio_wr_get() 912 wrp->addr2 = q->vstart; in csio_wr_get() 1136 void *wr = (void *)((uintptr_t)q->vstart + (q->cidx * q->wr_sz)); in csio_wr_process_iq() [all …]
|
D | csio_wr.h | 401 void *vstart; /* Base virtual address member 457 #define csio_q_vstart(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->vstart)
|
/Linux-v5.15/arch/arm64/kvm/hyp/nvhe/ |
D | setup.c | 32 unsigned long vstart, vend, nr_pages; in divide_memory_pool() local 36 hyp_vmemmap_range(__hyp_pa(virt), size, &vstart, &vend); in divide_memory_pool() 37 nr_pages = (vend - vstart) >> PAGE_SHIFT; in divide_memory_pool()
|
/Linux-v5.15/arch/arm64/kernel/ |
D | head.S | 192 .macro compute_indices, vstart, vend, shift, ptrs, istart, iend, count 202 lsr \istart, \vstart, \shift 227 .macro map_memory, tbl, rtbl, vstart, vend, flags, phys, pgds, istart, iend, tmp, count, sv 232 compute_indices \vstart, \vend, #PGDIR_SHIFT, \pgds, \istart, \iend, \count 238 compute_indices \vstart, \vend, #PUD_SHIFT, #PTRS_PER_PUD, \istart, \iend, \count 245 compute_indices \vstart, \vend, #SWAPPER_TABLE_SHIFT, #PTRS_PER_PMD, \istart, \iend, \count 250 compute_indices \vstart, \vend, #SWAPPER_BLOCK_SHIFT, #PTRS_PER_PTE, \istart, \iend, \count
|
/Linux-v5.15/mm/ |
D | vmalloc.c | 1170 unsigned long align, unsigned long vstart) in is_within_this_va() argument 1174 if (va->va_start > vstart) in is_within_this_va() 1177 nva_start_addr = ALIGN(vstart, align); in is_within_this_va() 1181 nva_start_addr < vstart) in is_within_this_va() 1194 unsigned long align, unsigned long vstart) in find_vmap_lowest_match() argument 1210 vstart < va->va_start) { in find_vmap_lowest_match() 1213 if (is_within_this_va(va, size, align, vstart)) in find_vmap_lowest_match() 1233 if (is_within_this_va(va, size, align, vstart)) in find_vmap_lowest_match() 1237 vstart <= va->va_start) { in find_vmap_lowest_match() 1253 unsigned long align, unsigned long vstart) in find_vmap_lowest_linear_match() argument [all …]
|
/Linux-v5.15/drivers/staging/sm750fb/ |
D | sm750_cursor.c | 103 pstart = cursor->vstart; in sm750_hw_cursor_setData() 153 pstart = cursor->vstart; in sm750_hw_cursor_setData2()
|
D | sm750.h | 128 char __iomem *vstart; member
|
D | sm750.c | 453 memset_io(cursor->vstart, 0x0, cursor->size); in lynxfb_resume() 465 memset_io(cursor->vstart, 0x0, cursor->size); in lynxfb_resume() 728 crtc->cursor.vstart = sm750_dev->pvMem + crtc->cursor.offset; in lynxfb_set_fbinfo() 730 memset_io(crtc->cursor.vstart, 0, crtc->cursor.size); in lynxfb_set_fbinfo()
|
/Linux-v5.15/kernel/dma/ |
D | swiotlb.c | 266 unsigned char *vstart = NULL; in swiotlb_late_init_with_default_size() local 281 vstart = (void *)__get_free_pages(GFP_DMA | __GFP_NOWARN, in swiotlb_late_init_with_default_size() 283 if (vstart) in swiotlb_late_init_with_default_size() 288 if (!vstart) in swiotlb_late_init_with_default_size() 296 rc = swiotlb_late_init_with_tbl(vstart, nslabs); in swiotlb_late_init_with_default_size() 298 free_pages((unsigned long)vstart, order); in swiotlb_late_init_with_default_size()
|
/Linux-v5.15/arch/x86/xen/ |
D | mmu_pv.c | 2277 unsigned long vstart = (unsigned long)phys_to_virt(pstart); in xen_create_contiguous_region() local 2288 memset((void *) vstart, 0, PAGE_SIZE << order); in xen_create_contiguous_region() 2293 xen_zap_pfn_range(vstart, order, in_frames, NULL); in xen_create_contiguous_region() 2296 out_frame = virt_to_pfn(vstart); in xen_create_contiguous_region() 2303 xen_remap_exchanged_ptes(vstart, order, NULL, out_frame); in xen_create_contiguous_region() 2305 xen_remap_exchanged_ptes(vstart, order, in_frames, 0); in xen_create_contiguous_region() 2309 *dma_handle = virt_to_machine(vstart).maddr; in xen_create_contiguous_region() 2318 unsigned long vstart; in xen_destroy_contiguous_region() local 2323 vstart = (unsigned long)phys_to_virt(pstart); in xen_destroy_contiguous_region() 2324 memset((void *) vstart, 0, PAGE_SIZE << order); in xen_destroy_contiguous_region() [all …]
|
/Linux-v5.15/drivers/media/usb/stkwebcam/ |
D | stk-sensor.c | 462 int hstart, int hstop, int vstart, int vstop) in stk_sensor_set_hw() argument 480 ret += stk_sensor_outb(dev, REG_VSTART, (vstart >> 3) & 0xff); in stk_sensor_set_hw() 483 v = (v & 0xc0) | ((vstop & 0x7) << 3) | (vstart & 0x7); in stk_sensor_set_hw()
|
/Linux-v5.15/drivers/media/i2c/ |
D | ov7670.c | 201 int vstart; /* sense to humans, but evidently the sensor */ member 738 .vstart = 10, 749 .vstart = 14, 760 .vstart = 12, 771 .vstart = 14, 789 .vstart = 14, /* Empirically determined */ 923 int vstart, int vstop) in ov7670_set_hw() argument 947 ret = ov7670_write(sd, REG_VSTART, (vstart >> 2) & 0xff); in ov7670_set_hw() 956 v = (v & 0xf0) | ((vstop & 0x3) << 2) | (vstart & 0x3); in ov7670_set_hw() 1076 ret = ov7670_set_hw(sd, wsize->hstart, wsize->hstop, wsize->vstart, in ov7670_apply_fmt()
|
D | mt9v011.c | 274 unsigned vstart, hstart; in set_res() local 292 vstart = 8 + (480 - core->height) / 2; in set_res() 293 mt9v011_write(sd, R01_MT9V011_ROWSTART, vstart); in set_res()
|
/Linux-v5.15/arch/powerpc/mm/book3s64/ |
D | hash_utils.c | 249 int htab_bolt_mapping(unsigned long vstart, unsigned long vend, in htab_bolt_mapping() argument 263 vstart, vend, pstart, prot, psize, ssize); in htab_bolt_mapping() 266 vaddr = ALIGN(vstart, step); in htab_bolt_mapping() 338 int htab_remove_mapping(unsigned long vstart, unsigned long vend, in htab_remove_mapping() argument 353 vaddr = ALIGN_DOWN(vstart, step); in htab_remove_mapping()
|
/Linux-v5.15/arch/powerpc/include/asm/book3s/64/ |
D | mmu-hash.h | 494 extern int htab_bolt_mapping(unsigned long vstart, unsigned long vend, 497 int htab_remove_mapping(unsigned long vstart, unsigned long vend,
|