Lines Matching refs:port_lock

100 	spinlock_t		port_lock;	/* guard port_* access */  member
271 spin_unlock(&port->port_lock); in gs_start_tx()
273 spin_lock(&port->port_lock); in gs_start_tx()
327 spin_unlock(&port->port_lock); in gs_start_rx()
329 spin_lock(&port->port_lock); in gs_start_rx()
366 spin_lock_irq(&port->port_lock); in gs_rx_push()
446 spin_unlock_irq(&port->port_lock); in gs_rx_push()
454 spin_lock(&port->port_lock); in gs_read_complete()
457 spin_unlock(&port->port_lock); in gs_read_complete()
464 spin_lock(&port->port_lock); in gs_write_complete()
485 spin_unlock(&port->port_lock); in gs_write_complete()
601 spin_lock_irq(&port->port_lock); in gs_open()
606 spin_unlock_irq(&port->port_lock); in gs_open()
621 spin_lock_irq(&port->port_lock); in gs_open()
651 spin_unlock_irq(&port->port_lock); in gs_open()
662 spin_lock_irq(&p->port_lock); in gs_close_flush_done()
665 spin_unlock_irq(&p->port_lock); in gs_close_flush_done()
675 spin_lock_irq(&port->port_lock); in gs_close()
696 spin_unlock_irq(&port->port_lock); in gs_close()
700 spin_lock_irq(&port->port_lock); in gs_close()
726 spin_unlock_irq(&port->port_lock); in gs_close()
737 spin_lock_irqsave(&port->port_lock, flags); in gs_write()
743 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write()
757 spin_lock_irqsave(&port->port_lock, flags); in gs_put_char()
759 spin_unlock_irqrestore(&port->port_lock, flags); in gs_put_char()
771 spin_lock_irqsave(&port->port_lock, flags); in gs_flush_chars()
774 spin_unlock_irqrestore(&port->port_lock, flags); in gs_flush_chars()
783 spin_lock_irqsave(&port->port_lock, flags); in gs_write_room()
786 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write_room()
800 spin_lock_irqsave(&port->port_lock, flags); in gs_chars_in_buffer()
802 spin_unlock_irqrestore(&port->port_lock, flags); in gs_chars_in_buffer()
816 spin_lock_irqsave(&port->port_lock, flags); in gs_unthrottle()
825 spin_unlock_irqrestore(&port->port_lock, flags); in gs_unthrottle()
837 spin_lock_irq(&port->port_lock); in gs_break_ctl()
841 spin_unlock_irq(&port->port_lock); in gs_break_ctl()
1039 spin_lock_irq(&port->port_lock); in gs_console_init()
1042 spin_unlock_irq(&port->port_lock); in gs_console_init()
1056 spin_lock_irq(&port->port_lock); in gs_console_exit()
1059 spin_unlock_irq(&port->port_lock); in gs_console_exit()
1156 spin_lock_init(&port->port_lock); in gs_port_alloc()
1179 spin_lock_irq(&port->port_lock); in gs_closed()
1181 spin_unlock_irq(&port->port_lock); in gs_closed()
1324 spin_lock_irqsave(&port->port_lock, flags); in gserial_connect()
1349 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_connect()
1378 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1393 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()
1400 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1410 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()
1419 spin_lock_irqsave(&port->port_lock, flags); in gserial_suspend()
1421 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_suspend()
1430 spin_lock_irqsave(&port->port_lock, flags); in gserial_resume()
1433 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_resume()
1442 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_resume()