Lines Matching refs:port0
865 struct moschip_port *port0; in mos7840_open() local
876 port0 = mos7840_get_port_private(serial->port[0]); in mos7840_open()
878 if (mos7840_port == NULL || port0 == NULL) in mos7840_open()
883 port0->open_ports++; in mos7840_open()
1037 if (port0->open_ports == 1) { in mos7840_open()
1173 struct moschip_port *port0; in mos7840_close() local
1185 port0 = mos7840_get_port_private(serial->port[0]); in mos7840_close()
1187 if (mos7840_port == NULL || port0 == NULL) in mos7840_close()
1205 port0->open_ports--; in mos7840_close()
1206 dev_dbg(&port->dev, "%s in close%d\n", __func__, port0->open_ports); in mos7840_close()
1207 if (port0->open_ports == 0) { in mos7840_close()