Lines Matching refs:port_lock

104 	spinlock_t		port_lock;	/* guard port_* access */  member
275 spin_unlock(&port->port_lock); in gs_start_tx()
277 spin_lock(&port->port_lock); in gs_start_tx()
331 spin_unlock(&port->port_lock); in gs_start_rx()
333 spin_lock(&port->port_lock); in gs_start_rx()
370 spin_lock_irq(&port->port_lock); in gs_rx_push()
450 spin_unlock_irq(&port->port_lock); in gs_rx_push()
458 spin_lock(&port->port_lock); in gs_read_complete()
461 spin_unlock(&port->port_lock); in gs_read_complete()
468 spin_lock(&port->port_lock); in gs_write_complete()
489 spin_unlock(&port->port_lock); in gs_write_complete()
605 spin_lock_irq(&port->port_lock); in gs_open()
610 spin_unlock_irq(&port->port_lock); in gs_open()
625 spin_lock_irq(&port->port_lock); in gs_open()
655 spin_unlock_irq(&port->port_lock); in gs_open()
666 spin_lock_irq(&p->port_lock); in gs_close_flush_done()
669 spin_unlock_irq(&p->port_lock); in gs_close_flush_done()
679 spin_lock_irq(&port->port_lock); in gs_close()
700 spin_unlock_irq(&port->port_lock); in gs_close()
704 spin_lock_irq(&port->port_lock); in gs_close()
730 spin_unlock_irq(&port->port_lock); in gs_close()
741 spin_lock_irqsave(&port->port_lock, flags); in gs_write()
747 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write()
761 spin_lock_irqsave(&port->port_lock, flags); in gs_put_char()
763 spin_unlock_irqrestore(&port->port_lock, flags); in gs_put_char()
775 spin_lock_irqsave(&port->port_lock, flags); in gs_flush_chars()
778 spin_unlock_irqrestore(&port->port_lock, flags); in gs_flush_chars()
787 spin_lock_irqsave(&port->port_lock, flags); in gs_write_room()
790 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write_room()
804 spin_lock_irqsave(&port->port_lock, flags); in gs_chars_in_buffer()
806 spin_unlock_irqrestore(&port->port_lock, flags); in gs_chars_in_buffer()
820 spin_lock_irqsave(&port->port_lock, flags); in gs_unthrottle()
829 spin_unlock_irqrestore(&port->port_lock, flags); in gs_unthrottle()
841 spin_lock_irq(&port->port_lock); in gs_break_ctl()
845 spin_unlock_irq(&port->port_lock); in gs_break_ctl()
1043 spin_lock_irq(&port->port_lock); in gs_console_init()
1046 spin_unlock_irq(&port->port_lock); in gs_console_init()
1060 spin_lock_irq(&port->port_lock); in gs_console_exit()
1063 spin_unlock_irq(&port->port_lock); in gs_console_exit()
1160 spin_lock_init(&port->port_lock); in gs_port_alloc()
1183 spin_lock_irq(&port->port_lock); in gs_closed()
1185 spin_unlock_irq(&port->port_lock); in gs_closed()
1328 spin_lock_irqsave(&port->port_lock, flags); in gserial_connect()
1353 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_connect()
1384 spin_lock(&port->port_lock); in gserial_disconnect()
1399 spin_unlock(&port->port_lock); in gserial_disconnect()
1407 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1417 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()
1426 spin_lock_irqsave(&port->port_lock, flags); in gserial_suspend()
1428 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_suspend()
1445 spin_lock(&port->port_lock); in gserial_resume()
1449 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_resume()
1458 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_resume()