Searched refs:spicontext (Results 1 – 3 of 3) sorted by relevance
| /Linux-v4.19/drivers/nfc/st95hf/ |
| D | spi.c | 23 int st95hf_spi_send(struct st95hf_spi_context *spicontext, in st95hf_spi_send() argument 30 struct spi_device *spidev = spicontext->spidev; in st95hf_spi_send() 36 mutex_lock(&spicontext->spi_lock); in st95hf_spi_send() 39 spicontext->req_issync = true; in st95hf_spi_send() 40 reinit_completion(&spicontext->done); in st95hf_spi_send() 42 spicontext->req_issync = false; in st95hf_spi_send() 52 mutex_unlock(&spicontext->spi_lock); in st95hf_spi_send() 58 mutex_unlock(&spicontext->spi_lock); in st95hf_spi_send() 62 result = wait_for_completion_timeout(&spicontext->done, in st95hf_spi_send() 72 mutex_unlock(&spicontext->spi_lock); in st95hf_spi_send() [all …]
|
| D | core.c | 231 struct st95hf_spi_context spicontext; member 263 struct device *dev = &st95context->spicontext.spidev->dev; in st95hf_send_recv_cmd() 286 ret = st95hf_spi_send(&st95context->spicontext, in st95hf_send_recv_cmd() 298 ret = st95hf_spi_recv_response(&st95context->spicontext, in st95hf_send_recv_cmd() 326 result = st95hf_spi_recv_echo_res(&st95context->spicontext, in st95hf_echo_command() 329 dev_err(&st95context->spicontext.spidev->dev, in st95hf_echo_command() 337 dev_err(&st95context->spicontext.spidev->dev, "err: echo res is 0x%x\n", in st95hf_echo_command() 490 result = st95hf_spi_send(&st95context->spicontext, in st95hf_send_spi_reset_sequence() 495 dev_err(&st95context->spicontext.spidev->dev, in st95hf_send_spi_reset_sequence() 524 dev_dbg(&st95context->spicontext.spidev->dev, in st95hf_por_sequence() [all …]
|
| D | spi.h | 53 int st95hf_spi_send(struct st95hf_spi_context *spicontext, 58 int st95hf_spi_recv_response(struct st95hf_spi_context *spicontext, 61 int st95hf_spi_recv_echo_res(struct st95hf_spi_context *spicontext,
|