Lines Matching refs:mutex
154 struct mutex mutex; /* device access mutex */ member
172 WARN_ON(!mutex_is_locked(&ch7322->mutex)); in ch7322_send_message()
214 WARN_ON(!mutex_is_locked(&ch7322->mutex)); in ch7322_receive_message()
243 mutex_lock(&ch7322->mutex); in ch7322_tx_done()
246 mutex_unlock(&ch7322->mutex); in ch7322_tx_done()
275 mutex_lock(&ch7322->mutex); in ch7322_rx_done()
277 mutex_unlock(&ch7322->mutex); in ch7322_rx_done()
295 mutex_lock(&ch7322->mutex); in ch7322_phys_addr()
298 mutex_unlock(&ch7322->mutex); in ch7322_phys_addr()
311 mutex_lock(&ch7322->mutex); in ch7322_irq()
314 mutex_unlock(&ch7322->mutex); in ch7322_irq()
345 mutex_lock(&ch7322->mutex); in ch7322_cec_adap_log_addr()
348 mutex_unlock(&ch7322->mutex); in ch7322_cec_adap_log_addr()
359 mutex_lock(&ch7322->mutex); in ch7322_cec_adap_transmit()
361 mutex_unlock(&ch7322->mutex); in ch7322_cec_adap_transmit()
479 mutex_init(&ch7322->mutex); in ch7322_probe()
543 mutex_lock(&ch7322->mutex); in ch7322_probe()
545 mutex_unlock(&ch7322->mutex); in ch7322_probe()
564 mutex_destroy(&ch7322->mutex); in ch7322_probe()
573 mutex_lock(&ch7322->mutex); in ch7322_remove()
575 mutex_unlock(&ch7322->mutex); in ch7322_remove()
578 mutex_destroy(&ch7322->mutex); in ch7322_remove()