• Home
  • Raw
  • Download

Lines Matching refs:port_number

1006 	int port_number;  in mos7720_open()  local
1054 port_number = port->port_number; in mos7720_open()
1055 read_mos_reg(serial, port_number, MOS7720_LSR, &data); in mos7720_open()
1062 write_mos_reg(serial, port_number, MOS7720_IER, 0x00); in mos7720_open()
1063 write_mos_reg(serial, port_number, MOS7720_FCR, 0x00); in mos7720_open()
1065 write_mos_reg(serial, port_number, MOS7720_FCR, 0xcf); in mos7720_open()
1067 write_mos_reg(serial, port_number, MOS7720_LCR, in mos7720_open()
1070 write_mos_reg(serial, port_number, MOS7720_MCR, in mos7720_open()
1073 write_mos_reg(serial, port_number, MOS7720_SP_CONTROL_REG, 0x00); in mos7720_open()
1075 data = data | (port->port_number + 1); in mos7720_open()
1078 write_mos_reg(serial, port_number, MOS7720_LCR, in mos7720_open()
1080 write_mos_reg(serial, port_number, MOS7720_THR, 0x0c); in mos7720_open()
1081 write_mos_reg(serial, port_number, MOS7720_IER, 0x00); in mos7720_open()
1083 write_mos_reg(serial, port_number, MOS7720_LCR, in mos7720_open()
1085 write_mos_reg(serial, port_number, MOS7720_IER, 0x0c); in mos7720_open()
1158 write_mos_reg(serial, port->port_number, MOS7720_MCR, 0x00); in mos7720_close()
1159 write_mos_reg(serial, port->port_number, MOS7720_IER, 0x00); in mos7720_close()
1183 write_mos_reg(serial, port->port_number, MOS7720_LCR, in mos7720_break()
1314 write_mos_reg(port->serial, port->port_number, MOS7720_MCR, in mos7720_throttle()
1344 write_mos_reg(port->serial, port->port_number, MOS7720_MCR, in mos7720_unthrottle()
1355 int port_number; in set_higher_rates() local
1367 port_number = port->port_number; in set_higher_rates()
1369 write_mos_reg(serial, port_number, MOS7720_IER, 0x00); in set_higher_rates()
1370 write_mos_reg(serial, port_number, MOS7720_FCR, 0x00); in set_higher_rates()
1371 write_mos_reg(serial, port_number, MOS7720_FCR, 0xcf); in set_higher_rates()
1373 write_mos_reg(serial, port_number, MOS7720_MCR, in set_higher_rates()
1381 if (port_number == 0) in set_higher_rates()
1388 write_mos_reg(serial, port_number, MOS7720_MCR, in set_higher_rates()
1395 write_mos_reg(serial, port_number, MOS7720_LCR, in set_higher_rates()
1397 write_mos_reg(serial, port_number, MOS7720_DLL, 0x01); in set_higher_rates()
1398 write_mos_reg(serial, port_number, MOS7720_DLM, 0x00); in set_higher_rates()
1400 write_mos_reg(serial, port_number, MOS7720_LCR, in set_higher_rates()
1497 number = port->port_number; in send_cmd_write_baud_rate()
1540 int port_number; in change_port_settings() local
1547 port_number = port->port_number; in change_port_settings()
1616 write_mos_reg(serial, port_number, MOS7720_IER, 0x00); in change_port_settings()
1617 write_mos_reg(serial, port_number, MOS7720_FCR, 0x00); in change_port_settings()
1618 write_mos_reg(serial, port_number, MOS7720_FCR, 0xcf); in change_port_settings()
1621 write_mos_reg(serial, port_number, MOS7720_LCR, in change_port_settings()
1624 write_mos_reg(serial, port_number, MOS7720_MCR, in change_port_settings()
1636 if (port_number) in change_port_settings()
1646 write_mos_reg(serial, port_number, MOS7720_MCR, in change_port_settings()
1660 write_mos_reg(serial, port_number, MOS7720_IER, 0x0c); in change_port_settings()
1671 write_mos_reg(serial, port_number, MOS7720_IER, 0x0c); in change_port_settings()
1727 int port_number = port->port_number; in get_lsr_info() local
1732 read_mos_reg(port->serial, port_number, MOS7720_LSR, &data); in get_lsr_info()
1789 write_mos_reg(port->serial, port->port_number, MOS7720_MCR, in mos7720_tiocmset()
1803 ss->port = mos7720_port->port->port_number; in get_serial_info()