Home
last modified time | relevance | path

Searched refs:apb_pnp (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/misc/
H A Dgrlib_ahb_apb_pnp.c247 APBPnp *apb_pnp = GRLIB_APB_PNP(opaque); in grlib_apb_pnp_read() local
250 val = apb_pnp->regs[offset >> 2]; in grlib_apb_pnp_read()
275 APBPnp *apb_pnp = GRLIB_APB_PNP(dev); in grlib_apb_pnp_realize() local
278 memory_region_init_io(&apb_pnp->iomem, OBJECT(dev), &grlib_apb_pnp_ops, in grlib_apb_pnp_realize()
279 apb_pnp, TYPE_GRLIB_APB_PNP, GRLIB_PNP_MAX_REGS); in grlib_apb_pnp_realize()
280 sysbus_init_mmio(sbd, &apb_pnp->iomem); in grlib_apb_pnp_realize()
/openbmc/qemu/hw/sparc/
H A Dleon3.c274 APBPnp *apb_pnp; in leon3_generic_hw_init() local
301 apb_pnp = GRLIB_APB_PNP(qdev_new(TYPE_GRLIB_APB_PNP)); in leon3_generic_hw_init()
302 sysbus_realize_and_unref(SYS_BUS_DEVICE(apb_pnp), &error_fatal); in leon3_generic_hw_init()
303 sysbus_mmio_map(SYS_BUS_DEVICE(apb_pnp), 0, LEON3_APB_PNP_OFFSET); in leon3_generic_hw_init()
328 grlib_apb_pnp_add_entry(apb_pnp, LEON3_IRQMP_OFFSET, 0xFFF, in leon3_generic_hw_init()
420 grlib_apb_pnp_add_entry(apb_pnp, LEON3_TIMER_OFFSET, 0xFFF, in leon3_generic_hw_init()
431 grlib_apb_pnp_add_entry(apb_pnp, LEON3_UART_OFFSET, 0xFFF, in leon3_generic_hw_init()