Lines Matching refs:mapbase
453 static void lpc32xx_loopback_set(resource_size_t mapbase, int state) in lpc32xx_loopback_set() argument
458 switch (mapbase) { in lpc32xx_loopback_set()
469 WARN(1, "lpc32xx_hs: Warning: Unknown port at %08x\n", mapbase); in lpc32xx_loopback_set()
506 lpc32xx_loopback_set(port->mapbase, 0); /* get out of loopback mode */ in serial_lpc32xx_startup()
531 lpc32xx_loopback_set(port->mapbase, 1); /* go to loopback mode */ in serial_lpc32xx_shutdown()
586 if ((port->iotype == UPIO_MEM32) && (port->mapbase)) { in serial_lpc32xx_release_port()
592 release_mem_region(port->mapbase, SZ_4K); in serial_lpc32xx_release_port()
600 if ((port->iotype == UPIO_MEM32) && (port->mapbase)) { in serial_lpc32xx_request_port()
603 if (!request_mem_region(port->mapbase, SZ_4K, MODNAME)) in serial_lpc32xx_request_port()
606 port->membase = ioremap(port->mapbase, SZ_4K); in serial_lpc32xx_request_port()
608 release_mem_region(port->mapbase, SZ_4K); in serial_lpc32xx_request_port()
697 p->port.mapbase = res->start; in serial_hs_lpc32xx_probe()
717 lpc32xx_loopback_set(p->port.mapbase, 1); in serial_hs_lpc32xx_probe()