Lines Matching refs:port_number
848 int port_number; in mos7720_open() local
896 port_number = port->port_number; in mos7720_open()
897 read_mos_reg(serial, port_number, MOS7720_LSR, &data); in mos7720_open()
904 write_mos_reg(serial, port_number, MOS7720_IER, 0x00); in mos7720_open()
905 write_mos_reg(serial, port_number, MOS7720_FCR, 0x00); in mos7720_open()
907 write_mos_reg(serial, port_number, MOS7720_FCR, 0xcf); in mos7720_open()
909 write_mos_reg(serial, port_number, MOS7720_LCR, in mos7720_open()
912 write_mos_reg(serial, port_number, MOS7720_MCR, in mos7720_open()
915 write_mos_reg(serial, port_number, MOS7720_SP_CONTROL_REG, 0x00); in mos7720_open()
917 data = data | (port->port_number + 1); in mos7720_open()
920 write_mos_reg(serial, port_number, MOS7720_LCR, in mos7720_open()
922 write_mos_reg(serial, port_number, MOS7720_THR, 0x0c); in mos7720_open()
923 write_mos_reg(serial, port_number, MOS7720_IER, 0x00); in mos7720_open()
925 write_mos_reg(serial, port_number, MOS7720_LCR, in mos7720_open()
927 write_mos_reg(serial, port_number, MOS7720_IER, 0x0c); in mos7720_open()
993 write_mos_reg(serial, port->port_number, MOS7720_MCR, 0x00); in mos7720_close()
994 write_mos_reg(serial, port->port_number, MOS7720_IER, 0x00); in mos7720_close()
1018 write_mos_reg(serial, port->port_number, MOS7720_LCR, in mos7720_break()
1143 write_mos_reg(port->serial, port->port_number, MOS7720_MCR, in mos7720_throttle()
1173 write_mos_reg(port->serial, port->port_number, MOS7720_MCR, in mos7720_unthrottle()
1184 int port_number; in set_higher_rates() local
1196 port_number = port->port_number; in set_higher_rates()
1198 write_mos_reg(serial, port_number, MOS7720_IER, 0x00); in set_higher_rates()
1199 write_mos_reg(serial, port_number, MOS7720_FCR, 0x00); in set_higher_rates()
1200 write_mos_reg(serial, port_number, MOS7720_FCR, 0xcf); in set_higher_rates()
1202 write_mos_reg(serial, port_number, MOS7720_MCR, in set_higher_rates()
1210 if (port_number == 0) in set_higher_rates()
1217 write_mos_reg(serial, port_number, MOS7720_MCR, in set_higher_rates()
1224 write_mos_reg(serial, port_number, MOS7720_LCR, in set_higher_rates()
1226 write_mos_reg(serial, port_number, MOS7720_DLL, 0x01); in set_higher_rates()
1227 write_mos_reg(serial, port_number, MOS7720_DLM, 0x00); in set_higher_rates()
1229 write_mos_reg(serial, port_number, MOS7720_LCR, in set_higher_rates()
1326 number = port->port_number; in send_cmd_write_baud_rate()
1369 int port_number; in change_port_settings() local
1376 port_number = port->port_number; in change_port_settings()
1427 write_mos_reg(serial, port_number, MOS7720_IER, 0x00); in change_port_settings()
1428 write_mos_reg(serial, port_number, MOS7720_FCR, 0x00); in change_port_settings()
1429 write_mos_reg(serial, port_number, MOS7720_FCR, 0xcf); in change_port_settings()
1432 write_mos_reg(serial, port_number, MOS7720_LCR, in change_port_settings()
1435 write_mos_reg(serial, port_number, MOS7720_MCR, in change_port_settings()
1447 if (port_number) in change_port_settings()
1457 write_mos_reg(serial, port_number, MOS7720_MCR, in change_port_settings()
1471 write_mos_reg(serial, port_number, MOS7720_IER, 0x0c); in change_port_settings()
1482 write_mos_reg(serial, port_number, MOS7720_IER, 0x0c); in change_port_settings()
1539 int port_number = port->port_number; in get_lsr_info() local
1544 read_mos_reg(port->serial, port_number, MOS7720_LSR, &data); in get_lsr_info()
1601 write_mos_reg(port->serial, port->port_number, MOS7720_MCR, in mos7720_tiocmset()