Home
last modified time | relevance | path

Searched refs:vstart (Results 1 – 24 of 24) sorted by relevance

/linux/arch/arm64/include/asm/
H A Dkernel-pgtable.h45 #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 Dvmalloc.h26 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 Dinit_64.c1678 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 Dsrmmu.c853 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 Dsn9c20x.c101 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 Dptrace.h101 unsigned long vstart; member
115 unsigned long vstart; member
/linux/arch/alpha/boot/
H A Dbootpz.c76 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/mm/
H A Dvmalloc.c1540 unsigned long align, unsigned long vstart) in is_within_this_va() argument
1544 if (va->va_start > vstart) in is_within_this_va()
1547 nva_start_addr = ALIGN(vstart, align); in is_within_this_va()
1551 nva_start_addr < vstart) in is_within_this_va()
1566 unsigned long align, unsigned long vstart, bool adjust_search_size) in find_vmap_lowest_match() argument
1582 vstart < va->va_start) { in find_vmap_lowest_match()
1585 if (is_within_this_va(va, size, align, vstart)) in find_vmap_lowest_match()
1606 if (is_within_this_va(va, size, align, vstart)) in find_vmap_lowest_match()
1610 vstart <= va->va_start) { in find_vmap_lowest_match()
1617 vstart = va->va_start + 1; in find_vmap_lowest_match()
[all …]
/linux/arch/riscv/kernel/
H A Dptrace.c111 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 Dhdmi_bridge.c357 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 Dsm750_cursor.c102 pstart = cursor->vstart; in sm750_hw_cursor_set_data()
152 pstart = cursor->vstart; in sm750_hw_cursor_set_data2()
H A Dsm750.c452 memset_io(cursor->vstart, 0x0, cursor->size); in lynxfb_resume()
464 memset_io(cursor->vstart, 0x0, cursor->size); in lynxfb_resume()
774 crtc->cursor.vstart = sm750_dev->pvMem + crtc->cursor.offset; in lynxfb_set_fbinfo()
776 memset_io(crtc->cursor.vstart, 0, crtc->cursor.size); in lynxfb_set_fbinfo()
/linux/drivers/media/i2c/
H A Dov7670.c196 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 Dmt9v011.c272 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/arch/riscv/kvm/
H A Dvcpu_vector.c108 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/kernel/dma/
H A Dswiotlb.c434 unsigned char *vstart = NULL; in swiotlb_init_late() local
466 vstart = (void *)__get_free_pages(gfp_mask | __GFP_NOWARN, in swiotlb_init_late()
468 if (vstart) in swiotlb_init_late()
475 if (!vstart) in swiotlb_init_late()
479 rc = remap(vstart, nslabs); in swiotlb_init_late()
481 free_pages((unsigned long)vstart, order); in swiotlb_init_late()
507 set_memory_decrypted((unsigned long)vstart, in swiotlb_init_late()
509 swiotlb_init_io_tlb_pool(mem, virt_to_phys(vstart), nslabs, true, in swiotlb_init_late()
519 free_pages((unsigned long)vstart, order); in swiotlb_init_late()
/linux/arch/riscv/include/asm/
H A Dvector.h135 : "=r" (dest->vstart), "=r" (dest->vtype), "=r" (dest->vl), in __vstate_csr_save()
175 : : "r" (src->vstart), "r" (src->vtype), "r" (src->vl)); in __vstate_csr_restore()
/linux/drivers/scsi/csiostor/
H A Dcsio_wr.h401 void *vstart; /* Base virtual address member
457 #define csio_q_vstart(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->vstart)
/linux/arch/powerpc/include/asm/book3s/64/
H A Dmmu-hash.h495 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 Dhash_utils.c621 int htab_bolt_mapping(unsigned long vstart, unsigned long vend, in htab_bolt_mapping() argument
635 vstart, vend, pstart, prot, psize, ssize); in htab_bolt_mapping()
638 vaddr = ALIGN(vstart, step); in htab_bolt_mapping()
707 int htab_remove_mapping(unsigned long vstart, unsigned long vend, in htab_remove_mapping() argument
722 vaddr = ALIGN_DOWN(vstart, step); in htab_remove_mapping()
/linux/include/uapi/linux/
H A Dbtrfs_tree.h1011 __le64 vstart; member
H A Dbtrfs.h372 __u64 vstart; member
/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c484 case KVM_REG_RISCV_VECTOR_CSR_REG(vstart): in vector_id_to_str()
1011 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_VECTOR | KVM_REG_RISCV_VECTOR_CSR_REG(vstart),
/linux/arch/arc/mm/
H A Dcache.c542 #define __ic_line_inv_vaddr(pstart, vstart, sz) argument