Lines Matching refs:port0
818 struct moschip_port *port0;
833 port0 = mos7840_get_port_private(serial->port[0]);
835 if (mos7840_port == NULL || port0 == NULL)
840 port0->open_ports++;
1018 if (port0->open_ports == 1) {
1194 struct moschip_port *port0;
1212 port0 = mos7840_get_port_private(serial->port[0]);
1214 if (mos7840_port == NULL || port0 == NULL)
1257 port0->open_ports--;
1259 port0->open_ports, port->number);
1260 if (port0->open_ports == 0) {