Home
last modified time | relevance | path

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

/drivers/nfc/st95hf/
Dspi.c12 int st95hf_spi_send(struct st95hf_spi_context *spicontext, in st95hf_spi_send() argument
19 struct spi_device *spidev = spicontext->spidev; in st95hf_spi_send()
25 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()
51 result = wait_for_completion_timeout(&spicontext->done, in st95hf_spi_send()
61 mutex_unlock(&spicontext->spi_lock); in st95hf_spi_send()
[all …]
Dcore.c219 struct st95hf_spi_context spicontext; member
251 struct device *dev = &st95context->spicontext.spidev->dev; in st95hf_send_recv_cmd()
274 ret = st95hf_spi_send(&st95context->spicontext, in st95hf_send_recv_cmd()
286 ret = st95hf_spi_recv_response(&st95context->spicontext, in st95hf_send_recv_cmd()
314 result = st95hf_spi_recv_echo_res(&st95context->spicontext, in st95hf_echo_command()
317 dev_err(&st95context->spicontext.spidev->dev, in st95hf_echo_command()
325 dev_err(&st95context->spicontext.spidev->dev, "err: echo res is 0x%x\n", in st95hf_echo_command()
478 result = st95hf_spi_send(&st95context->spicontext, in st95hf_send_spi_reset_sequence()
483 dev_err(&st95context->spicontext.spidev->dev, in st95hf_send_spi_reset_sequence()
512 dev_dbg(&st95context->spicontext.spidev->dev, in st95hf_por_sequence()
[all …]
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,