Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nfc/st95hf/
H A Dcore.c226 struct semaphore exchange_lock; member
793 if (!down_trylock(&stcontext->exchange_lock)) { in st95hf_irq_thread_handler()
794 up(&stcontext->exchange_lock); in st95hf_irq_thread_handler()
851 up(&stcontext->exchange_lock); in st95hf_irq_thread_handler()
864 up(&stcontext->exchange_lock); in st95hf_irq_thread_handler()
963 rc = down_killable(&stcontext->exchange_lock); in st95hf_in_send_cmd()
976 up(&stcontext->exchange_lock); in st95hf_in_send_cmd()
1187 sema_init(&st95context->exchange_lock, 1); in st95hf_probe()
1220 result = down_killable(&stcontext->exchange_lock); in st95hf_remove()