Lines Matching refs:port_lock
97 spinlock_t port_lock; /* guard port_* access */ member
399 spin_unlock(&port->port_lock); in gs_start_tx()
401 spin_lock(&port->port_lock); in gs_start_tx()
455 spin_unlock(&port->port_lock); in gs_start_rx()
457 spin_lock(&port->port_lock); in gs_start_rx()
493 spin_lock_irq(&port->port_lock); in gs_rx_push()
581 spin_unlock_irq(&port->port_lock); in gs_rx_push()
589 spin_lock(&port->port_lock); in gs_read_complete()
592 spin_unlock(&port->port_lock); in gs_read_complete()
599 spin_lock(&port->port_lock); in gs_write_complete()
620 spin_unlock(&port->port_lock); in gs_write_complete()
733 spin_lock_irq(&port->port_lock); in gs_open()
749 spin_unlock_irq(&port->port_lock); in gs_open()
771 spin_lock_irq(&port->port_lock); in gs_open()
776 spin_unlock_irq(&port->port_lock); in gs_open()
778 spin_lock_irq(&port->port_lock); in gs_open()
816 spin_unlock_irq(&port->port_lock); in gs_open()
825 spin_lock_irq(&p->port_lock); in gs_writes_finished()
827 spin_unlock_irq(&p->port_lock); in gs_writes_finished()
837 spin_lock_irq(&port->port_lock); in gs_close()
863 spin_unlock_irq(&port->port_lock); in gs_close()
867 spin_lock_irq(&port->port_lock); in gs_close()
889 spin_unlock_irq(&port->port_lock); in gs_close()
901 spin_lock_irqsave(&port->port_lock, flags); in gs_write()
907 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write()
921 spin_lock_irqsave(&port->port_lock, flags); in gs_put_char()
923 spin_unlock_irqrestore(&port->port_lock, flags); in gs_put_char()
935 spin_lock_irqsave(&port->port_lock, flags); in gs_flush_chars()
938 spin_unlock_irqrestore(&port->port_lock, flags); in gs_flush_chars()
947 spin_lock_irqsave(&port->port_lock, flags); in gs_write_room()
950 spin_unlock_irqrestore(&port->port_lock, flags); in gs_write_room()
964 spin_lock_irqsave(&port->port_lock, flags); in gs_chars_in_buffer()
966 spin_unlock_irqrestore(&port->port_lock, flags); in gs_chars_in_buffer()
980 spin_lock_irqsave(&port->port_lock, flags); in gs_unthrottle()
989 spin_unlock_irqrestore(&port->port_lock, flags); in gs_unthrottle()
1001 spin_lock_irq(&port->port_lock); in gs_break_ctl()
1005 spin_unlock_irq(&port->port_lock); in gs_break_ctl()
1045 spin_lock_init(&port->port_lock); in gs_port_alloc()
1068 spin_lock_irq(&port->port_lock); in gs_closed()
1070 spin_unlock_irq(&port->port_lock); in gs_closed()
1198 spin_lock_irqsave(&port->port_lock, flags); in gserial_connect()
1222 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_connect()
1251 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1263 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()
1270 spin_lock_irqsave(&port->port_lock, flags); in gserial_disconnect()
1280 spin_unlock_irqrestore(&port->port_lock, flags); in gserial_disconnect()