Lines Matching refs:port_lock

101 	spinlock_t		port_lock;	/* guard port_* access */  member
270 spin_unlock(&port->port_lock); in gs_start_tx()
272 spin_lock(&port->port_lock); in gs_start_tx()
326 spin_unlock(&port->port_lock); in gs_start_rx()
328 spin_lock(&port->port_lock); in gs_start_rx()
365 spin_lock_irq(&port->port_lock); in gs_rx_push()
445 spin_unlock_irq(&port->port_lock); in gs_rx_push()
453 spin_lock(&port->port_lock); in gs_read_complete()
456 spin_unlock(&port->port_lock); in gs_read_complete()
463 spin_lock(&port->port_lock); in gs_write_complete()
484 spin_unlock(&port->port_lock); in gs_write_complete()
597 spin_lock_irq(&port->port_lock); in gs_open()
613 spin_unlock_irq(&port->port_lock); in gs_open()
635 spin_lock_irq(&port->port_lock); in gs_open()
640 spin_unlock_irq(&port->port_lock); in gs_open()
643 spin_lock_irq(&port->port_lock); in gs_open()
681 spin_unlock_irq(&port->port_lock); in gs_open()
690 spin_lock_irq(&p->port_lock); in gs_writes_finished()
692 spin_unlock_irq(&p->port_lock); in gs_writes_finished()
702 spin_lock_irq(&port->port_lock); in gs_close()
728 spin_unlock_irq(&port->port_lock); in gs_close()
732 spin_lock_irq(&port->port_lock); in gs_close()
754 spin_unlock_irq(&port->port_lock); in gs_close()
765 spin_lock_irqsave(&port->port_lock, flags); in gs_write()
771 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write()
785 spin_lock_irqsave(&port->port_lock, flags); in gs_put_char()
787 spin_unlock_irqrestore(&port->port_lock, flags); in gs_put_char()
799 spin_lock_irqsave(&port->port_lock, flags); in gs_flush_chars()
802 spin_unlock_irqrestore(&port->port_lock, flags); in gs_flush_chars()
811 spin_lock_irqsave(&port->port_lock, flags); in gs_write_room()
814 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write_room()
828 spin_lock_irqsave(&port->port_lock, flags); in gs_chars_in_buffer()
830 spin_unlock_irqrestore(&port->port_lock, flags); in gs_chars_in_buffer()
844 spin_lock_irqsave(&port->port_lock, flags); in gs_unthrottle()
853 spin_unlock_irqrestore(&port->port_lock, flags); in gs_unthrottle()
865 spin_lock_irq(&port->port_lock); in gs_break_ctl()
869 spin_unlock_irq(&port->port_lock); in gs_break_ctl()
1151 spin_lock_init(&port->port_lock); in gs_port_alloc()
1174 spin_lock_irq(&port->port_lock); in gs_closed()
1176 spin_unlock_irq(&port->port_lock); in gs_closed()
1306 spin_lock_irqsave(&port->port_lock, flags); in gserial_connect()
1331 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_connect()
1360 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1372 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()
1379 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1390 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()