Lines Matching refs:ahb
448 ppc4xx_ahb_t *ahb = opaque; in dcr_read_ahb() local
453 ret = ahb->top; in dcr_read_ahb()
456 ret = ahb->bot; in dcr_read_ahb()
467 ppc4xx_ahb_t *ahb = opaque; in dcr_write_ahb() local
471 ahb->top = val; in dcr_write_ahb()
474 ahb->bot = val; in dcr_write_ahb()
481 ppc4xx_ahb_t *ahb = opaque; in ppc4xx_ahb_reset() local
484 ahb->top = 0; in ppc4xx_ahb_reset()
485 ahb->bot = 0; in ppc4xx_ahb_reset()
490 ppc4xx_ahb_t *ahb; in ppc4xx_ahb_init() local
492 ahb = g_malloc0(sizeof(*ahb)); in ppc4xx_ahb_init()
493 ppc_dcr_register(env, AHB_TOP, ahb, &dcr_read_ahb, &dcr_write_ahb); in ppc4xx_ahb_init()
494 ppc_dcr_register(env, AHB_BOT, ahb, &dcr_read_ahb, &dcr_write_ahb); in ppc4xx_ahb_init()
495 qemu_register_reset(ppc4xx_ahb_reset, ahb); in ppc4xx_ahb_init()