Lines Matching full:port
82 /* Check whether to allow an access to port n; return true if in tz_ppc_check()
110 int n = p - s->port; in tz_ppc_read()
151 int n = p - s->port; in tz_ppc_write()
193 * Board code should never map the upstream end of an unused port, in tz_ppc_dummy_accepts()
248 /* We can't create the upstream end of the port until realize, in tz_ppc_realize()
252 if (s->port[i].downstream) { in tz_ppc_realize()
258 TZPPCPort *port = &s->port[i]; in tz_ppc_realize() local
262 if (!port->downstream) { in tz_ppc_realize()
265 * numbering doesn't get out of sync with the port numbers. in tz_ppc_realize()
268 name = g_strdup_printf("tz-ppc-dummy-port[%d]", i); in tz_ppc_realize()
269 memory_region_init_io(&port->upstream, obj, &tz_ppc_dummy_ops, in tz_ppc_realize()
270 port, name, 0x10000); in tz_ppc_realize()
271 sysbus_init_mmio(sbd, &port->upstream); in tz_ppc_realize()
276 name = g_strdup_printf("tz-ppc-port[%d]", i); in tz_ppc_realize()
278 port->ppc = s; in tz_ppc_realize()
279 address_space_init(&port->downstream_as, port->downstream, name); in tz_ppc_realize()
281 size = memory_region_size(port->downstream); in tz_ppc_realize()
282 memory_region_init_io(&port->upstream, obj, &tz_ppc_ops, in tz_ppc_realize()
283 port, name, size); in tz_ppc_realize()
284 sysbus_init_mmio(sbd, &port->upstream); in tz_ppc_realize()
305 DEFINE_PROP_LINK("port[" #N "]", TZPPC, port[N].downstream, \