Lines Matching full:up

17 static int rsa8250_request_resource(struct uart_8250_port *up)  in rsa8250_request_resource()  argument
19 unsigned long start = UART_RSA_BASE << up->port.regshift; in rsa8250_request_resource()
20 unsigned int size = 8 << up->port.regshift; in rsa8250_request_resource()
21 struct uart_port *port = &up->port; in rsa8250_request_resource()
38 static void rsa8250_release_resource(struct uart_8250_port *up) in rsa8250_release_resource() argument
40 unsigned long offset = UART_RSA_BASE << up->port.regshift; in rsa8250_release_resource()
41 unsigned int size = 8 << up->port.regshift; in rsa8250_release_resource()
42 struct uart_port *port = &up->port; in rsa8250_release_resource()
54 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_config_port() local
57 up->probe &= ~UART_PROBE_RSA; in univ8250_config_port()
59 if (rsa8250_request_resource(up) == 0) in univ8250_config_port()
60 up->probe |= UART_PROBE_RSA; in univ8250_config_port()
63 if (probe_rsa[i] == up->port.iobase) { in univ8250_config_port()
64 if (rsa8250_request_resource(up) == 0) in univ8250_config_port()
65 up->probe |= UART_PROBE_RSA; in univ8250_config_port()
73 if (port->type != PORT_RSA && up->probe & UART_PROBE_RSA) in univ8250_config_port()
74 rsa8250_release_resource(up); in univ8250_config_port()
79 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_request_port() local
84 ret = rsa8250_request_resource(up); in univ8250_request_port()
94 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_release_port() local
97 rsa8250_release_resource(up); in univ8250_release_port()