Lines Matching defs:port
33 static int s3c24a0_serial_setsource(struct uart_port *port,
36 unsigned long ucon = rd_regl(port, S3C2410_UCON);
43 wr_regl(port, S3C2410_UCON, ucon);
47 static int s3c24a0_serial_getsource(struct uart_port *port,
50 unsigned long ucon = rd_regl(port, S3C2410_UCON);
58 static int s3c24a0_serial_resetport(struct uart_port *port,
61 dbg("s3c24a0_serial_resetport: port=%p (%08lx), cfg=%p\n",
62 port, port->mapbase, cfg);
64 wr_regl(port, S3C2410_UCON, cfg->ucon);
65 wr_regl(port, S3C2410_ULCON, cfg->ulcon);
69 wr_regl(port, S3C2410_UFCON, cfg->ufcon | S3C2410_UFCON_RESETBOTH);
70 wr_regl(port, S3C2410_UFCON, cfg->ufcon);