| /linux/arch/arm64/include/asm/ |
| H A D | kernel-pgtable.h | 45 #define SPAN_NR_ENTRIES(vstart, vend, shift) \ argument 46 ((((vend) - 1) >> (shift)) - ((vstart) >> (shift)) + 1) 48 #define EARLY_ENTRIES(lvl, vstart, vend) \ argument 49 SPAN_NR_ENTRIES(vstart, vend, SWAPPER_BLOCK_SHIFT + lvl * PTDESC_TABLE_SHIFT) 51 #define EARLY_LEVEL(lvl, lvls, vstart, vend, add) \ argument 52 ((lvls) > (lvl) ? EARLY_ENTRIES(lvl, vstart, vend) + (add) : 0) 54 #define EARLY_PAGES(lvls, vstart, vend, add) (1 /* PGDIR page */ \ argument 55 + EARLY_LEVEL(3, (lvls), (vstart), (vend), add) /* each entry needs a next level page table */ \ 56 + EARLY_LEVEL(2, (lvls), (vstart), (vend), add) /* each entry needs a next level page table */ \ 57 + EARLY_LEVEL(1, (lvls), (vstart), (vend), add))/* each entry needs a next level page table */
|
| /linux/include/trace/events/ |
| H A D | vmalloc.h | 26 unsigned long vstart, unsigned long vend, int failed), 28 TP_ARGS(addr, size, align, vstart, vend, failed), 34 __field(unsigned long, vstart) 43 __entry->vstart = vstart; 50 __entry->vstart, __entry->vend, __entry->failed)
|
| /linux/arch/sparc/mm/ |
| H A D | init_64.c | 1678 static unsigned long __ref kernel_map_hugepud(unsigned long vstart, in kernel_map_hugepud() argument 1683 u64 pte_val = vstart; in kernel_map_hugepud() 1686 if ((vstart & mask16gb) || in kernel_map_hugepud() 1687 (vend - vstart <= mask16gb)) { in kernel_map_hugepud() 1691 return vstart + PUD_SIZE; in kernel_map_hugepud() 1697 vend = vstart + mask16gb + 1UL; in kernel_map_hugepud() 1698 while (vstart < vend) { in kernel_map_hugepud() 1702 vstart += PUD_SIZE; in kernel_map_hugepud() 1705 return vstart; in kernel_map_hugepud() 1708 static bool kernel_can_map_hugepud(unsigned long vstart, unsigned long vend, in kernel_can_map_hugepud() argument [all …]
|
| H A D | srmmu.c | 853 unsigned long vstart = (vbase & PGDIR_MASK); in map_spbank() local 859 if (vstart < min_vaddr || vstart >= max_vaddr) in map_spbank() 860 return vstart; in map_spbank() 865 while (vstart < vend) { in map_spbank() 866 do_large_mapping(vstart, pstart); in map_spbank() 867 vstart += PGDIR_SIZE; pstart += PGDIR_SIZE; in map_spbank() 869 return vstart; in map_spbank()
|
| /linux/drivers/media/usb/gspca/ |
| H A D | sn9c20x.c | 101 u8 vstart; member 1103 sd->vstart = 7; in ov9650_init_sensor() 1117 sd->vstart = 2; in ov9655_init_sensor() 1131 sd->vstart = 11; in soi968_init_sensor() 1144 sd->vstart = 3; in ov7660_init_sensor() 1158 sd->vstart = 1; in ov7670_init_sensor() 1176 sd->vstart = 2; in mt9v_init_sensor() 1194 sd->vstart = 2; in mt9v_init_sensor() 1217 sd->vstart = 2; in mt9v_init_sensor() 1235 sd->vstart = 2; in mt9m112_init_sensor() [all …]
|
| /linux/arch/riscv/include/uapi/asm/ |
| H A D | ptrace.h | 101 unsigned long vstart; member 115 unsigned long vstart; member
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A 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/arch/alpha/boot/ |
| H A 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/drivers/scsi/csiostor/ |
| H A 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() 1135 void *wr = (void *)((uintptr_t)q->vstart + (q->cidx * q->wr_sz)); in csio_wr_process_iq() [all …]
|
| H A 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/mm/ |
| H A D | vmalloc.c | 1525 unsigned long align, unsigned long vstart) in is_within_this_va() argument 1529 if (va->va_start > vstart) in is_within_this_va() 1532 nva_start_addr = ALIGN(vstart, align); in is_within_this_va() 1536 nva_start_addr < vstart) in is_within_this_va() 1551 unsigned long align, unsigned long vstart, bool adjust_search_size) in find_vmap_lowest_match() argument 1567 vstart < va->va_start) { in find_vmap_lowest_match() 1570 if (is_within_this_va(va, size, align, vstart)) in find_vmap_lowest_match() 1591 if (is_within_this_va(va, size, align, vstart)) in find_vmap_lowest_match() 1595 vstart <= va->va_start) { in find_vmap_lowest_match() 1602 vstart = va->va_start + 1; in find_vmap_lowest_match() [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | ptrace.c | 111 ptrace_vstate.vstart = vstate->vstart; in riscv_vr_get() 145 vstate->vstart = ptrace_vstate.vstart; in riscv_vr_set()
|
| /linux/drivers/gpu/drm/msm/hdmi/ |
| H A D | hdmi_bridge.c | 357 int hstart, hend, vstart, vend; in msm_hdmi_set_timings() local 363 vstart = mode->vtotal - mode->vsync_start - 1; in msm_hdmi_set_timings() 367 mode->htotal, mode->vtotal, hstart, hend, vstart, vend); in msm_hdmi_set_timings() 377 HDMI_ACTIVE_VSYNC_START(vstart) | in msm_hdmi_set_timings() 384 HDMI_VSYNC_ACTIVE_F2_START(vstart + 1) | in msm_hdmi_set_timings()
|
| /linux/drivers/staging/sm750fb/ |
| H A D | sm750_cursor.c | 102 pstart = cursor->vstart; in sm750_hw_cursor_set_data() 152 pstart = cursor->vstart; in sm750_hw_cursor_set_data2()
|
| H A D | sm750.h | 128 char __iomem *vstart; member
|
| H A D | sm750.c | 452 memset_io(cursor->vstart, 0x0, cursor->size); in lynxfb_resume() 464 memset_io(cursor->vstart, 0x0, cursor->size); in lynxfb_resume() 769 crtc->cursor.vstart = sm750_dev->pvMem + crtc->cursor.offset; in lynxfb_set_fbinfo() 771 memset_io(crtc->cursor.vstart, 0, crtc->cursor.size); in lynxfb_set_fbinfo()
|
| /linux/arch/x86/xen/ |
| H A D | mmu_pv.c | 2368 unsigned long vstart = (unsigned long)phys_to_virt(pstart); in xen_create_contiguous_region() local 2378 memset((void *) vstart, 0, PAGE_SIZE << order); in xen_create_contiguous_region() 2385 xen_zap_pfn_range(vstart, order, in_frames, NULL); in xen_create_contiguous_region() 2388 out_frame = virt_to_pfn((void *)vstart); in xen_create_contiguous_region() 2395 xen_remap_exchanged_ptes(vstart, order, NULL, out_frame); in xen_create_contiguous_region() 2397 xen_remap_exchanged_ptes(vstart, order, in_frames, 0); in xen_create_contiguous_region() 2401 *dma_handle = virt_to_machine(vstart).maddr; in xen_create_contiguous_region() 2410 unsigned long vstart; in xen_destroy_contiguous_region() local 2415 vstart = (unsigned long)phys_to_virt(pstart); in xen_destroy_contiguous_region() 2416 memset((void *) vstart, 0, PAGE_SIZE << order); in xen_destroy_contiguous_region() [all …]
|
| /linux/arch/riscv/kvm/ |
| H A D | vcpu_vector.c | 108 case KVM_REG_RISCV_VECTOR_CSR_REG(vstart): in kvm_riscv_vcpu_vreg_addr() 109 *reg_addr = &cntx->vector.vstart; in kvm_riscv_vcpu_vreg_addr()
|
| /linux/drivers/gpu/drm/hisilicon/hibmc/dp/ |
| H A D | dp_hw.c | 85 u32 vstart; in hibmc_dp_link_cfg() local 90 vstart = mode->vtotal - mode->vsync_start; in hibmc_dp_link_cfg() 125 HIBMC_DP_CFG_STREAM_VSTART, vstart); in hibmc_dp_link_cfg()
|
| /linux/drivers/media/i2c/ |
| H A D | ov7670.c | 196 int vstart; /* sense to humans, but evidently the sensor */ member 731 .vstart = 10, 742 .vstart = 14, 753 .vstart = 12, 764 .vstart = 14, 782 .vstart = 14, /* Empirically determined */ 916 int vstart, int vstop) in ov7670_set_hw() argument 940 ret = ov7670_write(sd, REG_VSTART, (vstart >> 2) & 0xff); in ov7670_set_hw() 949 v = (v & 0xf0) | ((vstop & 0x3) << 2) | (vstart & 0x3); in ov7670_set_hw() 1069 ret = ov7670_set_hw(sd, wsize->hstart, wsize->hstop, wsize->vstart, in ov7670_apply_fmt()
|
| H A D | mt9v011.c | 272 unsigned vstart, hstart; in set_res() local 290 vstart = 8 + (480 - core->height) / 2; in set_res() 291 mt9v011_write(sd, R01_MT9V011_ROWSTART, vstart); in set_res()
|
| /linux/kernel/dma/ |
| H A D | swiotlb.c | 436 unsigned char *vstart = NULL; in swiotlb_init_late() local 468 vstart = (void *)__get_free_pages(gfp_mask | __GFP_NOWARN, in swiotlb_init_late() 470 if (vstart) in swiotlb_init_late() 477 if (!vstart) in swiotlb_init_late() 481 rc = remap(vstart, nslabs); in swiotlb_init_late() 483 free_pages((unsigned long)vstart, order); in swiotlb_init_late() 509 set_memory_decrypted((unsigned long)vstart, in swiotlb_init_late() 511 swiotlb_init_io_tlb_pool(mem, virt_to_phys(vstart), nslabs, true, in swiotlb_init_late() 521 free_pages((unsigned long)vstart, order); in swiotlb_init_late()
|
| /linux/arch/riscv/include/asm/ |
| H A D | vector.h | 134 : "=r" (dest->vstart), "=r" (dest->vtype), "=r" (dest->vl), in __vstate_csr_save() 174 : : "r" (src->vstart), "r" (src->vtype), "r" (src->vl)); in __vstate_csr_restore()
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | mmu-hash.h | 495 extern int htab_bolt_mapping(unsigned long vstart, unsigned long vend, 498 int htab_remove_mapping(unsigned long vstart, unsigned long vend,
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A D | hash_utils.c | 618 int htab_bolt_mapping(unsigned long vstart, unsigned long vend, in htab_bolt_mapping() argument 632 vstart, vend, pstart, prot, psize, ssize); in htab_bolt_mapping() 635 vaddr = ALIGN(vstart, step); in htab_bolt_mapping() 704 int htab_remove_mapping(unsigned long vstart, unsigned long vend, in htab_remove_mapping() argument 719 vaddr = ALIGN_DOWN(vstart, step); in htab_remove_mapping()
|