Searched refs:exchange_lock (Results 1 – 1 of 1) sorted by relevance
225 struct semaphore exchange_lock; member792 if (!down_trylock(&stcontext->exchange_lock)) { in st95hf_irq_thread_handler()793 up(&stcontext->exchange_lock); in st95hf_irq_thread_handler()850 up(&stcontext->exchange_lock); in st95hf_irq_thread_handler()863 up(&stcontext->exchange_lock); in st95hf_irq_thread_handler()962 rc = down_killable(&stcontext->exchange_lock); in st95hf_in_send_cmd()975 up(&stcontext->exchange_lock); in st95hf_in_send_cmd()1182 sema_init(&st95context->exchange_lock, 1); in st95hf_probe()1215 result = down_killable(&stcontext->exchange_lock); in st95hf_remove()