Lines Matching refs:dev
2209 static void pnv_xive2_reset(void *dev) in pnv_xive2_reset() argument
2211 PnvXive2 *xive = PNV_XIVE2(dev); in pnv_xive2_reset()
2249 static void pnv_xive2_realize(DeviceState *dev, Error **errp) in pnv_xive2_realize() argument
2251 PnvXive2 *xive = PNV_XIVE2(dev); in pnv_xive2_realize()
2252 PnvXive2Class *pxc = PNV_XIVE2_GET_CLASS(dev); in pnv_xive2_realize()
2258 pxc->parent_realize(dev, &local_err); in pnv_xive2_realize()
2295 memory_region_init_io(&xive->xscom_regs, OBJECT(dev), in pnv_xive2_realize()
2301 memory_region_init(&xive->ic_mmio, OBJECT(dev), "xive-ic", in pnv_xive2_realize()
2305 memory_region_init_io(&xive->ic_mmios[i], OBJECT(dev), in pnv_xive2_realize()
2324 memory_region_init_io(&xive->nvc_mmio, OBJECT(dev), in pnv_xive2_realize()
2328 memory_region_init_io(&xive->nvpg_mmio, OBJECT(dev), in pnv_xive2_realize()
2334 memory_region_init_io(&xive->tm_mmio, OBJECT(dev), &pnv_xive2_tm_ops, in pnv_xive2_realize()
2337 qemu_register_reset(pnv_xive2_reset, dev); in pnv_xive2_realize()
2365 static int pnv_xive2_dt_xscom(PnvXScomInterface *dev, void *fdt, in pnv_xive2_dt_xscom() argument