Lines Matching refs:port_lock

105 	spinlock_t		port_lock;	/* guard port_* access */  member
278 spin_unlock(&port->port_lock); in gs_start_tx()
280 spin_lock(&port->port_lock); in gs_start_tx()
334 spin_unlock(&port->port_lock); in gs_start_rx()
336 spin_lock(&port->port_lock); in gs_start_rx()
373 spin_lock_irq(&port->port_lock); in gs_rx_push()
454 spin_unlock_irq(&port->port_lock); in gs_rx_push()
462 spin_lock(&port->port_lock); in gs_read_complete()
465 spin_unlock(&port->port_lock); in gs_read_complete()
472 spin_lock(&port->port_lock); in gs_write_complete()
493 spin_unlock(&port->port_lock); in gs_write_complete()
613 spin_lock_irq(&port->port_lock); in gs_open()
618 spin_unlock_irq(&port->port_lock); in gs_open()
633 spin_lock_irq(&port->port_lock); in gs_open()
663 spin_unlock_irq(&port->port_lock); in gs_open()
674 spin_lock_irq(&p->port_lock); in gs_close_flush_done()
677 spin_unlock_irq(&p->port_lock); in gs_close_flush_done()
687 spin_lock_irq(&port->port_lock); in gs_close()
708 spin_unlock_irq(&port->port_lock); in gs_close()
712 spin_lock_irq(&port->port_lock); in gs_close()
738 spin_unlock_irq(&port->port_lock); in gs_close()
749 spin_lock_irqsave(&port->port_lock, flags); in gs_write()
755 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write()
769 spin_lock_irqsave(&port->port_lock, flags); in gs_put_char()
771 spin_unlock_irqrestore(&port->port_lock, flags); in gs_put_char()
783 spin_lock_irqsave(&port->port_lock, flags); in gs_flush_chars()
786 spin_unlock_irqrestore(&port->port_lock, flags); in gs_flush_chars()
795 spin_lock_irqsave(&port->port_lock, flags); in gs_write_room()
798 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write_room()
812 spin_lock_irqsave(&port->port_lock, flags); in gs_chars_in_buffer()
814 spin_unlock_irqrestore(&port->port_lock, flags); in gs_chars_in_buffer()
828 spin_lock_irqsave(&port->port_lock, flags); in gs_unthrottle()
837 spin_unlock_irqrestore(&port->port_lock, flags); in gs_unthrottle()
849 spin_lock_irq(&port->port_lock); in gs_break_ctl()
853 spin_unlock_irq(&port->port_lock); in gs_break_ctl()
865 spin_lock_irqsave(&port->port_lock, flags); in gs_get_icount()
867 spin_unlock_irqrestore(&port->port_lock, flags); in gs_get_icount()
1072 spin_lock_irq(&port->port_lock); in gs_console_init()
1075 spin_unlock_irq(&port->port_lock); in gs_console_init()
1089 spin_lock_irq(&port->port_lock); in gs_console_exit()
1092 spin_unlock_irq(&port->port_lock); in gs_console_exit()
1189 spin_lock_init(&port->port_lock); in gs_port_alloc()
1212 spin_lock_irq(&port->port_lock); in gs_closed()
1214 spin_unlock_irq(&port->port_lock); in gs_closed()
1357 spin_lock_irqsave(&port->port_lock, flags); in gserial_connect()
1382 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_connect()
1413 spin_lock(&port->port_lock); in gserial_disconnect()
1428 spin_unlock(&port->port_lock); in gserial_disconnect()
1436 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1446 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()
1463 spin_lock(&port->port_lock); in gserial_suspend()
1467 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_suspend()
1484 spin_lock(&port->port_lock); in gserial_resume()
1488 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_resume()
1497 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_resume()