Lines Matching refs:port_lock

97 	spinlock_t		port_lock;	/* guard port_* access */  member
398 spin_unlock(&port->port_lock); in gs_start_tx()
400 spin_lock(&port->port_lock); in gs_start_tx()
454 spin_unlock(&port->port_lock); in gs_start_rx()
456 spin_lock(&port->port_lock); in gs_start_rx()
492 spin_lock_irq(&port->port_lock); in gs_rx_push()
580 spin_unlock_irq(&port->port_lock); in gs_rx_push()
588 spin_lock(&port->port_lock); in gs_read_complete()
591 spin_unlock(&port->port_lock); in gs_read_complete()
598 spin_lock(&port->port_lock); in gs_write_complete()
619 spin_unlock(&port->port_lock); in gs_write_complete()
732 spin_lock_irq(&port->port_lock); in gs_open()
748 spin_unlock_irq(&port->port_lock); in gs_open()
770 spin_lock_irq(&port->port_lock); in gs_open()
775 spin_unlock_irq(&port->port_lock); in gs_open()
777 spin_lock_irq(&port->port_lock); in gs_open()
815 spin_unlock_irq(&port->port_lock); in gs_open()
824 spin_lock_irq(&p->port_lock); in gs_writes_finished()
826 spin_unlock_irq(&p->port_lock); in gs_writes_finished()
836 spin_lock_irq(&port->port_lock); in gs_close()
862 spin_unlock_irq(&port->port_lock); in gs_close()
866 spin_lock_irq(&port->port_lock); in gs_close()
889 spin_unlock_irq(&port->port_lock); in gs_close()
901 spin_lock_irqsave(&port->port_lock, flags); in gs_write()
907 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write()
921 spin_lock_irqsave(&port->port_lock, flags); in gs_put_char()
923 spin_unlock_irqrestore(&port->port_lock, flags); in gs_put_char()
935 spin_lock_irqsave(&port->port_lock, flags); in gs_flush_chars()
938 spin_unlock_irqrestore(&port->port_lock, flags); in gs_flush_chars()
947 spin_lock_irqsave(&port->port_lock, flags); in gs_write_room()
950 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write_room()
964 spin_lock_irqsave(&port->port_lock, flags); in gs_chars_in_buffer()
966 spin_unlock_irqrestore(&port->port_lock, flags); in gs_chars_in_buffer()
980 spin_lock_irqsave(&port->port_lock, flags); in gs_unthrottle()
989 spin_unlock_irqrestore(&port->port_lock, flags); in gs_unthrottle()
1001 spin_lock_irq(&port->port_lock); in gs_break_ctl()
1005 spin_unlock_irq(&port->port_lock); in gs_break_ctl()
1045 spin_lock_init(&port->port_lock); in gs_port_alloc()
1067 spin_lock_irq(&port->port_lock); in gs_closed()
1069 spin_unlock_irq(&port->port_lock); in gs_closed()
1197 spin_lock_irqsave(&port->port_lock, flags); in gserial_connect()
1221 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_connect()
1251 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1263 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()
1273 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1283 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()