Searched refs:spicontext (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/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 in st95hf_spi_send() 68 st95hf_spi_recv_response(struct st95hf_spi_context *spicontext, unsigned char *receivebuff) st95hf_spi_recv_response() argument 129 st95hf_spi_recv_echo_res(struct st95hf_spi_context *spicontext, unsigned char *receivebuff) st95hf_spi_recv_echo_res() argument [all...] |
H A D | core.c | 196 * @spicontext: structure containing information required 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 in st95hf_send_spi_reset_sequence() 1073 struct st95hf_spi_context *spicontext; st95hf_probe() local [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,
|
/kernel/linux/linux-6.6/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 in st95hf_spi_send() 68 st95hf_spi_recv_response(struct st95hf_spi_context *spicontext, unsigned char *receivebuff) st95hf_spi_recv_response() argument 129 st95hf_spi_recv_echo_res(struct st95hf_spi_context *spicontext, unsigned char *receivebuff) st95hf_spi_recv_echo_res() argument [all...] |
H A D | core.c | 195 * @spicontext: structure containing information required 219 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 in st95hf_send_spi_reset_sequence() 1069 struct st95hf_spi_context *spicontext; st95hf_probe() local [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,
|
Completed in 4 milliseconds