Lines Matching refs:port_lock

106 	spinlock_t		port_lock;	/* guard port_* access */  member
279 spin_unlock(&port->port_lock); in gs_start_tx()
281 spin_lock(&port->port_lock); in gs_start_tx()
335 spin_unlock(&port->port_lock); in gs_start_rx()
337 spin_lock(&port->port_lock); in gs_start_rx()
374 spin_lock_irq(&port->port_lock); in gs_rx_push()
455 spin_unlock_irq(&port->port_lock); in gs_rx_push()
463 spin_lock(&port->port_lock); in gs_read_complete()
466 spin_unlock(&port->port_lock); in gs_read_complete()
473 spin_lock(&port->port_lock); in gs_write_complete()
494 spin_unlock(&port->port_lock); in gs_write_complete()
624 spin_lock_irq(&port->port_lock); in gs_open()
629 spin_unlock_irq(&port->port_lock); in gs_open()
644 spin_lock_irq(&port->port_lock); in gs_open()
674 spin_unlock_irq(&port->port_lock); in gs_open()
685 spin_lock_irq(&p->port_lock); in gs_close_flush_done()
688 spin_unlock_irq(&p->port_lock); in gs_close_flush_done()
698 spin_lock_irq(&port->port_lock); in gs_close()
719 spin_unlock_irq(&port->port_lock); in gs_close()
723 spin_lock_irq(&port->port_lock); in gs_close()
749 spin_unlock_irq(&port->port_lock); in gs_close()
762 spin_lock_irqsave(&port->port_lock, flags); in gs_write()
767 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write()
773 spin_lock_irqsave(&port->port_lock, flags); in gs_write()
779 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write()
793 spin_lock_irqsave(&port->port_lock, flags); in gs_put_char()
795 spin_unlock_irqrestore(&port->port_lock, flags); in gs_put_char()
809 spin_lock_irqsave(&port->port_lock, flags); in gs_flush_chars()
811 spin_unlock_irqrestore(&port->port_lock, flags); in gs_flush_chars()
817 spin_lock_irqsave(&port->port_lock, flags); in gs_flush_chars()
822 spin_unlock_irqrestore(&port->port_lock, flags); in gs_flush_chars()
831 spin_lock_irqsave(&port->port_lock, flags); in gs_write_room()
834 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write_room()
848 spin_lock_irqsave(&port->port_lock, flags); in gs_chars_in_buffer()
850 spin_unlock_irqrestore(&port->port_lock, flags); in gs_chars_in_buffer()
864 spin_lock_irqsave(&port->port_lock, flags); in gs_unthrottle()
873 spin_unlock_irqrestore(&port->port_lock, flags); in gs_unthrottle()
885 spin_lock_irq(&port->port_lock); in gs_break_ctl()
889 spin_unlock_irq(&port->port_lock); in gs_break_ctl()
901 spin_lock_irqsave(&port->port_lock, flags); in gs_get_icount()
903 spin_unlock_irqrestore(&port->port_lock, flags); in gs_get_icount()
1108 spin_lock_irq(&port->port_lock); in gs_console_init()
1111 spin_unlock_irq(&port->port_lock); in gs_console_init()
1125 spin_lock_irq(&port->port_lock); in gs_console_exit()
1128 spin_unlock_irq(&port->port_lock); in gs_console_exit()
1225 spin_lock_init(&port->port_lock); in gs_port_alloc()
1248 spin_lock_irq(&port->port_lock); in gs_closed()
1250 spin_unlock_irq(&port->port_lock); in gs_closed()
1393 spin_lock_irqsave(&port->port_lock, flags); in gserial_connect()
1418 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_connect()
1449 spin_lock(&port->port_lock); in gserial_disconnect()
1464 spin_unlock(&port->port_lock); in gserial_disconnect()
1472 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1482 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()
1507 spin_lock(&port->port_lock); in gserial_suspend()
1511 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_suspend()
1528 spin_lock(&port->port_lock); in gserial_resume()
1532 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_resume()
1541 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_resume()