Searched refs:r_ports (Results 1 – 1 of 1) sorted by relevance
1369 struct resource r_ports; in pmz_init_port() local1374 if (of_address_to_resource(np, 0, &r_ports)) in pmz_init_port()1376 uap->port.mapbase = r_ports.start; in pmz_init_port()1638 struct resource *r_ports; in pmz_init_port() local1641 r_ports = platform_get_resource(uap->pdev, IORESOURCE_MEM, 0); in pmz_init_port()1642 if (!r_ports) in pmz_init_port()1649 uap->port.mapbase = r_ports->start; in pmz_init_port()1650 uap->port.membase = (unsigned char __iomem *) r_ports->start; in pmz_init_port()