Lines Matching defs:port
28 static int s5pv210_serial_setsource(struct uart_port *port,
31 struct s3c2410_uartcfg *cfg = port->dev->platform_data;
32 unsigned long ucon = rd_regl(port, S3C2410_UCON);
46 wr_regl(port, S3C2410_UCON, ucon);
51 static int s5pv210_serial_getsource(struct uart_port *port,
54 struct s3c2410_uartcfg *cfg = port->dev->platform_data;
55 u32 ucon = rd_regl(port, S3C2410_UCON);
74 static int s5pv210_serial_resetport(struct uart_port *port,
77 unsigned long ucon = rd_regl(port, S3C2410_UCON);
80 wr_regl(port, S3C2410_UCON, ucon | cfg->ucon);
81 wr_regl(port, S3C2410_ULCON, cfg->ulcon);
84 wr_regl(port, S3C2410_UFCON, cfg->ufcon | S3C2410_UFCON_RESETBOTH);
85 wr_regl(port, S3C2410_UFCON, cfg->ufcon);