Searched refs:CSR_TCFG (Results 1 – 7 of 7) sorted by relevance
/openbmc/qemu/target/loongarch/tcg/ |
H A D | constant_timer.c | 39 env->CSR_TCFG = value; in cpu_loongarch_store_constant_timer_config() 55 if (FIELD_EX64(env->CSR_TCFG, CSR_TCFG, PERIODIC)) { in loongarch_constant_timer_cb() 57 next = now + (env->CSR_TCFG & CONSTANT_TIMER_TICK_MASK) * TIMER_PERIOD; in loongarch_constant_timer_cb() 60 env->CSR_TCFG = FIELD_DP64(env->CSR_TCFG, CSR_TCFG, EN, 0); in loongarch_constant_timer_cb()
|
H A D | csr_helper.c | 79 int64_t old_v = env->CSR_TCFG; in helper_csrwr_tcfg()
|
/openbmc/qemu/target/loongarch/ |
H A D | cpu-csr.h | 139 FIELD(CSR_TCFG, EN, 0, 1) 140 FIELD(CSR_TCFG, PERIODIC, 1, 1) 141 FIELD(CSR_TCFG, INIT_VAL, 2, 46)
|
H A D | cpu.c | 547 env->CSR_TCFG = FIELD_DP64(env->CSR_TCFG, CSR_TCFG, EN, 0); in loongarch_cpu_reset_hold() 778 qemu_fprintf(f, "TCFG=%016" PRIx64 "\n", env->CSR_TCFG); in loongarch_cpu_dump_state()
|
H A D | machine.c | 205 VMSTATE_UINT64(env.CSR_TCFG, LoongArchCPU),
|
H A D | cpu.h | 341 uint64_t CSR_TCFG; member
|
/openbmc/qemu/target/loongarch/kvm/ |
H A D | kvm.c | 295 &env->CSR_TCFG); in kvm_loongarch_get_csr() 471 &env->CSR_TCFG); in kvm_loongarch_put_csr()
|