/* enable hardware flow control - after ioc4_change_speed because * ASYNC_CTS_FLOW is set there */ if (info->flags & ASYNC_CTS_FLOW) { port->ip_sscr |= IOC4_SSCR_HFC_EN; writel(port->ip_sscr, &port->ip_serial_regs->sscr); } 
static inline int ic4_startup_local(struct uart_port *the_port){	int retval = 0;	struct ioc4_port *port;	struct uart_info *info;	if (!the_port)		return -1;	port = get_ioc4_port(the_port);	if (!port)		return -1;	info = the_port->info;	if (info->flags & UIF_INITIALIZED) {		return retval;	}	if (info->tty) {		set_bit(TTY_IO_ERROR, &info->tty->flags);		clear_bit(TTY_IO_ERROR, &info->tty->flags);		if ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_HI)			info->tty->alt_speed = 57600;		if ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_VHI)			info->tty->alt_speed = 115200;		if ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_SHI)			info->tty->alt_speed = 230400;		if ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_WARP)			info->tty->alt_speed = 460800;	}	local_open(port);	/* set the speed of the serial port */	ioc4_change_speed(the_port, info->tty->termios, (struct termios *)0);	/* enable hardware flow control - after ioc4_change_speed because	 * ASYNC_CTS_FLOW is set there */	if (info->flags & ASYNC_CTS_FLOW) {		port->ip_sscr |= IOC4_SSCR_HFC_EN;		writel(port->ip_sscr, &port->ip_serial_regs->sscr);	}	info->flags |= UIF_INITIALIZED;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/149733d4e274ce1add3399cabdb243116ebfdf79/ioc4_serial.c/clean/drivers/serial/ioc4_serial.c