/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 | 470 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare() argument 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() 486 int arch_memory_test_advance(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_advance() argument 492 int arch_memory_test_cleanup(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_cleanup() argument 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() [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | vcrypto_helper.c | 205 uint32_t vstart = env->vstart; in RVVCALL() local 207 if (vl % egs != 0 || vstart % egs != 0) { in RVVCALL() 227 for (uint32_t i = env->vstart / 4; i < env->vl / 4; i++) { \ 238 env->vstart = 0; \ 253 for (uint32_t i = env->vstart / 4; i < env->vl / 4; i++) { \ 264 env->vstart = 0; \ 319 for (uint32_t i = env->vstart / 4; i < env->vl / 4; i++) { 346 env->vstart = 0; 367 for (uint32_t i = env->vstart / 4; i < env->vl / 4; i++) { in HELPER() 405 env->vstart = 0; in HELPER() [all …]
|
H A D | vector_internals.c | 71 for (i = env->vstart; i < vl; i++) { in do_vext_vv() 79 env->vstart = 0; in do_vext_vv() 97 for (i = env->vstart; i < vl; i++) { in do_vext_vx() 105 env->vstart = 0; in do_vext_vx()
|
H A D | vector_helper.c | 69 env->vstart = 0; in HELPER() 85 env->vstart = 0; in HELPER() 204 for (i = env->vstart; i < evl; env->vstart = ++i, addr += esz) { 270 for (i = env->vstart; i < env->vl; env->vstart = ++i) { in vext_ldst_stride() 285 env->vstart = 0; in vext_ldst_stride() 336 uint32_t evl = env->vstart + elems; 345 vext_continus_ldst_host(env, ldst_host, vd, evl, env->vstart, host, 348 for (i = env->vstart; i < evl; ++i) { 357 env->vstart += elems; 360 vext_continus_ldst_tlb(env, ldst_tlb, vd, evl, addr, env->vstart, [all …]
|
H A D | vector_internals.h | 28 if (env->vstart >= env->vl) { \ 29 env->vstart = 0; \ 163 for (i = env->vstart; i < vl; i++) { \ 172 env->vstart = 0; \
|
/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() 604 int arch_memory_test_advance(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_advance() argument 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() 633 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare() argument 637 *vstart = CONFIG_SYS_DDR_SDRAM_BASE; in arch_memory_test_prepare() 651 (u64)(*vstart) + (*phys_offset), in arch_memory_test_prepare() [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 | 1685 static unsigned long __ref kernel_map_hugepud(unsigned long vstart, in kernel_map_hugepud() argument 1690 u64 pte_val = vstart; in kernel_map_hugepud() 1693 if ((vstart & mask16gb) || in kernel_map_hugepud() 1694 (vend - vstart <= mask16gb)) { in kernel_map_hugepud() 1698 return vstart + PUD_SIZE; in kernel_map_hugepud() 1704 vend = vstart + mask16gb + 1UL; in kernel_map_hugepud() 1705 while (vstart < vend) { in kernel_map_hugepud() 1709 vstart += PUD_SIZE; in kernel_map_hugepud() 1712 return vstart; in kernel_map_hugepud() 1715 static bool kernel_can_map_hugepud(unsigned long vstart, unsigned long vend, in kernel_can_map_hugepud() argument [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/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 …]
|
/openbmc/linux/arch/riscv/include/uapi/asm/ |
H A D | ptrace.h | 101 unsigned long vstart; member 115 unsigned long vstart; member
|
/openbmc/qemu/linux-headers/asm-riscv/ |
H A D | ptrace.h | 101 unsigned long vstart; member 115 unsigned long vstart; member
|
/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/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/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/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/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/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 …]
|
/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/mm/ |
H A D | vmalloc.c | 1223 unsigned long align, unsigned long vstart) in is_within_this_va() argument 1227 if (va->va_start > vstart) in is_within_this_va() 1230 nva_start_addr = ALIGN(vstart, align); in is_within_this_va() 1234 nva_start_addr < vstart) in is_within_this_va() 1249 unsigned long align, unsigned long vstart, bool adjust_search_size) in find_vmap_lowest_match() argument 1265 vstart < va->va_start) { in find_vmap_lowest_match() 1268 if (is_within_this_va(va, size, align, vstart)) in find_vmap_lowest_match() 1289 if (is_within_this_va(va, size, align, vstart)) 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() [all …]
|
/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/arch/x86/xen/ |
H A D | mmu_pv.c | 2373 unsigned long vstart = (unsigned long)phys_to_virt(pstart); in xen_create_contiguous_region() local 2383 memset((void *) vstart, 0, PAGE_SIZE << order); in xen_create_contiguous_region() 2390 xen_zap_pfn_range(vstart, order, in_frames, NULL); in xen_create_contiguous_region() 2393 out_frame = virt_to_pfn((void *)vstart); in xen_create_contiguous_region() 2400 xen_remap_exchanged_ptes(vstart, order, NULL, out_frame); in xen_create_contiguous_region() 2402 xen_remap_exchanged_ptes(vstart, order, in_frames, 0); in xen_create_contiguous_region() 2406 *dma_handle = virt_to_machine(vstart).maddr; in xen_create_contiguous_region() 2415 unsigned long vstart; in xen_destroy_contiguous_region() local 2420 vstart = (unsigned long)phys_to_virt(pstart); in xen_destroy_contiguous_region() 2421 memset((void *) vstart, 0, PAGE_SIZE << order); in xen_destroy_contiguous_region() [all …]
|