Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nfc/st95hf/
H A Dspi.c25 mutex_lock(&spicontext->spi_lock); in st95hf_spi_send()
28 spicontext->req_issync = true; in st95hf_spi_send()
29 reinit_completion(&spicontext->done); in st95hf_spi_send()
31 spicontext->req_issync = false; in st95hf_spi_send()
41 mutex_unlock(&spicontext->spi_lock); in st95hf_spi_send()
47 mutex_unlock(&spicontext->spi_lock); in st95hf_spi_send()
61 mutex_unlock(&spicontext->spi_lock); in st95hf_spi_send()
85 mutex_lock(&spicontext->spi_lock); in st95hf_spi_recv_response()
118 mutex_unlock(&spicontext->spi_lock); in st95hf_spi_recv_response()
141 mutex_lock(&spicontext->spi_lock); in st95hf_spi_recv_echo_res()
[all …]
H A Dcore.c219 struct st95hf_spi_context spicontext; member
317 dev_err(&st95context->spicontext.spidev->dev, in st95hf_echo_command()
758 if (stcontext->spicontext.req_issync) { in st95hf_irq_handler()
759 complete(&stcontext->spicontext.done); in st95hf_irq_handler()
760 stcontext->spicontext.req_issync = false; in st95hf_irq_handler()
1069 struct st95hf_spi_context *spicontext; in st95hf_probe() local
1079 spicontext = &st95context->spicontext; in st95hf_probe()
1081 spicontext->spidev = nfc_spi_dev; in st95hf_probe()
1102 init_completion(&spicontext->done); in st95hf_probe()
1103 mutex_init(&spicontext->spi_lock); in st95hf_probe()
[all …]
H A Dspi.h42 int st95hf_spi_send(struct st95hf_spi_context *spicontext,
47 int st95hf_spi_recv_response(struct st95hf_spi_context *spicontext,
50 int st95hf_spi_recv_echo_res(struct st95hf_spi_context *spicontext,