Lines Matching refs:write_lock
191 spin_lock_irqsave(&acm->write_lock, flags); in acm_wb_is_avail()
194 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_wb_is_avail()
486 spin_lock_irqsave(&acm->write_lock, flags); in acm_write_bulk()
488 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_write_bulk()
654 spin_lock_irq(&acm->write_lock); in acm_port_shutdown()
655 spin_unlock_irq(&acm->write_lock); in acm_port_shutdown()
712 spin_lock_irqsave(&acm->write_lock, flags); in acm_tty_write()
715 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
722 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
734 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
740 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
745 spin_unlock_irqrestore(&acm->write_lock, flags); in acm_tty_write()
1366 spin_lock_init(&acm->write_lock); in acm_probe()
1618 spin_lock_irq(&acm->write_lock); in acm_suspend()
1621 spin_unlock_irq(&acm->write_lock); in acm_suspend()
1626 spin_unlock_irq(&acm->write_lock); in acm_suspend()
1642 spin_lock_irq(&acm->write_lock); in acm_resume()
1668 spin_unlock_irq(&acm->write_lock); in acm_resume()