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()
364 spin_lock_irq(&port->port_lock); in gs_rx_push()
452 spin_unlock_irq(&port->port_lock); in gs_rx_push()
460 spin_lock(&port->port_lock); in gs_read_complete()
463 spin_unlock(&port->port_lock); in gs_read_complete()
470 spin_lock(&port->port_lock); in gs_write_complete()
491 spin_unlock(&port->port_lock); in gs_write_complete()
604 spin_lock_irq(&port->port_lock); in gs_open()
620 spin_unlock_irq(&port->port_lock); in gs_open()
642 spin_lock_irq(&port->port_lock); in gs_open()
647 spin_unlock_irq(&port->port_lock); in gs_open()
650 spin_lock_irq(&port->port_lock); in gs_open()
688 spin_unlock_irq(&port->port_lock); in gs_open()
697 spin_lock_irq(&p->port_lock); in gs_writes_finished()
699 spin_unlock_irq(&p->port_lock); in gs_writes_finished()
709 spin_lock_irq(&port->port_lock); in gs_close()
735 spin_unlock_irq(&port->port_lock); in gs_close()
739 spin_lock_irq(&port->port_lock); in gs_close()
761 spin_unlock_irq(&port->port_lock); in gs_close()
772 spin_lock_irqsave(&port->port_lock, flags); in gs_write()
778 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write()
792 spin_lock_irqsave(&port->port_lock, flags); in gs_put_char()
794 spin_unlock_irqrestore(&port->port_lock, flags); in gs_put_char()
806 spin_lock_irqsave(&port->port_lock, flags); in gs_flush_chars()
809 spin_unlock_irqrestore(&port->port_lock, flags); in gs_flush_chars()
818 spin_lock_irqsave(&port->port_lock, flags); in gs_write_room()
821 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write_room()
835 spin_lock_irqsave(&port->port_lock, flags); in gs_chars_in_buffer()
837 spin_unlock_irqrestore(&port->port_lock, flags); in gs_chars_in_buffer()
851 spin_lock_irqsave(&port->port_lock, flags); in gs_unthrottle()
860 spin_unlock_irqrestore(&port->port_lock, flags); in gs_unthrottle()
872 spin_lock_irq(&port->port_lock); in gs_break_ctl()
876 spin_unlock_irq(&port->port_lock); in gs_break_ctl()
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()
1313 spin_lock_irqsave(&port->port_lock, flags); in gserial_connect()
1338 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_connect()
1367 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1379 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()
1386 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1397 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()