Home
last modified time | relevance | path

Searched refs:logbuffer_lock (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/typec/tcpm/
Dfusb302.c115 struct mutex logbuffer_lock; member
150 mutex_lock(&chip->logbuffer_lock); in _fusb302_log()
178 mutex_unlock(&chip->logbuffer_lock); in _fusb302_log()
196 mutex_lock(&chip->logbuffer_lock); in fusb302_debug_show()
204 mutex_unlock(&chip->logbuffer_lock); in fusb302_debug_show()
214 mutex_init(&chip->logbuffer_lock); in fusb302_debugfs_init()
Dtcpm.c509 struct mutex logbuffer_lock; /* log buffer access lock */ member
622 mutex_lock(&port->logbuffer_lock); in _tcpm_log()
627 mutex_unlock(&port->logbuffer_lock); in _tcpm_log()
660 mutex_unlock(&port->logbuffer_lock); in _tcpm_log()
755 mutex_lock(&port->logbuffer_lock); in tcpm_debug_show()
763 mutex_unlock(&port->logbuffer_lock); in tcpm_debug_show()
773 mutex_init(&port->logbuffer_lock); in tcpm_debugfs_init()
784 mutex_lock(&port->logbuffer_lock); in tcpm_debugfs_exit()
789 mutex_unlock(&port->logbuffer_lock); in tcpm_debugfs_exit()