/openbmc/linux/arch/arm64/include/asm/ |
H A D | kernel-pgtable.h | 62 #define SPAN_NR_ENTRIES(vstart, vend, shift) \ argument 63 ((((vend) - 1) >> (shift)) - ((vstart) >> (shift)) + 1) 65 #define EARLY_ENTRIES(vstart, vend, shift, add) \ argument 66 (SPAN_NR_ENTRIES(vstart, vend, shift) + (add)) 68 #define EARLY_PGDS(vstart, vend, add) (EARLY_ENTRIES(vstart, vend, PGDIR_SHIFT, add)) argument 71 #define EARLY_PUDS(vstart, vend, add) (EARLY_ENTRIES(vstart, vend, PUD_SHIFT, add)) argument 73 #define EARLY_PUDS(vstart, vend, add) (0) argument 77 #define EARLY_PMDS(vstart, vend, add) (EARLY_ENTRIES(vstart, vend, SWAPPER_TABLE_SHIFT, add)) argument 79 #define EARLY_PMDS(vstart, vend, add) (0) argument 82 #define EARLY_PAGES(vstart, vend, add) ( 1 /* PGDIR page */ \ argument [all …]
|
/openbmc/u-boot/post/drivers/ |
H A D | memory.c | 474 *vstart = CONFIG_SYS_SDRAM_BASE; in arch_memory_test_prepare() 479 if ((*vstart) + (*size) > (ulong)bd) in arch_memory_test_prepare() 480 *size = (ulong)bd - *vstart; in arch_memory_test_prepare() 507 u32 memsize, vstart; in memory_regions_post_test() local 509 arch_memory_test_prepare(&vstart, &memsize, &phys_offset); in memory_regions_post_test() 511 ret = memory_post_test_lines(vstart, memsize); in memory_regions_post_test() 513 ret = memory_post_test_regions(vstart, memsize); in memory_regions_post_test() 522 u32 memsize, vstart; in memory_post_test() local 524 arch_memory_test_prepare(&vstart, &memsize, &phys_offset); in memory_post_test() 528 ret = memory_post_tests(vstart, memsize); in memory_post_test() [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | vcrypto_helper.c | 205 uint32_t vstart = env->vstart; in RVVCALL() local 340 env->vstart = 0; 397 env->vstart = 0; in HELPER() 473 env->vstart = 0; in HELPER() 583 env->vstart = 0; in HELPER() 601 env->vstart = 0; in HELPER() 619 env->vstart = 0; in HELPER() 637 env->vstart = 0; in HELPER() 676 env->vstart = 0; in HELPER() 771 env->vstart = 0; in HELPER() [all …]
|
H A D | vector_internals.c | 46 for (i = env->vstart; i < vl; i++) { in do_vext_vv() 54 env->vstart = 0; in do_vext_vv() 70 for (i = env->vstart; i < vl; i++) { in do_vext_vx() 78 env->vstart = 0; in do_vext_vx()
|
H A D | vector_helper.c | 60 env->vstart = 0; in HELPER() 72 env->vstart = 0; in HELPER() 199 for (i = env->vstart; i < env->vl; i++, env->vstart++) { in vext_ldst_stride() 214 env->vstart = 0; in vext_ldst_stride() 265 for (i = env->vstart; i < evl; i++, env->vstart++) { 273 env->vstart = 0; 379 for (i = env->vstart; i < env->vl; i++, env->vstart++) { in GEN_VEXT_GET_INDEX_ADDR() 394 env->vstart = 0; in GEN_VEXT_GET_INDEX_ADDR() 524 env->vstart = 0; 585 env->vstart = 0; in GEN_VEXT_LDFF() [all …]
|
/openbmc/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)
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | cpu.c | 577 u32 vstart = CONFIG_SYS_DDR_SDRAM_BASE; in reset_tlb() local 587 ptr = vstart; in reset_tlb() 616 p_addr = (*vstart) + (*size) + (*phys_offset); in arch_memory_test_advance() 621 *vstart = CONFIG_SYS_DDR_SDRAM_BASE; in arch_memory_test_advance() 624 (u64)(*vstart) + (*phys_offset), in arch_memory_test_advance() 625 (u64)(*vstart) + (*phys_offset) + (*size) - 1); in arch_memory_test_advance() 637 *vstart = CONFIG_SYS_DDR_SDRAM_BASE; in arch_memory_test_prepare() 651 (u64)(*vstart) + (*phys_offset), in arch_memory_test_prepare() 652 (u64)(*vstart) + (*phys_offset) + (*size) - 1); in arch_memory_test_prepare() 666 ptr = *vstart; in arch_memory_test_cleanup() [all …]
|
H A D | tlb.c | 326 u32 vstart = CONFIG_SYS_DDR_SDRAM_BASE; in clear_ddr_tlbs_phys() local 333 ptr = vstart; in clear_ddr_tlbs_phys() 335 while (ptr < (vstart + memsize)) { in clear_ddr_tlbs_phys()
|
/openbmc/linux/arch/sparc/mm/ |
H A D | init_64.c | 1709 vstart += PUD_SIZE; in kernel_map_hugepud() 1712 return vstart; in kernel_map_hugepud() 1718 if (guard && !(vstart & ~PUD_MASK) && (vend - vstart) >= PUD_SIZE) in kernel_can_map_hugepud() 1756 vstart += PMD_SIZE; in kernel_map_hugepmd() 1760 return vstart; in kernel_map_hugepmd() 1766 if (guard && !(vstart & ~PMD_MASK) && (vend - vstart) >= PMD_SIZE) in kernel_can_map_hugepmd() 1782 vstart, vend); in kernel_map_range() 1822 vstart = kernel_map_hugepud(vstart, vend, pud); in kernel_map_range() 1838 vstart = kernel_map_hugepmd(vstart, vend, pmd); in kernel_map_range() 2609 vstart = vstart & PMD_MASK; in vmemmap_populate() [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A 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()
|
/openbmc/linux/arch/riscv/include/uapi/asm/ |
H A D | ptrace.h | 101 unsigned long vstart; member 115 unsigned long vstart; member
|
/openbmc/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() 1235 sd->vstart = 2; in mt9m112_init_sensor() 1247 sd->vstart = 2; in mt9m111_init_sensor() 1279 sd->vstart = 1; in mt9m001_init_sensor() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_bridge.c | 192 int hstart, hend, vstart, vend; in msm_hdmi_bridge_mode_set() local 202 vstart = mode->vtotal - mode->vsync_start - 1; in msm_hdmi_bridge_mode_set() 206 mode->htotal, mode->vtotal, hstart, hend, vstart, vend); in msm_hdmi_bridge_mode_set() 216 HDMI_ACTIVE_VSYNC_START(vstart) | in msm_hdmi_bridge_mode_set() 223 HDMI_VSYNC_ACTIVE_F2_START(vstart + 1) | in msm_hdmi_bridge_mode_set()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | ptrace.c | 105 ptrace_vstate.vstart = vstate->vstart; in riscv_vr_get() 139 vstate->vstart = ptrace_vstate.vstart; in riscv_vr_set()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | head.S | 235 .macro compute_indices, vstart, vend, shift, order, istart, iend, count 236 ubfx \istart, \vstart, \shift, \order 262 ….macro map_memory, tbl, rtbl, vstart, vend, flags, phys, order, istart, iend, tmp, count, sv, extr… 270 compute_indices \vstart, \vend, #\extra_shift, #(PAGE_SHIFT - 3), \istart, \iend, \count 276 compute_indices \vstart, \vend, #PGDIR_SHIFT, #\order, \istart, \iend, \count 282 compute_indices \vstart, \vend, #PUD_SHIFT, #(PAGE_SHIFT - 3), \istart, \iend, \count 289 compute_indices \vstart, \vend, #SWAPPER_TABLE_SHIFT, #(PAGE_SHIFT - 3), \istart, \iend, \count 295 compute_indices \vstart, \vend, #SWAPPER_BLOCK_SHIFT, #(PAGE_SHIFT - 3), \istart, \iend, \count
|
/openbmc/linux/drivers/scsi/csiostor/ |
H A D | csio_wr.c | 119 __be64 *d = (__be64 *)(flq->vstart); in csio_wr_fill_fl() 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() 1207 wr = q->vstart; in csio_wr_process_iq() 1215 wr = (void *)((uintptr_t)(q->vstart) + in csio_wr_process_iq() [all …]
|
/openbmc/u-boot/board/keymile/km83xx/ |
H A D | km83xx.c | 408 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare() argument 410 *vstart = CONFIG_SYS_MEMTEST_START; in arch_memory_test_prepare() 412 debug("arch_memory_test_prepare 0x%08X 0x%08X\n", *vstart, *size); in arch_memory_test_prepare()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | vector.h | 74 : "=r" (dest->vstart), "=r" (dest->vtype), "=r" (dest->vl), in __vstate_csr_save() 87 : : "r" (src->vstart), "r" (src->vtype), "r" (src->vl), in __vstate_csr_restore()
|
/openbmc/linux/drivers/staging/sm750fb/ |
H A D | sm750_cursor.c | 102 pstart = cursor->vstart; in sm750_hw_cursor_setData() 152 pstart = cursor->vstart; in sm750_hw_cursor_setData2()
|
/openbmc/linux/mm/ |
H A D | vmalloc.c | 1227 if (va->va_start > vstart) in is_within_this_va() 1234 nva_start_addr < vstart) in is_within_this_va() 1265 vstart < va->va_start) { in find_vmap_lowest_match() 1293 vstart <= va->va_start) { in find_vmap_lowest_match() 1300 vstart = va->va_start + 1; in find_vmap_lowest_match() 1335 unsigned long vstart; in find_vmap_lowest_match_check() local 1339 vstart = VMALLOC_START + rnd; in find_vmap_lowest_match_check() 1346 va_1, va_2, vstart); in find_vmap_lowest_match_check() 1514 if (va->va_start > vstart) in __alloc_vmap_area() 1616 size, align, vstart, vend); in alloc_vmap_area() [all …]
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | vcpu_vector.c | 106 case KVM_REG_RISCV_VECTOR_CSR_REG(vstart): in kvm_riscv_vcpu_vreg_addr() 107 *reg_addr = &cntx->vector.vstart; in kvm_riscv_vcpu_vreg_addr()
|
/openbmc/linux/arch/x86/xen/ |
H A D | mmu_pv.c | 2333 memset((void *) vstart, 0, PAGE_SIZE << order); in xen_create_contiguous_region() 2338 xen_zap_pfn_range(vstart, order, in_frames, NULL); in xen_create_contiguous_region() 2341 out_frame = virt_to_pfn((void *)vstart); in xen_create_contiguous_region() 2350 xen_remap_exchanged_ptes(vstart, order, in_frames, 0); in xen_create_contiguous_region() 2354 *dma_handle = virt_to_machine(vstart).maddr; in xen_create_contiguous_region() 2363 unsigned long vstart; in xen_destroy_contiguous_region() local 2368 vstart = (unsigned long)phys_to_virt(pstart); in xen_destroy_contiguous_region() 2369 memset((void *) vstart, 0, PAGE_SIZE << order); in xen_destroy_contiguous_region() 2374 in_frame = virt_to_mfn((void *)vstart); in xen_destroy_contiguous_region() 2377 xen_zap_pfn_range(vstart, order, NULL, out_frames); in xen_destroy_contiguous_region() [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | ov7670.c | 200 int vstart; /* sense to humans, but evidently the sensor */ member 737 .vstart = 10, 748 .vstart = 14, 759 .vstart = 12, 770 .vstart = 14, 788 .vstart = 14, /* Empirically determined */ 922 int vstart, int vstop) in ov7670_set_hw() argument 946 ret = ov7670_write(sd, REG_VSTART, (vstart >> 2) & 0xff); in ov7670_set_hw() 955 v = (v & 0xf0) | ((vstop & 0x3) << 2) | (vstart & 0x3); in ov7670_set_hw() 1075 ret = ov7670_set_hw(sd, wsize->hstart, wsize->hstop, wsize->vstart, in ov7670_apply_fmt()
|