Lines Matching refs:port0
855 struct moschip_port *port0; in mos7840_open() local
866 port0 = mos7840_get_port_private(serial->port[0]); in mos7840_open()
868 if (mos7840_port == NULL || port0 == NULL) in mos7840_open()
873 port0->open_ports++; in mos7840_open()
1027 if (port0->open_ports == 1) { in mos7840_open()
1161 struct moschip_port *port0; in mos7840_close() local
1173 port0 = mos7840_get_port_private(serial->port[0]); in mos7840_close()
1175 if (mos7840_port == NULL || port0 == NULL) in mos7840_close()
1192 port0->open_ports--; in mos7840_close()
1193 dev_dbg(&port->dev, "%s in close%d\n", __func__, port0->open_ports); in mos7840_close()
1194 if (port0->open_ports == 0) { in mos7840_close()