Searched refs:r_ports (Results 1 – 1 of 1) sorted by relevance
1355 struct resource r_ports; in pmz_init_port() local1360 if (of_address_to_resource(np, 0, &r_ports)) in pmz_init_port()1362 uap->port.mapbase = r_ports.start; in pmz_init_port()1621 struct resource *r_ports; in pmz_init_port() local1624 r_ports = platform_get_resource(uap->pdev, IORESOURCE_MEM, 0); in pmz_init_port()1625 if (!r_ports) in pmz_init_port()1632 uap->port.mapbase = r_ports->start; in pmz_init_port()1633 uap->port.membase = (unsigned char __iomem *) r_ports->start; in pmz_init_port()