Lines Matching refs:port_lock
100 spinlock_t port_lock; /* guard port_* access */ member
273 spin_unlock(&port->port_lock); in gs_start_tx()
275 spin_lock(&port->port_lock); in gs_start_tx()
329 spin_unlock(&port->port_lock); in gs_start_rx()
331 spin_lock(&port->port_lock); in gs_start_rx()
368 spin_lock_irq(&port->port_lock); in gs_rx_push()
448 spin_unlock_irq(&port->port_lock); in gs_rx_push()
456 spin_lock(&port->port_lock); in gs_read_complete()
459 spin_unlock(&port->port_lock); in gs_read_complete()
466 spin_lock(&port->port_lock); in gs_write_complete()
487 spin_unlock(&port->port_lock); in gs_write_complete()
603 spin_lock_irq(&port->port_lock); in gs_open()
608 spin_unlock_irq(&port->port_lock); in gs_open()
623 spin_lock_irq(&port->port_lock); in gs_open()
653 spin_unlock_irq(&port->port_lock); in gs_open()
664 spin_lock_irq(&p->port_lock); in gs_close_flush_done()
667 spin_unlock_irq(&p->port_lock); in gs_close_flush_done()
677 spin_lock_irq(&port->port_lock); in gs_close()
698 spin_unlock_irq(&port->port_lock); in gs_close()
702 spin_lock_irq(&port->port_lock); in gs_close()
728 spin_unlock_irq(&port->port_lock); in gs_close()
739 spin_lock_irqsave(&port->port_lock, flags); in gs_write()
745 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write()
759 spin_lock_irqsave(&port->port_lock, flags); in gs_put_char()
761 spin_unlock_irqrestore(&port->port_lock, flags); in gs_put_char()
773 spin_lock_irqsave(&port->port_lock, flags); in gs_flush_chars()
776 spin_unlock_irqrestore(&port->port_lock, flags); in gs_flush_chars()
785 spin_lock_irqsave(&port->port_lock, flags); in gs_write_room()
788 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write_room()
802 spin_lock_irqsave(&port->port_lock, flags); in gs_chars_in_buffer()
804 spin_unlock_irqrestore(&port->port_lock, flags); in gs_chars_in_buffer()
818 spin_lock_irqsave(&port->port_lock, flags); in gs_unthrottle()
827 spin_unlock_irqrestore(&port->port_lock, flags); in gs_unthrottle()
839 spin_lock_irq(&port->port_lock); in gs_break_ctl()
843 spin_unlock_irq(&port->port_lock); in gs_break_ctl()
1041 spin_lock_irq(&port->port_lock); in gs_console_init()
1044 spin_unlock_irq(&port->port_lock); in gs_console_init()
1058 spin_lock_irq(&port->port_lock); in gs_console_exit()
1061 spin_unlock_irq(&port->port_lock); in gs_console_exit()
1158 spin_lock_init(&port->port_lock); in gs_port_alloc()
1181 spin_lock_irq(&port->port_lock); in gs_closed()
1183 spin_unlock_irq(&port->port_lock); in gs_closed()
1326 spin_lock_irqsave(&port->port_lock, flags); in gserial_connect()
1351 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_connect()
1380 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1395 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()
1402 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1412 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()
1421 spin_lock_irqsave(&port->port_lock, flags); in gserial_suspend()
1423 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_suspend()
1432 spin_lock_irqsave(&port->port_lock, flags); in gserial_resume()
1435 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_resume()
1444 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_resume()