Home
last modified time | relevance | path

Searched refs:dcr_env (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/ppc/
H A Dppc.c1441 dcr = &dcr_env->dcrn[dcrn]; in ppc_dcr_read()
1450 if (dcr_env->read_error != NULL) in ppc_dcr_read()
1462 dcr = &dcr_env->dcrn[dcrn]; in ppc_dcr_write()
1471 if (dcr_env->write_error != NULL) in ppc_dcr_write()
1480 ppc_dcr_t *dcr_env; in ppc_dcr_register() local
1483 dcr_env = env->dcr_env; in ppc_dcr_register()
1484 if (dcr_env == NULL) in ppc_dcr_register()
1488 dcr = &dcr_env->dcrn[dcrn]; in ppc_dcr_register()
1503 ppc_dcr_t *dcr_env; in ppc_dcr_init() local
1505 dcr_env = g_new0(ppc_dcr_t, 1); in ppc_dcr_init()
[all …]
/openbmc/qemu/target/ppc/
H A Dtimebase_helper.c472 if (unlikely(env->dcr_env == NULL)) { in helper_load_dcr()
481 ret = ppc_dcr_read(env->dcr_env, (uint32_t)dcrn, &val); in helper_load_dcr()
496 if (unlikely(env->dcr_env == NULL)) { in helper_store_dcr()
504 ret = ppc_dcr_write(env->dcr_env, (uint32_t)dcrn, (uint32_t)val); in helper_store_dcr()
H A Dcpu.h1305 ppc_dcr_t *dcr_env; /* Device control registers */ member
1659 int ppc_dcr_read(ppc_dcr_t *dcr_env, int dcrn, uint32_t *valp);
1660 int ppc_dcr_write(ppc_dcr_t *dcr_env, int dcrn, uint32_t val);
H A Dkvm.c1364 if (ppc_dcr_read(env->dcr_env, dcrn, data) < 0) { in kvmppc_handle_dcr_read()
1374 if (ppc_dcr_write(env->dcr_env, dcrn, data) < 0) { in kvmppc_handle_dcr_write()
/openbmc/qemu/linux-user/ppc/
H A Dcpu_loop.c58 int ppc_dcr_read (ppc_dcr_t *dcr_env, int dcrn, uint32_t *valp) in ppc_dcr_read() argument
63 int ppc_dcr_write (ppc_dcr_t *dcr_env, int dcrn, uint32_t val) in ppc_dcr_write() argument