Home
last modified time | relevance | path

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

/openbmc/u-boot/post/drivers/
H A Dmemory.c470 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 Dvcrypto_helper.c204 uint32_t vstart = env->vstart; in RVVCALL() local
206 if (vl % egs != 0 || vstart % egs != 0) { in RVVCALL()
226 for (uint32_t i = env->vstart / 4; i < env->vl / 4; i++) { \
237 env->vstart = 0; \
252 for (uint32_t i = env->vstart / 4; i < env->vl / 4; i++) { \
263 env->vstart = 0; \
318 for (uint32_t i = env->vstart / 4; i < env->vl / 4; i++) {
345 env->vstart = 0;
366 for (uint32_t i = env->vstart / 4; i < env->vl / 4; i++) { in HELPER()
404 env->vstart = 0; in HELPER()
[all …]
H A Dvector_internals.c71 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 Dvector_helper.c71 env->vstart = 0; in HELPER()
91 env->vstart = 0; in HELPER()
97 env->vstart = 0; in HELPER()
228 for (i = env->vstart; i < evl; env->vstart = ++i, addr += esz) {
294 for (i = env->vstart; i < env->vl; env->vstart = ++i) { in vext_ldst_stride()
309 env->vstart = 0; in vext_ldst_stride()
360 uint32_t evl = env->vstart + elems;
369 vext_continuous_ldst_host(env, ldst_host, vd, evl, env->vstart,
372 for (i = env->vstart; i < evl; ++i) {
381 env->vstart += elems;
[all …]
H A Dvector_internals.h29 if (env->vstart >= vl) { \
30 env->vstart = 0; \
164 for (i = env->vstart; i < vl; i++) { \
173 env->vstart = 0; \
H A Dmachine.c148 VMSTATE_UINTTL(env.vstart, RISCVCPU),
H A Dcpu.h227 target_ulong vstart; member
H A Dtranslate.c1446 cpu_vstart = tcg_global_mem_new(tcg_env, offsetof(CPURISCVState, vstart), in riscv_translate_init()
H A Dcsr.c986 *val = env->vstart; in read_vstart()
1000 env->vstart = val & ~(~0ULL << ctzl(riscv_cpu_cfg(env)->vlenb << 3)); in write_vstart()
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dcpu.c577 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 Dtlb.c326 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/qemu/linux-headers/asm-riscv/
H A Dptrace.h101 unsigned long vstart; member
115 unsigned long vstart; member
/openbmc/u-boot/board/keymile/km83xx/
H A Dkm83xx.c408 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/u-boot/board/keymile/km_arm/
H A Dkm_arm.c534 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare() argument
536 *vstart = CONFIG_SYS_SDRAM_BASE; in arch_memory_test_prepare()
/openbmc/qemu/hw/display/
H A Dvga_int.h47 int vstart; member
H A Dvga.c240 r->vstart = vretr_start_line; in vga_precise_update_retrace_info()
241 r->vend = r->vstart + vretr_end_line + 1; in vga_precise_update_retrace_info()
297 if (cur_line >= r->vstart && cur_line <= r->vend) { in vga_precise_retrace()
/openbmc/qemu/target/riscv/kvm/
H A Dkvm-cpu.c850 ret = kvm_get_one_reg(cs, RISCV_VECTOR_CSR_REG(vstart), &reg); in kvm_riscv_get_regs_vector()
854 env->vstart = reg; in kvm_riscv_get_regs_vector()
906 reg = env->vstart; in kvm_riscv_put_regs_vector()
907 ret = kvm_set_one_reg(cs, RISCV_VECTOR_CSR_REG(vstart), &reg); in kvm_riscv_put_regs_vector()
/openbmc/qemu/target/riscv/tcg/
H A Dtcg-cpu.c124 bool vl_eq_vlmax = (env->vstart == 0) && (vlmax == env->vl) && in riscv_get_tb_cpu_state()
135 flags = FIELD_DP32(flags, TB_FLAGS, VSTART_EQ_ZERO, env->vstart == 0); in riscv_get_tb_cpu_state()
/openbmc/qemu/target/riscv/insn_trans/
H A Dtrans_rvv.c.inc1181 * Update vstart with the number of processed elements.
1183 * - vstart is not 0.
3257 * 3. An illegal instruction exception is raised if vstart is non-zero.
3538 /* if vstart >= vl, skip vector register write back */