/Linux-v5.10/arch/arm64/include/asm/ |
D | kernel-pgtable.h | 68 #define EARLY_ENTRIES(vstart, vend, shift) (((vend) >> (shift)) \ argument 69 - ((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.10/arch/sparc/mm/ |
D | init_64.c | 1670 static unsigned long __ref kernel_map_hugepud(unsigned long vstart, in kernel_map_hugepud() argument 1675 u64 pte_val = vstart; in kernel_map_hugepud() 1678 if ((vstart & mask16gb) || in kernel_map_hugepud() 1679 (vend - vstart <= mask16gb)) { in kernel_map_hugepud() 1683 return vstart + PUD_SIZE; in kernel_map_hugepud() 1689 vend = vstart + mask16gb + 1UL; in kernel_map_hugepud() 1690 while (vstart < vend) { in kernel_map_hugepud() 1694 vstart += PUD_SIZE; in kernel_map_hugepud() 1697 return vstart; in kernel_map_hugepud() 1700 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.10/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()
|
/Linux-v5.10/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.10/kernel/dma/ |
D | swiotlb.c | 249 unsigned char *vstart; in swiotlb_init() local 260 vstart = memblock_alloc_low(PAGE_ALIGN(bytes), PAGE_SIZE); in swiotlb_init() 261 if (vstart && !swiotlb_init_with_tbl(vstart, io_tlb_nslabs, verbose)) in swiotlb_init() 282 unsigned char *vstart = NULL; in swiotlb_late_init_with_default_size() local 299 vstart = (void *)__get_free_pages(GFP_DMA | __GFP_NOWARN, in swiotlb_late_init_with_default_size() 301 if (vstart) in swiotlb_late_init_with_default_size() 306 if (!vstart) { in swiotlb_late_init_with_default_size() 315 rc = swiotlb_late_init_with_tbl(vstart, io_tlb_nslabs); in swiotlb_late_init_with_default_size() 317 free_pages((unsigned long)vstart, order); in swiotlb_late_init_with_default_size()
|
/Linux-v5.10/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.10/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.10/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.10/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.10/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.10/mm/ |
D | vmalloc.c | 832 unsigned long align, unsigned long vstart) in is_within_this_va() argument 836 if (va->va_start > vstart) in is_within_this_va() 839 nva_start_addr = ALIGN(vstart, align); in is_within_this_va() 843 nva_start_addr < vstart) in is_within_this_va() 856 unsigned long align, unsigned long vstart) in find_vmap_lowest_match() argument 872 vstart < va->va_start) { in find_vmap_lowest_match() 875 if (is_within_this_va(va, size, align, vstart)) in find_vmap_lowest_match() 895 if (is_within_this_va(va, size, align, vstart)) in find_vmap_lowest_match() 899 vstart <= va->va_start) { in find_vmap_lowest_match() 915 unsigned long align, unsigned long vstart) in find_vmap_lowest_linear_match() argument [all …]
|
/Linux-v5.10/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() 867 void *cwr = (void *)((uintptr_t)(q->vstart) + in csio_wr_get() 911 wrp->addr2 = q->vstart; in csio_wr_get() 1135 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.10/arch/arm64/kernel/ |
D | head.S | 206 .macro compute_indices, vstart, vend, shift, ptrs, istart, iend, count 216 lsr \istart, \vstart, \shift 241 .macro map_memory, tbl, rtbl, vstart, vend, flags, phys, pgds, istart, iend, tmp, count, sv 245 compute_indices \vstart, \vend, #PGDIR_SHIFT, \pgds, \istart, \iend, \count 251 compute_indices \vstart, \vend, #PUD_SHIFT, #PTRS_PER_PUD, \istart, \iend, \count 258 compute_indices \vstart, \vend, #SWAPPER_TABLE_SHIFT, #PTRS_PER_PMD, \istart, \iend, \count 263 compute_indices \vstart, \vend, #SWAPPER_BLOCK_SHIFT, #PTRS_PER_PTE, \istart, \iend, \count
|
/Linux-v5.10/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 | 124 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.10/arch/x86/xen/ |
D | mmu_pv.c | 2275 unsigned long vstart = (unsigned long)phys_to_virt(pstart); in xen_create_contiguous_region() local 2286 memset((void *) vstart, 0, PAGE_SIZE << order); in xen_create_contiguous_region() 2291 xen_zap_pfn_range(vstart, order, in_frames, NULL); in xen_create_contiguous_region() 2294 out_frame = virt_to_pfn(vstart); in xen_create_contiguous_region() 2301 xen_remap_exchanged_ptes(vstart, order, NULL, out_frame); in xen_create_contiguous_region() 2303 xen_remap_exchanged_ptes(vstart, order, in_frames, 0); in xen_create_contiguous_region() 2307 *dma_handle = virt_to_machine(vstart).maddr; in xen_create_contiguous_region() 2316 unsigned long vstart; in xen_destroy_contiguous_region() local 2321 vstart = (unsigned long)phys_to_virt(pstart); in xen_destroy_contiguous_region() 2322 memset((void *) vstart, 0, PAGE_SIZE << order); in xen_destroy_contiguous_region() [all …]
|
/Linux-v5.10/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.10/drivers/media/i2c/ |
D | ov7670.c | 201 int vstart; /* sense to humans, but evidently the sensor */ member 735 .vstart = 10, 746 .vstart = 14, 757 .vstart = 12, 768 .vstart = 14, 786 .vstart = 14, /* Empirically determined */ 920 int vstart, int vstop) in ov7670_set_hw() argument 938 ret += ov7670_write(sd, REG_VSTART, (vstart >> 2) & 0xff); in ov7670_set_hw() 941 v = (v & 0xf0) | ((vstop & 0x3) << 2) | (vstart & 0x3); in ov7670_set_hw() 1062 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.10/arch/powerpc/mm/book3s64/ |
D | hash_utils.c | 247 int htab_bolt_mapping(unsigned long vstart, unsigned long vend, in htab_bolt_mapping() argument 261 vstart, vend, pstart, prot, psize, ssize); in htab_bolt_mapping() 264 vaddr = ALIGN(vstart, step); in htab_bolt_mapping() 336 int htab_remove_mapping(unsigned long vstart, unsigned long vend, in htab_remove_mapping() argument 351 vaddr = ALIGN_DOWN(vstart, step); in htab_remove_mapping()
|
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/ |
D | mmu-hash.h | 490 extern int htab_bolt_mapping(unsigned long vstart, unsigned long vend, 493 int htab_remove_mapping(unsigned long vstart, unsigned long vend,
|
/Linux-v5.10/include/uapi/linux/ |
D | btrfs_tree.h | 698 __le64 vstart; member
|