Lines Matching refs:open_count
101 unsigned open_count; member
740 if (port->open_count) { in gs_open()
742 port->open_count++; in gs_open()
801 port->open_count = 1; in gs_open()
843 if (port->open_count != 1) { in gs_close()
844 if (port->open_count == 0) in gs_close()
847 --port->open_count; in gs_close()
857 port->open_count = 0; in gs_close()
1162 cond = (port->open_count == 0) && !port->openclose; in gs_closed()
1275 if (port->open_count) { in gserial_connect()
1322 if (port->open_count > 0 || port->openclose) { in gserial_disconnect()
1338 if (port->open_count == 0 && !port->openclose) in gserial_disconnect()