Searched refs:spicontext (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/nfc/st95hf/ |
| H A D | spi.c | 12 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 …]
|
| H A D | core.c | 220 struct st95hf_spi_context spicontext; member 252 struct device *dev = &st95context->spicontext.spidev->dev; in st95hf_send_recv_cmd() 275 ret = st95hf_spi_send(&st95context->spicontext, in st95hf_send_recv_cmd() 287 ret = st95hf_spi_recv_response(&st95context->spicontext, in st95hf_send_recv_cmd() 315 result = st95hf_spi_recv_echo_res(&st95context->spicontext, in st95hf_echo_command() 318 dev_err(&st95context->spicontext.spidev->dev, in st95hf_echo_command() 326 dev_err(&st95context->spicontext.spidev->dev, "err: echo res is 0x%x\n", in st95hf_echo_command() 479 result = st95hf_spi_send(&st95context->spicontext, in st95hf_send_spi_reset_sequence() 484 dev_err(&st95context->spicontext.spidev->dev, in st95hf_send_spi_reset_sequence() 513 dev_dbg(&st95context->spicontext.spidev->dev, in st95hf_por_sequence() [all …]
|
| H A D | spi.h | 42 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,
|